Skip to content

Instantly share code, notes, and snippets.


KennedyIhe/home.js Secret

Created Apr 28, 2020
What would you like to do?
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')}>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment