Skip to content

Conversation

@chiraagsharma24
Copy link

This pull request resolves #274 by relocating the theme toggle button from the footer to the top navigation bar (navbar) to enhance visibility and accessibility.

fixes #274

Changes Made

  • Moved the ModeToggle component into the MainNav component.
  • Ensured the toggle is visible on both desktop and mobile layouts.
  • Removed any redundant instances of the theme toggle from the footer or other components.

Reason for Change

Previously, users had to scroll to the bottom of the page to access the theme toggle. By placing it in the navbar, users can now switch themes more easily from any page without unnecessary scrolling.

Impact

  • Improved user experience and accessibility.
  • No changes were made to existing layout structure or other functionalities.

Please review and let me know if further adjustments are needed.

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.

The theme- toggle button shoud be in navbar so easier access

1 participant