feat: Smooth 5-second auto-rotation for Hero stories and ProductShowcase cards #1

Merged
aarthalabs merged 2 commits from feature/smooth-image-rotation into main 2026-07-12 21:22:44 +00:00

2 Commits

Author SHA1 Message Date
Sunil Prasad
02126f89f2 fix: import useEffect in Sections.tsx
ProductShowcase crashed with ReferenceError because useEffect was
used for the card rotation interval but not imported.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 14:19:37 -07:00
Sunil Prasad
c48a11b13c feat: Add smooth 5-second auto-rotation to Hero stories and ProductShowcase cards
- Hero auto-rotates story backdrops every 5 seconds with 500ms fade transitions
- ProductShowcase cards rotate with mint ring highlight on the active card
- Inactive cards fade to 60% opacity on mobile, full opacity on desktop
- New components: StoryBackdrop, StoryOnboarding, CountUp, lib/stories
- Manual Another-story control still works

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 14:10:48 -07:00