19 lines
568 B
TypeScript
19 lines
568 B
TypeScript
import React from "react";
|
|
import HumasSidebarWrapper from "./navbar/HumasSidebarWrapper";
|
|
import HumasNavbarWrapper from "./navbar/HumasNavbarWrapper";
|
|
import { ThemeSwitch } from "../theme-switch";
|
|
|
|
interface Props {
|
|
children: React.ReactNode;
|
|
pageTitle?: string;
|
|
}
|
|
|
|
export default function HumasAdminLayout({ children, pageTitle }: Props) {
|
|
return (
|
|
<section className=" text-black flex dark:text-white bg-slate-100 dark:bg-[#151c2c] h-screen">
|
|
<HumasSidebarWrapper />
|
|
<HumasNavbarWrapper>{children}</HumasNavbarWrapper>
|
|
</section>
|
|
);
|
|
}
|