2017-05-16 13:34:00 +02:00
|
|
|
import React from 'react'
|
|
|
|
import Sidebar from 'components/sidebar'
|
|
|
|
|
|
|
|
import ErrorsPage from 'components/errors/page'
|
|
|
|
import Config from 'components/config/view'
|
|
|
|
|
2018-10-08 15:16:50 +02:00
|
|
|
import Content from 'components/content'
|
|
|
|
|
2017-05-16 13:34:00 +02:00
|
|
|
export default class LayoutMain extends React.Component {
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<div className="page">
|
|
|
|
<ErrorsPage />
|
|
|
|
<Sidebar />
|
|
|
|
<div className="page-body">
|
|
|
|
<main className="page-content">
|
2018-10-08 15:16:50 +02:00
|
|
|
<div className="main-content-wrapper">
|
|
|
|
{this.props.children}
|
|
|
|
</div>
|
|
|
|
<footer className="page-footer">
|
|
|
|
<Content id="footer"></Content>
|
|
|
|
</footer>
|
2017-05-16 13:34:00 +02:00
|
|
|
</main>
|
|
|
|
</div>
|
|
|
|
<Config/>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|