web-humas-fe/components/layout/humas-admin-layout.tsx

19 lines
568 B
TypeScript
Raw Normal View History

2024-11-05 06:15:40 +00:00
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>
);
}