feat: add Scroll-to-Top button (smooth scroll, accessible) — closes #… #2043
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.
<#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
Checklist
Screenshots
Before:


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