Closed kristenking closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
potter-db | ✅ Ready (Inspect) | Visit Preview | Oct 29, 2023 10:54pm |
Thank you for the review @danielschuster-muc . Ran npm run lint
and pushed the changes. Let me know if anything else needs adjusting.
Thanks for approval @danielschuster-muc . I will wait till it is merged then :)
Summary
Implemented a scroll to top button as per issue requirements. Positioned at the bottom right, it appears once the user scrolls down and smoothly takes them to the top when clicked. The icon comes from react-icons. Used React hooks to handle the button's visibility based on the page's scroll position. The button styling is done with Tailwind CSS to ensure it matches the website's color theme.
Changes:
Testing:
Checked button visibility and functionality on various pages and on mobile.
Related Issues
Fixes #787
Checklist
Screenshots (if applicable)