feat(website): footer sub-pages + shared page layout

Wire every footer link to a real route. Adds a shared `page` layout (Nav +
content + Footer), reusable PageHeader/ComingSoon components, six content pages
(about, contact, brand, roadmap, changelog, migration), and a dynamic [slug]
catch-all for the not-yet-built pages — unknown slugs 404, legal slugs get a
distinct "contact us" body.

Footer links repointed from dead "#" to real paths; section anchors ("/#suite")
smooth-scroll on the homepage and route home + scroll from a sub-page; logo
links home. Page copy (da + en) added under COPY.pages.
This commit is contained in:
Ronni Baslund
2026-06-05 14:40:36 +02:00
parent 4c57d41350
commit 0a35d9deb6
15 changed files with 723 additions and 33 deletions
+10 -1
View File
@@ -3,14 +3,23 @@
// (Landing Page.html → landing-app.jsx + landing-sections.jsx). Light theme,
// Danish default, hero variant A — the production defaults the user landed on.
// Section order matches the design exactly.
import { useTheme, useCopy, useLang } from '~/composables/useLanding'
import { onMounted, nextTick } from 'vue'
import { useRoute } from 'vue-router'
import { useTheme, useCopy, useLang, scrollToAnchor } from '~/composables/useLanding'
const t = useTheme()
const copy = useCopy()
const lang = useLang()
const route = useRoute()
const description = computed(() => copy.value.hero.sub)
// Arriving via a section link from a sub-page (e.g. "/#suite") lands here with
// a hash — scroll to it once the page has painted.
onMounted(() => {
if (route.hash) nextTick(() => setTimeout(() => scrollToAnchor(route.hash), 60))
})
useHead({
title: 'dezky · suveræn produktivitet',
htmlAttrs: { lang },