Feature: Adding Top Arrow Icons on right-corner side to clicking auto scrolled on home page section
Hey @CoderUzumaki
- Can you assign to me
- I love to build this feature
@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.
hey @hudazaan can you please assign this issue to me , I would love to work on it. I can fix this within few min.
@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)
๐ฌ Notes for Reviewers
- Icon uses
position: fixedfor visibility on all sections - Clicking smoothly scrolls to
#homesection - Consider enhancing with fade-in/out on scroll (optional enhancement)
๐งช How to Test This PR
- Pull this branch
- Run
npm install(if needed) - Run
npm run dev - Scroll down and check if the arrow appears
- 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
@hudazaan if this issue is still open please assign it to me
@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.
ok
@RedK22 hey could you please assign this to me? I want to work on this feature