finos / git-proxy

Deploy custom push protections and policies on top of Git
https://git-proxy.finos.org
Apache License 2.0
114 stars 77 forks source link

"Add Scroll to Top Button with Smooth Scrolling" #739

Open Lokeshsuwalka05 opened 1 week ago

Lokeshsuwalka05 commented 1 week ago

This update introduces a "Scroll to Top" button that appears when users scroll down the page, enhancing navigation on long pages. The button, when clicked, smoothly scrolls the user back to the top of the page. The feature includes:

1)A floating button styled with CSS, positioned at the bottom-right corner of the screen. 2)JavaScript functionality that toggles the button's visibility based on scroll position. 3)Smooth scrolling behavior to provide a seamless user experience when navigating back to the top.

Lokeshsuwalka05 commented 1 week ago

if Possible can you Assign this issue to me under Hacktoberfest'24

Lokeshsuwalka05 commented 6 days ago

Sir, I need your assistance.

I checked the GitProxy repository and ran it on my local server, but there isn't enough content on the page to add a "Scroll to Top" button. I added some random content to test if it's working properly, but how can I demonstrate that it's functioning correctly since the page doesn't contain enough content for scrolling?

JamieSlome commented 6 days ago

@Lokeshsuwalka05 - I'd recommend signing in with the test credentials admin:admin and adding new repositories to the UI 👍