bg changed

This commit is contained in:
AmitChauhan63390
2024-11-16 16:13:54 +05:30
parent 4f08bfac9d
commit 069bcadccd
2 changed files with 10 additions and 5 deletions

View File

@@ -59,16 +59,17 @@ const Login = () => {
flexDirection: 'column', flexDirection: 'column',
alignItems: 'center', alignItems: 'center',
justifyContent: 'center', justifyContent: 'center',
backgroundColor: '#f5f5f5',
height: "calc(100vh - 64px)", height: "calc(100vh - 64px)",
}} }}
> >
<Typography variant="h4" gutterBottom> <Box component="form" onSubmit={submitForm} sx={{ textAlign: 'center',maxWidth: 400, width: '100%', backgroundColor: '#fff', padding: 3, borderRadius: 4,boxShadow: '0px 2px 4px rgba(0, 0, 0, 0.1)', display: 'flex', flexDirection: 'column' }}>
<Typography variant="h4" gutterBottom color={"#ff00c3"}>
Welcome Back! Welcome Back!
</Typography> </Typography>
<Box component="form" onSubmit={submitForm} sx={{ maxWidth: 400, width: '100%' }}>
<TextField <TextField
fullWidth fullWidth
label="Email" label="Email"

View File

@@ -57,15 +57,18 @@ const Register = () => {
flexDirection: 'column', flexDirection: 'column',
alignItems: 'center', alignItems: 'center',
justifyContent: 'center', justifyContent: 'center',
height: "calc(100vh - 64px)", height: "calc(100vh - 64px)",
backgroundColor: '#f5f5f5',
}} }}
> >
<Typography variant="h4" gutterBottom>
<Box component="form" onSubmit={submitForm} sx={{ textAlign: 'center',maxWidth: 400, width: '100%', backgroundColor: '#fff', padding: 3, borderRadius: 4,boxShadow: '0px 2px 4px rgba(0, 0, 0, 0.1)', display: 'flex', flexDirection: 'column' }}>
<Typography variant="h4" gutterBottom color={'#ff00c3'}>
Create an account Create an account
</Typography> </Typography>
<Box component="form" onSubmit={submitForm} sx={{ maxWidth: 400, width: '100%' }}>
<TextField <TextField
margin="normal" margin="normal"
required required
@@ -113,7 +116,8 @@ const Register = () => {
</Link> </Link>
</Typography> </Typography>
</Box> </Box>
</Box> </Box>
); );
}; };