Files
dezky/apps/website/pages/about.vue
T
Ronni Baslund d668b1b6a6 feat(website): responsive / mobile layouts
Make the marketing site mobile-friendly across every page and section.
Desktop appearance is unchanged; all breakpoint logic targets <=768px.

- Fluid section padding via clamp(); equal grids use auto-fit/minmax,
  asymmetric grids stack to one column via scoped-CSS media queries
- Nav: real hamburger menu on mobile (links, lang toggle, login, CTA)
- ProductMockup: scales the whole dashboard to fit (zoom) instead of
  reflowing its internals into a tall stack
- Lower oversized heading clamp() minimums so titles no longer overflow
  at ~390px (hero, page headers, final CTA, brand cover/chapter)
- HowItWorks: row-gap when steps stack so node markers clear the text
- Compare + partners tables: stacked rows now label each value with its
  column (Dezky vs hyperscaler / CSP) instead of an ambiguous header
- Footer columns, tiers, calculator and tables stack cleanly on mobile
2026-06-06 15:55:35 +02:00

48 lines
1.8 KiB
Vue

<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'
definePageMeta({ layout: 'page' })
const t = useTheme()
const copy = useCopy()
const c = computed(() => copy.value.pages.about)
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)">
<div class="about-body-grid" :style="{ display: 'grid', gap: '80px', alignItems: 'start' }">
<div :style="{ display: 'flex', flexDirection: 'column', gap: '24px' }">
<p
v-for="(para, i) in c.body" :key="i"
:style="{ fontFamily: '\'Inter\', sans-serif', fontSize: '18px', lineHeight: 1.6, color: t.fg, margin: 0, textWrap: 'pretty' }"
>{{ para }}</p>
</div>
<div :style="{ display: 'flex', flexDirection: 'column', gap: '0', border: `1px solid ${t.border}`, borderRadius: '4px', overflow: 'hidden' }">
<div
v-for="(p, i) in c.principles" :key="i"
:style="{ padding: '24px 28px', borderTop: i === 0 ? 'none' : `1px solid ${t.border}`, background: t.surface }"
>
<div :style="{ fontFamily: '\'Inter Tight\', sans-serif', fontWeight: 600, fontSize: '18px', color: t.fg, letterSpacing: '-0.015em' }">{{ p[0] }}</div>
<div :style="{ marginTop: '8px', fontFamily: '\'Inter\', sans-serif', fontSize: '14px', lineHeight: 1.55, color: t.fgMuted }">{{ p[1] }}</div>
</div>
</div>
</div>
</LandingContainer>
</template>