Skip to content

feat: add floating back-to-top button and remove footer link#55

Open
Sanjhivvarshan-b-s wants to merge 1 commit into
pushkarscripts:mainfrom
Sanjhivvarshan-b-s:feature/back-to-top
Open

feat: add floating back-to-top button and remove footer link#55
Sanjhivvarshan-b-s wants to merge 1 commit into
pushkarscripts:mainfrom
Sanjhivvarshan-b-s:feature/back-to-top

Conversation

@Sanjhivvarshan-b-s
Copy link
Copy Markdown

Feature: Add floating back-to-top button and remove footer link

Related Issue
Fixes #29


Description

Replaced the static "Back to top" text link with a dynamic, floating UI button.

Specifically, this PR:

  • Removes the static text link from the footer.
  • Adds a new floating "Back to top" button in the bottom right corner that only appears when the user scrolls down the page.
  • The button is styled with Tailwind CSS to match the existing theme of the site.

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • UI/UX improvement
  • Refactor

Screenshots / Demo

image image ---

How Has This Been Tested?

  • Ran npm run dev and tested locally on http://localhost:3000.
  • Verified that the button correctly appears and disappears based on scroll position.
  • Tested the window.scrollTo smooth scrolling behavior.
  • Ensured the progress bar functionality on /sem routes remains unbroken.

Checklist

  • My code follows the project structure and conventions
  • I have tested the changes locally
  • I have linked the related issue properly - [x] I have added screenshots where applicable
  • No existing functionality was broken

AI Usage

  • I have not used AI tools for this contribution

  • I have used AI tools (ChatGPT, Copilot, Claude, etc.) and I have reviewed, verified, and understood all generated code/content before submitting this PR


If AI tools were used, briefly explain how:

Used for minor Tailwind CSS styling.


Copilot AI review requested due to automatic review settings May 16, 2026 16:05
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 16, 2026

@Sanjhivvarshan-b-s is attempting to deploy a commit to the PushkarScripts Team on Vercel.

A member of the Team first needs to authorize it.

@Sanjhivvarshan-b-s Sanjhivvarshan-b-s marked this pull request as draft May 16, 2026 16:16
@Sanjhivvarshan-b-s Sanjhivvarshan-b-s marked this pull request as ready for review May 16, 2026 16:18
@pushkarscripts pushkarscripts requested review from pushkarscripts and removed request for Copilot May 16, 2026 18:53
Comment thread app/components/footer.tsx
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe leave the footer as-is for now.

@pushkarscripts pushkarscripts added enhancement New feature or request gssoc:approved Approved for GSSOC '26 level:intermediate quality:clean type:feature gssoc-26 Part of GirlScript Summer of Code 2026 labels May 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request gssoc:approved Approved for GSSOC '26 gssoc-26 Part of GirlScript Summer of Code 2026 level:intermediate quality:clean type:feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Add a "Back to Top" button for easier navigation

2 participants