23 lines
666 B
TypeScript
23 lines
666 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="flex text-black dark:text-white dark:bg-[#0b2948] border-2 border-red-500">
|
||
|
|
<section className="flex ">
|
||
|
|
<HumasSidebarWrapper />
|
||
|
|
<HumasNavbarWrapper>
|
||
|
|
{children}
|
||
|
|
</HumasNavbarWrapper>
|
||
|
|
</section>
|
||
|
|
)
|
||
|
|
}
|