feat(nav): add theme switcher
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
import { useEffect, useState } from "react"
|
||||
import Link from "next/link"
|
||||
import { cn } from "@/lib/utils"
|
||||
import { ThemeSwitch } from "./theme-switch"
|
||||
|
||||
export default function Navbar() {
|
||||
const [scrolled, setScrolled] = useState(false)
|
||||
@@ -52,7 +53,7 @@ export default function Navbar() {
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div></div>
|
||||
<ThemeSwitch/>
|
||||
</nav>
|
||||
</header>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user