Skip to content

feat: add scroll reveal animations#17

Open
sorinc03 wants to merge 1 commit into
wraith-protocol:mainfrom
sorinc03:codex/reveal-animations-3
Open

feat: add scroll reveal animations#17
sorinc03 wants to merge 1 commit into
wraith-protocol:mainfrom
sorinc03:codex/reveal-animations-3

Conversation

@sorinc03
Copy link
Copy Markdown

Summary

  • add a small IntersectionObserver hook for one-time section reveal state
  • animate Features, Architecture, For Developers, and Chains entries with staggered opacity/translate reveals
  • respect prefers-reduced-motion by disabling transitions and showing content immediately

Fixes #3

Validation

  • pnpm exec prettier --check src/hooks/useInView.ts src/index.css src/components/Features.tsx src/components/Architecture.tsx src/components/ForDevelopers.tsx src/components/Chains.tsx
  • pnpm build
  • git diff --check
  • compared gzip output against origin/main: baseline CSS 4.16 kB / JS 64.68 kB, branch CSS 4.28 kB / JS 64.90 kB, roughly +0.34 kB gzip total
  • verified in headless Chrome via CDP: below-fold items start hidden before scroll, each target section reveals with expected stagger delays, and reduced-motion emulation reports no transitions

@vercel
Copy link
Copy Markdown

vercel Bot commented May 30, 2026

@sorinc03 is attempting to deploy a commit to the truthixify's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scroll-triggered entrance animations

1 participant