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.
69 lines
3.3 KiB
Vue
69 lines
3.3 KiB
Vue
<script setup lang="ts">
|
|
// Hero — eyebrow, big headline with signal-yellow highlighter brush, sub,
|
|
// dual CTAs, trust strip, and the product viewport mockup below.
|
|
// Ported from landing-sections.jsx Hero (variant A, light mode).
|
|
import { computed } from 'vue'
|
|
import { C } from '~/utils/landingTokens'
|
|
import { useTheme, useCopy } from '~/composables/useLanding'
|
|
|
|
const t = useTheme()
|
|
const copy = useCopy()
|
|
|
|
// Variant A is the production default the user landed on.
|
|
const headline = computed(() => copy.value.hero.headlineA)
|
|
|
|
// Light-mode highlight: a yellow marker swipe sitting low behind the phrase
|
|
// (signal-yellow text on bone fails contrast, so we brush instead).
|
|
const brush = {
|
|
backgroundImage: `linear-gradient(180deg, transparent 0%, transparent 56%, ${C.signal} 56%, ${C.signal} 96%, transparent 96%)`,
|
|
padding: '0 0.06em',
|
|
boxDecorationBreak: 'clone',
|
|
WebkitBoxDecorationBreak: 'clone',
|
|
} as const
|
|
</script>
|
|
|
|
<template>
|
|
<section :style="{ background: t.bg, color: t.fg, paddingTop: 'clamp(40px, 6vw, 80px)' }">
|
|
<LandingContainer pad="clamp(40px, 5vw, 60px) clamp(20px, 5vw, 64px) 0">
|
|
<div :style="{ display: 'flex', alignItems: 'center', gap: '12px', marginBottom: '56px' }">
|
|
<span :style="{ width: '6px', height: '6px', borderRadius: '999px', background: t.signal, boxShadow: `0 0 0 4px ${t.signal}33` }" />
|
|
<span :style="{ fontFamily: '\'JetBrains Mono\', monospace', fontSize: '12px', color: t.fgMuted, letterSpacing: '0.04em', whiteSpace: 'nowrap' }">{{ copy.hero.eyebrow }}</span>
|
|
</div>
|
|
|
|
<h1 :style="{
|
|
fontFamily: '\'Inter Tight\', \'Inter\', sans-serif',
|
|
fontWeight: 600, fontSize: 'clamp(38px, 7.2vw, 112px)', letterSpacing: '-0.04em',
|
|
lineHeight: 0.96, margin: 0, textWrap: 'balance', color: t.fg,
|
|
}">
|
|
<template v-for="(part, i) in headline" :key="i">
|
|
<template v-if="typeof part === 'string'">{{ part }} </template>
|
|
<span v-else :style="brush">{{ part.hl }} </span>
|
|
</template>
|
|
</h1>
|
|
|
|
<div :style="{ marginTop: '40px', maxWidth: '620px' }">
|
|
<p :style="{ fontFamily: '\'Inter\', sans-serif', fontSize: '20px', lineHeight: 1.5, maxWidth: '620px', color: t.fgMuted, margin: 0, textWrap: 'pretty' }">{{ copy.hero.sub }}</p>
|
|
</div>
|
|
|
|
<div :style="{ display: 'flex', gap: '12px', marginTop: '40px', flexWrap: 'wrap' }">
|
|
<LandingBtn variant="primary" size="lg" @click="navigateTo('/demo')">{{ copy.hero.cta }} →</LandingBtn>
|
|
<LandingBtn variant="secondary" size="lg">{{ copy.hero.sub_cta }}</LandingBtn>
|
|
</div>
|
|
|
|
<div :style="{
|
|
marginTop: '64px', paddingTop: '28px', borderTop: `1px solid ${t.border}`,
|
|
display: 'flex', gap: '56px', flexWrap: 'wrap',
|
|
}">
|
|
<div v-for="(s, i) in copy.hero.trust" :key="i" :style="{ display: 'flex', alignItems: 'center', gap: '10px' }">
|
|
<span :style="{ width: '4px', height: '4px', background: t.signal, borderRadius: '999px' }" />
|
|
<span :style="{ fontFamily: '\'JetBrains Mono\', monospace', fontSize: '12px', color: t.fgMuted, letterSpacing: '0.04em' }">{{ s }}</span>
|
|
</div>
|
|
</div>
|
|
</LandingContainer>
|
|
|
|
<LandingContainer pad="clamp(40px, 6vw, 80px) clamp(20px, 5vw, 64px) clamp(56px, 8vw, 120px)">
|
|
<LandingProductMockup />
|
|
</LandingContainer>
|
|
</section>
|
|
</template>
|