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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
frame-src gets the three exact Friendly Captcha global hosts (no wildcard).
When the widget errors, is blocked or shows no sign of life, the form says so
and offers the mail button instead of blocking silently. Adds an e2e for the
form with a mocked API, a draft privacy text for approval, and label tests.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Copies the headless cms-client package (SlpSoftware 93fa729) and builds the
form on useContactForm: availability check when the form is in view (no
request while switched off), the readable shoot label as subject, the Friendly
Captcha widget as its own lazy chunk, trackEvent for contact-sent and
contact-failed. Removes the old reducer, validation and submit stub.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Adds the contact-form-cms feature docs (requirements, execution plan,
functional and infrastructure design, code generation plan) and an optional
Vite dev proxy for /api through API_PROXY_TARGET.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The check now fetches real admin files (index.html, favicon, the css and
js from the served index) and an unknown admin file. A POST with an empty
body returns 405; without a body the HTTP/1.0 proxy hop answers 400.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The test route on the proxy Pi now points at the CMS host on port 5200.
verify-deployment.sh gets a --cms mode that checks the exact security
headers, caching, gzip only, a percent-encoded redirect, the 405 for
POST, and the CMS routes. The deploy-test job uses it once the Gitea
variable ASF_TEST_SERVED_BY_CMS is true.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A landscape photo overlaps a card with the shoot type, quote and names. The controls are two arrows with an X / Y counter; the dots are gone and nothing moves by itself. A change slides the whole slide horizontally, also on a swipe. Reviews get an optional imagePosition for the crop, normalised by normalizeImagePosition; slideCounter writes the counter. Both helpers have property tests next to example tests.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
SectionHeading gets the new sectionHeading text style: uppercase, the shared caps letter-spacing, 26px on phones and 30px from md. The text in the DOM does not change, so accessible names stay as they are. The plain sectionTitle style stays for the headings that do not use SectionHeading.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
On the catch-all 404 page the router shows its pending copy for 500 ms while
the server copy stays hidden with display:none. The test counted h1 elements in
that window and found the hidden one on the faster PC runner. It now counts what
a visitor or screen reader gets, then checks that the hidden copy is gone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The script body had been saved twice, so a production upload would have run
twice and left web.config backups on the host. Browser tests also get longer
limits on the slow CI runner; the page behaves the same.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Three pages no longer need an exception and the homepage target rises to its
measured score, so the gain cannot slip away unnoticed. Also adds the third
unit's code summary and updates the shared docs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A remote of . or .. could have made the cleanup pass delete the wrong folder, so
such paths are refused before anything runs. A connection error now ends in the
normal summary instead of aborting the check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each pass is now its own lftp session with a marker in the log, so a failed
asset pass stops the script before any HTML goes up. The test checks those
markers instead of lftp's output format.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The preview server must behave like the real server, or Lighthouse and the
browser tests prove the wrong thing. The tests also cover the new URLs in a real
browser: one redirect, one title, a clean hydration.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The preview server and web.config now follow the same URLs as nginx, without
the SPA fallback. Lighthouse exceptions need a recorded reason and the 404 page
is audited through an opt-in route. The deploy checks the build first and the
served result afterwards. The IIS rules stay unverified until a host exists.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Real nginx passes all 134 server rule tests in CI. The seven remaining failures
were tests cut off at 60 seconds on the Raspberry Pi.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Plain map keys compare case-insensitively, so /Over-Mij was not redirected. A
path starting with an encoded backslash could become an open redirect through
the trailing-slash rule; it now gets the 404 page. Also makes the tests readable
for nginx's workers and less sensitive to the slow CI runner.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The router swaps its pending copy for the real page after 500 ms, so a heading
found before that can leave the document before the assertion. CI on the Pi
caught this. The page itself shows identical content during the swap.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pages now map to their html file, other forms get one redirect, unknown URLs
get a real 404 and responses are compressed. A browser-free test suite runs the
rules against a real nginx, in CI only so far.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Lazy loading saved its bytes during page load, but left the logo empty for a
moment when navigating to the homepage on a wide screen. Also adds the second
unit's code summary and the shared docs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The tests cover every page without JavaScript, the menu by keyboard and pointer,
the fade-in at load and on scroll, and image requests per width. They found that
the closed menu's shoot links could take focus, which is fixed here.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The mobile menu works through CSS, and controls that need JavaScript are hidden
without it. The contact photo gets its own preload, and the tests cover the new
Reveal behaviour, the first row and the noscript markup.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reveal content is visible in the HTML and only content below the viewport hides
after hydration. Deferred photos get a noscript twin, and the first row of the
portfolio loads eagerly per column count. Some old tests still expect the former
behaviour; they are rewritten next, so this commit's test run is not fully green.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The prerendered 404 page is served for other URLs, so its dehydrated match id
differs and the router renders the catch-all's pending component first. Without
one that render was empty, which gave React error 418 and duplicate head tags.
The tests run the built output in a real browser under the production CSP.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The baseline ran on vite preview, which compresses, so measurements could not
be compared without this. Also records that the real servers need compression.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The build now moves inline scripts and fails on a violation. Lighthouse audits
/404.html, because it refuses a page with a real 404 status.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Lighthouse and the browser tests need a real 404 status, the .html mapping and
the production headers, which vite preview does not give. It is not wired into
the scripts yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Search values, the 404 buttons and the footer year now apply after hydration.
The e-mail address stays out of the HTML behind a placeholder, and all review
texts are in the page, so crawlers can read them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TanStack Start writes inline scripts into each page, which the strict CSP
blocks. This step moves them to hashed files and checks the output: every page
is present, no executable inline script remains and the e-mail address appears
nowhere. It is not part of the build yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every page is now built as HTML from sitePages.ts, with a catch-all route for
404.html. Hooks that read the browser during render are safe for prerendering.
The script step that keeps the CSP intact follows, so this build still has
inline scripts and is not deployable yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Shoot pages follow design E: breadcrumb, story blocks, process
timeline with icons, photo mosaic, FAQ, package block and booking
call to action, with per-shoot OG images. The navigation gets a
"Soorten fotoshoots" submenu (desktop panel, mobile group) built from
shootTypes, with exact current-page matching in menu, footer and
breadcrumb. A 404 under /soorten-fotoshoots/ also offers a link back
to the overview.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Five pages under /soorten-fotoshoots/<id> with draft copy awaiting
Andrea's approval (DRAFT markers), structured data (Service,
BreadcrumbList, FAQPage), sitemap and Lighthouse entries. The overview
route moves to soorten-fotoshoots/index.tsx.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pnpm audit failed on seroval 1.6.7, which @tanstack/router-core pulls
in (GHSA-97r2-qh9m-474h, GHSA-wp97-x4hv-qvhp, GHSA-7rv5-mrxv-xcr9;
fixed in 1.6.8). The newest router-core still asks for ^1.6.7, so an
override forces the patched seroval and seroval-plugins. The site does
not use the affected fromJSON decoding (client-only, seroval is not in
the bundle), but the audit gate in pnpm check and CI blocked on it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The ten live photos in a filterable masonry grid with an accessible
lightbox, filters per shoot type kept in the URL (?shoot=), the shared
Instagram block, and an indexed page with image gallery structured data
and its own preview image. Soorten fotoshoots now only links to the
portfolio for shoot types that have photos there.
The filter bar stays on one row, so the web font loading no longer
shifts the photos below it, and no photo loads before the page has: the
grid fades in, so loading its photos early only delayed the fonts and the
intro text.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A masonry photo grid that keeps the reading order (pure CSS, no measuring
in the browser), an accessible lightbox on Chakra's Dialog with wrap-around
browsing, keys, swipe and preloading, and a filter bar of toggle buttons.
They work on generic gallery items, so other pages can use them. The swipe
logic moves out of the hero into a shared hook; the hero behaves as before.
The rules behind them live in pure helpers with property-based tests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Moves InstagramGrid out of the homepage sections and gives it its own
content module, so the portfolio can show the same block. The homepage
renders exactly as before; the tiles keep reusing the intro and review
photos, so each photo keeps one description.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The submit button of the contact form now sits on the right, with the
privacy line below it, on the homepage and the contact page. Arriving on
the contact page from a link further down another page now starts at
the top: removing ?pakket= from the address no longer cancels the
router's scroll reset.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The contact page in the approved layout: the form next to a photo with
the contact card on wide screens, and the card with a small portrait
above the form on phones, where the large photo is never downloaded.
/contact?pakket= preselects a package. The page is indexed, with its
own title, description, preview image and ContactPage structured data.
Over mij and Soorten fotoshoots now link to /contact. The green button
gets a darker background, so its white text meets the contrast minimum.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>