Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/app/[locale]/account/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ function AccountLayoutContent({
maxWidth='xl'
sx={{
mx: 'auto',
my: { xs: 3, md: 5 },
px: { xs: 2, sm: 3, md: 4 },
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
Expand Down
19 changes: 15 additions & 4 deletions src/app/[locale]/complete-registration/CompleteRegistration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
Checkbox,
CssBaseline,
FormControlLabel,
Paper,
} from '@mui/material';
import { useAppDispatch, useRegistrationFlowRedirect } from '../../hooks';
import { refreshUserInformation } from '../../store/profile-reducer';
Expand Down Expand Up @@ -101,14 +102,23 @@ export default function CompleteRegistration(): React.ReactElement {
});

return (
<Container component='main' maxWidth='sm'>
<Container component='main' maxWidth='sm' sx={{ my: { xs: 4, sm: 6 } }}>
<CssBaseline />
<Box
<Paper
elevation={0}
variant='outlined'
sx={{
display: 'flex',
flexDirection: 'column',
p: { xs: 3, sm: 4 },
borderRadius: 2,
backgroundColor: 'background.paper',
}}
>
<Box
sx={{
display: 'flex',
flexDirection: 'column',
}}
>
<Typography
component='h1'
variant='h5'
Expand Down Expand Up @@ -218,6 +228,7 @@ export default function CompleteRegistration(): React.ReactElement {
</Alert>
) : null}
</Box>
</Paper>
</Container>
);
}
19 changes: 15 additions & 4 deletions src/app/[locale]/sign-in/SignIn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import {
Divider,
IconButton,
InputAdornment,
Paper,
Snackbar,
Tooltip,
useTheme,
Expand Down Expand Up @@ -124,7 +125,7 @@ export default function SignIn(): React.ReactElement {
};

return (
<Container component='main' maxWidth='xs'>
<Container component='main' maxWidth='sm' sx={{ my: { xs: 4, sm: 6 } }}>
<Backdrop
open={isLoading}
sx={{ zIndex: (theme) => theme.zIndex.drawer + 1 }}
Expand All @@ -150,12 +151,21 @@ export default function SignIn(): React.ReactElement {
</Alert>
</Snackbar>
<CssBaseline />
<Box
<Paper
elevation={0}
variant='outlined'
sx={{
display: 'flex',
flexDirection: 'column',
p: { xs: 3, sm: 4 },
borderRadius: 2,
backgroundColor: 'background.paper',
}}
>
<Box
sx={{
display: 'flex',
flexDirection: 'column',
}}
>
<Typography
component='h1'
variant='h5'
Expand Down Expand Up @@ -320,6 +330,7 @@ export default function SignIn(): React.ReactElement {
Sign in With Apple
</Button>
</Box>
</Paper>
</Container>
);
}
19 changes: 15 additions & 4 deletions src/app/[locale]/sign-up/SignUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import {
Alert,
IconButton,
InputAdornment,
Paper,
Snackbar,
Tooltip,
} from '@mui/material';
Expand Down Expand Up @@ -145,7 +146,7 @@ export default function SignUp(): React.ReactElement {
};

return (
<Container component='main' maxWidth='xs'>
<Container component='main' maxWidth='sm' sx={{ my: { xs: 4, sm: 6 } }}>
<Snackbar
open={showNoEmailSnackbar}
anchorOrigin={{ vertical: 'top', horizontal: 'center' }}
Expand All @@ -164,12 +165,21 @@ export default function SignUp(): React.ReactElement {
</Alert>
</Snackbar>
<CssBaseline />
<Box
<Paper
elevation={0}
variant='outlined'
sx={{
display: 'flex',
flexDirection: 'column',
p: { xs: 3, sm: 4 },
borderRadius: 2,
backgroundColor: 'background.paper',
}}
>
<Box
sx={{
display: 'flex',
flexDirection: 'column',
}}
>
<Typography
component='h1'
variant='h5'
Expand Down Expand Up @@ -401,6 +411,7 @@ export default function SignUp(): React.ReactElement {
Sign Up With Apple
</Button>
</Box>
</Paper>
</Container>
);
}
22 changes: 15 additions & 7 deletions src/app/[locale]/verify-email/PostRegistration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Box from '@mui/material/Box';
import Container from '@mui/material/Container';
import Typography from '@mui/material/Typography';
import { EmailOutlined, InfoOutlined, Sync } from '@mui/icons-material';
import { Alert, Button } from '@mui/material';
import { Alert, Button, Paper } from '@mui/material';
import { useDispatch, useSelector } from 'react-redux';
import { emailVerified, verifyEmail } from '../../store/profile-reducer';
import {
Expand Down Expand Up @@ -53,15 +53,22 @@ export default function PostRegistration(): React.ReactElement {
}, []);

return (
<Container component='main' maxWidth='sm'>
<Box
<Container component='main' maxWidth='sm' sx={{ my: { xs: 4, sm: 6 } }}>
<Paper
elevation={0}
variant='outlined'
sx={{
ml: 2,
mr: 2,
display: 'flex',
flexDirection: 'column',
p: { xs: 3, sm: 4 },
borderRadius: 2,
backgroundColor: 'background.paper',
}}
>
<Box
sx={{
display: 'flex',
flexDirection: 'column',
}}
>
<Typography
component='h1'
variant='h5'
Expand Down Expand Up @@ -106,6 +113,7 @@ export default function PostRegistration(): React.ReactElement {
verified.
</Box>
</Box>
</Paper>
</Container>
);
}