d2096eb847
- /demo: book-a-demo page with a what-to-expect column + a form that composes a prefilled email to info@dezky.eu (interim, no backend); built to swap for a self-hosted scheduler later. Wire every "Book a demo" CTA (nav, hero, pricing, the previously-dead final-CTA button, and the contact/partners/migration/coming-soon CTAs) to /demo. - /status: manually-maintained system-status page (overall banner, per-service rows, incident history). Live modules operational; Video/Chat marked coming soon. - Roadmap: expand the board (5 items/column) + a "the bigger picture" themes grid + a "suggest a feature" CTA + a directional-timelines note. - Contact: purpose-specific channels (info@ / legal@ / privacy@), a response-time note, and a company + "see it live" demo block. - Drop /status from the [slug].vue stub map; tidy now-unused imports.
41 lines
1.3 KiB
Vue
41 lines
1.3 KiB
Vue
<script setup lang="ts">
|
|
// Catch-all for the footer's not-yet-built pages. Each known slug renders a
|
|
// shared "coming soon" body with its localized title; legal slugs get the
|
|
// legal-specific body. Unknown slugs 404 (explicit pages like /about win over
|
|
// this dynamic route in Nuxt's resolver).
|
|
import { computed } from 'vue'
|
|
import { useRoute, useCopy } from '#imports'
|
|
|
|
definePageMeta({ layout: 'page' })
|
|
|
|
// Known stub slugs and whether they're legal pages. Keys must match the
|
|
// `pages.stubs` keys in landingCopy.ts.
|
|
const STUBS: Record<string, { legal: boolean }> = {
|
|
customers: { legal: false },
|
|
careers: { legal: false },
|
|
press: { legal: false },
|
|
docs: { legal: false },
|
|
blog: { legal: false },
|
|
}
|
|
|
|
const route = useRoute()
|
|
const copy = useCopy()
|
|
|
|
const slug = computed(() => String(route.params.slug))
|
|
|
|
const stub = computed(() => STUBS[slug.value])
|
|
if (!stub.value) {
|
|
throw createError({ statusCode: 404, statusMessage: 'Page not found', fatal: true })
|
|
}
|
|
|
|
type StubKey = keyof typeof copy.value.pages.stubs
|
|
const title = computed(() => copy.value.pages.stubs[slug.value as StubKey])
|
|
const body = computed(() => (stub.value!.legal ? copy.value.pages.legalBody : copy.value.pages.comingSoonBody))
|
|
|
|
useHead({ title: () => `${title.value} · dezky` })
|
|
</script>
|
|
|
|
<template>
|
|
<LandingComingSoon :title="title" :body="body" />
|
|
</template>
|