Description
Feature Request
The landing page is relatively long, requiring users to scroll through multiple sections before reaching the footer. Once at the bottom, users must manually scroll back to the top to access the navigation bar.
Adding a "Back to Top" button would improve navigation and enhance the overall user experience.
Expected Behavior
- Display a floating Back to Top button after the user scrolls down a certain distance (e.g., 300–500px).
- Position it in the bottom-right corner of the screen.
- Clicking the button should smoothly scroll the page back to the top.
- Hide the button when the user is already at the top of the page.
Benefits
- Improves navigation on long pages.
- Reduces unnecessary scrolling.
- Enhances accessibility and overall user experience.
- Matches the behavior commonly found on modern websites.
Suggested Implementation
- Add a floating action button using
position: fixed.
- Use
window.scrollTo({ top: 0, behavior: "smooth" }) for smooth scrolling.
- Show the button only after the user has scrolled beyond a predefined threshold.
Description
Feature Request
The landing page is relatively long, requiring users to scroll through multiple sections before reaching the footer. Once at the bottom, users must manually scroll back to the top to access the navigation bar.
Adding a "Back to Top" button would improve navigation and enhance the overall user experience.
Expected Behavior
Benefits
Suggested Implementation
position: fixed.window.scrollTo({ top: 0, behavior: "smooth" })for smooth scrolling.