diff options
author | rohan09-raj <[email protected]> | 2022-07-28 17:56:15 +0530 |
---|---|---|
committer | rohan09-raj <[email protected]> | 2022-07-28 17:56:15 +0530 |
commit | 49be4dfc3d478ad02876c9238c48c513edac1e7c (patch) | |
tree | b79c0bd1c2cb1582df0d03e88e4d03d097e9f0a0 /client/src/pages/Home/Home.jsx | |
parent | ffefbc1c2a382597c6d9f90977f8c907e26fbe2e (diff) |
refactoring folder structure
Diffstat (limited to 'client/src/pages/Home/Home.jsx')
-rw-r--r-- | client/src/pages/Home/Home.jsx | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/client/src/pages/Home/Home.jsx b/client/src/pages/Home/Home.jsx new file mode 100644 index 0000000..b132f12 --- /dev/null +++ b/client/src/pages/Home/Home.jsx @@ -0,0 +1,30 @@ +import React from 'react' +import { Link } from 'react-router-dom' + +import Card from '../../components/Card/Card' +import Header from '../../components/Header/Header' +import styles from './Home.module.css' + +const Home = () => { + return ( + <> + <Header subheading="Mera Aadhaar Meri Pehchan" /> + <div className={styles.card__container}> + <Link to="/enrollment"> + <Card + title="Enrollment" + image={`${process.env.PUBLIC_URL}/assets/images/enrollment.svg`} + /> + </Link> + <Link to="/update"> + <Card + title="Update" + image={`${process.env.PUBLIC_URL}/assets/images/update.svg`} + /> + </Link> + </div> + </> + ) +} + +export default Home |