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

22 lines
620 B
TypeScript

"use client";
import React from "react";
import PPIDAdminNavbarWrapper from "../navbar/PPIDAdminNavbarWrapper";
import PPIDAdminSidebarWrapper from "../navbar/PPIDAdminSidebarWrapper";
interface Props {
children: React.ReactNode;
pageTitle?: string;
}
export const PPIDAdminLayout = ({ children, pageTitle }: Props) => {
return (
<section className="flex text-black dark:text-white dark:bg-[#0b2948] border-2 border-red-500">
<PPIDAdminSidebarWrapper />
<PPIDAdminNavbarWrapper>
{children}
</PPIDAdminNavbarWrapper>
</section>
);
};