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:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user