Description
This is a UI/UX issue refining the number ticker inside app/(marketing)/_sections/kpi-strip.tsx. Replace linear count-up with easeOutQuint and ensure non-jittery integer display via fixed-width tabular numerals.
Requirements and Context
- Use
font-variant-numeric: tabular-nums
- Reduced-motion path shows final value immediately
- Ticker starts only when KPI strip enters viewport
- Must be secure, tested, and documented
- Should be efficient and easy to review
Suggested Execution
- Fork the repo and create a branch
git checkout -b feature/kpi-strip-polish
- Implement changes
- Edit
app/(marketing)/_sections/kpi-strip.tsx
- Reuse
hooks/use-count-up.ts
- Test and commit
- Visual inspection at 60fps with throttled CPU
- Cover edge cases (rapid scroll past)
- Include test output and notes in the PR
Example commit message
feat: polish KPI strip ticker easing and tabular nums
Acceptance Criteria
Guidelines
- WCAG 2.1 AA, motion-safe defaults
- Clear documentation and inline comments
- Timeframe: 96 hours
Description
This is a UI/UX issue refining the number ticker inside
app/(marketing)/_sections/kpi-strip.tsx. Replace linear count-up with easeOutQuint and ensure non-jittery integer display via fixed-width tabular numerals.Requirements and Context
font-variant-numeric: tabular-numsSuggested Execution
app/(marketing)/_sections/kpi-strip.tsxhooks/use-count-up.tsExample commit message
Acceptance Criteria
Guidelines