svrjs-nextjs-website/app/(auth)/admin/layout.tsx

17 lines
355 B
TypeScript
Raw Normal View History

2024-08-26 13:11:47 +02:00
import MobileNav from "../_components/Mobilenav";
import Sidebar from "../_components/Sidebar";
2024-06-20 17:02:11 +02:00
2024-06-20 15:38:05 +02:00
export default function PageLayout({
2024-07-10 08:10:55 +02:00
children,
2024-06-20 15:38:05 +02:00
}: {
2024-07-10 08:10:55 +02:00
children: React.ReactNode;
2024-06-20 15:38:05 +02:00
}) {
2024-07-10 08:10:55 +02:00
return (
<main className="flex flex-col min-h-screen root">
<Sidebar />
<MobileNav />
<div className="root-container lg:px-24">{children}</div>
</main>
);
2024-06-20 15:38:05 +02:00
}