feat(website): expand about page (problem + founders)
Extend /about with the "why": a "the problem" section (jurisdiction vs geography, creeping prices, lock-in, vendor sprawl) as a 2x2 pain grid, and a "we're founders ourselves" section. Both bilingual and responsive. Also point the footer partner link to /partners (was the homepage #whitelabel section).
This commit is contained in:
@@ -1,14 +1,3 @@
|
||||
<style scoped>
|
||||
.about-body-grid {
|
||||
grid-template-columns: 1.2fr 1fr;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.about-body-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { useTheme, useCopy } from '~/composables/useLanding'
|
||||
|
||||
@@ -18,13 +7,23 @@ const t = useTheme()
|
||||
const copy = useCopy()
|
||||
const c = computed(() => copy.value.pages.about)
|
||||
|
||||
const eyebrow = computed(() => ({
|
||||
fontFamily: '\'JetBrains Mono\', monospace', fontSize: '11px', color: t.value.fgDim,
|
||||
letterSpacing: '0.12em', textTransform: 'uppercase' as const,
|
||||
}))
|
||||
const h2 = computed(() => ({
|
||||
fontFamily: '\'Inter Tight\', sans-serif', fontWeight: 600, fontSize: 'clamp(28px, 3.6vw, 44px)',
|
||||
letterSpacing: '-0.03em', lineHeight: 1.05, margin: '14px 0 0', color: t.value.fg, textWrap: 'balance' as const,
|
||||
}))
|
||||
|
||||
useHead({ title: () => `${copy.value.pages.about.label} · dezky` })
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<LandingPageHeader :label="c.label" :title="c.title" :intro="c.intro" />
|
||||
|
||||
<LandingContainer pad="clamp(56px, 8vw, 64px) clamp(20px, 5vw, 64px) clamp(80px, 12vw, 160px)">
|
||||
<!-- Why + principles -->
|
||||
<LandingContainer pad="clamp(56px, 8vw, 64px) clamp(20px, 5vw, 64px) clamp(48px, 7vw, 80px)">
|
||||
<div class="about-body-grid" :style="{ display: 'grid', gap: '80px', alignItems: 'start' }">
|
||||
<div :style="{ display: 'flex', flexDirection: 'column', gap: '24px' }">
|
||||
<p
|
||||
@@ -44,4 +43,54 @@ useHead({ title: () => `${copy.value.pages.about.label} · dezky` })
|
||||
</div>
|
||||
</div>
|
||||
</LandingContainer>
|
||||
|
||||
<!-- The problem / pain -->
|
||||
<LandingContainer pad="0 clamp(20px, 5vw, 64px) clamp(48px, 7vw, 80px)">
|
||||
<div :style="{ borderTop: `1px solid ${t.borderStrong}`, paddingTop: 'clamp(40px, 5vw, 56px)' }">
|
||||
<div :style="eyebrow">{{ c.painLabel }}</div>
|
||||
<h2 :style="h2">{{ c.painHeading }}</h2>
|
||||
<p :style="{ fontFamily: '\'Inter\', sans-serif', fontSize: '18px', lineHeight: 1.6, color: t.fgMuted, margin: '20px 0 48px', maxWidth: '660px', textWrap: 'pretty' }">{{ c.painLede }}</p>
|
||||
|
||||
<div class="about-pains" :style="{ display: 'grid', gap: '1px', background: t.border, border: `1px solid ${t.border}`, borderRadius: '4px', overflow: 'hidden' }">
|
||||
<div
|
||||
v-for="(p, i) in c.pains" :key="i"
|
||||
:style="{ padding: '28px', background: t.surface, display: 'flex', flexDirection: 'column', gap: '10px' }"
|
||||
>
|
||||
<div :style="{ fontFamily: '\'Inter Tight\', sans-serif', fontWeight: 600, fontSize: '19px', color: t.fg, letterSpacing: '-0.015em' }">{{ p[0] }}</div>
|
||||
<p :style="{ fontFamily: '\'Inter\', sans-serif', fontSize: '15px', lineHeight: 1.6, color: t.fgMuted, margin: 0, textWrap: 'pretty' }">{{ p[1] }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</LandingContainer>
|
||||
|
||||
<!-- We're founders -->
|
||||
<LandingContainer pad="0 clamp(20px, 5vw, 64px) clamp(80px, 12vw, 160px)">
|
||||
<div :style="{ borderTop: `1px solid ${t.borderStrong}`, paddingTop: 'clamp(40px, 5vw, 56px)' }">
|
||||
<div :style="eyebrow">{{ c.foundersLabel }}</div>
|
||||
<h2 :style="h2">{{ c.foundersHeading }}</h2>
|
||||
<div :style="{ display: 'flex', flexDirection: 'column', gap: '20px', marginTop: '24px', maxWidth: '720px' }">
|
||||
<p
|
||||
v-for="(para, i) in c.founders" :key="i"
|
||||
:style="{ fontFamily: '\'Inter\', sans-serif', fontSize: '18px', lineHeight: 1.65, color: t.fg, margin: 0, textWrap: 'pretty' }"
|
||||
>{{ para }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</LandingContainer>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.about-body-grid {
|
||||
grid-template-columns: 1.2fr 1fr;
|
||||
}
|
||||
.about-pains {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.about-body-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.about-pains {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user