chore: auf Wiedersehen MUI, hallo Ant Design

This commit is contained in:
Maël Gangloff
2024-07-26 16:45:10 +02:00
parent a384140aa7
commit a15c1b2c2f
32 changed files with 923 additions and 1230 deletions

View File

@@ -1,38 +1,6 @@
import * as React from 'react';
import Box from '@mui/material/Box';
import Container from "@mui/material/Container";
import Footer from "../components/Footer";
import React from "react";
import snarkdown from "snarkdown"
interface Props {
content: string
}
export default function Index({content}: Props) {
return (
<Container
sx={{
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
gap: {xs: 4, sm: 8},
py: {xs: 8, sm: 10},
textAlign: {sm: 'center', md: 'left'},
}}
>
<Box
sx={{
display: 'flex',
justifyContent: 'space-between',
pt: {xs: 4, sm: 8},
width: '100%',
borderTop: '1px solid',
borderColor: 'divider',
}}
>
<div dangerouslySetInnerHTML={{__html: content}}></div>
</Box>
<Footer/>
</Container>
)
}
export default function TextPage({markdown}: { markdown: string }) {
return <div dangerouslySetInnerHTML={{__html: snarkdown(markdown)}}></div>
}