Adds the homepage sections below the hero #6

Merged
Sluijsens merged 15 commits from feature/homepage-sections into master 2026-10-22 02:40:58 +02:00
Owner

Adds the six homepage sections below the hero (feature, AI-DLC: aidlc-docs/features/homepage-sections/). One commit per section, plus fixes from review.

What changes

  • Lifestyle fotografie: heading, intro and four photos; a swipeable row on phones.
  • Over mij: framed photo of Andrea, short introduction and a link to the about page.
  • Prijzen: three package cards. "Boek je shoot" scrolls to Contact and selects that package in the form.
  • Lieve woorden: client reviews in a carousel. There is no autoplay, and the carousel loads only when it comes near the screen.
  • Contact: the contact form with validation and browser-side anti-spam (honeypot and time check). It stays dimmed under a "binnenkort" notice with a mail button until the API exists; one setting switches it on.
  • Instagram: the handle and six photos that link to the profile. The photos are already on the page, so the section adds no downloads, and the API will fill it later. The section is left out without a valid https link.
  • Shared pieces: HomeSection, SectionHeading, Reveal (fade in on scroll, respects reduced motion), DeferredImage (photos below the hero load only after the page and near the screen), FramedImage.
  • Typography after review: section headings 30px, price card titles 24px, review quotes 18.4 to 22px.

Verification

  • pnpm check green: lint, format, 244 tests (incl. axe), build, audits, Lighthouse.
  • Lighthouse on the production build: homepage mobile 0.81 (the budget is 0.8 until responsive images arrive), desktop 1.0. The other pages score 0.93 to 0.94 on mobile and 1.0 on desktop, and accessibility, best practices and SEO are 1.0 on every page.
  • Units 1 to 5 were reviewed on test.andreaslop.nl. This branch is being deployed to test again with unit 6.
  • To do before merge: Build and Test for the whole homepage (AI-DLC), and the owner's review of the Instagram section on test.

Generated with Claude Code

Adds the six homepage sections below the hero (feature, AI-DLC: `aidlc-docs/features/homepage-sections/`). One commit per section, plus fixes from review. ## What changes - **Lifestyle fotografie**: heading, intro and four photos; a swipeable row on phones. - **Over mij**: framed photo of Andrea, short introduction and a link to the about page. - **Prijzen**: three package cards. "Boek je shoot" scrolls to Contact and selects that package in the form. - **Lieve woorden**: client reviews in a carousel. There is no autoplay, and the carousel loads only when it comes near the screen. - **Contact**: the contact form with validation and browser-side anti-spam (honeypot and time check). It stays dimmed under a "binnenkort" notice with a mail button until the API exists; one setting switches it on. - **Instagram**: the handle and six photos that link to the profile. The photos are already on the page, so the section adds no downloads, and the API will fill it later. The section is left out without a valid https link. - Shared pieces: `HomeSection`, `SectionHeading`, `Reveal` (fade in on scroll, respects reduced motion), `DeferredImage` (photos below the hero load only after the page and near the screen), `FramedImage`. - Typography after review: section headings 30px, price card titles 24px, review quotes 18.4 to 22px. ## Verification - `pnpm check` green: lint, format, 244 tests (incl. axe), build, audits, Lighthouse. - Lighthouse on the production build: homepage mobile 0.81 (the budget is 0.8 until responsive images arrive), desktop 1.0. The other pages score 0.93 to 0.94 on mobile and 1.0 on desktop, and accessibility, best practices and SEO are 1.0 on every page. - Units 1 to 5 were reviewed on test.andreaslop.nl. This branch is being deployed to test again with unit 6. - To do before merge: Build and Test for the whole homepage (AI-DLC), and the owner's review of the Instagram section on test. Generated with [Claude Code](https://claude.com/claude-code)
Sluijsens added 13 commits 2026-10-22 01:25:27 +02:00
Refreshes the shared reverse engineering docs, adds the requirements,
application design and units for the homepage-sections feature, and
updates the static design: live prices and form fields, the new
Lieve woorden block and the coming-soon gate over the contact form.

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>
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 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>
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>
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>
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>
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>
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>
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>
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>
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>
Records the Instagram unit as approved
Continuous Integration / check (pull_request) Successful in 9m56s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 3m56s
Continuous Integration / deploy-production (pull_request) Skipped
1905295a21
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sluijsens added 1 commit 2026-10-22 01:46:20 +02:00
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
8d8cbdb72c
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>
Sluijsens added 1 commit 2026-10-22 02:04:27 +02:00
Marks the homepage sections feature as complete
Continuous Integration / check (pull_request) Successful in 1m15s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 3m45s
Continuous Integration / deploy-production (pull_request) Skipped
6ce5b5cf29
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sluijsens merged commit 99d4610928 into master 2026-10-22 02:40:58 +02:00
Sluijsens deleted branch feature/homepage-sections 2026-10-22 02:40:58 +02:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SLP_Software/AndreaSlopFotografie#6