Skip to content

Commit

Permalink
dark mode is missing Devmangrani#63 Devmangrani#70
Browse files Browse the repository at this point in the history
done changes
  • Loading branch information
its-Pratik-15 authored Oct 29, 2024
1 parent 502e582 commit 1bef650
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/NavBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,8 @@ export default function NavBar() {
>
SIGN IN
</Link>
<button onClick={toggleNightMode} className="ml-4 text-xs font-semibold">
{isNightMode ? "Switch to Day Mode" : "Switch to Night Mode"}
<button onClick={toggleNightMode} className={styles.nightModeToggle}>
{isNightMode ? "Day Mode" : "Night Mode"}
</button>

</>
Expand Down

0 comments on commit 1bef650

Please sign in to comment.