dashboard

This commit is contained in:
vadim committed 2026-09-28 09:09:23 +03:00
1 parent 9c65fc05f4
commit baf0fa186e
3 files changed
+235 -3

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
<script setup lang="ts">
interface Props {
label: string
value: number | string
alert?: boolean
}
defineProps<Props>()
</script>
<template>
<v-card :border="!alert" :variant="alert ? 'flat' : undefined" :color="alert ? 'error' : undefined">
<v-card-text>
<div class="text-label-large" :class="{ 'text-medium-emphasis': !alert }">{{ label }}</div>
<div class="text-headline-large">{{ value }}</div>
</v-card-text>
</v-card>
</template>
<style scoped lang="scss"></style>