24 lines
904 B
Vue
24 lines
904 B
Vue
|
<template>
|
||
|
<div class="bg-gray-900">
|
||
|
<div class="mx-auto max-w-7xl">
|
||
|
<div class="grid grid-cols-1 gap-px bg-white/5 sm:grid-cols-2 lg:grid-cols-4">
|
||
|
<div v-for="stat in stats" :key="stat.name" class="bg-gray-900 px-4 py-6 sm:px-6 lg:px-8">
|
||
|
<p class="text-sm font-medium leading-6 text-gray-400">{{ stat.name }}</p>
|
||
|
<p class="mt-2 flex items-baseline gap-x-2">
|
||
|
<span class="text-4xl font-semibold tracking-tight text-white">{{ stat.value }}</span>
|
||
|
<span v-if="stat.unit" class="text-sm text-gray-400">{{ stat.unit }}</span>
|
||
|
</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script setup>
|
||
|
const stats = [
|
||
|
{ name: 'Number of deploys', value: '405' },
|
||
|
{ name: 'Average deploy time', value: '3.65', unit: 'mins' },
|
||
|
{ name: 'Number of servers', value: '3' },
|
||
|
{ name: 'Success rate', value: '98.5%' },
|
||
|
]
|
||
|
</script>
|