feat(nav): add theme switcher

This commit is contained in:
2026-04-14 21:35:41 +02:00
parent ac258ea95b
commit f0cbc758d9
6 changed files with 380 additions and 21 deletions
+2 -1
View File
@@ -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>
)