Adds the Lieve woorden section to the homepage

Shows client reviews one at a time with the framed photo, a large
quotation mark, the shoot type and the names. Uses Chakra's carousel for
paging, looping and swiping with our own controls, so visitors who
prefer reduced motion get instant changes, and loads the carousel only
when the section comes near the screen so the hero does not wait for it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-20 01:52:41 +02:00
co-authored by Claude Opus 5.5
parent 30dab1af42
commit cb6a9b07f9
30 changed files with 1307 additions and 6 deletions
@@ -405,3 +405,113 @@ Nou is het nog een statische site zonder back-end dus het contactformulier kan n
**Context**: CONSTRUCTION - Unit 3 Code Generation (complete, awaiting approval)
---
## Unit 3 Prijzen — Approval, Push and Test Deploy
**Timestamp**: 2026-10-20T03:10:00Z
**User Input**: "Ziet er goed uit. Kan je de changes tot nu toe committed en pushen. Kan je dan een deploy naar test doen?"
**AI Response**: "Unit 3 approved. All work was already committed (5 commits on feature/homepage-sections). Pushed the branch to origin (new branch). Dispatched the CI workflow on feature/homepage-sections with deploy_test=true, deploy_production=false (run 552); following it until completion."
**Context**: CONSTRUCTION - Unit 3 complete; branch pushed; test deploy requested
---
## Unit 4 Lieve woorden — Functional Design Plan and Questions
**Timestamp**: 2026-10-20T03:15:00Z
**User Input**: "Ga ondertussen verder naar de volgende stage"
**AI Response**: "Started unit 4 Functional Design while CI run 552 (test deploy) is running. Created construction/plans/lieve-woorden-functional-design-plan.md (6 steps) and lieve-woorden-fd-questions.md with 3 questions: behaviour at the end of the list, slide vs crossfade transition, equal vs adaptive height."
**Context**: CONSTRUCTION - Unit 4 Functional Design (awaiting answers)
---
## Unit 4 Lieve woorden — Functional Design Answers
**Timestamp**: 2026-10-20T03:25:00Z
**User Input**: "1a
2a
3a"
**AI Response**: "Recorded answers (loop around at the ends; sliding transition via Chakra Carousel; all slides the height of the tallest). No ambiguities. Generating functional design artifacts."
**Context**: CONSTRUCTION - Unit 4 Functional Design (answers received)
---
## Unit 4 Lieve woorden — Functional Design Complete
**Timestamp**: 2026-10-20T03:40:00Z
**User Input**: (none — generation)
**AI Response**: "Generated construction/lieve-woorden/functional-design/: domain-entities.md (Testimonial invariants, live data with alt texts), business-rules.md (BR-REV-01..11, two decision flowcharts), business-logic-model.md (navigation sequence; carousel state is Chakra's; visibleTestimonials and slideLabel with 6 PBT properties; PBT-06 N/A), frontend-components.md (Testimonials with Chakra Carousel parts, TestimonialSlide, equal height, reduced motion, single live announcement). Prompt: Request Changes or Continue to Code Generation."
**Context**: CONSTRUCTION - Unit 4 Functional Design (awaiting approval)
---
## Unit 4 Lieve woorden — Functional Design Approval
**Timestamp**: 2026-10-20T03:45:00Z
**User Input**: "Ga verder naar de volgende stage"
**AI Response**: "Functional design approved. Proceeding to Code Generation Part 1 (planning) for unit 4."
**Context**: CONSTRUCTION - Unit 4 Functional Design approved
---
## Test Deploy Result (units 1–3)
**Timestamp**: 2026-10-20T03:50:00Z
**User Input**: (none — CI run finished)
**AI Response**: "CI run 552 (workflow_dispatch on feature/homepage-sections, deploy_test=true) completed: check success, deploy-test success, lighthouse success, deploy-production skipped. Verified test.andreaslop.nl serves the new route chunk containing the Lifestyle fotografie, Over mij and Prijzen content."
**Context**: Test environment updated with units 1–3
---
## Unit 4 Lieve woorden — Code Generation Plan
**Timestamp**: 2026-10-20T03:55:00Z
**User Input**: (none — AI-initiated)
**AI Response**: "Created construction/plans/lieve-woorden-code-generation-plan.md (14 steps). Findings from @zag-js/carousel 1.43.3 that shape it: built-in triggers/indicators/keys always scroll smoothly from JS (CSS cannot honour reduced motion) but the API accepts an instant flag → own prev/next/dots/arrow keys calling the API with instant = reduced motion; item group has aria-live polite → set off, one own live region; default translations English → item label via slideLabel. Prompt: approve plan or request changes."
**Context**: CONSTRUCTION - Unit 4 Code Generation Part 1 (awaiting plan approval)
---
## Unit 4 Lieve woorden — Plan Approval
**Timestamp**: 2026-10-20T04:00:00Z
**User Input**: "Approve plan"
**AI Response**: "Plan approved. Starting Code Generation Part 2."
**Context**: CONSTRUCTION - Unit 4 Code Generation Part 2 (start)
---
## Unit 4 Lieve woorden — Code Generation Complete
**Timestamp**: 2026-10-20T05:00:00Z
**User Input**: (none — generation)
**AI Response**: "Executed all 14 steps. Step 13.5 findings: jsdom cannot page Zag (no layout) — unit tests cover our wiring, paging/looping/dots verified in real Chrome via CDP; jsdom lacks IntersectionObserver/ResizeObserver/Element.scrollTo — ResizeObserver no-op added to test setup, the others stubbed per test; real-browser check showed slides clipping/overlapping the sand block — spacing and per-slide padding added; Lighthouse home mobile median 0.83 → 0.81 because the carousel joined the route chunk (measured with 5-run medians against a unit-3 worktree build) — React.lazy alone did not help, the carousel now loads only when the section is within 200px of the screen; median back to 0.83. Reduced motion verified: instant scroll in the first frame vs ±330ms smooth. Final pnpm check green: 190 tests, mobile 0.83, desktop 1.0, a11y/BP/SEO 1.0. Note: a git checkout of routes/index.tsx during the lazy experiment also reverted the uncommitted Testimonials wiring; it was restored immediately. Temporary worktree and preview servers cleaned up. Committing locally (incl. earlier pending audit/state updates), not pushed."
**Context**: CONSTRUCTION - Unit 4 Code Generation (complete, awaiting approval)
---