Skip to content

Commit

Permalink
Divya
Browse files Browse the repository at this point in the history
  • Loading branch information
KauraniDivya committed May 2, 2024
1 parent 4fef7ab commit 5669a8e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ const Navbar = () => {
</div>
{/* THEME SWITCHER */}
{/* <div className="hidden lg:flex lg:justify-end items-center w-1/3 space-x-4"> */}
<div className="flex justify-center items-center w-1/3 space-x-4">
<div className="flex lg:w-1/3 lg:justify-center lg:items-center space-x-4 gap-4">
<ThemeSwitcher />
</div>

<div className="lg:hidden">
<button onClick={toggleMenu}>
{isMenuOpen ? (
Expand All @@ -95,6 +95,7 @@ const Navbar = () => {
)}
</button>
</div>
</div>
{isMenuOpen && (
<div
className={`lg:hidden flex flex-col items-center justify-center w-full h-screen bg-gray-800 bg-opacity-90 fixed top-0 left-0 z-50`}
Expand Down

0 comments on commit 5669a8e

Please sign in to comment.