39 lines
1.0 KiB
TypeScript
Raw Normal View History

2024-07-23 18:37:59 +02:00
import * as React from 'react';
import Box from '@mui/material/Box';
import Container from "@mui/material/Container";
2024-07-25 02:09:49 +02:00
import Footer from "../components/Footer";
2024-07-23 18:37:59 +02:00
interface Props {
content: string
}
export default function Index({content}: Props) {
return (
2024-07-23 20:34:27 +02:00
<Container
sx={{
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
gap: {xs: 4, sm: 8},
py: {xs: 8, sm: 10},
textAlign: {sm: 'center', md: 'left'},
}}
>
<Box
2024-07-23 18:37:59 +02:00
sx={{
display: 'flex',
2024-07-23 20:34:27 +02:00
justifyContent: 'space-between',
pt: {xs: 4, sm: 8},
width: '100%',
borderTop: '1px solid',
borderColor: 'divider',
2024-07-23 18:37:59 +02:00
}}
>
2024-07-23 20:34:27 +02:00
<div dangerouslySetInnerHTML={{__html: content}}></div>
</Box>
2024-07-25 02:09:49 +02:00
<Footer/>
2024-07-23 20:34:27 +02:00
</Container>
2024-07-23 18:37:59 +02:00
)
}