mirror of
https://github.com/perfect-panel/ppanel-web.git
synced 2026-02-14 12:21:10 -05:00
17 lines
653 B
TypeScript
17 lines
653 B
TypeScript
import { SidebarInset, SidebarProvider } from '@shadcn/ui/sidebar';
|
|
import { SidebarLeft } from './sidebar-left';
|
|
import { SidebarRight } from './sidebar-right';
|
|
|
|
export default async function DashboardLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<SidebarProvider className='container'>
|
|
<SidebarLeft className='sticky top-[84px] hidden w-52 border-r-0 bg-transparent lg:flex' />
|
|
<SidebarInset className='relative p-4'>
|
|
{/* <Header /> */}
|
|
{children}
|
|
</SidebarInset>
|
|
<SidebarRight className='sticky top-[84px] hidden w-52 border-r-0 bg-transparent 2xl:flex' />
|
|
</SidebarProvider>
|
|
);
|
|
}
|