Skip to content

feat: added a scroll-to-top button#330

Merged
KaranUnique merged 2 commits into
Canopus-Labs:mainfrom
Julliet-Mohanta:scroll
Jul 6, 2026
Merged

feat: added a scroll-to-top button#330
KaranUnique merged 2 commits into
Canopus-Labs:mainfrom
Julliet-Mohanta:scroll

Conversation

@Julliet-Mohanta

@Julliet-Mohanta Julliet-Mohanta commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

📝 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

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • [X ] ✨ New feature
  • ♻️ Refactoring
  • 📝 Documentation update
  • 🎨 UI/UX improvement
  • 🔥 Other(please describe) ______

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.
Screenshot 2026-07-03 214015

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

Checklist

  • [ X] My code follows the project's guidelines
  • [X ] I have tested my changes
  • [X ] I have updated documentation where necessary
  • [ X] I have linked the related issue
  • [ X] My changes do not introduce new warnings or errors

@KaranUnique

Copy link
Copy Markdown
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

@Julliet-Mohanta

Copy link
Copy Markdown
Contributor Author

@KaranUnique , Sorry for the inconvenience caused. The package-lock.json file in main folder was created accidentally. I have deleted it.
Thank you

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Scroll Button to be added at bottom for Events and OSS Blog page

2 participants