27 lines
754 B
TypeScript
27 lines
754 B
TypeScript
|
|
import CssBaseline from '@mui/material/CssBaseline';
|
||
|
|
import Container from '@mui/material/Container';
|
||
|
|
import AppTheme from '../shared-theme/AppTheme';
|
||
|
|
import AppAppBar from './components/AppAppBar';
|
||
|
|
import MainContent from './components/MainContent';
|
||
|
|
import Latest from './components/Latest';
|
||
|
|
import Footer from './components/Footer';
|
||
|
|
|
||
|
|
export default function Blog(props: { disableCustomTheme?: boolean }) {
|
||
|
|
return (
|
||
|
|
<AppTheme {...props}>
|
||
|
|
<CssBaseline enableColorScheme />
|
||
|
|
|
||
|
|
<AppAppBar />
|
||
|
|
<Container
|
||
|
|
maxWidth="lg"
|
||
|
|
component="main"
|
||
|
|
sx={{ display: 'flex', flexDirection: 'column', my: 16, gap: 4 }}
|
||
|
|
>
|
||
|
|
<MainContent />
|
||
|
|
<Latest />
|
||
|
|
</Container>
|
||
|
|
<Footer />
|
||
|
|
</AppTheme>
|
||
|
|
);
|
||
|
|
}
|