gssocFAQ-Bot icon indicating copy to clipboard operation
gssocFAQ-Bot copied to clipboard

[FEATURE] Add Scroll to Top Button on Landing Page

Open Mrigakshi-Rathore opened this issue 1 year ago • 2 comments

Describe the solution you’d like Add a “Scroll to Top” button on the website’s landing page that smoothly scrolls the user back to the top when clicked. This will improve navigation for users who scroll through long sections of the FAQ or project listings.

⸻

Problem / Use Case Currently, users need to manually scroll back up, which becomes inconvenient when the page is long. A floating scroll button will enhance the user experience.

⸻

Alternatives considered • Using the keyboard “Home” key to scroll up (not intuitive for mobile users). • Adding a “Back to Top” link at the bottom (less aesthetic than a floating button).

Additional context use JavaScript: window.scrollTo({ top: 0, behavior: 'smooth' }); And style it using Tailwind for responsive design and hover effects.

Mrigakshi-Rathore avatar Oct 17 '25 06:10 Mrigakshi-Rathore

@piyushpatelcodes, please assign this issue to me under GSSoC 2025.

ishanraj953 avatar Oct 18 '25 03:10 ishanraj953

Issue closed . @ishanraj953 Completed this in Pull request #94

piyushpatelcodes avatar Oct 18 '25 14:10 piyushpatelcodes