svrjs-nextjs-website/app/(auth)/layout.tsx
2024-06-20 20:32:11 +05:30

16 lines
378 B
TypeScript

import MobileNav from "./_components/Mobilenav";
import Sidebar from "./_components/Sidebar";
export default function PageLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<main className="flex flex-col min-h-screen root">
<Sidebar />
<MobileNav />
<div className="flex-grow flex-1 root-container">{children}</div>
</main>
);
}