gab-social/app/javascript/gabsocial/pages/search_page.js
2020-02-03 13:24:24 -05:00

32 lines
728 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 PageLayout from '../components/page_layout';
export default class SearchPage extends PureComponent {
static propTypes = {
children: PropTypes.node,
};
render() {
return (
<PageLayout
layout={{
TOP: <Header/>,
RIGHT: (
<Fragment>
<SignUpPanel />
<WhoToFollowPanel />
</Fragment>
),
LEFT: <LinkFooter/>,
}}
>
{this.props.children}
</PageLayout>
)
}
};