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>
Records the requirements, execution plan, application design, the first unit's
functional design and code generation plan, and the baseline on master.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The final texts and extra photos follow in a separate feature;
content-pending.md is its input.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The shoot-type pages are code-complete but wait for Andrea's texts,
answers to the open questions and extra photos. content-pending.md
describes how to finish them and what must hold before the merge.
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>
Records the build and test results (full suite, integration scenarios,
Lighthouse in CI and locally) and completes the feature.
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>
Records the requirements, execution plan and application design for the
portfolio page: the ten live photos in a filterable masonry grid with an
accessible lightbox, filters per shoot type in the URL, the Instagram
block shared with the homepage, and an indexed page with image gallery
structured data. Built alongside the contact and shoot type pages, with
shared pieces split between them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>