From 02936bcdabb5e2550b12fa94d435fdbcff348f71 Mon Sep 17 00:00:00 2001 From: rohan09-raj Date: Sun, 21 Aug 2022 20:05:34 +0530 Subject: added modal --- .../pages/Enrollment/PhotoCapture/PhotoCapture.jsx | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'client/src/pages/Enrollment/PhotoCapture/PhotoCapture.jsx') diff --git a/client/src/pages/Enrollment/PhotoCapture/PhotoCapture.jsx b/client/src/pages/Enrollment/PhotoCapture/PhotoCapture.jsx index 17fe3df..4e4a2b3 100644 --- a/client/src/pages/Enrollment/PhotoCapture/PhotoCapture.jsx +++ b/client/src/pages/Enrollment/PhotoCapture/PhotoCapture.jsx @@ -8,6 +8,7 @@ import styles from './PhotoCapture.module.css' import { Button, Grid, Typography } from '@mui/material' import { t } from 'i18next' import { userContext } from '../../../context/User' +import PopUpModal from '../../../components/Modal/Modal' const PhotoCapture = () => { const navigate = useNavigate() @@ -22,6 +23,26 @@ const PhotoCapture = () => { return ( <>
+ +
    +
  • + Ensure that your photo is clear and in focus +
  • +
  • + Also, ensure that you are in the center of your photo +
  • +
  • + You won't be able to proceed until you have captured a + clear and centered photo +
  • +
+ + } + />
{!userData.photo ? (