554cb99f2c
Add the Umami tracker (cookieless, no consent banner) in the document head, limited to the production hostnames via data-domains so dev traffic doesn't pollute the stats. Pageviews are auto-tracked per page and locale. Custom events on the key funnel: - demo-request (demo form submit, with teamSize) - partner-application (partner form submit, with type) - book-demo (every "Book a demo" CTA click) via data-umami-event - login (clicks through to the app) Also fix the mobile nav menu links, which weren't localized (would drop Danish visitors back to English).
34 lines
1.7 KiB
Vue
34 lines
1.7 KiB
Vue
<script setup lang="ts">
|
|
import { useTheme, useCopy } from '~/composables/useLanding'
|
|
|
|
definePageMeta({ layout: 'page' })
|
|
|
|
const t = useTheme()
|
|
const copy = useCopy()
|
|
const localePath = useLocalePath()
|
|
const c = computed(() => copy.value.pages.migration)
|
|
|
|
useHead({ title: () => `${copy.value.pages.migration.label} · dezky` })
|
|
</script>
|
|
|
|
<template>
|
|
<LandingPageHeader :label="c.label" :title="c.title" :intro="c.intro" />
|
|
|
|
<LandingContainer pad="clamp(56px, 8vw, 56px) clamp(20px, 5vw, 64px) clamp(56px, 8vw, 80px)">
|
|
<div :style="{ display: 'grid', gridTemplateColumns: 'repeat(auto-fit, minmax(min(100%, 240px), 1fr))', gap: '40px' }">
|
|
<div v-for="(step, i) in c.steps" :key="i">
|
|
<div :style="{ paddingTop: '20px', borderTop: `1px solid ${t.borderStrong}` }">
|
|
<div :style="{ fontFamily: '\'JetBrains Mono\', monospace', fontSize: '12px', color: t.fgDim, letterSpacing: '0.06em' }">step {{ step[0] }}</div>
|
|
<div :style="{ marginTop: '20px', fontFamily: '\'Inter Tight\', sans-serif', fontWeight: 600, fontSize: '24px', color: t.fg, letterSpacing: '-0.02em' }">{{ step[1] }}</div>
|
|
<p :style="{ marginTop: '12px', fontFamily: '\'Inter\', sans-serif', fontSize: '15px', lineHeight: 1.6, color: t.fgMuted, textWrap: 'pretty' }">{{ step[2] }}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<p :style="{ marginTop: '64px', fontFamily: '\'Inter\', sans-serif', fontSize: '16px', color: t.fg }">{{ c.note }}</p>
|
|
<div :style="{ marginTop: '32px' }">
|
|
<LandingBtn variant="primary" size="lg" data-umami-event="book-demo" @click="navigateTo(localePath('/demo'))">{{ copy.pages.ctaDemo }} →</LandingBtn>
|
|
</div>
|
|
</LandingContainer>
|
|
</template>
|