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
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
<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'
|
||||
|
||||
@@ -13,8 +24,8 @@ useHead({ title: () => `${copy.value.pages.about.label} · dezky` })
|
||||
<template>
|
||||
<LandingPageHeader :label="c.label" :title="c.title" :intro="c.intro" />
|
||||
|
||||
<LandingContainer pad="64px 64px 160px">
|
||||
<div :style="{ display: 'grid', gridTemplateColumns: '1.2fr 1fr', gap: '80px', alignItems: 'start' }">
|
||||
<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"
|
||||
|
||||
Reference in New Issue
Block a user