mirror of
https://github.com/PeterMaquiran/tvone.git
synced 2026-04-23 04:25:51 +00:00
16 lines
549 B
TypeScript
16 lines
549 B
TypeScript
|
|
import { AdminHeaderPage } from '@/app/components/layout/admin/header';
|
||
|
|
import { AdminSideBar } from '@/app/components/layout/admin/sidebar';
|
||
|
|
|
||
|
|
export default function AdminLayout({ children }: { children: React.ReactNode }) {
|
||
|
|
return (
|
||
|
|
<div className="flex h-screen bg-slate-100/50 text-slate-900 font-sans overflow-hidden">
|
||
|
|
<AdminSideBar />
|
||
|
|
|
||
|
|
<main className="flex-1 min-w-0 min-h-0 overflow-y-auto flex flex-col">
|
||
|
|
<AdminHeaderPage />
|
||
|
|
<div className="flex-1 min-h-0">{children}</div>
|
||
|
|
</main>
|
||
|
|
</div>
|
||
|
|
);
|
||
|
|
}
|