feat(layout): create navbar with mobile sidebar integration

This commit is contained in:
ngc2207 2025-02-02 01:31:42 +08:00
parent 4c8aa5b264
commit 98089acd77

17
src/components/navbar.tsx Normal file
View File

@ -0,0 +1,17 @@
import { UserButton } from "@/features/auth/components/user-button";
import { MobileSidebar } from "./mobile-sidebar";
export const Navbar = () => {
return (
<nav className="pt-4 px-6 flex items-center justify-between">
<div className="flex-col hidden lg:flex">
<h1 className="text-2xl font-semibold">Home</h1>
<p className="text-muted-foreground">
Monitor all of your projects and tasks here
</p>
</div>
<MobileSidebar />
<UserButton />
</nav>
);
};