Adds the feature's inception documents (requirements, execution plan, application design), the code generation plan and summary of unit 1, its state and audit log, and its row in the active features list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4.0 KiB
Code Summary — Unit 1: Shared blocks and content
Plan: shared-blocks-and-content-code-generation-plan.md. Branch feature/soorten-fotoshoots-page, worktree AndreaSlopFotografie-soorten-fotoshoots.
Commits
| Commit | Hash | For | Contents |
|---|---|---|---|
| A — Adds the shoot types and their photos | eb23536 |
portfolio-page (cherry-picks in its unit 3) | ShootTypeId, FrameColor, ShootType in content/types.ts; content/shootTypes.ts + test; assets/shoots/*.jpg; theme tokens frame.*; arbitraries shootTypeId, shootType, uniqueShootTypes |
| B — Shares the service area in the structured data | befe97a |
contact-page (does not cherry-pick; whoever merges second keeps both blocks) | ServiceArea, SiteContent.serviceArea, value in siteContent.ts; areaServed() in seo.ts, used by professionalService; tests (example + PBT); serviceArea in anySiteContent |
| C — Extends the shared blocks for the shoot types page | 6cf9095 |
— | see below |
Files (commit C)
- Modified:
web/src/components/FramedImage/FramedImage.tsx(+ test): optionalframeColor, defaultsand - Modified:
web/src/components/MediaText/MediaText.tsx(+ test): optionalreverse(CSSorder: 2fromlg, DOM order unchanged) andframeColor - Moved:
web/src/components/about/RichParagraph/→web/src/components/RichParagraph/(component and test unchanged); import inabout/AboutIntro/AboutIntro.tsxupdated - Created:
web/src/components/CallToAction/CallToAction.tsx(+ test) - Modified:
web/src/components/home/Pricing/Pricing.tsx(+ test):id="prijzen" - Created:
web/src/test/cssRules.ts: test helper that returns the generated CSS rules for an element, including media queries, since jsdom applies neither responsive styles nor pseudo-elements
Images
Originals from andreaslop.nl (all landscape): 2026/07/F41A8700_websize.jpg (1600×1067, Newborn), 2026/07/F41A7856_websize.jpg (1600×1067, Zwangerschap), 2026/04/F41A7138_websize.jpg (1067×1600, Gezin; also one of portfolio-page's 10 photos, approved by the user), 2025/08/e77ff000dce5a31c0a38c5d824bfdb95.jpeg (2048×1365, Loveshoot), 2024/09/DSC_0433-1-scaled.jpg (2560×1702, Portretten).
One-off cover crop to 4:5, 960×1200, JPEG quality 80, with a scratchpad script (crop-image.ps1, PowerShell/System.Drawing, EXIF orientation applied). Crops approved by the user on a contact sheet before they were fixed.
| File | Focus | Size |
|---|---|---|
newborn.jpg |
x 0.44 | 88 KB |
zwangerschap.jpg |
x 0.41 | 123 KB |
gezin.jpg |
centre | 142 KB |
loveshoot.jpg |
x 0.55 | 183 KB |
portret.jpg |
x 0.42 | 116 KB |
Alt texts (for Andrea to review)
- Newborn: "Een pasgeboren baby in een gestreept pakje slaapt met het hoofdje opzij"
- Zwangerschap: "Een zwangere vrouw en haar partner kijken elkaar lachend aan op een zandvlakte, zijn hand op haar buik"
- Gezin: "Vader en moeder kijken samen naar hun pasgeboren baby in de armen van de vader"
- Loveshoot: "Een stel ligt in de zon op een plaid in het gras, met de hoofden tegen elkaar"
- Portretten: "Een vrouw met lang bruin haar in een witte blouse kijkt glimlachend omlaag, met bomen op de achtergrond"
Verification
- Commits A and B: type check, lint, Prettier and the affected tests passed before each commit.
- Commit C: full
pnpm checkpassed, after waiting for portfolio-page's Lighthouse run ("claim 4173" agreement): lint, Prettier, 62 test files / 290 tests (coverage thresholds met), build,audit:depsclean (audit:devreports 17 findings in dev tooling, non-blocking per NFR-SEC-05), Lighthouse mobile and desktop assertions passed. - Visual check against the production build (
vite previewon port 4180, headless Chrome viapuppeteer-corewith reduced motion, scratchpad script): homepage at 1440 and 390 px unchanged (About block keeps its sand block);/over-mijat desktop, tablet and phone widths unchanged;/#prijzenlands on the pricing section right below the fixed header.