diff --git a/app/(backend)/layout.tsx b/app/(backend)/layout.tsx index a7a077d..a1d9dc7 100644 --- a/app/(backend)/layout.tsx +++ b/app/(backend)/layout.tsx @@ -13,7 +13,7 @@ const Layout: React.FC = ({ children }) => { return (
- + setSidebarOpen(false)} /> {/* Mobile Sidebar Overlay */} {sidebarOpen && ( diff --git a/components/Header/index.tsx b/components/Header/index.tsx index 081a90b..9441938 100644 --- a/components/Header/index.tsx +++ b/components/Header/index.tsx @@ -9,39 +9,45 @@ const Header: React.FC = ({ onMenuClick }) => { return (
-
-
- +
+
-
-
-

Community Admin

-

Super Administrator

+
+
+

+ Community Admin +

+

Super Administrator

-
- +
+
diff --git a/components/Sidebar/index.tsx b/components/Sidebar/index.tsx index b37c62b..514939a 100644 --- a/components/Sidebar/index.tsx +++ b/components/Sidebar/index.tsx @@ -1,4 +1,13 @@ -import { Building2, Calendar, FileText, LayoutDashboard, LogOut, Music, Settings, Users } from "lucide-react"; +import { + Building2, + Calendar, + FileText, + LayoutDashboard, + LogOut, + Music, + Settings, + Users, +} from "lucide-react"; import Link from "next/link"; import { usePathname } from "next/navigation"; import React from "react"; @@ -12,46 +21,60 @@ const navItems = [ { icon: Settings, label: "Settings", path: "#settings" }, ]; -const Sidebar: React.FC = () => { +type SidebarProps = { + open?: boolean; + close: () => void; +}; + +const Sidebar: React.FC = ({ open, close }) => { const pathName = usePathname(); return (