Commit graph

7 commits

Author SHA1 Message Date
Michael Winter 69fab67601 Update works page with new layout; fix audio player to only autoplay on click 2026-03-07 13:16:46 +01:00
Michael Winter 6e9f859d59 Make mobile and desktop behave identically
- Remove isMobile() function from IconButton and works page
- Remove mobile-specific conditionals for score and document icons
- Always show nav and score iframe on works page
- No more hydration mismatch - same HTML on server and client
2026-03-06 18:53:35 +01:00
Michael Winter 1bbb7e0250 Fix mobile handling for score and document icons
- Score icon: mobile downloads PDF, desktop opens modal
- Document icon: reverts to same behavior on mobile and desktop (opens modal)
- Remove console.log from isMobile
- Remove documentLink computed property
2026-03-06 18:36:40 +01:00
Michael Winter 49f427256f Always show nav on works page regardless of item count 2026-03-06 17:26:58 +01:00
Michael Winter 54ab2d8b24 Add CSS-only mobile handling for PDFs
- Score icon: mobile downloads PDF, desktop opens modal
- Document icon: mobile downloads PDF, desktop opens modal
- Works page: mobile hides score iframe, Score link downloads PDF
- Uses pure CSS (md:hidden/hidden md:block) - no JS needed
2026-03-06 17:12:33 +01:00
Michael Winter d5fc1eed21 Add mobile-friendly
PDF handling- Score icon on mobile: direct link to PDF triggers download
- Works page: hide score iframe on mobile, Score link downloads PDF
- Desktop behavior unchanged
2026-03-06 16:31:36 +01:00
Michael Winter 8f73a3388e Clean up navigation links with hover underline
- Add hover:underline to header nav links
- Add hover:underline to works links
- Rename /work/ route to /works/
- Include works.json manual tweak
2026-03-06 15:49:29 +01:00
Renamed from pages/work/[slug].vue (Browse further)