Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: return to top arrow feature/button #477

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

techmannih
Copy link
Contributor

Description
This PR implements a "Return to top" arrow feature/button to improve user navigation. When clicked, the button smoothly scrolls the page back to the top, enhancing the user experience by providing a quick way to navigate to the top of long pages.

Related issue(s)
Issue #475
close #475

Copy link

netlify bot commented Nov 25, 2024

Deploy Preview for peaceful-ramanujan-288045 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 8b90a13
🔍 Latest deploy log https://app.netlify.com/sites/peaceful-ramanujan-288045/deploys/674980cc626b3e0008b2238f
😎 Deploy Preview https://deploy-preview-477--peaceful-ramanujan-288045.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@techmannih techmannih changed the title fix: Return to top arrow feature/button fix: return to top arrow feature/button Nov 25, 2024
@techmannih
Copy link
Contributor Author

@ashmit-coder please review this PR

@ashmit-coder
Copy link
Collaborator

@techmannih please make the button available in other pages as well. Also, use some different style of arrow.

Copy link
Collaborator

@ashmit-coder ashmit-coder left a comment

Choose a reason for hiding this comment

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

Change the scroll.svg to something more appealing and change the colour of background as well.

@techmannih
Copy link
Contributor Author

@ashmit-coder I think white background looks good,

20241129142351.mp4

Copy link
Member

@AceTheCreator AceTheCreator left a comment

Choose a reason for hiding this comment

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

Awesome fix @techmannih

I think the background should have the background of the button below and the arrow should be white, to keep the UI consistent.

AsyncAPI-Conference-12-17-2024_08_21_AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Return to top arrow feature/button
3 participants