mirror of
https://gitlab.massbug.com/massbug/judge4c.git
synced 2025-07-04 10:24:13 +00:00
feat(layout): create navbar with mobile sidebar integration
This commit is contained in:
parent
4c8aa5b264
commit
98089acd77
17
src/components/navbar.tsx
Normal file
17
src/components/navbar.tsx
Normal 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>
|
||||
);
|
||||
};
|
Loading…
Reference in New Issue
Block a user