Implement basic structure

This commit is contained in:
Wouter van Veelen
2025-11-24 00:37:55 +01:00
parent 66dd292e00
commit 18bea1e786
5 changed files with 72 additions and 14 deletions

14
src/layout/Content.tsx Normal file
View File

@@ -0,0 +1,14 @@
import { Box } from '@mui/material';
import React, { type PropsWithChildren, type ReactElement } from 'react';
import { TopBar } from './TopBar.tsx';
export type ContentProps = PropsWithChildren;
export function Content({ children }: ContentProps): ReactElement {
return (
<Box sx={{ width: { xs: '100%', md: '80%' }, margin: 'auto' }}>
<TopBar />
{children}
</Box>
);
}