whisper-money/resources
Víctor Falcón d41336c710 refactor(landing): extract the scroll-progress hook the previews all copied
Nine preview components on the landing page each carried their own copy of the
same effect: measure the container against the viewport, clamp the ratio to
0..1, keep it in state, and attach passive scroll + resize listeners. Two of
them also duplicated the effect that measures how far a list can travel.

useScrollProgress() and useScrollTranslate() now own that, and the components
just read the progress. welcome.tsx loses 265 lines.

Verified in the browser: all nine previews still animate as the page scrolls
(the eight transform/opacity ones and the cashflow chart, which animates bar
heights). Adds unit coverage for the clamped progress, which nothing tested.
2026-08-11 13:52:27 +02:00
..
css fix(charts): improve contrast for chart colors 9-10 (#614) 2026-06-30 10:28:03 +00:00
js refactor(landing): extract the scroll-progress hook the previews all copied 2026-08-11 13:52:27 +02:00
views feat(feedback): move feedback and roadmap links from Canny to UserJot (#748) 2026-08-10 06:54:21 +00:00