From 7808df0c567570fac8a95e35aeaec7ec934db710 Mon Sep 17 00:00:00 2001 From: Poyraz Avsever Date: Wed, 3 Jun 2026 10:49:27 +0300 Subject: [PATCH] feat: enhance DashboardShell with dropdown menu for user profile; update sidebar titles for consistency --- components/layout/dashboard-shell.tsx | 111 +++++++++++++++++++------- config/sidebar.ts | 12 +-- next-env.d.ts | 2 +- 3 files changed, 89 insertions(+), 36 deletions(-) diff --git a/components/layout/dashboard-shell.tsx b/components/layout/dashboard-shell.tsx index f58dfcd..795ccfb 100644 --- a/components/layout/dashboard-shell.tsx +++ b/components/layout/dashboard-shell.tsx @@ -2,6 +2,14 @@ import { signOut } from "@/app/login/actions"; import { Button } from "poyraz-ui/atoms"; +import { + DropdownMenu, + DropdownMenuContent, + DropdownMenuItem, + DropdownMenuLabel, + DropdownMenuSeparator, + DropdownMenuTrigger, +} from "poyraz-ui/molecules"; import { Sidebar, SidebarBranding, @@ -17,7 +25,8 @@ import { } from "poyraz-ui/organisms"; import { sidebarData } from "@/config/sidebar"; import { cn } from "@/lib/utils"; -import { LogOut, Menu } from "lucide-react"; +import { ChevronUp, LogOut, Menu, Settings } from "lucide-react"; +import Image from "next/image"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { useState } from "react"; @@ -39,7 +48,7 @@ export function DashboardShell({ children, user }: DashboardShellProps) { return (
-