Adds the Contact page #9

Merged
Sluijsens merged 8 commits from feature/contact-page into master 2026-10-25 20:40:50 +01:00
Owner

Adds the Contact page (/contact) and the shared pieces it is built from.

What changes for visitors

  • Contact page: the contact form next to a photo with a "Direct contact" card (e-mail, Instagram, Facebook with icons) on wide screens; on phones the card with a small round portrait above the form. Phones never download the large photo.
  • /contact?pakket=<id> preselects a package (same rules as the homepage); "Stuur een berichtje" on Soorten fotoshoots and the Over mij links now go to the contact page.
  • Privacy line under the form and under the "Binnenkort" notice; the reply time ("1-2 werkdagen") comes from one place.
  • Green buttons are slightly darker everywhere, so their white text meets the 4.5:1 contrast minimum.
  • Footer and hero list Instagram before Facebook.
  • SEO: /contact is indexed, with its own title, description, preview image and ContactPage structured data.

Shared code

  • webPage() in seo.ts (already on master via Soorten fotoshoots), contactPage()
  • ContactPanel (gate + form, lazy or eager), ContactDetails, PrivacyNote, lib/contactChannels, lib/withReplyTime
  • Docs: D6 in the frontend-shell deployment plan now records that lighthouse is a required check

Checks

  • pnpm test: 367 tests passed; lint, format, build, prod audit clean
  • 16 browser checks on the production build (links, scroll, no overflow 320–1440 px, CLS, keyboard order, no e-mail in HTML/JSON-LD, photo not fetched on phones)
  • Lighthouse desktop all >= 0.99; accessibility 1.0 everywhere. Mobile performance: /contact 0.88–0.90 (budget 0.9) and / 0.78–0.80 (pre-existing); report-only in CI, accepted by the owner
  • Reviewed on test (run 575)

Details: aidlc-docs/features/contact-page/

Generated with Claude Code

Adds the Contact page (`/contact`) and the shared pieces it is built from. ## What changes for visitors - **Contact page**: the contact form next to a photo with a "Direct contact" card (e-mail, Instagram, Facebook with icons) on wide screens; on phones the card with a small round portrait above the form. Phones never download the large photo. - **`/contact?pakket=<id>`** preselects a package (same rules as the homepage); "Stuur een berichtje" on Soorten fotoshoots and the Over mij links now go to the contact page. - **Privacy line** under the form and under the "Binnenkort" notice; the reply time ("1-2 werkdagen") comes from one place. - **Green buttons** are slightly darker everywhere, so their white text meets the 4.5:1 contrast minimum. - **Footer and hero** list Instagram before Facebook. - **SEO**: `/contact` is indexed, with its own title, description, preview image and `ContactPage` structured data. ## Shared code - `webPage()` in `seo.ts` (already on master via Soorten fotoshoots), `contactPage()` - `ContactPanel` (gate + form, lazy or eager), `ContactDetails`, `PrivacyNote`, `lib/contactChannels`, `lib/withReplyTime` - Docs: D6 in the frontend-shell deployment plan now records that `lighthouse` is a required check ## Checks - `pnpm test`: 367 tests passed; lint, format, build, prod audit clean - 16 browser checks on the production build (links, scroll, no overflow 320–1440 px, CLS, keyboard order, no e-mail in HTML/JSON-LD, photo not fetched on phones) - Lighthouse desktop all >= 0.99; accessibility 1.0 everywhere. Mobile performance: `/contact` 0.88–0.90 (budget 0.9) and `/` 0.78–0.80 (pre-existing); report-only in CI, accepted by the owner - Reviewed on test (run 575) Details: `aidlc-docs/features/contact-page/` Generated with [Claude Code](https://claude.com/claude-code)
Sluijsens added 8 commits 2026-10-25 20:14:47 +01:00
Workspace detection, a reverse engineering delta, requirements with the
approved layout mockups, the execution plan and the application design
for the Contact page, plus the code generation plan and summary of the
webPage helper. Corrects the contact payload in the shared API notes.

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>
The deployment plan still said branch protection only required check.
The owner made lighthouse a required check on 2026-10-19.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Functional design, code generation plan and summary of the shared
contact blocks, plus the coordination with the parallel features.

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>
Functional design, code generation plan and summary of the contact page,
the updated LAYOUT.md diagram and the extended link requirement.

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>
Records Build and Test of the Contact page
Continuous Integration / check (pull_request) Successful in 12m4s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 13m38s
Continuous Integration / deploy-production (pull_request) Skipped
65c007f8c2
Build, unit, integration and performance test instructions and the
summary, the corrected scroll rule and the review on test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sluijsens scheduled this pull request to auto merge when all checks succeed 2026-10-25 20:22:41 +01:00
Sluijsens merged commit 8b70f239aa into master 2026-10-25 20:40:50 +01:00
Sluijsens deleted branch feature/contact-page 2026-10-25 20:40:50 +01: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#9