d668b1b6a6
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
37 lines
1.7 KiB
Vue
37 lines
1.7 KiB
Vue
<script setup lang="ts">
|
|
// Shared header for sub-pages: back link, mono eyebrow with signal dot, big
|
|
// title, optional intro. Mirrors the hero/section typography so sub-pages feel
|
|
// like the same site.
|
|
import { useTheme, useCopy } from '~/composables/useLanding'
|
|
|
|
defineProps<{ label: string, title: string, intro?: string }>()
|
|
|
|
const t = useTheme()
|
|
const copy = useCopy()
|
|
</script>
|
|
|
|
<template>
|
|
<LandingContainer pad="clamp(56px, 8vw, 120px) clamp(20px, 5vw, 64px) 0">
|
|
<NuxtLink
|
|
to="/"
|
|
:style="{ fontFamily: '\'JetBrains Mono\', monospace', fontSize: '12px', color: t.fgMuted, letterSpacing: '0.04em', display: 'inline-flex', alignItems: 'center', gap: '8px' }"
|
|
>← {{ copy.pages.back }}</NuxtLink>
|
|
|
|
<div :style="{ display: 'flex', alignItems: 'center', gap: '12px', marginTop: '48px', marginBottom: '24px' }">
|
|
<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.08em', textTransform: 'uppercase' }">{{ label }}</span>
|
|
</div>
|
|
|
|
<h1 :style="{
|
|
fontFamily: '\'Inter Tight\', \'Inter\', sans-serif', fontWeight: 600,
|
|
fontSize: 'clamp(30px, 5.4vw, 76px)', letterSpacing: '-0.035em', lineHeight: 1.0,
|
|
margin: 0, textWrap: 'balance', color: t.fg, maxWidth: '900px',
|
|
}">{{ title }}</h1>
|
|
|
|
<p
|
|
v-if="intro"
|
|
:style="{ marginTop: '32px', maxWidth: '620px', fontFamily: '\'Inter\', sans-serif', fontSize: '20px', lineHeight: 1.5, color: t.fgMuted, textWrap: 'pretty' }"
|
|
>{{ intro }}</p>
|
|
</LandingContainer>
|
|
</template>
|