Render the shared SiteFooter in DashboardLayout so it appears on every dashboard page (overview, saved stations, preferences, settings) from a single source. Content area grows to pin the footer to the bottom on short pages. Trim the footer Product column to real anchors and drop the dead-link Resources column. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
56 lines
3.7 KiB
Vue
56 lines
3.7 KiB
Vue
<template>
|
|
<!-- Footer -->
|
|
<footer class="bg-zinc-50 border-t border-zinc-300 pt-16 pb-8 px-6">
|
|
<div class="max-w-7xl mx-auto grid grid-cols-2 md:grid-cols-4 gap-12 mb-12">
|
|
<div class="col-span-2 md:col-span-1 space-y-4">
|
|
<RouterLink class="flex items-center gap-2" to="/">
|
|
<div class="w-8 h-8 rounded bg-accent flex items-center justify-center">
|
|
<iconify-icon class="text-white" icon="lucide:fuel"></iconify-icon>
|
|
</div>
|
|
<span class="text-xl font-black font-display tracking-tighter text-accent">FuelAlert</span>
|
|
</RouterLink>
|
|
<p class="text-sm text-zinc-500 leading-relaxed">
|
|
Helping UK drivers save money at the pump. Real-time data, smarter choices.
|
|
</p>
|
|
<p class="text-sm text-zinc-500">
|
|
Questions? <a class="text-accent hover:underline" href="mailto:hello@fuel-alert.co.uk">hello@fuel-alert.co.uk</a>
|
|
</p>
|
|
<div class="flex gap-4">
|
|
<iconify-icon class="text-2xl text-zinc-500 hover:text-accent cursor-pointer transition-colors" icon="mdi:twitter"></iconify-icon>
|
|
<iconify-icon class="text-2xl text-zinc-500 hover:text-accent cursor-pointer transition-colors" icon="mdi:facebook"></iconify-icon>
|
|
<iconify-icon class="text-2xl text-zinc-500 hover:text-accent cursor-pointer transition-colors" icon="mdi:instagram"></iconify-icon>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="space-y-4">
|
|
<h5 class="font-black text-xs text-zinc-800 tracking-widest">Product</h5>
|
|
<ul class="space-y-2 text-sm text-zinc-500">
|
|
<li><RouterLink class="hover:text-accent transition-colors" to="/pricing">Pricing</RouterLink></li>
|
|
<li><a class="hover:text-accent transition-colors" href="#how-it-works">How it works</a></li>
|
|
<li><a class="hover:text-accent transition-colors" href="#features">Why it works</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="space-y-4">
|
|
<h5 class="font-black text-xs text-zinc-800 tracking-widest">Legal</h5>
|
|
<ul class="space-y-2 text-sm text-zinc-500">
|
|
<li><a class="hover:text-accent transition-colors" href="/legal/privacy">Privacy Policy</a></li>
|
|
<li><a class="hover:text-accent transition-colors" href="/legal/terms">Terms of Service</a></li>
|
|
<li><a class="hover:text-accent transition-colors" href="/legal/refund">Refund & Cancellation</a></li>
|
|
<li><a class="hover:text-accent transition-colors" href="/legal/cookies">Cookie Policy</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="max-w-7xl mx-auto pt-8 border-t border-zinc-300 flex flex-col md:flex-row justify-between items-center gap-4 text-[10px] tracking-widest text-zinc-500">
|
|
<p>© 2026 FuelAlert UK. FuelAlert is a trading name of Ovidiu Ungureanu, sole trader, based in Peterborough, UK.</p>
|
|
<p>Data provided by official UK retail price transparency schemes.</p>
|
|
<p>Postcode data from <a class="underline hover:text-accent" href="https://geoportal.statistics.gov.uk/datasets/ons::onspd-online-latest-centroids-1/about" rel="noopener" target="_blank">ONS Postcode Directory</a>: contains OS data © Crown copyright & database right, Royal Mail data © Royal Mail copyright & database right, and National Statistics data © Crown copyright & database right.</p>
|
|
</div>
|
|
</footer>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { RouterLink } from 'vue-router'
|
|
</script>
|