Commit Graph
73 Commits
Author SHA1 Message Date
SluijsensandClaude Opus 5.5 c4348ecd3a Counts only visible headings in the 404 hydration test
Continuous Integration / check (pull_request) Successful in 1m44s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 8m45s
Continuous Integration / deploy-production (pull_request) Skipped
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>
2026-11-03 19:49:22 +01:00
SluijsensandClaude Opus 5.5 2006fa01d9 Removes a duplicate from the upload script and its backups
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>
2026-11-01 23:47:56 +01:00
SluijsensandClaude Opus 5.5 b6d5a85e41 Applies the owner's Lighthouse targets
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>
2026-11-01 20:07:24 +01:00
SluijsensandClaude Opus 5.5 6d4d01238a Hardens the upload path check and the deploy verification
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>
2026-11-01 19:31:21 +01:00
SluijsensandClaude Opus 5.5 afd9923950 Stops the production upload when a pass fails
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>
2026-11-01 19:17:37 +01:00
SluijsensandClaude Opus 5.5 38708b8439 Compares the preview server with real nginx in tests
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>
2026-11-01 18:30:08 +01:00
SluijsensandClaude Opus 5.5 e4e7f8c82c Adds the URL rules to the preview server, IIS config and deploy
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>
2026-11-01 18:13:21 +01:00
SluijsensandClaude Opus 5.5 716692825e Gives browser tests more time on the slow CI runner
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>
2026-11-01 18:02:59 +01:00
SluijsensandClaude Opus 5.5 8cb9185a69 Fixes two nginx rule defects found by real nginx in CI
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>
2026-11-01 04:47:52 +01:00
SluijsensandClaude Opus 5.5 95e3c61281 Fixes a race in the hydration tests of the 404 page
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>
2026-11-01 03:36:05 +01:00
SluijsensandClaude Opus 5.5 33334b889d Generates the nginx rules for prerendered pages
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>
2026-11-01 03:00:07 +01:00
SluijsensandClaude Opus 5.5 b5fd83256d Loads the light logo after the page load
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>
2026-11-01 01:56:13 +01:00
SluijsensandClaude Opus 5.5 2754890370 Adds browser tests for the page without JavaScript
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>
2026-10-31 23:50:17 +01:00
SluijsensandClaude Opus 5.5 01fcfeefea Adds the fallbacks for visitors without JavaScript
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>
2026-10-31 23:09:33 +01:00
SluijsensandClaude Opus 5.5 44125155bc Makes Reveal, deferred images and the first row work from the HTML
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>
2026-10-31 22:57:05 +01:00
SluijsensandClaude Opus 5.5 d6f8eb6c8e Moves the hydration test out of the routes folder
The route generator scans that folder and warned about the test file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 20:25:58 +01:00
SluijsensandClaude Opus 5.5 a68e84c3bb Removes plan references from the new comments
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 20:20:39 +01:00
SluijsensandClaude Opus 5.5 8bf0000531 Adds browser tests and fixes hydration of the 404 page
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>
2026-10-31 19:03:07 +01:00
SluijsensandClaude Opus 5.5 0c5d8b8f40 Compresses responses in the preview server
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>
2026-10-31 18:30:30 +01:00
SluijsensandClaude Opus 5.5 fe1ec5db3d Wires the script step and preview server into the build
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>
2026-10-31 18:25:41 +01:00
SluijsensandClaude Opus 5.5 0b964b5466 Adds a preview server that follows the real server rules
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>
2026-10-31 18:20:22 +01:00
SluijsensandClaude Opus 5.5 2c2e27e337 Makes the first render match the prerendered HTML
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>
2026-10-31 18:17:26 +01:00
SluijsensandClaude Opus 5.5 1574726c1d Adds the step that moves inline scripts to files
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>
2026-10-31 18:12:42 +01:00
SluijsensandClaude Opus 5.5 c1e90f0768 Moves the app to TanStack Start with prerendering
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>
2026-10-31 17:58:54 +01:00
SluijsensandClaude Opus 5.5 7af2069959 Adds the shoot page layout and the shoot-type submenu
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>
2026-10-30 14:43:43 +01:00
SluijsensandClaude Opus 5.5 e5f4348178 Adds the shoot-type pages content and SEO foundation
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>
2026-10-30 13:31:46 +01:00
SluijsensandClaude Opus 5.5 ddc3743500 Patches seroval for three new advisories
Continuous Integration / check (pull_request) Successful in 13m26s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 14m4s
Continuous Integration / deploy-production (pull_request) Skipped
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>
2026-10-30 08:10:20 +01:00
SluijsensandClaude Opus 5.5 9efa7fc596 Adds the portfolio page
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>
2026-10-27 19:05:13 +01:00
SluijsensandClaude Opus 5.5 18bf0311ef Adds the shared gallery building blocks
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>
2026-10-25 23:22:43 +01:00
SluijsensandClaude Opus 5.5 e013f1436b Shares the Instagram block between pages
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>
2026-10-25 21:32:48 +01:00
SluijsensandClaude Opus 5.5 1afa7d905b Aligns the submit button right and starts the contact page at the top
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>
2026-10-25 20:14:28 +01:00
SluijsensandClaude Opus 5.5 e92b652061 Adds the Contact page
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>
2026-10-25 19:27:18 +01:00
SluijsensandClaude Opus 5.5 26a8bd9469 Shares the contact form, contact card and privacy line
ContactPanel holds the coming-soon gate, the shoot options, the package
chosen via ?pakket= and the form, which loads as its own chunk either
when it comes near the screen (homepage) or right away (contact page).
ContactDetails shows the ways to reach Andrea as a card with icons. A
privacy line now sits under the form and under the coming-soon notice,
and the reply time in the thank-you comes from the site content.
Instagram is listed before Facebook, so the footer and hero follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 18:26:48 +01:00
SluijsensandClaude Opus 5.5 d2c1d2c1c4 Makes the shoot blocks smaller and livelier
At the owner's review: the shoot photos are smaller (MediaText's new
`small` size), each shoot gets a square detail photo overlapping the
main one, and the text, now at most 36rem wide, sits centred between
the photos and the edge. Every shoot has its own band, alternating
paper and paper.alt, instead of a hairline. Existing MediaText callers
are unchanged. The route test expects the portfolio links once the
portfolio page is indexed, so it stays green when that page goes live.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 16:23:52 +01:00
SluijsensandClaude Opus 5.5 4521539baa Adds the Soorten fotoshoots page
Replaces the placeholder with the five shoot types (Newborn,
Zwangerschap, Gezin, Loveshoot, Portretten), each an article with its
own anchor, photo, text and a link to the contact form that preselects
the matching package. A portfolio link per shoot shows once the
portfolio page is live. A closing call to action links to the prices
and the contact form.

The page is indexed with its own description and preview image, and
describes the shoots as services of the business in structured data.
That data is rendered in the page component, so the shoot texts stay
out of the main bundle. The shoot photos are cropped at 848x1060, no
longer upscaled. Photo pages get a mobile Lighthouse performance target
of 0.85: their largest paint is a photo that the simulated slow
connection only requests after the scripts have run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 13:00:28 +01:00
SluijsensandClaude Opus 5.5 3c7d00e2dc Adds a generic WebPage structured data helper
webPage(type, path, extra) builds the schema.org page data every page
needs: the canonical URL as @id and url, name and description from the
page registry, the language, and page-specific fields last. aboutPage
now uses it and gives exactly the same output. The Portfolio and Soorten
fotoshoots pages build their structured data on it too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 08:54:05 +01:00
SluijsensandClaude Opus 5.5 6cf909564b Extends the shared blocks for the shoot types page
FramedImage and MediaText take a colour for the block behind the photo
(sand by default) and MediaText can put the photo in the right-hand
column from lg, without changing the reading order. RichParagraph moves
to the shared components, a new CallToAction closes a page with a
heading, lead and action, and the homepage pricing section gets the
anchor #prijzen. A test helper reads the generated CSS rules, since
jsdom applies neither media queries nor pseudo-elements.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 08:25:27 +01:00
SluijsensandClaude Opus 5.5 befe97af1e Shares the service area in the structured data
The business's areaServed now comes from a serviceArea list in the site
content: Huizen and Gooi en Vechtstreek, as the pages describe it,
instead of a fixed Place Huizen. Services on other pages can use the
same list through areaServed().

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 23:40:24 +02:00
SluijsensandClaude Opus 5.5 eb235368bf Adds the shoot types and their photos
The five shoot types of the Soorten fotoshoots page as one content list,
with stable ids the portfolio page also uses for its filters. Each type
has its texts, a 4:5 crop of the live photo, the colour of the block
behind it (new frame tokens in the theme) and its price package if any.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 23:38:34 +02:00
SluijsensandClaude Opus 5.5 e15215393e Adds the Over mij page
Replaces the placeholder with the page from the design and the texts from
the live site: Andrea's introduction with her portrait, how it started,
two photos, life outside photography and a booking button. The page is
now indexed, with its own title, description, preview image and AboutPage
data about Andrea.

The portrait loads straight away instead of after the page, since on
phones it is the largest paint. Lighthouse no longer lets every indexed
page use the homepage's lower mobile performance target; it now only
applies to the homepage itself.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 01:17:33 +02:00
SluijsensandClaude Opus 5.5 01e849c6b0 Extracts shared section blocks for use beyond the homepage
HomeSection becomes PageSection, since every page needs the same section
frame, and gains a flushTop spacing for a block right below a page head.
The framed photo next to text from the homepage About block becomes
MediaText, and the accent label that four components wrote out by hand
becomes Eyebrow, which can also render as a heading. The homepage renders
exactly as before: a layout comparison of every element against master
at three widths shows no differences.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 23:35:22 +02:00
SluijsensandClaude Opus 5.5 8d8cbdb72c Aligns the page edges with the design and fixes the Contact anchor offset
Continuous Integration / check (pull_request) Successful in 9m57s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 3m46s
Continuous Integration / deploy-production (pull_request) Skipped
The content column now uses the design's gutter as side padding instead
of Chakra's 16/24/32px. The Lifestyle fotografie row on phones bled out by
the gutter, so the page was 4px too wide and Chrome zoomed out slightly.
The header drops its extra padding and the to-top button follows the
gutter, so logo, hero controls and content share one edge. Anchored
sections now scroll to the height of the shrunken header, so Contact
lands right below it instead of 24px lower.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 01:46:08 +02:00
SluijsensandClaude Opus 5.5 52c1864a38 Adds the Instagram section to the homepage
Shows the handle as a link to the profile and six square photos from edge
to edge (2, 3 or 6 per row), each linking to the profile in a new tab.
The photos are ones the page already loads, so the section adds no
downloads; the API will later fill it with the real feed. Without a valid
https link to Instagram the section is left out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 00:26:41 +02:00
SluijsensandClaude Opus 5.5 f8905f5586 Makes the homepage headings and review text smaller
Section headings are now 30px at every width instead of growing to 40px,
the package names on the price cards 24px, and the review quotes run from
18.4px to 22px, so the hierarchy stays clear after the smaller headings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 00:26:41 +02:00
SluijsensandClaude Opus 5.5 0b00b781b9 Fixes the scroll to Contact from the price cards
Removing ?pakket= from the URL replaced the click's navigation before the
router scrolled to #contact, and told it not to scroll, so nothing
happened. The clean-up now asks the router to scroll there, below the
fixed header. The review carousel's placeholder is now the longest review
itself, so it matches the carousel's height at every width and no longer
shifts the target while the page scrolls past it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 00:59:20 +02:00
SluijsensandClaude Opus 5.5 0fce403ebc Adds the Contact section to the homepage
Adds the contact form with the live fields, validation and browser-side
anti-spam, behind a coming-soon notice with a mail button until the API
exists. A "Boek" link on a price card selects its package, tidies the
URL and moves focus to the form. The form loads only when it comes near
the screen, so the hero does not wait for it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 00:36:43 +02:00
SluijsensandClaude Opus 5.5 0b8e8d5f8b Tidies the Lieve woorden layout after review
On phones the review photo is smaller and centred, the content sits at
the top of each slide so a short review no longer floats in the middle,
and the gap between photo and text is tighter. On desktop the photo
column is about three quarters of its earlier width.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 23:33:22 +02:00
SluijsensandClaude Opus 5.5 02a7b8436d Removes the hover effect from the price cards
The lift, accent border and shadow on hovering a whole card are gone;
only the booking button keeps its hover and focus effect. Also gives the
test that waits for the lazily loaded review carousel a longer timeout,
since its first import can take over a second under the full suite.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 22:53:16 +02:00
SluijsensandClaude Opus 5.5 cb6a9b07f9 Adds the Lieve woorden section to the homepage
Shows client reviews one at a time with the framed photo, a large
quotation mark, the shoot type and the names. Uses Chakra's carousel for
paging, looping and swiping with our own controls, so visitors who
prefer reduced motion get instant changes, and loads the carousel only
when the section comes near the screen so the hero does not wait for it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 01:52:41 +02:00
SluijsensandClaude Opus 5.5 30dab1af42 Adds the Prijzen section to the homepage
Shows the three live packages as cards with their price and what is
included. Each card links to the contact section with ?pakket=<id>, so
the contact form can preselect it. Invalid packages from the CMS are
skipped and the pakket value is only accepted when it names a package.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 01:07:36 +02:00