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

Improve "Go Back Home" Button Functionality #1166

Closed
pranavmugatkar opened this issue Oct 7, 2024 · 2 comments
Closed

Improve "Go Back Home" Button Functionality #1166

pranavmugatkar opened this issue Oct 7, 2024 · 2 comments

Comments

@pranavmugatkar
Copy link

Is your feature request related to a problem? Please describe.
Yes, the current behavior of the "Go Back Home" button causes the page to reload instead of allowing users to scroll smoothly to the top. This can lead to a less seamless user experience, especially for those navigating the site frequently. By implementing a smooth scroll feature, users can return to the top of the page without unnecessary reloads, enhancing overall navigation and usability.

Describe the solution you'd like
I would like to implement a smooth scrolling feature for the "Go Back Home" button in the Imagine-AI project. Instead of reloading the page, clicking the button should smoothly scroll the user back to the top. This can be achieved by adding a JavaScript function that utilizes the window.scrollTo() method with a smooth behavior option. Additionally, incorporating CSS for smooth scrolling would enhance the user experience further. This change will improve navigation and make the site feel more responsive

Describe alternatives you've considered
One alternative I considered is redirecting users back to the home page rather than just scrolling up. However, this can lead to unnecessary page reloads, which disrupts the user experience. Another option is to add a separate "Back to Top" button that appears when users scroll down, but this may complicate the interface. The smooth scrolling feature is more user-friendly and maintains a clean design while enhancing navigation within the Imagine-AI project..

can you assign me this issue under the gssoc and hactoberfest

Copy link

github-actions bot commented Oct 7, 2024

Hello @pranavmugatkar!
Thank you for raising this issue.

Please make sure to follow our Contributing Guidelines.
Don't forget to ⭐ our Imagine AI.

Our review team will carefully assess the issue and reach out to you soon!
We appreciate your patience!

Copy link

github-actions bot commented Oct 7, 2024

To reduce notifications, issues are locked. Your issue will be unlocked when we add the label, gssoc23.

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

No branches or pull requests

2 participants