Skip to content

Conversation

ArunVers
Copy link

@ArunVers ArunVers commented Sep 24, 2025

<#2042>

What does this PR do?

This PR introduces a Scroll-to-Top button to improve navigation on pages with long content.

Fixes #2022

Provides users with a quick way to jump back to the top without manually scrolling.
Improves overall accessibility and usability, especially on mobile devices.
Uses Tailwind CSS for styling to ensure visual consistency with the rest of the site.

Type of change

New feature (non-breaking change which adds functionality)

How should this be tested?

1.Open any long page in the application (e.g., Blogs, Courses).
2.Scroll down at least 300px.
3.Verify that a Scroll-to-Top button appears at the bottom-right corner.
4.Click the button → the page should smoothly scroll back to the top.
5.Test both desktop and mobile viewports.

Mandatory Tasks

  • Self-reviewed the code
  • Confirmed styling is consistent with project design
  • Verified no console warnings or build errors are introduced

Checklist

  • I have read the contributing guide
  • My code follows the style guidelines of this project
  • I have added clear comments where needed
  • No documentation changes required
  • My changes generate no new warnings
  • I have tested this feature locally and confirmed smooth scroll behavior
  • I have checked cross-device (desktop & mobile) compatibility

Screenshots

Before:
image
After:
image

Finally,
With this PR, users will enjoy smoother navigation and a more accessible experience across the site.

Copy link

vercel bot commented Sep 24, 2025

@ArunVers is attempting to deploy a commit to the Piyush Garg's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant