2020-07-02 03:39:43 +01:00
|
|
|
import PageTitle from '../features/ui/util/page_title'
|
2020-08-06 06:13:19 +01:00
|
|
|
import ExploreLayout from '../layouts/explore_layout'
|
2020-07-02 03:39:43 +01:00
|
|
|
|
|
|
|
export default class ExplorePage extends PureComponent {
|
|
|
|
|
|
|
|
static propTypes = {
|
|
|
|
title: PropTypes.string.isRequired,
|
|
|
|
children: PropTypes.node.isRequired,
|
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
|
|
|
const { children, title } = this.props
|
|
|
|
|
|
|
|
return (
|
2020-08-06 06:13:19 +01:00
|
|
|
<ExploreLayout
|
2020-07-16 05:05:08 +01:00
|
|
|
page='explore'
|
2020-07-02 03:39:43 +01:00
|
|
|
title={title}
|
|
|
|
>
|
|
|
|
<PageTitle path={title} />
|
|
|
|
{children}
|
2020-08-06 06:13:19 +01:00
|
|
|
</ExploreLayout>
|
2020-07-02 03:39:43 +01:00
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|