Description
On long pages like the Roadmaps or Wiki, scrolling back to the top of the page manually can be tedious, especially on mobile devices.
Proposed Solution
- Create a
ScrollToTop component that appears fixed at the bottom right of the screen.
- It should only render/appear when the user has scrolled down at least 300px.
- When clicked, it should trigger
window.scrollTo({ top: 0, behavior: "smooth" }).
Expected Outcome
Better user experience and navigation efficiency on long content pages.
Description
On long pages like the Roadmaps or Wiki, scrolling back to the top of the page manually can be tedious, especially on mobile devices.
Proposed Solution
ScrollToTopcomponent that appears fixed at the bottom right of the screen.window.scrollTo({ top: 0, behavior: "smooth" }).Expected Outcome
Better user experience and navigation efficiency on long content pages.