zcash-grant-system/frontend/client/components/Home/index.tsx

26 lines
662 B
TypeScript
Raw Normal View History

2018-09-10 09:55:26 -07:00
import React from 'react';
2018-11-04 10:26:34 -08:00
import { withNamespaces, WithNamespaces } from 'react-i18next';
import HeaderDetails from 'components/HeaderDetails';
import Intro from './Intro';
import Requests from './Requests';
import Guide from './Guide';
import Actions from './Actions';
import './style.less';
2018-09-10 09:55:26 -07:00
2018-11-04 10:26:34 -08:00
class Home extends React.Component<WithNamespaces> {
2018-09-10 09:55:26 -07:00
render() {
2018-11-04 10:26:34 -08:00
const { t } = this.props;
2018-09-10 09:55:26 -07:00
return (
<div className="Home">
2018-11-04 10:26:34 -08:00
<HeaderDetails title={t('home.title')} description={t('home.description')} />
<Intro />
<Requests />
<Guide />
<Actions />
</div>
2018-09-10 09:55:26 -07:00
);
}
}
2018-11-04 10:26:34 -08:00
export default withNamespaces()(Home);