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';
|
2018-10-22 10:16:15 -07:00
|
|
|
import HeaderDetails from 'components/HeaderDetails';
|
2019-02-26 12:58:25 -08:00
|
|
|
import Intro from './Intro';
|
|
|
|
import Requests from './Requests';
|
|
|
|
import Guide from './Guide';
|
|
|
|
import Actions from './Actions';
|
2019-11-07 19:58:55 -08:00
|
|
|
import Latest from './Latest';
|
2018-10-03 19:42:20 -07:00
|
|
|
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 (
|
2018-10-03 19:42:20 -07:00
|
|
|
<div className="Home">
|
2018-11-04 10:26:34 -08:00
|
|
|
<HeaderDetails title={t('home.title')} description={t('home.description')} />
|
2019-02-26 12:58:25 -08:00
|
|
|
<Intro />
|
2019-11-07 19:58:55 -08:00
|
|
|
<Latest />
|
2019-02-26 12:58:25 -08:00
|
|
|
<Requests />
|
|
|
|
<Guide />
|
|
|
|
<Actions />
|
2018-10-03 19:42:20 -07:00
|
|
|
</div>
|
2018-09-10 09:55:26 -07:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
2018-11-04 10:26:34 -08:00
|
|
|
|
|
|
|
export default withNamespaces()(Home);
|