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

Navbar Scrolling and Dark Mode Functionality Not Working #256

Open
Aman-G-upta opened this issue Oct 26, 2024 · 1 comment
Open

Navbar Scrolling and Dark Mode Functionality Not Working #256

Aman-G-upta opened this issue Oct 26, 2024 · 1 comment

Comments

@Aman-G-upta
Copy link

While using the website, I encountered two issues with the navigation bar and dark mode functionality:

Navbar Scrolling Behavior:

The navigation bar scrolls upwards as the page scrolls, making it disappear from view. This impacts the user experience as they have to scroll back up to access navigation options.
Proposed Solution: Implement a "sticky" or "fixed" navbar, so it remains visible at the top of the page as the user scrolls down.
Dark Mode Toggle Not Functioning:

The dark mode toggle in the navigation bar does not apply any changes to the website's theme when clicked.
Proposed Solution: Ensure that the dark mode toggle correctly switches between light and dark themes. This may involve fixing JavaScript or CSS handling the dark mode functionality.

Steps to Reproduce
Visit the website: top-secrets.onrender.com
Scroll down to observe the navbar disappearing from view.
Click on the dark mode toggle icon in the navbar and note that it doesn’t change the theme.

Expected Behavior
Sticky Navbar: The navigation bar should remain at the top of the page even when scrolling.
Dark Mode: The theme should change when the dark mode toggle is activated, applying appropriate styles for a dark color scheme.

image

Copy link

Hey, @Aman-G-upta welcome to Top_Secrets repository.🎊 Thank you so much for taking the time to point this out.🙌

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

No branches or pull requests

1 participant