Commit Graph
4 Commits
Author SHA1 Message Date
Bkk1234 0bfbefd930 feat(hero): make the three floating cards open their project
- cards are links to the same project_url as the grid card (new tab, noopener)
- drop aria-hidden from the stack and restore pointer events; add hover/focus/active states
- entrance animation moves to the translate property with fill-mode backwards so the
  staggered offsets/rotation and the hover lift are no longer overridden
- reduced-motion keeps the stagger (translate: none) without killing the layout
2026-11-20 14:37:43 +07:00
Bkk1234 b27acd40ee chore(hero): drop the hobbyproject caption line
- remove 'hobbypj ย่อมาจาก hobby project' from the hero, its CSS rule and animation
- wordmark keeps the split browns; DESIGN.md updated
2026-11-19 11:48:49 +07:00
Bkk1234 d27c3dc913 feat(hero): add the hobbyproject wordmark with split browns
- 'hobbyp' + 'j' in brand-900 (12.21:1), 'ro' + 'ect' in brand-500 (3.12:1)
  so the reader connects hobbypj with hobby project
- caption under it: 'hobbypj ย่อมาจาก hobby project'
- wordmark is 24-32px bold, the size at which the light brown still passes AA large text
- entrance animation with the rest of the hero; aria-label keeps the whole word for screen readers
- DESIGN.md records the colour split and the size rule
2026-11-19 11:48:03 +07:00
Bkk1234 2950295690 feat(motion): scroll-reveal and cinematic entrance animations
- motion.css / motion.js: reveal-on-scroll (IntersectionObserver), hero word-by-word
  entrance, drifting warm orbs, sheen on primary CTA, section underline sweep,
  scroll progress bar, count-up numbers
- content never hidden unless <html>.fx-motion: JS off or reduced-motion shows everything
- hover lift moved to the translate property so reveal keyframes cannot override it
- re-call initReveal after grid re-render and admin re-mount; SW precache + VERSION bump
- docs: DESIGN.md §9 motion contract, AGENTS.md pitfalls
2026-11-19 01:10:27 +07:00