3d509c84a2
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.
32 lines
732 B
JavaScript
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>
|
|
)
|
|
}
|
|
|
|
}; |