PrepEdge-AI icon indicating copy to clipboard operation
PrepEdge-AI copied to clipboard

Feature: Adding Top Arrow Icons on right-corner side to clicking auto scrolled on home page section

Open AayushSahani01 opened this issue 1 year ago โ€ข 7 comments

Hey @CoderUzumaki

  • Can you assign to me
  • I love to build this feature

AayushSahani01 avatar Jul 30 '25 09:07 AayushSahani01

@AayushSahani01 This issue is assigned to you. You can start working. Make sure the scroll-to-top arrow only appears after scrolling down a bit and stays hidden at top.

hudazaan avatar Jul 30 '25 09:07 hudazaan

hey @hudazaan can you please assign this issue to me , I would love to work on it. I can fix this within few min.

satyam0827 avatar Jul 31 '25 05:07 satyam0827

@AayushSahani01

๐Ÿ“ Pull Request Template

Please complete all sections before submitting your PR. This helps reviewers understand the context and purpose of your changes.


๐Ÿ“Œ Description

Feature: Added a "Back to Top" arrow icon on the bottom-right corner of the page.
When clicked, the arrow smoothly scrolls the page to the home section of the NPMChat landing page.


๐Ÿ”— Related Issues

  • Closes #20

โœ… Checklist

  • [x] Code compiles and runs clean
  • [x] Added CSS styles for position, hover effect, and smooth scroll
  • [x] Icon component is responsive and does not overlap with content
  • [x] Tested on different screen sizes
  • [x] Related issue linked (#20)

๐Ÿ“ธ Screenshots (UI Example)

Top Arrow Icon Example


๐Ÿ’ฌ Notes for Reviewers

  • Icon uses position: fixed for visibility on all sections
  • Clicking smoothly scrolls to #home section
  • Consider enhancing with fade-in/out on scroll (optional enhancement)

๐Ÿงช How to Test This PR

  1. Pull this branch
  2. Run npm install (if needed)
  3. Run npm run dev
  4. Scroll down and check if the arrow appears
  5. Click it and verify the page scrolls to the top/home

๐Ÿ“ฆ Tech Stack

  • React
  • Tailwind CSS (for styling)
  • Smooth Scroll behavior in JavaScript
  • can u please review it

Sayantanx-code avatar Jul 31 '25 06:07 Sayantanx-code

@hudazaan if this issue is still open please assign it to me

satyam0827 avatar Jul 31 '25 06:07 satyam0827

@hudazaan if this issue is still open please assign it to me

@satyam0827 This issue is already assigned and is being worked on. Please explore the project and try creating new issues if you find any.

hudazaan avatar Jul 31 '25 09:07 hudazaan

ok

satyam0827 avatar Jul 31 '25 12:07 satyam0827

@RedK22 hey could you please assign this to me? I want to work on this feature

raghavendra-24 avatar Aug 01 '25 07:08 raghavendra-24