6 Commits
Author SHA1 Message Date
SluijsensandClaude Sonnet 5.5 ad0b114828 Hero from the CMS: markers HERO-HTML and HERO-PRELOAD, hero key in the data block, picture per ratio, baked fallback
The prerendered hero is plain HTML between the markers (first photo, h1, buttons), the slider takes over after hydration with the hero of the host block, the API or the build. The head preload is added to the finished HTML. Hero texts move into nl.json. The stand-in host and the e2e tests cover the hero.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 16:48:00 +01:00
SluijsensandClaude Sonnet 5.5 e7bae5edd7 Translation files: the form messages of the cms-client package come from nl.json
Block cmsClient.contact holds the field errors, fallback, waiting time (one
and other), too-large, captcha-required, failure and sending label.
src/i18n/cmsClientMessages.ts builds the ContactMessages object for
useContactForm; a test checks that it says the same as the package's own
Dutch defaults, which stay as the fallback.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 00:30:01 +01:00
SluijsensandClaude Sonnet 5.5 85370351d0 Translation files: one file per language (src/i18n/nl.json)
The ten area files are merged into nl.json with the blocks common, site,
home, about, contact, shoots, portfolio, instagram, testimonials and seo,
same key paths as before. A second language becomes en.json.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 21:20:47 +01:00
SluijsensandClaude Sonnet 5.5 d1e02d1f1c Translation files: describe what is in which file and the rules
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 20:51:27 +01:00
SluijsensandClaude Sonnet 5.5 ab33e1fc83 Translation files: area files in place and the common texts for shared labels
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 17:36:38 +01:00
SluijsensandClaude Sonnet 5.5 246ebe5fd6 Translation files, step 0: typed text helper, checks and the baseline of the pages
Adds src/i18n (t, tList, tPlural over typed Dutch JSON, key and parameter
checks), the first text (back to top) as proof, a baseline tool for the
prerendered pages (pnpm baseline:save and baseline:check), a lint warning for
text typed straight into JSX, and docs/translations.md.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 17:34:18 +01:00