Commit graph

2 commits

Author SHA1 Message Date
Michael Winter 635cbe0482 Add shareable work pages with modal support
- Create IndexContent component to avoid code duplication
- Score icon links to /work/[slug] with clean URLs
- Modal opens automatically via slug prop (works with SSR)
- Crawler finds and prerenders all /work/ pages (145 routes)
- Work page redirects to / when modal closes
- Single source of truth for data fetching in IndexContent
2026-03-06 10:23:45 +01:00
Michael Winter 9af20c1e5d Add shareable URLs for works with scores
- Score icon updates URL to /?work=[slug] without navigation
- Modal closes to reset URL back to /
- Direct /work/[slug] access redirects to /?work=[slug]
- Index page opens modal when ?work= query param is present
- Works with SSG/prerendering for /?work= routes
2026-03-06 09:19:25 +01:00