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

17 lines
353 B
TypeScript
Raw Permalink Normal View History

2024-07-30 21:17:07 +02:00
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="root-container lg:px-24">{children}</div>
</main>
);
}