Repository navigation
Open
Labels
enhancementNew feature or requestNew feature or requestready-for-agentFully specified, AFK-ready for an agentFully specified, AFK-ready for an agent
Description
Parent
#212 (PRD: website redesign v2, delivery steps J1 to J6)
Context
The animation code has two engines and duplicated keyframes:
- framer-motion runs in 6 files:
ClientCarousel.tsx,ToolCarousel.tsx,ui/Carousel.tsx,ui/ScrollProgressBar.tsx,hooks/use-scroll-progress.ts,design-system/motion-section.tsx. - Everything else uses the Panda keyframes in
preset/keyframes.tsand the J2 hooks from J2: reveal and scroll progress hooks that respect reduced motion #226 (J2: reveal and scroll progress hooks that respect reduced motion). hero-revealhas the same frames asfade-in-up-small.radar-sweephas the same frames asspin-slow.home/dashboard-illustration.tsxsetsanimationDelayin inline styles, outside the token system.
Most keyframes serve the v1 illustrations that the J5 pages replace. Cleaning them before J5 would edit files that are about to be deleted.
What to build
- Delete every keyframe no file uses once the J5 pages are live.
- Merge the duplicated keyframes that remain.
- Move inline animation delays into Panda styles.
- Decide whether framer-motion stays. If the carousels and the scroll progress can run on the J2 hooks, remove the dependency. Coordinate with Deps: upgrade the UI and content library majors #288 (Deps: upgrade the UI and content library majors).
Acceptance criteria
- Every keyframe in
preset/keyframes.tsis used at least once. - No two keyframes have the same frames.
- No inline
animationoranimationDelaystyle is left inapp/. - The PR states the framer-motion decision; if removed,
package.jsonno longer lists it. -
pnpm typecheck,pnpm checkandpnpm test:runpass.
Blocked by
- J5: animated home hero #240 (J5: animated home hero)
- J5: redesigned home live, with the v2 navbar and footer on every page #242 (J5: redesigned home live, with the v2 navbar and footer on every page)
- J5: method page with the challenge filter on the bow tie #243 (J5: method page with the challenge filter on the bow tie)
- J5: studio page with a PersonCard per member #244 (J5: studio page with a PersonCard per member)
- J5: redesigned about-us page #245 (J5: redesigned about-us page)
- J5: redesigned technology page #246 (J5: redesigned technology page)
- J5: redesigned jobs index with scroll progress #247 (J5: redesigned jobs index with scroll progress)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestready-for-agentFully specified, AFK-ready for an agentFully specified, AFK-ready for an agent
Activity