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:
@@ -233,3 +233,15 @@ Nou is het nog een statische site zonder back-end dus het contactformulier kan n
|
||||
**Context**: CONSTRUCTION - Unit 1 Code Generation Part 2 (start)
|
||||
|
||||
---
|
||||
|
||||
## Unit 1 Lifestyle fotografie — Code Generation Complete
|
||||
|
||||
**Timestamp**: 2026-10-20T00:10:00Z
|
||||
|
||||
**User Input**: (none — generation)
|
||||
|
||||
**AI Response**: "Executed all 20 plan steps. Step 13.5 self-check: Prettier failed on CRLF from an edit script (reformatted); tsc rejected constructor parameter properties in a test (rewritten); a leftover vite preview from an earlier session occupied port 4173 (stopped); Lighthouse home mobile failed 0.78 < 0.8 — root cause: Chrome eagerly fetches lazy images within ~1250px of the viewport, so gallery photos competed with the hero (LCP 3.8s → 5.3s). Fixed with useInView, usePageLoaded and DeferredImage (recorded as Step 18a). Final pnpm check green: 138 tests, build ok, audits ok (dev audit report-only), Lighthouse home mobile 0.85 / desktop 1.0, a11y/BP/SEO 1.0. Code summary written. Committed locally on feature/homepage-sections (not pushed)."
|
||||
|
||||
**Context**: CONSTRUCTION - Unit 1 Code Generation (complete, awaiting approval)
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user