mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
22 lines
641 B
TypeScript
22 lines
641 B
TypeScript
import { FC, ReactNode } from "react";
|
|
import { InstanceSidebar } from "@/components/admin-sidebar";
|
|
import { InstanceHeader } from "@/components/auth-header";
|
|
|
|
type TAdminLayout = {
|
|
children: ReactNode;
|
|
};
|
|
|
|
export const AdminLayout: FC<TAdminLayout> = (props) => {
|
|
const { children } = props;
|
|
|
|
return (
|
|
<div className="relative flex h-screen w-screen overflow-hidden">
|
|
<InstanceSidebar />
|
|
<main className="relative flex h-full w-full flex-col overflow-hidden bg-custom-background-100">
|
|
<InstanceHeader />
|
|
<div className="h-full w-full overflow-hidden">{children}</div>
|
|
</main>
|
|
</div>
|
|
);
|
|
};
|