Refactoring and UI improvements on the admin home page (#348)

This commit is contained in:
Paco
2026-02-09 07:40:45 +00:00
committed by GitHub
parent 795fd5966d
commit ca845467e1
3 changed files with 80 additions and 91 deletions
+28
View File
@@ -0,0 +1,28 @@
<template>
<TileWithLink>
<div class="h-full flex gap-4">
<div class="flex-1 my-auto">
<slot name="icon" />
</div>
<div
class="md:flex-8 flex-6 lg:flex-2 my-auto text-center flex md:flex-row-reverse lg:inline"
>
<div class="md:text-2xl text-3xl flex-1 font-bold self-center">
{{ value }}
</div>
<div
class="text-2xl xl:text-xs flex-1 md:flex-auto text-left md:text-center lg:text-center self-center"
>
{{ label }}
</div>
</div>
</div>
</TileWithLink>
</template>
<script setup lang="ts">
const { label, value } = defineProps<{
label: string;
value: string | number;
}>();
</script>