summaryrefslogtreecommitdiff
path: root/src/pages/DocumentScanner
diff options
context:
space:
mode:
authorrohan09-raj <[email protected]>2022-07-28 17:51:44 +0530
committerrohan09-raj <[email protected]>2022-07-28 17:51:44 +0530
commitffefbc1c2a382597c6d9f90977f8c907e26fbe2e (patch)
tree1ebc8d426c9e561430ce6fcebebb118def4208c2 /src/pages/DocumentScanner
parentff73539048908d8a24e347f2f9699cff95d8200c (diff)
Added components and some refactoring
Diffstat (limited to 'src/pages/DocumentScanner')
-rw-r--r--src/pages/DocumentScanner/DocumentScanner.jsx43
-rw-r--r--src/pages/DocumentScanner/DocumentScanner.module.css5
2 files changed, 0 insertions, 48 deletions
diff --git a/src/pages/DocumentScanner/DocumentScanner.jsx b/src/pages/DocumentScanner/DocumentScanner.jsx
deleted file mode 100644
index 2b757f4..0000000
--- a/src/pages/DocumentScanner/DocumentScanner.jsx
+++ /dev/null
@@ -1,43 +0,0 @@
-import React from 'react'
-import Header from '../../components/Header/Header'
-import CardScanner from '../../components/Card/CardScanner'
-import styles from './DocumentScanner.module.css'
-import { Button, Grid, Typography } from '@mui/material'
-import SubmitButton from '../../components/SubmitButton/SubmitButton'
-
-const DocumentScanner = () => {
- return (
- <><Header subheading="Enrollment" />
- <div className={styles.card__container}>
- <CardScanner
- image={`${process.env.PUBLIC_URL}/assets/images/document.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 place your document on the scanner.<br />
- Close the lid.<br />
- Wait for prompt to remove your document
- </Typography>
- </Grid>
- </div>
- <SubmitButton />
-
- </>
- )
-}
-
-export default DocumentScanner
diff --git a/src/pages/DocumentScanner/DocumentScanner.module.css b/src/pages/DocumentScanner/DocumentScanner.module.css
deleted file mode 100644
index ec59f61..0000000
--- a/src/pages/DocumentScanner/DocumentScanner.module.css
+++ /dev/null
@@ -1,5 +0,0 @@
-.card__container {
- display: flex;
- justify-content: center;
- }
- \ No newline at end of file