Add navigation bar across screens
This commit is contained in:
1 parent
c10463f53b
commit
e4dfdbf0c8
3 files changed
+77
-8
No files matched your search
@@ -0,0 +1,12 @@
|
||||
import { Box } from '@mui/material';
|
||||
import { Outlet } from 'react-router-dom';
|
||||
import { NavigationBar } from './NavigationBar';
|
||||
|
||||
export const AppLayout = () => (
|
||||
<Box sx={{ minHeight: '100vh', display: 'flex', flexDirection: 'column' }}>
|
||||
<NavigationBar />
|
||||
<Box component="main" sx={{ flexGrow: 1 }}>
|
||||
<Outlet />
|
||||
</Box>
|
||||
</Box>
|
||||
);
|
||||
Reference in new issue
Block a user