feat(website): real DPA + privacy policy pages

Replace the /dpa and /privacy placeholder stubs with full pages (da + en):
- /dpa — GDPR Art. 28 data processing agreement: roles, subject matter, data
  categories, processor obligations, sub-processors (Hetzner, Stripe — EU),
  no third-country transfer, 72h breach notice, audits, deletion, Danish law.
- /privacy — controller privacy notice: data collected, legal basis, cookieless
  Umami analytics, retention, recipients, data-subject rights + Datatilsynet.
Both carry a "draft — pending legal review" banner. Removes their stub entries.
This commit is contained in:
Ronni Baslund
2026-06-05 22:10:11 +02:00
parent 80c8a23688
commit bc0697c3e8
4 changed files with 276 additions and 6 deletions
-2
View File
@@ -17,8 +17,6 @@ const STUBS: Record<string, { legal: boolean }> = {
status: { legal: false },
docs: { legal: false },
blog: { legal: false },
privacy: { legal: true },
dpa: { legal: true },
terms: { legal: true },
sla: { legal: true },
cookies: { legal: true },
+69
View File
@@ -0,0 +1,69 @@
<script setup lang="ts">
import { useTheme, useCopy } from '~/composables/useLanding'
import { C } from '~/utils/landingTokens'
definePageMeta({ layout: 'page' })
const t = useTheme()
const copy = useCopy()
const c = computed(() => copy.value.pages.dpa)
const headingStyle = computed(() => ({
fontFamily: '\'Inter Tight\', sans-serif', fontWeight: 600, fontSize: '22px',
letterSpacing: '-0.015em', color: t.value.fg, margin: '0 0 14px',
}))
useHead({ title: () => `${copy.value.pages.dpa.title} · dezky` })
</script>
<template>
<LandingPageHeader :label="c.label" :title="c.title" :intro="c.intro" />
<LandingContainer pad="48px 64px 160px">
<div :style="{ maxWidth: '760px' }">
<!-- Draft / legal-review banner -->
<div :style="{ padding: '18px 22px', borderRadius: '4px', border: `1px solid ${C.warn}55`, background: `${C.warn}14`, fontFamily: '\'Inter\', sans-serif', fontSize: '14px', lineHeight: 1.55, color: t.fg }">
{{ c.draftNote }}
</div>
<div :style="{ fontFamily: '\'JetBrains Mono\', monospace', fontSize: '12px', color: t.fgDim, margin: '14px 0 48px' }">{{ c.updated }}</div>
<!-- Clauses -->
<section v-for="(s, i) in c.sections" :key="i" :style="{ marginBottom: '36px' }">
<h2 :style="headingStyle">{{ s.h }}</h2>
<p
v-for="(para, j) in s.p" :key="j"
:style="{ fontFamily: '\'Inter\', sans-serif', fontSize: '15px', lineHeight: 1.65, color: t.fgMuted, margin: '0 0 12px', textWrap: 'pretty' }"
>{{ para }}</p>
</section>
<!-- Sub-processors -->
<h2 :style="headingStyle">{{ c.subprocessorsHeading }}</h2>
<div :style="{ border: `1px solid ${t.border}`, borderRadius: '4px', overflow: 'hidden', margin: '0 0 40px' }">
<div
v-for="(row, i) in c.subprocessors" :key="i"
:style="{ display: 'grid', gridTemplateColumns: '1.2fr 1.5fr 1fr', gap: '16px', padding: '16px 20px', borderTop: i === 0 ? 'none' : `1px solid ${t.border}`, background: t.surface, fontFamily: '\'Inter\', sans-serif', fontSize: '14px', alignItems: 'baseline' }"
>
<span :style="{ color: t.fg, fontWeight: 600 }">{{ row[0] }}</span>
<span :style="{ color: t.fgMuted }">{{ row[1] }}</span>
<span :style="{ color: t.fgMuted, fontFamily: '\'JetBrains Mono\', monospace', fontSize: '12px' }">{{ row[2] }}</span>
</div>
</div>
<!-- Technical & organisational measures -->
<h2 :style="headingStyle">{{ c.tomsHeading }}</h2>
<ul :style="{ margin: '0 0 40px', padding: 0, listStyle: 'none', display: 'flex', flexDirection: 'column', gap: '10px' }">
<li
v-for="(m, i) in c.toms" :key="i"
:style="{ display: 'flex', gap: '12px', fontFamily: '\'Inter\', sans-serif', fontSize: '15px', lineHeight: 1.5, color: t.fg }"
>
<span :style="{ color: t.signal, flexShrink: 0, fontWeight: 700 }"></span>
<span>{{ m }}</span>
</li>
</ul>
<!-- Contact -->
<h2 :style="headingStyle">{{ c.contactHeading }}</h2>
<p :style="{ fontFamily: '\'Inter\', sans-serif', fontSize: '15px', lineHeight: 1.6, color: t.fgMuted, margin: 0 }">{{ c.contactBody }}</p>
</div>
</LandingContainer>
</template>
+69
View File
@@ -0,0 +1,69 @@
<script setup lang="ts">
import { useTheme, useCopy } from '~/composables/useLanding'
import { C } from '~/utils/landingTokens'
definePageMeta({ layout: 'page' })
const t = useTheme()
const copy = useCopy()
const c = computed(() => copy.value.pages.privacy)
const headingStyle = computed(() => ({
fontFamily: '\'Inter Tight\', sans-serif', fontWeight: 600, fontSize: '22px',
letterSpacing: '-0.015em', color: t.value.fg, margin: '0 0 14px',
}))
useHead({ title: () => `${copy.value.pages.privacy.title} · dezky` })
</script>
<template>
<LandingPageHeader :label="c.label" :title="c.title" :intro="c.intro" />
<LandingContainer pad="48px 64px 160px">
<div :style="{ maxWidth: '760px' }">
<!-- Draft / legal-review banner -->
<div :style="{ padding: '18px 22px', borderRadius: '4px', border: `1px solid ${C.warn}55`, background: `${C.warn}14`, fontFamily: '\'Inter\', sans-serif', fontSize: '14px', lineHeight: 1.55, color: t.fg }">
{{ c.draftNote }}
</div>
<div :style="{ fontFamily: '\'JetBrains Mono\', monospace', fontSize: '12px', color: t.fgDim, margin: '14px 0 48px' }">{{ c.updated }}</div>
<!-- Clauses -->
<section v-for="(s, i) in c.sections" :key="i" :style="{ marginBottom: '36px' }">
<h2 :style="headingStyle">{{ s.h }}</h2>
<p
v-for="(para, j) in s.p" :key="j"
:style="{ fontFamily: '\'Inter\', sans-serif', fontSize: '15px', lineHeight: 1.65, color: t.fgMuted, margin: '0 0 12px', textWrap: 'pretty' }"
>{{ para }}</p>
</section>
<!-- Recipients -->
<h2 :style="headingStyle">{{ c.recipientsHeading }}</h2>
<div :style="{ border: `1px solid ${t.border}`, borderRadius: '4px', overflow: 'hidden', margin: '0 0 40px' }">
<div
v-for="(row, i) in c.recipients" :key="i"
:style="{ display: 'grid', gridTemplateColumns: '1.2fr 1.5fr 1fr', gap: '16px', padding: '16px 20px', borderTop: i === 0 ? 'none' : `1px solid ${t.border}`, background: t.surface, fontFamily: '\'Inter\', sans-serif', fontSize: '14px', alignItems: 'baseline' }"
>
<span :style="{ color: t.fg, fontWeight: 600 }">{{ row[0] }}</span>
<span :style="{ color: t.fgMuted }">{{ row[1] }}</span>
<span :style="{ color: t.fgMuted, fontFamily: '\'JetBrains Mono\', monospace', fontSize: '12px' }">{{ row[2] }}</span>
</div>
</div>
<!-- Rights -->
<h2 :style="headingStyle">{{ c.rightsHeading }}</h2>
<ul :style="{ margin: '0 0 40px', padding: 0, listStyle: 'none', display: 'flex', flexDirection: 'column', gap: '10px' }">
<li
v-for="(r, i) in c.rights" :key="i"
:style="{ display: 'flex', gap: '12px', fontFamily: '\'Inter\', sans-serif', fontSize: '15px', lineHeight: 1.5, color: t.fg }"
>
<span :style="{ color: t.signal, flexShrink: 0, fontWeight: 700 }"></span>
<span>{{ r }}</span>
</li>
</ul>
<!-- Contact -->
<h2 :style="headingStyle">{{ c.contactHeading }}</h2>
<p :style="{ fontFamily: '\'Inter\', sans-serif', fontSize: '15px', lineHeight: 1.6, color: t.fgMuted, margin: 0 }">{{ c.contactBody }}</p>
</div>
</LandingContainer>
</template>