Adds the Lifestyle fotografie section to the homepage
Adds the first block below the hero: heading, intro and a staggered gallery of four live photos. Brings in the shared section building blocks (HomeSection, SectionHeading, Reveal) and DeferredImage, which holds back below-the-fold photos until the page has loaded so they do not compete with the hero for bandwidth. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -71,6 +71,13 @@ const config = defineConfig({
|
||||
},
|
||||
spacing: {
|
||||
gutter: { value: 'clamp(1.25rem, 4vw, 3rem)' }, // zijmarge van de pagina
|
||||
// Vertical rhythm of homepage sections (design --section-y)
|
||||
sectionY: { value: 'clamp(4.5rem, 9vw, 8.5rem)' },
|
||||
sectionYTight: { value: 'clamp(2.7rem, 5.4vw, 5.1rem)' },
|
||||
// Space below a section heading (design .section__head)
|
||||
sectionHeadGap: { value: 'clamp(2.5rem, 5vw, 4.5rem)' },
|
||||
// Gap between grid items such as photos and cards (design --gap)
|
||||
gridGap: { value: 'clamp(1rem, 2.2vw, 2rem)' },
|
||||
},
|
||||
easings: {
|
||||
smooth: { value: 'cubic-bezier(.22, .61, .36, 1)' },
|
||||
@@ -78,6 +85,7 @@ const config = defineConfig({
|
||||
durations: {
|
||||
interaction: { value: '0.45s' }, // hover, focus
|
||||
fade: { value: '1.2s' }, // overvloeien van foto's
|
||||
reveal: { value: '0.8s' }, // fade-in of sections on scroll
|
||||
},
|
||||
// Stapelvolgorde van de vaste shell-onderdelen, van laag naar hoog
|
||||
zIndex: {
|
||||
@@ -133,6 +141,8 @@ const config = defineConfig({
|
||||
},
|
||||
// Maximale breedte van de content (Container en de to-top-knop)
|
||||
content: { value: '{sizes.8xl}' },
|
||||
// Narrow content column, e.g. the contact form (design --container-narrow)
|
||||
contentNarrow: { value: '820px' },
|
||||
},
|
||||
spacing: {
|
||||
// Zelfde waarde voor content die onder de balk begint (pt="header")
|
||||
@@ -160,6 +170,22 @@ const config = defineConfig({
|
||||
lineHeight: '1',
|
||||
},
|
||||
},
|
||||
// The h2 of a homepage section (SectionHeading)
|
||||
sectionTitle: {
|
||||
value: {
|
||||
fontFamily: 'heading',
|
||||
fontSize: { base: '1.85rem', md: '2.125rem', xl: '2.5rem' },
|
||||
lineHeight: '1.15',
|
||||
},
|
||||
},
|
||||
// Intro sentence below a section heading
|
||||
lead: {
|
||||
value: {
|
||||
fontSize: '1.25rem',
|
||||
fontWeight: '300',
|
||||
lineHeight: '1.6',
|
||||
},
|
||||
},
|
||||
// De h1 van een gewone pagina (PageIntro, StatusPage)
|
||||
pageTitle: {
|
||||
value: {
|
||||
|
||||
Reference in New Issue
Block a user