From ea69028b911bb28d6c3f6f9f9b50d1c18bee55da Mon Sep 17 00:00:00 2001 From: rohan09-raj Date: Thu, 25 Aug 2022 23:03:58 +0530 Subject: fixed conflicts --- client/src/pages/Enrollment/Address/Address.jsx | 16 ++++++++++++++-- client/src/pages/Enrollment/Agreement/Agreement.jsx | 21 ++++++++++++++++++--- .../Enrollment/DocumentScanner/DocumentScanner.jsx | 8 +++++++- client/src/pages/Enrollment/FinalSlip/FinalSlip.jsx | 4 ++++ .../pages/Enrollment/Fingerprint/Fingerprint.jsx | 4 ++++ client/src/pages/Enrollment/FormOne/FormOne.jsx | 4 +++- client/src/pages/Enrollment/FormTwo/FormTwo.jsx | 15 +++++++++++++-- client/src/pages/Enrollment/IrisScan/IrisScan.jsx | 2 ++ .../pages/Enrollment/PhotoCapture/PhotoCapture.jsx | 16 ++++++++++++++-- 9 files changed, 79 insertions(+), 11 deletions(-) (limited to 'client/src/pages/Enrollment') diff --git a/client/src/pages/Enrollment/Address/Address.jsx b/client/src/pages/Enrollment/Address/Address.jsx index cb2db5a..194b66b 100644 --- a/client/src/pages/Enrollment/Address/Address.jsx +++ b/client/src/pages/Enrollment/Address/Address.jsx @@ -6,6 +6,7 @@ import Select from 'react-select' import { userContext } from '../../../context/User' import { useTranslation } from 'react-i18next' import PopUpModal from '../../../components/Modal/Modal' +import AudioAutoplay from '../../../components/AudioAutoplay/AudioAutoplay' import styles from './Address.module.css' @@ -46,18 +47,29 @@ const Address = () => { }) } - const description = ['ENTER_YOUR_DETAILS_ACCORDING_TO_THE_RELEVANT_FIELDS', 'SELECT_THE_STATE_YOU_BELONG_TO_FROM_THE_DROPDOWN_LIST', 'SELECT_THE_DISTRICT_YOU_BELONG_TO_FROM_THE_DROPDOWN_LIST'] + const description = [ + 'ENTER_YOUR_DETAILS_ACCORDING_TO_THE_RELEVANT_FIELDS', + 'SELECT_THE_STATE_YOU_BELONG_TO_FROM_THE_DROPDOWN_LIST', + 'SELECT_THE_DISTRICT_YOU_BELONG_TO_FROM_THE_DROPDOWN_LIST' + ] return ( <>
+
    - {description.map((item) => (
  • {t(item)}
  • ))} + {description.map((item) => ( +
  • + {t(item)} +
  • + ))}
} diff --git a/client/src/pages/Enrollment/Agreement/Agreement.jsx b/client/src/pages/Enrollment/Agreement/Agreement.jsx index 704b0d5..69fc9c2 100644 --- a/client/src/pages/Enrollment/Agreement/Agreement.jsx +++ b/client/src/pages/Enrollment/Agreement/Agreement.jsx @@ -11,6 +11,7 @@ import { useMutation } from 'react-query' import { ToastContainer, toast } from 'react-toastify' import PopUpModal from '../../../components/Modal/Modal' import 'react-toastify/dist/ReactToastify.css' +import AudioAutoplay from '../../../components/AudioAutoplay/AudioAutoplay' const Agreement = ({ unverified, setUnverified }) => { const { t } = useTranslation() @@ -46,7 +47,12 @@ const Agreement = ({ unverified, setUnverified }) => { }, 30000) } - const description = ['CLICK_ON_SEND_OTP', 'YOU_WILL_RECIEVE_AN_OTP_ON_YOUR_MOBILE_NUMBER', 'YOU_CAN_RESEND_THE_OTP_AFTER_30_SECONDS_IF_YOU_HAVENT_RECEIVED_IT_YET', 'CLICK_ON_VERIFY_OTP_TO_VERIFY_YOUR_MOBILE_NUMBER'] + const description = [ + 'CLICK_ON_SEND_OTP', + 'YOU_WILL_RECIEVE_AN_OTP_ON_YOUR_MOBILE_NUMBER', + 'YOU_CAN_RESEND_THE_OTP_AFTER_30_SECONDS_IF_YOU_HAVENT_RECEIVED_IT_YET', + 'CLICK_ON_VERIFY_OTP_TO_VERIFY_YOUR_MOBILE_NUMBER' + ] return ( <> @@ -56,13 +62,20 @@ const Agreement = ({ unverified, setUnverified }) => { theme={'colored'} />
+
    - {description.map((item) => (
  • {t(item)}
  • ))} + {description.map((item) => ( +
  • + {t(item)} +
  • + ))}
} @@ -73,7 +86,9 @@ const Agreement = ({ unverified, setUnverified }) => { />
- {t('PLEASE_VERIFY_YOUR_IDENTITY')} + + {t('PLEASE_VERIFY_YOUR_IDENTITY')} +