diff options
author | Rohan Raj Gupta <[email protected]> | 2022-08-14 00:23:57 +0530 |
---|---|---|
committer | GitHub <[email protected]> | 2022-08-14 00:23:57 +0530 |
commit | 67b2e265a1731e1ad91491563eab66061013c1a4 (patch) | |
tree | 3419d20f735c0889bfcc19f3dbc898576624b1cc /client/src/pages/Update/Update.jsx | |
parent | 4e99bfe1878620769d48532b182692e51c7266ef (diff) | |
parent | ec423572aaf8ecf80a409fd9a03d73b5d31e444f (diff) |
Merge pull request #4 from Blaster4385/develop
Implemented update UI
Diffstat (limited to 'client/src/pages/Update/Update.jsx')
-rw-r--r-- | client/src/pages/Update/Update.jsx | 51 |
1 files changed, 50 insertions, 1 deletions
diff --git a/client/src/pages/Update/Update.jsx b/client/src/pages/Update/Update.jsx index 0b448cf..69b9224 100644 --- a/client/src/pages/Update/Update.jsx +++ b/client/src/pages/Update/Update.jsx @@ -1,7 +1,56 @@ import React from 'react' +import { useNavigate } from 'react-router-dom' +import Header from '../../components/Header/Header' +import styles from './Update.module.css' +import Input from '../../components/Input/Input' +import { Grid, Button } from '@mui/material' const Update = () => { - return <div>Update</div> + const navigate = useNavigate() + return ( + <><Header + subheading='Update' /> + <div className={styles.subheading__container}> + <h3 className={styles.subheading}> Provide Aadhaar Number (UID): </h3> + <Input + type="text" + id="aadhaarNumber" + placeholder="Enter your Aadhaar Number" /> + <Grid container columnSpacing={10} justifyContent="center"> + <Grid item> + <Button + color="primary" + size="large" + type="submit" + variant="contained" + > + Send OTP + </Button> + </Grid> + </Grid> + </div> + <div className={styles.subheading__container}> + <h3 className={styles.subheading}> Enter OTP </h3> + <Input + type="text" + id="aadhaarNumber" + placeholder="Enter One Time Password" /> + <Grid container columnSpacing={10} justifyContent="center"> + <Grid item> + <Button + color="primary" + size="large" + type="submit" + variant="contained" + onClick={() => navigate('/update/select-update')} + > + Verify OTP + </Button> + </Grid> + </Grid> + </div> + </> + ) } export default Update |