summaryrefslogtreecommitdiff
path: root/client/src/pages/Update/DocumentScanner/DocumentScanner.jsx
diff options
context:
space:
mode:
authorBlaster4385 <[email protected]>2022-08-13 21:40:17 +0530
committerBlaster4385 <[email protected]>2022-08-13 21:41:37 +0530
commitec423572aaf8ecf80a409fd9a03d73b5d31e444f (patch)
tree8c333eac18de5dea8be9c863a0fc8abd3d0bafff /client/src/pages/Update/DocumentScanner/DocumentScanner.jsx
parent3673947d4905948de2e466a813019b1de9629bd2 (diff)
Implemented update UI
Diffstat (limited to 'client/src/pages/Update/DocumentScanner/DocumentScanner.jsx')
-rw-r--r--client/src/pages/Update/DocumentScanner/DocumentScanner.jsx56
1 files changed, 56 insertions, 0 deletions
diff --git a/client/src/pages/Update/DocumentScanner/DocumentScanner.jsx b/client/src/pages/Update/DocumentScanner/DocumentScanner.jsx
new file mode 100644
index 0000000..f200497
--- /dev/null
+++ b/client/src/pages/Update/DocumentScanner/DocumentScanner.jsx
@@ -0,0 +1,56 @@
+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="Update" />
+ <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