16 lines
424 B
Vue
16 lines
424 B
Vue
<script setup>
|
|
defineProps({
|
|
items: { type: Array, required: true },
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<div class="admin-stat-grid">
|
|
<article v-for="item in items" :key="item.label" class="portal-card admin-stat">
|
|
<span>{{ $t(item.label) }}</span>
|
|
<strong>{{ $t(item.value) }}</strong>
|
|
<small v-if="item.note">{{ $t(item.note) }}</small>
|
|
</article>
|
|
</div>
|
|
</template>
|