INit
This commit is contained in:
12
resources/js/layouts/client/layout.tsx
Normal file
12
resources/js/layouts/client/layout.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import Footer from '@/components/layout/Footer';
|
||||
import Navbar from '@/components/layout/Navbar';
|
||||
|
||||
export default function Layout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<div className="mx-auto grid min-h-[100dvh] grid-rows-[auto_1fr_auto]">
|
||||
<Navbar />
|
||||
<main>{children}</main>
|
||||
<Footer />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user