29 lines
765 B
JavaScript
29 lines
765 B
JavaScript
import ColumnsArea from './columns_area';
|
|
import Drawer from './drawer';
|
|
import ComposeFormContainer from '../containers/compose_form_container';
|
|
import FollowFormContainer from '../containers/follow_form_container';
|
|
import PureRenderMixin from 'react-addons-pure-render-mixin';
|
|
|
|
const Frontend = React.createClass({
|
|
|
|
mixins: [PureRenderMixin],
|
|
|
|
render () {
|
|
return (
|
|
<div style={{ flex: '0 0 auto', display: 'flex', width: '100%', height: '100%', background: '#1a1c23' }}>
|
|
<Drawer>
|
|
<div style={{ flex: '1 1 auto' }}>
|
|
<ComposeFormContainer />
|
|
</div>
|
|
|
|
<FollowFormContainer />
|
|
</Drawer>
|
|
|
|
<ColumnsArea />
|
|
</div>
|
|
);
|
|
}
|
|
|
|
});
|
|
|
|
export default Frontend;
|