feat(home): animated stag morph in the hero #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/hero-stag-animation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Swap the static cosmic-stag.avif in the home hero for a seamless five-stag morph loop. Five stags, 15 stags-per-transition × 5 transitions, ~18.5 s loop, alpha preserved.
What's in the box
cosmic-stag-morph-1024.webm(5.2 MB, 1024×1024 VP9 + alpha). Plays on Chrome / Firefox / Edge / Safari 17+ via<video autoplay muted loop playsinline>.cosmic-stag-morph-fallback.webp(23 MB, 480×480 animated WebP), nested inside the<video>as the standards-compliant<img>fallback Safari uses when it can't play any<source>.cosmic-stag.avifrenders via a sibling<img>that'sdisplay:noneunder motion-safe anddisplay:blockunder motion-reduce (Tailwind'smotion-reduce:block/motion-reduce:hidden).Header, footer and favicon stay on the static AVIF — animating a 36 px logo or favicon doesn't read.
Test plan
pnpm build)preload="metadata"if it's painful)🤖 Generated with Claude Code
ef2242008cto0702f058380702f05838to9f8266611bnot sure where the actual commit with the animated stag went for this, so just going to close
Pull request closed