feat: add operational use cases console
This commit is contained in:
1 parent
78d1f0e308
commit
8d687ad05b
19 files changed
+4707
-12
No files matched your search
@@ -0,0 +1,29 @@
|
||||
<script setup lang="ts">
|
||||
withDefaults(
|
||||
defineProps<{
|
||||
label: string
|
||||
value: string
|
||||
hint?: string
|
||||
tone?: 'default' | 'accent'
|
||||
mono?: boolean
|
||||
}>(),
|
||||
{
|
||||
hint: '',
|
||||
tone: 'default',
|
||||
mono: true,
|
||||
},
|
||||
)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="flex flex-col rounded-lg border border-[#1e3a52] bg-[#0e2233] p-2.5">
|
||||
<span class="text-[11px] text-[#94A3B8]">{{ label }}</span>
|
||||
<span
|
||||
class="mt-0.5 text-lg font-bold leading-tight"
|
||||
:class="[tone === 'accent' ? 'text-[#00C3CD]' : 'text-[#FFFFFF]', mono ? 'font-mono' : '']"
|
||||
>
|
||||
{{ value }}
|
||||
</span>
|
||||
<span v-if="hint" class="text-[10px] text-[#64748B]">{{ hint }}</span>
|
||||
</div>
|
||||
</template>
|
||||
Reference in new issue
Block a user