From dac079cd6c5693ee3a75611fe20b691ad30ed7ea Mon Sep 17 00:00:00 2001 From: rohan09-raj Date: Thu, 25 Aug 2022 16:22:34 +0530 Subject: font changes --- client/src/pages/Home/Home.jsx | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'client/src/pages') diff --git a/client/src/pages/Home/Home.jsx b/client/src/pages/Home/Home.jsx index 9771877..9370c9f 100644 --- a/client/src/pages/Home/Home.jsx +++ b/client/src/pages/Home/Home.jsx @@ -1,6 +1,6 @@ import React from 'react' import { useTranslation } from 'react-i18next' -import { Link } from 'react-router-dom' +import { useNavigate } from 'react-router-dom' import Card from '../../components/Card/Card' import Header from '../../components/Header/Header' import ExtendedPopUpModal from '../../components/Modal/ExtendedModal' @@ -8,6 +8,8 @@ import styles from './Home.module.css' const Home = ({ page, setPage }) => { const { t } = useTranslation() + const navigate = useNavigate() + return ( <>
@@ -21,24 +23,22 @@ const Home = ({ page, setPage }) => { image3={`${process.env.PUBLIC_URL}/assets/images/status.svg`} />
- - - - - - - - - + navigate('/enrollment')} + title={t('ENROLLMENT')} + image={`${process.env.PUBLIC_URL}/assets/images/enrollment.svg`} + /> + + navigate('/update')} + title={t('UPDATE')} + image={`${process.env.PUBLIC_URL}/assets/images/update.svg`} + /> + navigate('/status')} + title={t('CHECK_STATUS')} + image={`${process.env.PUBLIC_URL}/assets/images/status.svg`} + />
) -- cgit