import Sticky from 'react-stickynode' import Search from '../components/search' import ColumnHeader from '../components/column_header' import Sidebar from '../components/sidebar' export default class SearchLayout extends PureComponent { static propTypes = { actions: PropTypes.array, layout: PropTypes.object, showBackBtn: PropTypes.bool, } render() { const { children, showBackBtn, layout, actions } = this.props // const shouldHideFAB = path => path.match(/^\/posts\/|^\/search|^\/getting-started/); // const floatingActionButton = shouldHideFAB(this.context.router.history.location.pathname) ? null : ; const tabs = [ { title: 'Top', to: '/search' }, { title: 'People', to: '/search/people' }, { title: 'Groups', to: '/search/groups' }, { title: 'Gabs', to: '/search/gabs' }, { title: 'Hashtags', to: '/search/hashtags' }, ] return (