"use client"; 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, SidebarContent, SidebarFooter, SidebarHeader, SidebarMenu, SidebarMenuItem, SidebarSection, SidebarSeparator, SidebarTrigger, SidebarUserProfile, } from "poyraz-ui/organisms"; import { sidebarData } from "@/config/sidebar"; import { cn } from "@/lib/utils"; 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"; type DashboardShellProps = { children: React.ReactNode; user: { email: string; displayName: string; shortName: string; avatarUrl: string | null; }; }; export function DashboardShell({ children, user }: DashboardShellProps) { const pathname = usePathname(); const [isMobileSidebarOpen, setIsMobileSidebarOpen] = useState(false); return (