bilhej/frontend/src/components/AppFooter.vue
Joakim Mörling 00327674ed refactor: add design system with CSS tokens, utilities, and app shell
- Add design tokens (colors, spacing, radius, shadows, typography, transitions)
- Add global reset, body/link/focus/typography base styles
- Add utility classes (container, surface-card, btn variants, field, badge, message, divider)
- Replace header ✉ symbol with inline SVG envelope icon
- Update favicon to license-plate shaped mark with blue gradient and bold B
- Rename brand from BilHälsning to Bilhej in header, footer, and HTML title
- Rewrite footer tagline: focus on service, not privacy
- Add theme-color meta tag for browser chrome
2026-05-16 16:09:35 +02:00

70 lines
1.6 KiB
Vue

<script setup lang="ts">
import { RouterLink } from 'vue-router'
</script>
<template>
<footer class="app-footer">
<div class="app-footer__inner">
<p class="app-footer__tagline">
Bilhej hjälper dig att skicka brev till bilägare via
registreringsnummer.
</p>
<nav class="app-footer__links">
<RouterLink to="/om" class="app-footer__link">Om oss</RouterLink>
<RouterLink to="/kontakt" class="app-footer__link">Kontakt</RouterLink>
<RouterLink to="/integritetspolicy" class="app-footer__link"
>Integritetspolicy</RouterLink
>
<RouterLink to="/villkor" class="app-footer__link">Villkor</RouterLink>
</nav>
<p class="app-footer__copy">
&copy; {{ new Date().getFullYear() }} Bilhej
</p>
</div>
</footer>
</template>
<style scoped>
.app-footer {
background: var(--color-surface);
border-top: 1px solid var(--color-border);
}
.app-footer__inner {
max-width: 72rem;
margin: 0 auto;
padding: var(--space-xl) var(--space-lg);
text-align: center;
}
.app-footer__tagline {
color: var(--color-muted);
font-size: 0.875rem;
margin: 0 0 var(--space-lg) 0;
}
.app-footer__links {
display: flex;
justify-content: center;
gap: var(--space-xl);
flex-wrap: wrap;
margin-bottom: var(--space-lg);
}
.app-footer__link {
color: var(--color-soft);
text-decoration: none;
font-size: 0.8125rem;
transition: color var(--transition-fast);
}
.app-footer__link:hover {
color: var(--color-ink);
}
.app-footer__copy {
color: var(--color-soft);
font-size: 0.75rem;
margin: 0;
}
</style>