Records unit 1 of the Soorten fotoshoots page as generated

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>
This commit is contained in:
2026-10-25 08:26:06 +01:00
co-authored by Claude Opus 5.5
parent 6cf909564b
commit 166e5d32bb
15 changed files with 1366 additions and 0 deletions
@@ -0,0 +1,43 @@
# Code Summary — Unit 1: Shared blocks and content
Plan: [shared-blocks-and-content-code-generation-plan.md](../../plans/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): optional `frameColor`, default `sand`
- Modified: `web/src/components/MediaText/MediaText.tsx` (+ test): optional `reverse` (CSS `order: 2` from `lg`, DOM order unchanged) and `frameColor`
- Moved: `web/src/components/about/RichParagraph/` → `web/src/components/RichParagraph/` (component and test unchanged); import in `about/AboutIntro/AboutIntro.tsx` updated
- 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 check` passed, after waiting for portfolio-page's Lighthouse run ("claim 4173" agreement): lint, Prettier, 62 test files / 290 tests (coverage thresholds met), build, `audit:deps` clean (`audit:dev` reports 17 findings in dev tooling, non-blocking per NFR-SEC-05), Lighthouse mobile and desktop assertions passed.
- Visual check against the production build (`vite preview` on port 4180, headless Chrome via `puppeteer-core` with reduced motion, scratchpad script): homepage at 1440 and 390 px unchanged (About block keeps its sand block); `/over-mij` at desktop, tablet and phone widths unchanged; `/#prijzen` lands on the pricing section right below the fixed header.