-
-
Save KennedyIhe/5dc34c82d2ff3d4f89a4d0b0660ad9aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Home = (props) => { | |
const { t } = useTranslation(); | |
return ( | |
<div className="card"> | |
<div className="card-body"> | |
<h1 className="text-center mb-5">{t('pageHomeTitle')}</h1> | |
<p className="lead text-center mb-5">{t('pageHomeDesc')}</p> | |
<div className="m-5"> | |
<button type="button" | |
className="btn btn-success btn-block btn-lg" | |
onClick={() => props.history.push('/preform')}> | |
{t('pageHomeStartBtn')} | |
</button> | |
</div> | |
</div> | |
</div> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment