feat: added a scroll-to-top button#330
Merged
Merged
Conversation
Contributor
|
@Julliet-Mohanta The package-lock.json changes appear to be unrelated to this feature. Could you please remove them from this PR? It looks like they were generated accidentally |
Contributor
Author
|
@KaranUnique , Sorry for the inconvenience caused. The package-lock.json file in main folder was created accidentally. I have deleted it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Pull Request Description
Related Issue
Closes #329
Summary
Problem:
Once a user reaches the bottom of the page, they are frequently left in a "dead-end" state. To return to the navigation bar or the primary content header, the user is forced to perform manual repetitive scrolling or slide the scrollbar on right side which is also time taking due to a huge number of content on the Events and OSS Blog page.
This PR added a scroll-to-top button in OpenSourceEvents.jsx and OpenBlog.jsx files to maintain user flow and ensuring that the most valuable top-level content remains accessible from any point in the user journey.
Type of Change
How Has This Been Tested?
Describe the testing steps performed.
-local server
-since only frontend logic is changed, no changes or errors occurred in backend files
Screenshots (if applicable)
Add screenshots or videos to demonstrate the changes.

https://github.com/user-attachments/assets/a12bd27e-22b9-480c-96dc-2f6836325f92
Checklist