update login dan password

This commit is contained in:
2024-06-27 14:43:01 +07:00
parent 32a45814b8
commit 4ceaf41a7d
5 changed files with 189 additions and 74 deletions

View File

@@ -97,7 +97,7 @@ export default function Login() {
</video>
</Grid>
<Grid item xs={6} sx={{ padding: 3 }}>
{loginOrVerifyCode && emailOrPhone ? (
{/* {loginOrVerifyCode && emailOrPhone ? (
<>
<Stack direction="column" sx={{ mb: 5 }}>
<Stack direction="row" alignItems="center">
@@ -138,7 +138,7 @@ export default function Login() {
>Kirim Ulang Kode OTP</Link>
</Stack>
</>
) : (
) : ( */}
<>
<Stack direction="row" alignItems="center" sx={{ mb: 5 }}>
<Logo sx={{ width: 90, height: 90 }} />
@@ -152,19 +152,16 @@ export default function Login() {
</Box>
</Stack>
{emailOrPhoneForm ? (
{/* {emailOrPhoneForm ? (
<LoginPhoneForm
setEmailOrPhone={setEmailOrPhone}
setLoginOrVerifyCode={setLoginOrVerifyCode}
/>
) : (
<LoginEmailForm
setEmailOrPhone={setEmailOrPhone}
setLoginOrVerifyCode={setLoginOrVerifyCode}
/>
)}
) : ( */}
<LoginEmailForm/>
{/* )} */}
</>
)}
{/* )} */}
{/* <Divider sx={{ marginTop: 5 }}>Atau</Divider>