Adds the Instagram section to the homepage

Shows the handle as a link to the profile and six square photos from edge
to edge (2, 3 or 6 per row), each linking to the profile in a new tab.
The photos are ones the page already loads, so the section adds no
downloads; the API will later fill it with the real feed. Without a valid
https link to Instagram the section is left out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-22 00:26:41 +02:00
co-authored by Claude Opus 5.5
parent f8905f5586
commit 52c1864a38
13 changed files with 511 additions and 36 deletions
@@ -740,3 +740,111 @@ De foto mag nog iets kleiner? 75% van huidige groote maken is denk ik goed. Het
**Context**: CONSTRUCTION - Unit 5 bug fixes (awaiting approval of unit 5)
---
## Test Deploy Result (unit 5 incl. scroll fixes)
**Timestamp**: 2026-10-21T02:00:00Z
**User Input**: (none — CI run finished)
**AI Response**: "CI run 556 (0b00b78, deploy_test=true) completed: check, deploy-test and lighthouse success, deploy-production skipped. The Lighthouse failure of run 555 did not recur (runner issue). test.andreaslop.nl serves the Contact section."
**Context**: Test environment updated with unit 5 and the scroll fixes
---
## Unit 5 Contact — Change Request: Section Heading Size
**Timestamp**: 2026-10-21T20:10:48Z
**User Input**: "ik wil verder met d eopenstaande feature in aidlc. Ik had in ieder geval al een opmerking over de <h2>-tags. Die zijn wat groot. Kunnen die een grootte krijgen wat vertaald naar 30 pixels? Ze zijn nu in iede rgeval wat te groot en nu zijn ze computed 40px"
**AI Response**: "Resumed homepage-sections (unit 5 awaiting approval). The section h2s use textStyle sectionTitle (1.85rem / 2.125rem / 2.5rem = 40px at xl, from the design's --fs-h2). Changed it to a flat 1.875rem (30px) at every width; mobile was already 29.6px so a single size is simplest. Applies to all SectionHeading h2s on the homepage; footer h2s (eyebrow) and h1/h3 unchanged. Design static CSS left as is."
**Context**: CONSTRUCTION - Unit 5 change request (typography)
---
## Unit 5 Contact — Change Request: Price Card Heading Size
**Timestamp**: 2026-10-21T20:21:27Z
**User Input**: "de maten voor de prijskaarten mogen ietsje kleiner. Ze zijn nu bijna even groot als de h2's"
**AI Response**: "Price card h3 (package name) reduced from 1.75rem (28px) to 1.5rem (24px). The price itself stays 2.25rem (36px), larger than the 30px h2 — asked the owner whether that should shrink too."
**Context**: CONSTRUCTION - Unit 5 change request (typography)
---
## Unit 5 Contact — Change Request: Testimonial Quote Size
**Timestamp**: 2026-10-21T20:23:58Z
**User Input**: "De tekst van de lieve woorden. De blockquote is een beetje groot. zou je die ook wat kleiner kunnen maken?"
**AI Response**: "Testimonial blockquote reduced from clamp(1.35rem, 2.2vw, 1.75rem) (21.6–28px) to clamp(1.15rem, 1.7vw, 1.375rem) (18.4–22px). The carousel placeholder renders the longest slide itself, so its height follows automatically."
**Context**: CONSTRUCTION - Unit 5 change request (typography)
---
## Unit 5 Contact — Approval
**Timestamp**: 2026-10-21T20:36:20Z
**User Input**: "top het werkt. okee. dan kan je nu verder met de volgende unit"
**AI Response**: "Unit 5 approved (incl. the review typography changes: section h2 30px, price card h3 24px, testimonial quote 18.4–22px; price amount size question left open). Moving to Unit 6 Instagram."
**Context**: CONSTRUCTION - Unit 5 Code Generation approved
---
## Unit 6 Instagram — Code Generation Plan
**Timestamp**: 2026-10-21T20:36:20Z
**User Input**: (none — AI-initiated)
**AI Response**: "Created construction/plans/instagram-code-generation-plan.md (11 steps): content type and data reusing six already-bundled photos, HomeSection width='full' for the design's full-bleed grid, InstagramGrid (handle link, list of six square tiles 2/3/6 columns, accessible names alt + hint, hover/focus with reduced motion), route renders it only with a valid https Instagram link via visibleSocials, tests, pnpm check, LAYOUT.md check, summary, commit (typography changes in a separate commit first). Prompt: approve plan or request changes."
**Context**: CONSTRUCTION - Unit 6 Code Generation Part 1 (awaiting plan approval)
---
## Unit 6 Instagram — Plan Approval
**Timestamp**: 2026-10-21T20:40:08Z
**User Input**: "approve plan"
**AI Response**: "Plan approved. Starting Code Generation Part 2 (commit at the end, not pushed)."
**Context**: CONSTRUCTION - Unit 6 Code Generation Part 2 (start)
---
## Unit 6 Instagram — Code Generation (Lighthouse gate pending)
**Timestamp**: 2026-10-21T21:01:47Z
**User Input**: (none — AI-initiated)
**AI Response**: "Steps 1–7, 9, 10 done. pnpm check: lint, format, 244 tests, build, audits green; Lighthouse home mobile 0.73 (budget 0.8), /contact 0.84 in the first run. Benchmark index was halved (1889 vs ~4200). A/B with the unit 5 build (git stash of web/, 3 runs each): both 0.68–0.84, TBT 190–600 ms, no difference; machine under load (game and a Vite dev server). Visual check in headless Chrome: 6/3/2 columns, full-bleed, h2 30px, no extra image requests. Not committed; asked the owner whether to rerun the gate on a quiet machine first."
**Context**: CONSTRUCTION - Unit 6 Code Generation, Step 8 Lighthouse pending
---
## Unit 6 Instagram — Lighthouse Rerun
**Timestamp**: 2026-10-21T22:26:33Z
**User Input**: "ik heb rocket league afgesloten. Ik zie in de browser bij performance ook ineens maar een score van 44 en 51 op desktop. De rest is in beide gevallen 100. Op mobiel is dat 35 en 33 terwijl de andere onderdelen 100 zijn."
**AI Response**: "The browser scores come from the Vite dev server (port 5173): measured it at desktop 0.55 / mobile 0.36 with 137 unbundled requests, so not representative. Rebuilt and reran pnpm lighthouse on the production build: passed — home mobile 0.81 (TBT 230 ms), desktop 1.0, other pages 0.93–0.94 / 1.0, a11y/BP/SEO 1.0. Step 8 ticked; committing as in the approved plan (Step 11), not pushed."
**Context**: CONSTRUCTION - Unit 6 Code Generation, Step 8 complete
---