From c4a11ed2d1b74877dc8bdb5289d5e649945bc122 Mon Sep 17 00:00:00 2001 From: warmachine028 <75939390+warmachine028@users.noreply.github.com> Date: Tue, 3 Sep 2024 09:05:21 +0530 Subject: [PATCH] feat: added menubar --- client/src/app/(main)/layout.tsx | 8 ++++++-- client/src/components/Menubar.tsx | 30 +++++++++++++++++++++++++++--- 2 files changed, 33 insertions(+), 5 deletions(-) diff --git a/client/src/app/(main)/layout.tsx b/client/src/app/(main)/layout.tsx index 2486fca..cbcaf90 100644 --- a/client/src/app/(main)/layout.tsx +++ b/client/src/app/(main)/layout.tsx @@ -1,5 +1,5 @@ import { validateRequest } from '@/auth' -import { Navbar } from '@/components' +import { Menubar, Navbar } from '@/components' import { SessionProvider } from '@/providers' import { redirect } from 'next/navigation' @@ -11,7 +11,11 @@ const MainLayout = async ({ children }: Readonly<{ children: React.ReactNode }>) return ( -
{children}
+
+ + {children} +
+
) } diff --git a/client/src/components/Menubar.tsx b/client/src/components/Menubar.tsx index cb45908..d0fe73a 100644 --- a/client/src/components/Menubar.tsx +++ b/client/src/components/Menubar.tsx @@ -3,6 +3,7 @@ import UserButton from './UserButton' import SearchBar from './SearchBar' import { cn } from '@/lib/utils' import { Button } from '@/components/ui/button' +import { Bell, Home, Mail } from 'lucide-react' interface MenubarProps { className?: string @@ -10,9 +11,32 @@ interface MenubarProps { const Menubar = ({ className }: MenubarProps) => { return ( -
- -
+
+ + + + +
) }