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