Skip to content

feat: add back to top button for improved navigation#84

Open
KGFCH2 wants to merge 4 commits into
Akshay473:mainfrom
KGFCH2:feat/add-back-to-top-button
Open

feat: add back to top button for improved navigation#84
KGFCH2 wants to merge 4 commits into
Akshay473:mainfrom
KGFCH2:feat/add-back-to-top-button

Conversation

@KGFCH2
Copy link
Copy Markdown
Contributor

@KGFCH2 KGFCH2 commented May 15, 2026

Related Issue

Closes #83

Summary

Adds a back-to-top button that appears after scrolling, enabling quick navigation to the top of the page.

Changes Made

  • Created BackToTop.tsx component
  • Button appears after 400px scroll
  • Smooth scroll to top on click
  • Positioned at bottom-left (avoids AI assistant at bottom-right)
  • Framer Motion animations for show/hide
  • Added to dashboard page
  • Added aria-label for accessibility

Testing

  • Scrolled down → button appeared with animation
  • Clicked button → smooth scroll to top
  • Verified no conflict with AI assistant button
  • Tested on mobile viewport

Checklist

  • Code follows project style
  • Tested locally
  • No unrelated changes included

@vercel
Copy link
Copy Markdown

vercel Bot commented May 15, 2026

@KGFCH2 is attempting to deploy a commit to the akshay473's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Akshay473 Akshay473 added nsoc26 Open-Source Program level 2 5 Points (Intermediate level) labels May 16, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented May 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
forensic-pro-suite Ready Ready Preview, Comment May 20, 2026 9:18am
forensic-pro-suite-7777 Ready Ready Preview, Comment May 20, 2026 9:18am

@Akshay473
Copy link
Copy Markdown
Owner

Can you please check on this conflict?

@KGFCH2
Copy link
Copy Markdown
Contributor Author

KGFCH2 commented May 16, 2026

Resolved...

@Akshay473
Copy link
Copy Markdown
Owner

I think it still consists of some conflicts.

@KGFCH2
Copy link
Copy Markdown
Contributor Author

KGFCH2 commented May 19, 2026

@Akshay473 Now please check once and let me confirm...

@Akshay473
Copy link
Copy Markdown
Owner

Done?

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

Labels

level 2 5 Points (Intermediate level) nsoc26 Open-Source Program

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add back to top button for improved navigation

2 participants