"use client"; import { useState } from "react"; import Providers from "@/components/Providers"; import Sidebar from "@/components/Sidebar"; import { DictionaryProvider } from "@/components/DictionaryContext"; export default function DashboardLayout({ children, dict, lang, }: { children: React.ReactNode; dict: any; lang: string; }) { const [isSidebarOpen, setIsSidebarOpen] = useState(false); return (
{/* Mobile Overlay */}
setIsSidebarOpen(false)} /> setIsSidebarOpen(false)} />
{/* Mobile Header */}
AyrisMail
{children}
); } function MenuIcon() { return ( ); }