import Sticky from 'react-stickynode' import { CX, BREAKPOINT_EXTRA_SMALL, } from '../constants' import { me } from '../initial_state' import Sidebar from '../components/sidebar' import SidebarXS from '../components/sidebar_xs' import NavigationBar from '../components/navigation_bar' import LoggedOutNavigationBar from '../components/logged_out_navigation_bar' import FooterBar from '../components/footer_bar' import FloatingActionButton from '../components/floating_action_button' import Responsive from '../features/ui/util/responsive_component' import ResponsiveClassesComponent from '../features/ui/util/responsive_classes_component' import Pills from '../components/pills' export default class Layout extends PureComponent { static propTypes = { actions: PropTypes.array, children: PropTypes.node, layout: PropTypes.object, noComposeButton: PropTypes.bool, noRightSidebar: PropTypes.bool, noSidebar: PropTypes.bool, showBackBtn: PropTypes.bool, tabs: PropTypes.array, title: PropTypes.string, } render() { const { actions, children, layout, noComposeButton, noRightSidebar, noSidebar, showBackBtn, tabs, title, } = this.props const mainBlockClasses = CX({ default: 1, width1015PX: 1, flexRow: 1, justifyContentEnd: 1, py15: 1, mlAuto: !me, mrAuto: !me, }) return (