mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
31 lines
561 B
TypeScript
31 lines
561 B
TypeScript
import { ReactNode } from 'react';
|
|||
|
|
import Navbar from '../components/Navbar';
|
||
|
|
|
||
|
|
interface RootLayoutProps {
|
||
|
|
children: ReactNode;
|
||
|
|
}
|
||
|
|
|
||
|
|
export default function RootLayout({ children }: RootLayoutProps) {
|
||
|
|
return (
|
||
|
|
<html>
|
||
|
|
<body
|
||
|
|
style={{
|
||
|
|
margin: 0,
|
||
|
|
}}
|
||
|
|
>
|
||
|
|
<div
|
||
|
|
style={{
|
||
|
|
width: '100vw',
|
||
|
|
height: '100vh',
|
||
|
|
display: 'flex',
|
||
|
|
flexDirection: 'column',
|
||
|
|
}}
|
||
|
|
>
|
||
|
|
<Navbar />
|
||
|
|
|
||
|
|
{children}
|
||
|
|
</div>
|
||
|
|
</body>
|
||
|
|
</html>
|
||
|
|
);
|
||
|
|
}
|