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

23 lines
626 B
TypeScript
Raw Normal View History

2024-03-07 03:33:43 +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 (
2024-03-11 15:46:08 +00:00
<section className=" text-black flex dark:text-white bg-slate-100 dark:bg-[#151c2c] h-screen">
2024-03-07 03:33:43 +00:00
<HumasSidebarWrapper />
<HumasNavbarWrapper>
{children}
</HumasNavbarWrapper>
</section>
2024-03-11 15:46:08 +00:00
2024-03-07 03:33:43 +00:00
)
}