Migrate to yarn berry and fix all workspace errors
This commit is contained in:
32
frontend/pages/home/HelpModal.js
Normal file
32
frontend/pages/home/HelpModal.js
Normal file
@@ -0,0 +1,32 @@
|
||||
import { Dialog, DialogTitle, Box, Typography } from '@mui/material'
|
||||
import { useTranslation } from 'next-i18next'
|
||||
|
||||
export default function HelpModal ({ open, onClose }) {
|
||||
const { t } = useTranslation('home')
|
||||
|
||||
return (
|
||||
<Dialog
|
||||
open={open}
|
||||
onClose={onClose}
|
||||
>
|
||||
<DialogTitle>
|
||||
{t('help_header')}
|
||||
</DialogTitle>
|
||||
<Box
|
||||
sx={{
|
||||
p: 3
|
||||
}}
|
||||
>
|
||||
<Typography gutterBottom>
|
||||
{t('help_body_1')}
|
||||
</Typography>
|
||||
<Typography gutterBottom>
|
||||
{t('help_body_2')}
|
||||
</Typography>
|
||||
<Typography gutterBottom>
|
||||
{t('help_body_3')}
|
||||
</Typography>
|
||||
</Box>
|
||||
</Dialog>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user