cleaned trust center and some widgets
This commit is contained in:
@@ -8,16 +8,16 @@ interface DashboardLayoutProps {
|
||||
|
||||
export default function DashboardLayout({ children, onLogout }: DashboardLayoutProps) {
|
||||
return (
|
||||
<div className="flex h-screen bg-slate-50 overflow-hidden">
|
||||
<div className="h-screen w-full flex bg-[#e8e8e8] dark:bg-[#1e293b] text-slate-800 dark:text-slate-100 font-sans transition-all duration-300 ease-in-out">
|
||||
{/* Intégration de la navbar extraite */}
|
||||
<Sidebar onLogout={onLogout} />
|
||||
<Sidebar onLogout={onLogout} className='my-4 ml-4'/>
|
||||
|
||||
{/* CONTENU PRINCIPAL */}
|
||||
<main className="flex-1 overflow-y-auto scrollbar-hide">
|
||||
<div className="p-8">
|
||||
<div>
|
||||
{children}
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user