Files
firegex-traffic-viewer/frontend/src/components/MainLayout.tsx

21 lines
487 B
TypeScript
Raw Normal View History

2022-06-12 12:09:50 +02:00
import React from 'react';
2022-06-13 16:12:52 +02:00
import { Container, Space } from '@mantine/core';
2022-06-11 21:57:50 +02:00
import Footer from './Footer';
import Header from './Header';
function MainLayout({ children }:{ children:any }) {
return <>
2022-06-13 16:12:52 +02:00
2022-06-15 19:44:41 +02:00
<Header/>
2022-06-12 12:09:50 +02:00
<Space h="xl" />
<Container size="xl" style={{minHeight:"57.5vh"}}>
{children}
</Container>
<Space h="xl" />
<Footer />
2022-06-13 16:12:52 +02:00
2022-06-11 21:57:50 +02:00
</>
}
export default MainLayout;