Commit Graph
223 Commits
Author SHA1 Message Date
SluijsensandClaude Sonnet 5.5 358fca0855 Hero module: closing docs (state, build and test summary, assumptions, go-live checklist)
Continuous Integration / check (pull_request) Successful in 2m20s
Continuous Integration / build-test (pull_request) Skipped
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 8m55s
Continuous Integration / deploy-production (pull_request) Skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 09:25:45 +01:00
Sluijsens cce4a2b858 Merge remote-tracking branch 'origin/master' into feature/hero-module 2026-11-17 09:01:43 +01:00
Sluijsens efd2aeeb48 Remove the nightly test build
Continuous Integration / check (push) Successful in 2m44s
Continuous Integration / build-test (push) Successful in 1m2s
Continuous Integration / lighthouse (push) Successful in 9m31s
Continuous Integration / deploy-production (push) Skipped
Continuous Integration / deploy-test (push) Successful in 1m26s
2026-11-17 08:46:01 +01:00
SluijsensandClaude Sonnet 5.5 14047f3e1b Docs: prettier on the triggers table
Continuous Integration / check (pull_request) Successful in 2m0s
Continuous Integration / build-test (pull_request) Skipped
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 10m18s
Continuous Integration / deploy-production (pull_request) Skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 08:33:09 +01:00
SluijsensandClaude Sonnet 5.5 b12ae37f29 Removes the nightly test build: the CMS host injects current data into the HTML
The schedule trigger and its conditions in the jobs are gone; docs say that a
content change needs no rebuild (NFR-10) and that production gets the same
only once it is served by the CMS host.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 08:32:52 +01:00
SluijsensandClaude Sonnet 5.5 9e45aca7f3 Reveal e2e: retry the two frame-sampling tests (2 on CI, 1 locally)
On the slow CI runner the sampler sometimes had not caught up when the wait ended (0 of 14 hidden elements seen), a false failure that passes on a new run. A real fault still fails every attempt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 20:19:27 +01:00
SluijsensandClaude Sonnet 5.5 3d7bb2d4a6 Hero: keep the plain HTML region after hydration, add the slider around it
Replacing the region at hydration made new nodes (a late LCP candidate). The first photo, the title and the buttons now stay; the other slides, arrows and controls are added on top.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:39:06 +01:00
SluijsensandClaude Sonnet 5.5 1a59fc3125 Hero module: assumptions and deferred questions
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 16:49:07 +01:00
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 13f78c48cd Adds the hero contract: golden files for the picture and the preload links, mapping and seed
Model B (wide 3:2 and tall 4:5 variants, focus point), agreed with the CMS
session. Pure functions mapHero, heroHtml and heroPreloadHtml, golden files in
web/contract/host-injection/hero with a README, and a seed with a first focus
estimate per photo. No site change yet.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 14:44:30 +01:00
Sluijsens 2c15cda7c4 Merge pull request: packages and banners from the CMS, host injection, translation files and the contact form (#19)
Continuous Integration / check (push) Successful in 1m58s
Continuous Integration / build-test (push) Successful in 4m12s
Continuous Integration / deploy-test (push) Successful in 1m13s
Continuous Integration / lighthouse (push) Successful in 9m0s
Continuous Integration / deploy-production (push) Skipped
2026-11-16 14:17:13 +01:00
SluijsensandClaude Sonnet 5.5 db86332c1f Opens the contact form through a build switch instead of the TEST ONLY commit; closes the AI-DLC records
Continuous Integration / check (pull_request) Successful in 2m25s
Continuous Integration / build-test (pull_request) Skipped
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 9m2s
Continuous Integration / deploy-production (pull_request) Skipped
The form is closed unless the build sets VITE_CONTACT_FORM_ENABLED=true (only
the test build does), so d449e76 no longer has to be undone before the merge.
Status files of contact-form-cms, asf-packages-cms, asf-cms-host-injection and
asf-translation-files are closed; Build and Test summary added.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 12:01:29 +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 c839b255eb Translation files, steps 6 and 7: portfolio, instagram, testimonials and the SEO titles in language files
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 20:51:09 +01:00
SluijsensandClaude Sonnet 5.5 776cd9861d Translation files, step 5: shoot types and shoot pages in shoots.json
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 20:51:09 +01:00
SluijsensandClaude Sonnet 5.5 96319340eb Translation files, step 4: about and contact pages in about.json and contact.json
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 20:51:08 +01:00
SluijsensandClaude Sonnet 5.5 8df4e5d2f2 Translation files, step 3: the home page sections in home.json
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 20:51:08 +01:00
SluijsensandClaude Sonnet 5.5 034ba902d2 Translation files, step 2: navigation, footer and contact details in site.json
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 20:51:07 +01:00
SluijsensandClaude Sonnet 5.5 9405e2d4f9 Translation files, step 1: common texts (forms, status pages, lightbox, labels) in common.json
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 20:51:07 +01:00
SluijsensandClaude Sonnet 5.5 458913fd9d Translation files: read the language files in node too and enforce the lint rules
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 20:51:07 +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
SluijsensandClaude Sonnet 5.5 107647f7a5 Local only: Cormorant Garamond and Mulish instead of Marcellus and Jost
Not pushed: Bryan compares it with the current test version first.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 17:15:04 +01:00
SluijsensandClaude Sonnet 5.5 d9ff875ade Lets the deployment check cope with pages the CMS host has filled
The check after a deploy compared the server's answer with dist byte for byte,
which fails once the host writes current data into the markers. Both sides are
now normalised first (regions, data block, offers, inline prices, site
address); everything else still has to match. The stand-in host no longer
injects the 404 page, like the real one.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 17:02:17 +01:00
SluijsensandClaude Sonnet 5.5 b2cb6351e1 Leaves the theme twigs out of the site and the repo
The two decorative PNGs came from the paid WordPress theme and fall under
its licence, not the GPL. They are removed from the Pricing section, the
banner under the cards, web/src/assets and the design copy. Own SVG twigs
are kept in design/own-assets for later; the assets overview records why.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 16:57:29 +01:00
SluijsensandClaude Sonnet 5.5 4ead7713ba Records the theme licence files and what was and was not taken from the theme
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 16:53:34 +01:00
SluijsensandClaude Sonnet 5.5 39a7cf578d Adds the theme licence reading and the other visual elements to the assets overview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 16:52:11 +01:00
SluijsensandClaude Sonnet 5.5 2771661a1d Makes the outline buttons heidegroen and records where the assets come from
The outline link button (package buttons, 404 and error page, CTAs) is now
heidegroen with a filled hover and focus state (contrast 5.7:1 on white, 5.3:1
on paper); the dark ink colour stays only in the back-to-top button. Adds
docs/assets-and-licenses.md with the source and licence status per asset.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 16:50:49 +01:00
SluijsensandClaude Sonnet 5.5 bf21b6f690 Builds the markers, data block and stand-in host for the CMS host injection
The pages carry the CMS markers (data block, list regions, JSON-LD price,
inline price); PackagesProvider reads the host's data block after hydration
and asks the API only when there is none; the site address comes from the
block. A stand-in for the host (config/hostInjector.ts, --cms-data in the
preview server) and browser tests check the behaviour with different data.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 16:21:08 +01:00
SluijsensandClaude Sonnet 5.5 16027f5688 Adds the neutral HTML, the data block helpers and the golden files of the host injection
cmsHtml.ts writes the plain list and banner HTML that sits between the CMS
markers; contract/host-injection holds the inputs, the expected HTML and the
rules the CMS host's C# template must follow. cmsData.ts reads, validates and
writes the cms-data block.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 16:05:42 +01:00
SluijsensandClaude Sonnet 5.5 ed4a19d146 Records Bryan's decisions on the host injection plan and its waiting status
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 15:23:50 +01:00
SluijsensandClaude Sonnet 5.5 7feebb690c Records the agreed host contract for the CMS injection plan
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 15:18:32 +01:00
SluijsensandClaude Sonnet 5.5 ee973477de Documents the CMS-host-serves-everything decision and proposes the host injection plan
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 15:15:17 +01:00
SluijsensandClaude Sonnet 5.5 ba7288526b Gives a featured package a quiet highlight and makes the optional CMS fields explicit
A featured card gets a heidegroen top rule, border and a small "Uitgelicht"
tab on its top edge; the tab sits on the border so the row keeps its layout.
Tests and docs state that the site does not depend on description, price note
or button label.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 14:15:23 +01:00
SluijsensandClaude Sonnet 5.5 9e8a876cd1 Notes that CMS scheduling applies at build time and live in the browser
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 13:54:11 +01:00
SluijsensandClaude Sonnet 5.5 9eeb05f8fa Lets the test build present itself under its own address
VITE_SITE_URL sets the origin used for canonical, og:url, og:image, JSON-LD
and the sitemap. Only the test build sets it (https://test.andreaslop.nl);
the production artifact keeps https://andreaslop.nl. Only a clean https
origin (or http on localhost) is accepted, anything else falls back to
production.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 11:50:11 +01:00
SluijsensandClaude Sonnet 5.5 6ff415e1bc Documents the CMS packages, banners, deploy flow and go-live conditions
Adds docs/cms-integration.md, docs/deploy-and-ci.md and
docs/go-live-checklist.md, fills in the README (set-up and commands) and
points AGENTS.md at the docs so they are kept up to date.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 00:07:51 +01:00
SluijsensandClaude Sonnet 5.5 6f1be2f7f5 Adds a slim top bar above the packages and centres the last row of cards
The CMS serves a second banner at /api/v1/offerings/banner?position=top. The
site bakes it into the HTML at build time and replaces it live after
hydration, like the banner under the cards, and both may show at once.
The cards now sit in a wrapping flex row so an incomplete last row is centred
for any number of cards on desktop; phone and tablet stay one column.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 12:42:07 +01:00
SluijsensandClaude Sonnet 5.5 e28188c997 Makes the price banner lighter and richer in the ASF style
White band like the price cards (a light green tone stays available), a thin
heidegroen rule, the section-heading type in spaced capitals, a small
ornament, the eucalyptus sprig in a corner and more space.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 08:41:15 +01:00
SluijsensandClaude Sonnet 5.5 fd77a39843 Gives the price banner the ASF look instead of a dark block
Soft alternate paper tone with a hairline and a thin heidegroen rule on top,
centred heading font and the deep-green button of the cards. Same function:
title, optional text and button, empty fields left out.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 13:02:45 +01:00
SluijsensandClaude Sonnet 5.5 915c41b92e Covers the featured flag of an offering in the mapping tests
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 11:26:18 +01:00
SluijsensandClaude Sonnet 5.5 12319bb841 Updates the packages and the banner live in the browser
The build still bakes the current packages and the active banner into the HTML.
After hydration the page asks /api/v1/offerings and /api/v1/offerings/banner
once and replaces what differs; errors and time-outs keep what was baked, and
a 204 from the banner route hides the banner. The banner is now the
OfferingBanner contract (title, text, optional link) instead of layout=banner.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 11:19:50 +01:00
SluijsensandClaude Sonnet 5.5 f9180f231f Lets the price banner work with empty fields
Only the banner title is required; description, price, price note, features
and the button label are left out when empty (the button then says Neem contact
op).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 09:42:35 +01:00
SluijsensandClaude Sonnet 5.5 4cae76b21d Builds the test site separately with the CMS packages and adds a nightly test build
The check job builds dist without a CMS address, so what goes to production
keeps the committed package list. A new build-test job builds with
OFFERINGS_URL from ASF_OFFERINGS_URL_TEST and feeds only deploy-test. A nightly
schedule (03:15 UTC) deploys the test site; Lighthouse is skipped for it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 09:10:52 +01:00
SluijsensandClaude Sonnet 5.5 5bfbde1881 Reads the shoot packages and an optional banner from the CMS at build time
The build asks GET /api/v1/offerings and bakes the packages into the pages,
with a committed snapshot as fallback so a CMS outage never breaks the build
or shows an empty price. The form choices and ?pakket= use the same list. An
offering with layout=banner becomes an optional band under the price cards.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 08:13:01 +01:00
SluijsensandClaude Sonnet 5.5 7737104a77 Lets the CI preview server stand in for the contact API
With contactForm.enabled=true the e2e and Lighthouse runs asked a token route
that CI does not have (404, console error, run 666). The preview server gets an
opt-in --contact-stub (token 200 without captcha, submit 202); the e2e server
helper and the Lighthouse start command switch it on. Tests that need another
answer still replace it per page with page.route.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 19:39:03 +01:00
SluijsensandClaude Sonnet 5.5 7e708cf3c7 Changes the stated retention period from 12 months to 1 year in the privacy draft and ops docs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 13:40:01 +01:00
SluijsensandClaude Sonnet 5.5 d449e7668e TEST ONLY: enable the contact form for the ASF test deploy
Sets siteContent.contactForm.enabled to true so the test site opens the form.
Must not be merged to master; revert before the merge. Go-live needs
Bryan's explicit go (production readiness checklist).

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