gab-social/app/javascript/gabsocial/pages/search_page.js
mgabdev 3d509c84a2 Another large update for all components
reorganization, linting, updating file imports, consolidation
warning: there will be errors in this commit
todo: update webpack, add missing styles, scss files, consolidate group page components.
2019-08-09 12:06:27 -04:00

32 lines
732 B
JavaScript

import { Fragment } from 'react';
import Header from '../features/search/components/header';
import LinkFooter from '../components/link_footer';
import { WhoToFollowPanel, SignUpPanel } from '../components/panel';
import ColumnsArea from '../components/columns_area';
export default class SearchPage extends PureComponent {
static propTypes = {
children: PropTypes.node,
};
render() {
return (
<ColumnsArea
layout={{
TOP: <Header/>,
RIGHT: (
<Fragment>
<SignUpPanel />
<WhoToFollowPanel />
</Fragment>
),
LEFT: <LinkFooter/>,
}}
>
{this.props.children}
</ColumnsArea>
)
}
};