Skip to content

Added Scroll-To-Top Button#157

Open
codeGurhans wants to merge 2 commits intosamarsajad:mainfrom
codeGurhans:main
Open

Added Scroll-To-Top Button#157
codeGurhans wants to merge 2 commits intosamarsajad:mainfrom
codeGurhans:main

Conversation

@codeGurhans
Copy link
Copy Markdown

@codeGurhans codeGurhans commented Aug 12, 2025

Description

This PR adds a Scroll-to-Top button feature to the application.
When the user scrolls down the page, a floating button appears in the bottom-right corner. Clicking the button smoothly scrolls the page back to the top, improving navigation and user experience.

Reason for Change:

  • Enhances user convenience on long pages.
  • Improves accessibility by reducing the need for excessive manual scrolling.

Related Issue

Closes #154

Screenshot

If your PR includes visual changes, please add screenshots or GIFs to help reviewers understand the impact.

Example:
Before

Screenshot (359)

After

Screenshot (360)

Checklist

  • I have performed a self-review of my code
  • My changes follow the project's style guidelines
  • I have checked that there are no merge conflicts
  • My code is well-documented
  • This PR addresses only one issue/change
  • I am a GSSOC contributor

Additional Notes

(Add any additional notes here)
Place this updated file as your PULL_REQUEST_TEMPLATE.md in one of the supported locations.

Hey @samarsajad @koustavx08 ! I have done the changes. Please review them at your convenience. A PR merge would be appreciated. Thank You!

@vercel
Copy link
Copy Markdown

vercel bot commented Aug 12, 2025

@codeGurhans is attempting to deploy a commit to the Samar Sajad's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link
Copy Markdown

vercel bot commented Aug 18, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
hospital-management-website Ready Ready Preview Comment Aug 19, 2025 8:54am

@samarsajad
Copy link
Copy Markdown
Owner

great work but the button could be made smaller.

@codeGurhans
Copy link
Copy Markdown
Author

Alright I'll shorten it in size.

@codeGurhans
Copy link
Copy Markdown
Author

Hey @samarsajad! I have done the required changes. Please review them at your convenience. A PR merge would be appreciated. Thank Yo

@samarsajad
Copy link
Copy Markdown
Owner

samarsajad commented Aug 19, 2025

image it is still the way it was. Please look into it and please sync the repo before creating any PR

@codeGurhans
Copy link
Copy Markdown
Author

codeGurhans commented Aug 19, 2025

image

Now, is it fine? @samarsajad

@codeGurhans
Copy link
Copy Markdown
Author

Hello @samarsajad
I wanted to check if there have been any updates on this. No rush at all, I just want to make sure I’m aligned with your expectations. Really appreciate your feedback!

@codeGurhans
Copy link
Copy Markdown
Author

Hey @samarsajad ! I have done the requested change. Kindly review it at your convenience. If all looks good, a merge would be much appreciated. Thank you!

@codeGurhans
Copy link
Copy Markdown
Author

Hey @samarsajad ! I have done the requested change. Kindly review it at your convenience. If all looks good, a merge would be much appreciated. Thank you! PLEASE ADD THE "gssoc25" label and the "level" label otherwise my PR won't be counted. Thanks!

4 similar comments
@codeGurhans
Copy link
Copy Markdown
Author

Hey @samarsajad ! I have done the requested change. Kindly review it at your convenience. If all looks good, a merge would be much appreciated. Thank you! PLEASE ADD THE "gssoc25" label and the "level" label otherwise my PR won't be counted. Thanks!

@codeGurhans
Copy link
Copy Markdown
Author

Hey @samarsajad ! I have done the requested change. Kindly review it at your convenience. If all looks good, a merge would be much appreciated. Thank you! PLEASE ADD THE "gssoc25" label and the "level" label otherwise my PR won't be counted. Thanks!

@codeGurhans
Copy link
Copy Markdown
Author

Hey @samarsajad ! I have done the requested change. Kindly review it at your convenience. If all looks good, a merge would be much appreciated. Thank you! PLEASE ADD THE "gssoc25" label and the "level" label otherwise my PR won't be counted. Thanks!

@codeGurhans
Copy link
Copy Markdown
Author

Hey @samarsajad ! I have done the requested change. Kindly review it at your convenience. If all looks good, a merge would be much appreciated. Thank you! PLEASE ADD THE "gssoc25" label and the "level" label otherwise my PR won't be counted. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Add a “Scroll to Top” button for improved navigation

2 participants