summaryrefslogtreecommitdiff
path: root/client/src/pages/Enrollment/FormTwo/FormTwo.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/pages/Enrollment/FormTwo/FormTwo.jsx')
-rw-r--r--client/src/pages/Enrollment/FormTwo/FormTwo.jsx15
1 files changed, 13 insertions, 2 deletions
diff --git a/client/src/pages/Enrollment/FormTwo/FormTwo.jsx b/client/src/pages/Enrollment/FormTwo/FormTwo.jsx
index e7c8ae1..e245666 100644
--- a/client/src/pages/Enrollment/FormTwo/FormTwo.jsx
+++ b/client/src/pages/Enrollment/FormTwo/FormTwo.jsx
@@ -6,21 +6,32 @@ import { userContext } from '../../../context/User'
import styles from './FormTwo.module.css'
import PopUpModal from '../../../components/Modal/Modal'
+import AudioAutoplay from '../../../components/AudioAutoplay/AudioAutoplay'
const FormTwo = () => {
const { t } = useTranslation()
const { userData, setUserData } = userContext()
- const description = ['ENTER_YOUR_10_DIGIT_MOBILE_NUMBER_WITHOUT_ANY_PREFIX_OR_COUNTRY_ID', 'ENTER_YOUR_EMAIL_ID']
+ const description = [
+ 'ENTER_YOUR_10_DIGIT_MOBILE_NUMBER_WITHOUT_ANY_PREFIX_OR_COUNTRY_ID',
+ 'ENTER_YOUR_EMAIL_ID'
+ ]
return (
<>
<Header subheading={t('ENROLLMENT')} />
+ <AudioAutoplay
+ audio={`${process.env.PUBLIC_URL}/assets/audios/mobile-and-email-id`}
+ />
<PopUpModal
title="FILL_YOUR_INFORMATION"
image={`${process.env.PUBLIC_URL}/assets/images/communication.svg`}
description={
<>
<ul>
- {description.map((item) => (<li className="list__item" key='id'>{t(item)}</li>))}
+ {description.map((item) => (
+ <li className="list__item" key="id">
+ {t(item)}
+ </li>
+ ))}
</ul>
</>
}