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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Adds the introduction block with a framed photo of Andrea and a link to
the about page. Brings in FramedImage and an underline link variant for
the later blocks, and narrows the load margin of deferred photos so
nothing below the hero starts loading before the hero has painted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Four stacked photos were too much on a phone screen. Below the small
breakpoint the gallery is now a scroll-snap row with one photo at a
time and the next one peeking in; tablets and desktops keep the grid.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds the first block below the hero: heading, intro and a staggered
gallery of four live photos. Brings in the shared section building
blocks (HomeSection, SectionHeading, Reveal) and DeferredImage, which
holds back below-the-fold photos until the page has loaded so they do
not compete with the hero for bandwidth.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The pause button only changed its name, which screen readers often do not read
for the focused button. The live region now also says when the slide show is
paused or plays again.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Screen readers now hear the new photo after an arrow or swipe, while automatic
changes stay silent. A pause button bottom right lets visitors stop the slide
show, which hover and keyboard focus alone did not allow on touch screens.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
IIS now sends www.andreaslop.nl to https://andreaslop.nl in one step, so
monitoring and search engines see a single address. The go-live steps check
the redirect and wait for the privacy statement, and the readiness checklist
lists what is left for the go-live.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sentry loads after the page and reports errors only, without personal data;
Umami counts visits per environment. Both only run on andreaslop.nl and
test.andreaslop.nl. The CSP allows just these two hosts, and builds carry the
commit SHA as release.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Lighthouse slows the CPU 4x relative to the measuring machine, so the
Raspberry Pi runner scores performance 30-40 points lower than a PC for
the same build. In CI the performance assertions now only warn;
accessibility, best practices and SEO still block, and performance still
blocks in `pnpm check` on a PC. Mobile and desktop reports go to
separate folders and are attached to every run as an artifact.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The echo message contained unquoted parentheses, which cmd.exe accepts
but sh on the CI runner rejects as a syntax error.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first render with axe takes up to 7 s on the Raspberry Pi runner,
above Vitest's 5 s default; the suite now allows 20 s per test. Also
silences the router warning in the test that crashes a page on purpose,
and makes the nginx test config return 404 instead of a redirect loop
(500) while the test folder is still empty.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The pipeline runs lint, format, tests, build, dependency audit and
Lighthouse (mobile and desktop, Playwright Chromium on the arm64 runner)
on every pull request, push to master and manual run.
Pushes to master deploy to test automatically, and any branch can be
deployed to test manually. Test is a Raspberry Pi with nginx next to the
current WordPress site; the deploy refuses folders containing WordPress.
Production deploys are manual and only from release/* branches, over
FTP with TLS to the IIS webhost.
The IIS web.config and both nginx configs are generated from the same
security header list as the Vite servers, with a test that fails when
the generated files drift. Adds .gitattributes for LF line endings and
pins pnpm through packageManager.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds the footer, back-to-top button, skip link, placeholder routes,
404 and error pages inside the shell, plus per-page SEO from a single
page registry (canonical URLs, Open Graph image, JSON-LD, generated
sitemap.xml and robots.txt).
Theme tokens and recipes replace repeated styling, the hero loads only
the active and neighbouring slides, and the e-mail address is joined
in the browser to keep it out of the HTML and bundle.
Adds Vitest with property-based (fast-check) and axe tests, ESLint,
security headers for dev and preview, Lighthouse CI and a `pnpm check`
script that runs all quality gates.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Introduces pageHead() and siteHead in seo.ts for title, description, and
Open Graph tags, rendered through TanStack Router's HeadContent. Home and
Over mij get their own title and description. index.html now uses lang="nl"
and carries fallback tags for crawlers without JavaScript; main.tsx removes
them on startup to avoid duplicates. Replaces the Vite favicon with the
design's favicon.png (also as apple-touch-icon).
Remaining SEO work is tracked in Gitea issue #1.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gives the bar a fixed height from the header size token so it lines up with
the hero, a paper background with a line border, and a shadow once scrolled.
On desktop it shrinks to 68px and the logo from 46px to 38px after scrolling;
on mobile it stays 66px and is always solid.
Below lg the links move into a full-screen MobileNav that unfolds from the
bar (clip-path), opened by the existing animated hamburger button. It closes
on link click and Escape, locks page scroll while open, and counts as closed
when the viewport grows to desktop. Fixes the button's misspelled aria-label
attribute. Menu items live in navItems.ts, shared by desktop and mobile.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replaces the placeholder hero with a crossfading slider (slow zoom, 6s per
slide) driven by the progress bar animation; it pauses on mouse hover,
keyboard focus, and hidden tabs, and skips autoplay with reduced motion.
Adds prev/next arrows and touch swipe, and Facebook/Instagram icons from a
fixed set of platforms using bundled Iconify data (@iconify/react/offline
and @iconify-icons/ant-design, so no runtime API calls).
Content (tagline, title, CTA, slides, socials) is plain data in
heroContent.ts and passed in as a prop, so it can come from the CMS API
later. The tagline sits inside the h1 together with the name.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings the palette and values from the static design's :root into the theme:
paper/ink/accent/line/sand colors, eyebrow font size, caps letter spacing,
gutter spacing, smooth easing, interaction/fade durations, a scrim gradient,
and header sizes (66px, 92px from lg; 68px when sticky). Switches bg/fg from
the placeholder colors to paper/ink, adds eyebrow and display text styles,
sets headings to weight 400, and adds a linkButton recipe (outline, accent,
light) with a LinkButton component wrapping the router Link. NavLink now uses
the eyebrow text style and motion tokens.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Moves AppShell out of src/shared into a top-level components folder alongside the new Footer and NavigationBar, replaces the about page with over-mij.tsx, and drops the unused counter.ts.
Defines bg/fg semantic tokens and heading/body font tokens (Marcellus + Jost), sets the hero image as the page background, and gives NavigationBar's links a hover/active underline that mirrors the design's left-to-right wipe animation.
Moves prettier config into web/, adds @chakra-ui/cli for typegen
and the fontsource font packages needed for self-hosted Jost and
Marcellus, and brings in the chakra-ui-* skill docs.