- {headerItems.map((item) => (
-
-
-
-
- {item.name}
-
- ))}
+
diff --git a/apps/web/components/dashboard/header/ProfileOptions.tsx b/apps/web/components/dashboard/header/ProfileOptions.tsx
index df31171c..ea8c7d12 100644
--- a/apps/web/components/dashboard/header/ProfileOptions.tsx
+++ b/apps/web/components/dashboard/header/ProfileOptions.tsx
@@ -10,7 +10,8 @@ import {
DropdownMenuItem,
DropdownMenuTrigger,
} from "@/components/ui/dropdown-menu";
-import { LogOut, Moon, Paintbrush, Sun } from "lucide-react";
+import { Separator } from "@/components/ui/separator";
+import { LogOut, Moon, Paintbrush, Settings, Shield, Sun } from "lucide-react";
import { signOut, useSession } from "next-auth/react";
import { useTheme } from "next-themes";
@@ -49,7 +50,32 @@ export default function SidebarProfileOptions() {
{session.user.name?.charAt(0) ?? "U"}
-
+
+
+
+ {session.user.name?.charAt(0) ?? "U"}
+
+
+
{session.user.name}
+
{session.user.email}
+
+
+
+
+
+
+ User Settings
+
+
+ {session.user.role == "admin" && (
+
+
+
+ Admin Settings
+
+
+ )}
+
@@ -59,6 +85,7 @@ export default function SidebarProfileOptions() {
+
signOut({
diff --git a/apps/web/components/dashboard/sidebar/ModileSidebar.tsx b/apps/web/components/dashboard/sidebar/ModileSidebar.tsx
index 1117dd61..7ccf6b8d 100644
--- a/apps/web/components/dashboard/sidebar/ModileSidebar.tsx
+++ b/apps/web/components/dashboard/sidebar/ModileSidebar.tsx
@@ -1,6 +1,5 @@
-import ProfileOptions from "@/components/dashboard/header/ProfileOptions";
import HoarderLogoIcon from "@/public/icons/logo-icon.svg";
-import { ClipboardList, Search, Settings, Tag } from "lucide-react";
+import { ClipboardList, Search, Tag } from "lucide-react";
import MobileSidebarItem from "./ModileSidebarItem";
@@ -15,8 +14,6 @@ export default async function MobileSidebar() {
} path="/dashboard/search" />
} path="/dashboard/lists" />
} path="/dashboard/tags" />
- } path="/dashboard/settings" />
-
);
diff --git a/apps/web/components/dashboard/sidebar/Sidebar.tsx b/apps/web/components/dashboard/sidebar/Sidebar.tsx
index 13260e07..14d019ff 100644
--- a/apps/web/components/dashboard/sidebar/Sidebar.tsx
+++ b/apps/web/components/dashboard/sidebar/Sidebar.tsx
@@ -66,7 +66,7 @@ export default async function Sidebar() {