diff --git a/frontend/src/components/layout/MainLayout.tsx b/frontend/src/components/layout/MainLayout.tsx index f990291..a7321e7 100644 --- a/frontend/src/components/layout/MainLayout.tsx +++ b/frontend/src/components/layout/MainLayout.tsx @@ -1,6 +1,6 @@ /** * ════════════════════════════════════════════════════════════ - * مُصادَق (Musadaq) — Main Layout Shell + * مُصادَق (Musadaq) — Premium Dark Layout Shell * ════════════════════════════════════════════════════════════ */ @@ -13,36 +13,36 @@ export const MainLayout = () => { const user = useAuthStore((state) => state.user); return ( -
+
{/* ── Desktop Sidebar ───────────────────────────────────── */}
{/* ── Top Navigation ──────────────────────────────────── */} -
-
- - +
+ +
- -
+
-

{user?.name}

-

+

{user?.name}

+

{user?.role}

-
+
diff --git a/frontend/src/components/layout/Sidebar.tsx b/frontend/src/components/layout/Sidebar.tsx index 1eb5b63..6f25b3d 100644 --- a/frontend/src/components/layout/Sidebar.tsx +++ b/frontend/src/components/layout/Sidebar.tsx @@ -1,16 +1,16 @@ /** * ════════════════════════════════════════════════════════════ - * مُصادَق (Musadaq) — Premium Sidebar + * مُصادَق (Musadaq) — Premium Dark Sidebar * ════════════════════════════════════════════════════════════ */ import { NavLink, useNavigate } from 'react-router-dom'; -import { - LayoutDashboard, - FileText, - Building2, - Users, - Settings, +import { + LayoutDashboard, + FileText, + Building2, + Users, + Settings, LogOut, Crown } from 'lucide-react'; @@ -35,16 +35,21 @@ export const Sidebar = () => { }; return ( -