Adds the portfolio page #11

Merged
Sluijsens merged 5 commits from feature/portfolio-page into master 2026-10-28 20:55:12 +01:00
Owner

Replaces the /portfolio placeholder with the real portfolio page, built with AI-DLC (docs in aidlc-docs/features/portfolio-page/).

What changes

  • Portfolio page (/portfolio, now indexed): the 10 photos of the live site in a masonry grid that keeps the reading order, filters per shoot type (Alles, Newborn, Zwangerschap, Gezin) kept in the URL (?shoot=, canonical stays /portfolio), an accessible lightbox (keys, swipe, wrap-around, caption with the shoot type, focus back to the photo) and the Instagram block. ImageGallery structured data and its own preview image og-portfolio.jpg.
  • Shared building blocks for other pages: PortfolioGrid (CSS-only masonry), Lightbox (Chakra Dialog, loaded lazily), FilterBar (toggle buttons, filterControl recipe), useSwipe (now also used by the hero, behaviour unchanged), and InstagramGrid moved out of the homepage sections with its own content.
  • Soorten fotoshoots: "Bekijk meer ...foto's" only for shoot types that have portfolio photos (newborn, zwangerschap, gezin).
  • LAYOUT.md: Portfolio is Intro -> Portfolio -> Instagram.

Decisions worth knowing

  • No grid photo loads before the page has: the grid fades in, so loading photos early only delayed the fonts and the intro text (mobile Lighthouse 0.80 with, 0.91 without).
  • The filter bar stays on one row; when it wrapped, the web font swap shifted the photos (CLS 0.119 -> 0.001).
  • Alt texts of the 10 photos were written after looking at them; Andrea may still reword them in web/src/content/portfolioContent.ts.

Checks

  • 82 test files, 460 tests (incl. property-based tests for the new helpers), coverage thresholds met.
  • CI run 580 on this branch (with deploy_test): check, deploy-test and lighthouse green. Reviewed on test.andreaslop.nl.
  • Known, not from this PR: on a slower PC, mobile Lighthouse for /, /soorten-fotoshoots and /contact sits just below budget, equally on master.

Merging deploys master to test.

Generated with Claude Code

Replaces the `/portfolio` placeholder with the real portfolio page, built with AI-DLC (docs in `aidlc-docs/features/portfolio-page/`). ## What changes - **Portfolio page** (`/portfolio`, now indexed): the 10 photos of the live site in a masonry grid that keeps the reading order, filters per shoot type (Alles, Newborn, Zwangerschap, Gezin) kept in the URL (`?shoot=`, canonical stays `/portfolio`), an accessible lightbox (keys, swipe, wrap-around, caption with the shoot type, focus back to the photo) and the Instagram block. `ImageGallery` structured data and its own preview image `og-portfolio.jpg`. - **Shared building blocks** for other pages: `PortfolioGrid` (CSS-only masonry), `Lightbox` (Chakra `Dialog`, loaded lazily), `FilterBar` (toggle buttons, `filterControl` recipe), `useSwipe` (now also used by the hero, behaviour unchanged), and `InstagramGrid` moved out of the homepage sections with its own content. - **Soorten fotoshoots**: "Bekijk meer ...foto's" only for shoot types that have portfolio photos (newborn, zwangerschap, gezin). - `LAYOUT.md`: Portfolio is Intro -> Portfolio -> Instagram. ## Decisions worth knowing - No grid photo loads before the page has: the grid fades in, so loading photos early only delayed the fonts and the intro text (mobile Lighthouse 0.80 with, 0.91 without). - The filter bar stays on one row; when it wrapped, the web font swap shifted the photos (CLS 0.119 -> 0.001). - Alt texts of the 10 photos were written after looking at them; Andrea may still reword them in `web/src/content/portfolioContent.ts`. ## Checks - 82 test files, 460 tests (incl. property-based tests for the new helpers), coverage thresholds met. - CI run 580 on this branch (with deploy_test): check, deploy-test and lighthouse green. Reviewed on test.andreaslop.nl. - Known, not from this PR: on a slower PC, mobile Lighthouse for `/`, `/soorten-fotoshoots` and `/contact` sits just below budget, equally on master. Merging deploys master to test. Generated with [Claude Code](https://claude.com/claude-code)
Sluijsens added 5 commits 2026-10-28 20:27:11 +01:00
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>
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>
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>
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>
Marks the portfolio page as built and tested
Continuous Integration / check (pull_request) Successful in 13m30s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 14m13s
Continuous Integration / deploy-production (pull_request) Skipped
2246986d77
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>
Sluijsens scheduled this pull request to auto merge when all checks succeed 2026-10-28 20:29:46 +01:00
Sluijsens merged commit 18e81d0d38 into master 2026-10-28 20:55:12 +01:00
Sluijsens deleted branch feature/portfolio-page 2026-10-28 20:55:13 +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#11