feat: add theme swithcer to dashboard

This commit is contained in:
Hamzat Victor 2024-10-23 12:05:43 +01:00
parent e2d237fe09
commit 009d4d5164

View File

@ -1,4 +1,5 @@
import Logo from "@/assets/logo.svg"
import { ThemeSwitcher } from "@/components/ui/theme-switcher"
import { User } from "@/lib/types"
import Image from "next/image"
import Link from "next/link"
@ -19,6 +20,7 @@ export default function DashboardNavbar({ userData }: { userData: User }) {
</div>
<div className="flex items-center space-x-4">
<DashboardNavbarSearch />
<ThemeSwitcher />
<UserButton userData={userData} />
</div>
</div>