fix/ styles and seperate the main file to different components

This commit is contained in:
2025-07-21 16:55:25 +03:30
committed by Koosha Lahouti
parent 31be893d0b
commit 20187c6cbc
8 changed files with 619 additions and 520 deletions

View File

@@ -0,0 +1,24 @@
import { Box, Button, Typography, Link } from '@mui/material';
import { useTranslation } from 'react-i18next';
export function SubmitSection() {
const { t } = useTranslation('completionForm');
return (
<Box sx={{ display: 'flex', gap: 2, px: 6, mb: '17px' }}>
<Typography variant="body2" sx={{ flex: 1 }}>
{t('completion.agreementPart1')}
<Link target="_blank" sx={{ color: '#2979FF' }}>
{t('completion.agreementLinkText')}
</Link>{' '}
{t('completion.agreementPart2')}
</Typography>
<Button
variant="contained"
sx={{ width: '247px', backgroundColor: '#2979FF' }}
>
{t('completion.registerButton')}
</Button>
</Box>
);
}