mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-16 03:43:08 +00:00
499beb4484
Mostly resolves #8, though attachments are still not displayed in public view
32 lines
873 B
JavaScript
32 lines
873 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 UploadFormContainer from '../containers/upload_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 />
|
|
<UploadFormContainer />
|
|
</div>
|
|
|
|
<FollowFormContainer />
|
|
</Drawer>
|
|
|
|
<ColumnsArea />
|
|
</div>
|
|
);
|
|
}
|
|
|
|
});
|
|
|
|
export default Frontend;
|