Commit Graph
1 Commits
Author SHA1 Message Date
GandMao Nakamoto c9d4fb1043 feat: booking CTAs, payment row, 69 tests, SEO, quality pass (#5)
Conversion:
- Primary BOOK NOW on the first screen and a sticky bar on phones, where the
  Book section is otherwise eight screens of scrolling away.
- Payment listed as cash and Bitcoin.

Quality pass — each a real defect, all invisible to typecheck/lint/build:
- The hero drift-in keyframe still ended at the OLD opacity (0.38). With fill
  `both` the last keyframe wins over the rule above it, so raising the image
  opacity did nothing and read like a CSS ordering bug.
- Lightbox leaked focus: aria-modal does nothing for the Tab key, so a keyboard
  user tabbed out of the viewer into a page they could not see.
- lib/works.ts kept its own copy of the artist and studio name; reads SITE now.
- Dropped an unused design token; documented the one non-token colour.
- Locale negotiation extracted from middleware so it is testable as a pure fn.

Added 69 tests (from zero), sitemap + robots for all seven locales, .nvmrc.
verify now runs tests, so CI and a local run check the same things.

Co-authored-by: Mao Nakamoto <georgy.butaev@revamp-it.ch>
2026-08-06 18:48:04 +02:00