mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-03 21:05:45 -05:00
Co-authored-by: Anthony <anthony@infraly.co> Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
14 lines
398 B
TypeScript
14 lines
398 B
TypeScript
import { Outlet } from '@tanstack/react-router';
|
|
import AdminSidebar from '@/components/admin/AdminSidebar';
|
|
|
|
export default function AdminLayout() {
|
|
return (
|
|
<div className={'mx-auto flex w-full max-w-panel flex-col lg:flex-row'}>
|
|
<AdminSidebar />
|
|
<div className={'min-w-0 flex-1 xl:pl-4'}>
|
|
<Outlet />
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|