Files
dezky/apps/website/components/landing/Container.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

19 lines
418 B
Vue

<script setup lang="ts">
// Padded, max-width-centred section wrapper. Ported from landing-sections.jsx Container.
withDefaults(defineProps<{
pad?: string
max?: number
}>(), {
pad: 'clamp(56px, 8vw, 120px) clamp(20px, 5vw, 64px)',
max: 1280,
})
</script>
<template>
<div :style="{ padding: pad }">
<div :style="{ maxWidth: `${max}px`, margin: '0 auto' }">
<slot />
</div>
</div>
</template>