diff options
author | rohan09-raj <[email protected]> | 2022-07-28 17:51:44 +0530 |
---|---|---|
committer | rohan09-raj <[email protected]> | 2022-07-28 17:51:44 +0530 |
commit | ffefbc1c2a382597c6d9f90977f8c907e26fbe2e (patch) | |
tree | 1ebc8d426c9e561430ce6fcebebb118def4208c2 /src/pages/PhotoCapture/PhotoCapture.jsx | |
parent | ff73539048908d8a24e347f2f9699cff95d8200c (diff) |
Added components and some refactoring
Diffstat (limited to 'src/pages/PhotoCapture/PhotoCapture.jsx')
-rw-r--r-- | src/pages/PhotoCapture/PhotoCapture.jsx | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/pages/PhotoCapture/PhotoCapture.jsx b/src/pages/PhotoCapture/PhotoCapture.jsx deleted file mode 100644 index c16b4d0..0000000 --- a/src/pages/PhotoCapture/PhotoCapture.jsx +++ /dev/null @@ -1,39 +0,0 @@ -import React from 'react' -import Header from '../../components/Header/Header' -import CardScanner from '../../components/Card/CardScanner' -import styles from './PhotoCapture.module.css' -import { Button, Grid, Typography } from '@mui/material' - -const PhotoCapture = () => { - return ( - <><Header subheading="Enrollment" /> - <div className={styles.card__container}> - <CardScanner - image={`${process.env.PUBLIC_URL}/assets/images/capture.svg`} /> - </div> - <Grid container columnSpacing={10} justifyContent="center"> - <Grid item> - <Button color="primary" size="large" type="submit" variant="contained"> - Capture - </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 look into the camera<br></br> - Click Capture to Capture the photo<br></br> - Click Reset the remove the captured photo</Typography> - </Grid> - </div> - - </> - ) -} - -export default PhotoCapture |