Files
fuel-alert/resources/js/components/landing/StatsRow.vue
Ovidiu U 598ef04645
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (8.3) (push) Has been cancelled
tests / ci (8.4) (push) Has been cancelled
tests / ci (8.5) (push) Has been cancelled
Rebrand from "Fuel Price" to "Fuel Alert" and update project metadata
- Rename project in package.json, composer.json, and .env.example
- Update app name, URLs, and session domains to fuel-alert
- Comment out testimonials section in Home.vue
- Revise footer copy: remove "
2026-05-14 14:30:02 +01:00

29 lines
951 B
Vue

<template>
<dl class="hidden md:flex items-center divide-x divide-zinc-300">
<div v-for="stat in stats" :key="stat.label" class="px-8 first:pl-0 last:pr-0">
<dt class="sr-only">{{ stat.label }}</dt>
<dd>
<span class="block font-serif text-2xl text-zinc-900 leading-none">{{ stat.value }}</span>
<span class="block font-mono text-[11px] uppercase tracking-widest text-zinc-500 mt-1.5">{{ stat.label }}</span>
</dd>
</div>
</dl>
</template>
<script setup>
import { computed } from 'vue'
const props = defineProps({
stationCount: { type: Number, default: null },
})
const stats = computed(() => [
{
value: props.stationCount ? props.stationCount.toLocaleString('en-GB') : '11,482',
label: 'Stations tracked',
},
{ value: '£8.40', label: 'Avg saving per tank*' },
{ value: '84%', label: 'Forecast accuracy' },
])
</script>