gab-social/app/javascript/gabsocial/pages/search_page.js
mgabdev 2044648179 Added webpack.ProvidePlugin for most used imports
Removed imports of React, connect, PropTypes throughout
Removed the "React" in React.Component/PureComponent
2019-07-29 15:20:00 -04:00

44 lines
1.3 KiB
JavaScript

import Header from '../features/search/components/header';
import WhoToFollowPanel from '../features/ui/components/who_to_follow_panel';
// import TrendsPanel from '../features/ui/components/trends_panel';
import LinkFooter from '../features/ui/components/link_footer';
import SignUpPanel from '../features/ui/components/sign_up_panel';
const SearchPage = ({children}) => (
<div className='page'>
<div className='page__top'>
<Header />
</div>
<div className='page__columns'>
<div className='columns-area__panels'>
<div className='columns-area__panels__pane columns-area__panels__pane--left'>
<div className='columns-area__panels__pane__inner'>
{/* <TrendsPanel /> */}
<LinkFooter />
</div>
</div>
<div className='columns-area__panels__main'>
<div className='columns-area columns-area--mobile'>
{children}
</div>
</div>
<div className='columns-area__panels__pane columns-area__panels__pane--right'>
<div className='columns-area__panels__pane__inner'>
<SignUpPanel />
<WhoToFollowPanel />
</div>
</div>
</div>
</div>
</div>
);
SearchPage.propTypes = {
children: PropTypes.node,
};
export default SearchPage;