2017-07-06 14:03:20 +02:00
|
|
|
/*
|
|
|
|
|
*
|
|
|
|
|
* Home
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import React from 'react';
|
|
|
|
|
import { connect } from 'react-redux';
|
|
|
|
|
import Helmet from 'react-helmet';
|
2017-07-06 15:34:21 +02:00
|
|
|
import PluginLeftMenu from 'components/PluginLeftMenu';
|
2017-07-06 14:03:20 +02:00
|
|
|
import selectHome from './selectors';
|
|
|
|
|
import styles from './styles.scss';
|
|
|
|
|
|
|
|
|
|
export class Home extends React.Component { // eslint-disable-line react/prefer-stateless-function
|
2017-07-06 16:18:43 +02:00
|
|
|
// constructor(props) {
|
|
|
|
|
// super(props);
|
|
|
|
|
// // this.leftMenuItems = [
|
|
|
|
|
// // {
|
|
|
|
|
// // header: 'global settings',
|
|
|
|
|
// // items: [
|
|
|
|
|
// // general, 'languages', 'advanced'],
|
|
|
|
|
// // }
|
|
|
|
|
// // ]
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
2017-07-06 14:03:20 +02:00
|
|
|
render() {
|
2017-07-06 16:18:43 +02:00
|
|
|
|
2017-07-06 14:03:20 +02:00
|
|
|
return (
|
|
|
|
|
<div className={styles.home}>
|
2017-07-06 16:18:43 +02:00
|
|
|
<div className={styles.baseline}></div>
|
|
|
|
|
<Helmet
|
|
|
|
|
title="Home"
|
|
|
|
|
meta={[
|
|
|
|
|
{ name: 'description', content: 'Description of Home' },
|
|
|
|
|
]}
|
|
|
|
|
/>
|
2017-07-06 15:34:21 +02:00
|
|
|
<div className="container-fluid">
|
|
|
|
|
<div className="row">
|
2017-07-06 16:18:43 +02:00
|
|
|
<PluginLeftMenu />
|
|
|
|
|
<div className="col-md-9">
|
|
|
|
|
f
|
2017-07-06 15:34:21 +02:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2017-07-06 14:03:20 +02:00
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const mapStateToProps = selectHome();
|
|
|
|
|
|
|
|
|
|
function mapDispatchToProps(dispatch) {
|
|
|
|
|
return {
|
|
|
|
|
dispatch,
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default connect(mapStateToProps, mapDispatchToProps)(Home);
|