diff options
author | Rohan Raj Gupta <[email protected]> | 2022-08-02 12:58:05 +0530 |
---|---|---|
committer | GitHub <[email protected]> | 2022-08-02 12:58:05 +0530 |
commit | 9e381861ad817106b7ae74b1976e016fd538ac0a (patch) | |
tree | ce04b0994c171e9f1c939dd91aa2f05d2c03a9f7 /client/src/pages/Enrollment | |
parent | 5f8f6f98c2c47ca878aadb893b0d64a0c66316aa (diff) | |
parent | 905dc038ca2e4bbb315c4c583c94a96948e68fa9 (diff) |
Merge pull request #2 from Blaster4385/develop
Add remaining pages
Diffstat (limited to 'client/src/pages/Enrollment')
8 files changed, 210 insertions, 0 deletions
diff --git a/client/src/pages/Enrollment/Agreement/Agreement.jsx b/client/src/pages/Enrollment/Agreement/Agreement.jsx new file mode 100644 index 0000000..94303d5 --- /dev/null +++ b/client/src/pages/Enrollment/Agreement/Agreement.jsx @@ -0,0 +1,49 @@ +import React from 'react' +import Header from '../../../components/Header/Header' +import CardAgreement from '../../../components/Card/CardAgreement' +import styles from './Agreement.module.css' +import Input from '../../../components/Input/Input' +import { Grid, Button } from '@mui/material' + +const Agreement = () => { + return ( + <> + <Header subheading="Enrollment" /> + <div className={styles.card__container}> + <CardAgreement + image={`${process.env.PUBLIC_URL}/assets/images/agreement.svg`} + /> + </div> + <Input + type="text" + id="otp" + label="Please verify your identity by receiving the OTP on your registered mobile number xxxxxxxx15" + placeholder="XXXX" + /> + <Grid container columnSpacing={10} justifyContent="center"> + <Grid item> + <Button + color="primary" + size="large" + type="submit" + variant="contained" + > + Send OTP + </Button> + </Grid> + <Grid item> + <Button + color="primary" + size="large" + type="submit" + variant="contained" + > + Resend + </Button> + </Grid> + </Grid> + </> + ) +} + +export default Agreement diff --git a/client/src/pages/Enrollment/Agreement/Agreement.module.css b/client/src/pages/Enrollment/Agreement/Agreement.module.css new file mode 100644 index 0000000..c618a4d --- /dev/null +++ b/client/src/pages/Enrollment/Agreement/Agreement.module.css @@ -0,0 +1,4 @@ +.card__container { + display: flex; + justify-content: center; + }
\ No newline at end of file diff --git a/client/src/pages/Enrollment/FinalSlip/FinalSlip.jsx b/client/src/pages/Enrollment/FinalSlip/FinalSlip.jsx new file mode 100644 index 0000000..9ac568a --- /dev/null +++ b/client/src/pages/Enrollment/FinalSlip/FinalSlip.jsx @@ -0,0 +1,28 @@ +import React from 'react' +import Header from '../../../components/Header/Header' +import CardScanner from '../../../components/Card/CardScanner' +import styles from './FinalSlip.module.css' +import { Grid, Typography } from '@mui/material' + +const FinalSlip = () => { + return ( + <> + <Header subheading="Enrollment" /> + <div className={styles.card__container}> + <CardScanner + image={`${process.env.PUBLIC_URL}/assets/images/slip.svg`} + /> + </div> + <div> + <Grid container justifyContent="center"> + <Typography align="center" fontWeight={'Bold'}> + Thank you for your time.<br /> + Please collect your slip before leaving + </Typography> + </Grid> + </div> + </> + ) +} + +export default FinalSlip diff --git a/client/src/pages/Enrollment/FinalSlip/FinalSlip.module.css b/client/src/pages/Enrollment/FinalSlip/FinalSlip.module.css new file mode 100644 index 0000000..ec59f61 --- /dev/null +++ b/client/src/pages/Enrollment/FinalSlip/FinalSlip.module.css @@ -0,0 +1,5 @@ +.card__container { + display: flex; + justify-content: center; + } +
\ No newline at end of file diff --git a/client/src/pages/Enrollment/Fingerprint/Fingerprint.jsx b/client/src/pages/Enrollment/Fingerprint/Fingerprint.jsx new file mode 100644 index 0000000..bb46556 --- /dev/null +++ b/client/src/pages/Enrollment/Fingerprint/Fingerprint.jsx @@ -0,0 +1,57 @@ +import React from 'react' +import Header from '../../../components/Header/Header' +import CardBiometrics from '../../../components/Card/CardBiometrics' +import styles from './Fingerprint.module.css' +import { Button, Grid, Typography } from '@mui/material' +import SubmitButton from '../../../components/SubmitButton/SubmitButton' + +const Fingerprint = () => { + return ( + <> + <Header subheading="Enrollment" /> + <div className={styles.card__container}> + <CardBiometrics + image={`${process.env.PUBLIC_URL}/assets/images/fingerprint.svg`} + /> + <CardBiometrics + image={`${process.env.PUBLIC_URL}/assets/images/fingerprint.svg`} + /> + </div> + <Grid container columnSpacing={10} justifyContent="center"> + <Grid item> + <Button + color="primary" + size="large" + type="submit" + variant="contained" + > + Scan + </Button> + </Grid> + <Grid item> + <Button + color="primary" + size="large" + type="submit" + variant="contained" + > + Reset + </Button> + </Grid> + </Grid> + <br></br> + <div> + <Grid container justifyContent="center"> + <Typography align="center"> + Please put your eyes inside the iris scanner. + <br /> + Wait for prompt and beep sound to remove your eyes + </Typography> + </Grid> + </div> + <SubmitButton /> + </> + ) +} + +export default Fingerprint diff --git a/client/src/pages/Enrollment/Fingerprint/Fingerprint.module.css b/client/src/pages/Enrollment/Fingerprint/Fingerprint.module.css new file mode 100644 index 0000000..ec59f61 --- /dev/null +++ b/client/src/pages/Enrollment/Fingerprint/Fingerprint.module.css @@ -0,0 +1,5 @@ +.card__container { + display: flex; + justify-content: center; + } +
\ No newline at end of file diff --git a/client/src/pages/Enrollment/IrisScan/IrisScan.jsx b/client/src/pages/Enrollment/IrisScan/IrisScan.jsx new file mode 100644 index 0000000..c07e9b8 --- /dev/null +++ b/client/src/pages/Enrollment/IrisScan/IrisScan.jsx @@ -0,0 +1,57 @@ +import React from 'react' +import Header from '../../../components/Header/Header' +import CardBiometrics from '../../../components/Card/CardBiometrics' +import styles from './IrisScan.module.css' +import { Button, Grid, Typography } from '@mui/material' +import SubmitButton from '../../../components/SubmitButton/SubmitButton' + +const IrisScan = () => { + return ( + <> + <Header subheading="Enrollment" /> + <div className={styles.card__container}> + <CardBiometrics + image={`${process.env.PUBLIC_URL}/assets/images/iris.svg`} + /> + <CardBiometrics + image={`${process.env.PUBLIC_URL}/assets/images/iris.svg`} + /> + </div> + <Grid container columnSpacing={10} justifyContent="center"> + <Grid item> + <Button + color="primary" + size="large" + type="submit" + variant="contained" + > + Scan + </Button> + </Grid> + <Grid item> + <Button + color="primary" + size="large" + type="submit" + variant="contained" + > + Reset + </Button> + </Grid> + </Grid> + <br></br> + <div> + <Grid container justifyContent="center"> + <Typography align="center"> + Please put your eyes inside the iris scanner. + <br /> + Wait for prompt and beep sound to remove your eyes + </Typography> + </Grid> + </div> + <SubmitButton /> + </> + ) +} + +export default IrisScan diff --git a/client/src/pages/Enrollment/IrisScan/IrisScan.module.css b/client/src/pages/Enrollment/IrisScan/IrisScan.module.css new file mode 100644 index 0000000..ec59f61 --- /dev/null +++ b/client/src/pages/Enrollment/IrisScan/IrisScan.module.css @@ -0,0 +1,5 @@ +.card__container { + display: flex; + justify-content: center; + } +
\ No newline at end of file |