ui/ add dark and light mode toggle

This commit is contained in:
Leon van Zyl
2025-08-16 10:57:50 +02:00
parent 6bbc2956b6
commit 68398567b9
10 changed files with 717 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
import Link from "next/link";
import { UserProfile } from "@/components/auth/user-profile";
import { ModeToggle } from "./ui/mode-toggle";
export function SiteHeader() {
return (
@@ -13,7 +14,10 @@ export function SiteHeader() {
Next.js Boilerplate
</Link>
</h1>
<UserProfile />
<div className="flex items-center gap-4">
<UserProfile />
<ModeToggle />
</div>
</div>
</header>
);