You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
765 B

  1. import ColumnsArea from './columns_area';
  2. import Drawer from './drawer';
  3. import ComposeFormContainer from '../containers/compose_form_container';
  4. import FollowFormContainer from '../containers/follow_form_container';
  5. import PureRenderMixin from 'react-addons-pure-render-mixin';
  6. const Frontend = React.createClass({
  7. mixins: [PureRenderMixin],
  8. render () {
  9. return (
  10. <div style={{ flex: '0 0 auto', display: 'flex', width: '100%', height: '100%', background: '#1a1c23' }}>
  11. <Drawer>
  12. <div style={{ flex: '1 1 auto' }}>
  13. <ComposeFormContainer />
  14. </div>
  15. <FollowFormContainer />
  16. </Drawer>
  17. <ColumnsArea />
  18. </div>
  19. );
  20. }
  21. });
  22. export default Frontend;