blob: 7f1fe049c13e75b444a8de19bb352522fd7b9c03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
import React from 'react'
import { useTranslation } from 'react-i18next'
import { Link } from 'react-router-dom'
import Card from '../../components/Card/Card'
import Header from '../../components/Header/Header'
import PopUpModal from '../../components/Modal/Modal'
import styles from './Home.module.css'
const Home = ({ page, setPage }) => {
const { t } = useTranslation()
return (
<>
<Header subheading={t('MERA_AADHAAR_MERI_PEHCHAN')} />
<PopUpModal title={t('FORM_ONE')} />
<div className={styles.card__container}>
<Link to="/enrollment">
<Card
title={t('ENROLLMENT')}
image={`${process.env.PUBLIC_URL}/assets/images/enrollment.svg`}
/>
</Link>
<Link to="/update">
<Card
title={t('UPDATE')}
image={`${process.env.PUBLIC_URL}/assets/images/update.svg`}
/>
</Link>
</div>
</>
)
}
export default Home
|