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

19 lines
559 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>
);
};