mirror of
https://github.com/oxen-io/oxen-website.git
synced 2023-12-13 21:00:18 +01:00
21 lines
427 B
TypeScript
21 lines
427 B
TypeScript
import React, { ReactNode } from 'react';
|
|
import { Header } from '../navigation/Header';
|
|
|
|
interface Props {
|
|
children: ReactNode;
|
|
}
|
|
|
|
export default function Layout({ children }: Props) {
|
|
return (
|
|
<div
|
|
style={{ height: '100vh', width: '100%' }}
|
|
className="flex flex-col justify-between"
|
|
>
|
|
<div className="relative flex flex-col">
|
|
<Header />
|
|
{children}
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|