2020-08-06 06:12:03 +01:00
|
|
|
import PageTitle from '../features/ui/util/page_title'
|
|
|
|
import DefaultLayout from '../layouts/default_layout'
|
2020-08-12 23:52:46 +01:00
|
|
|
import {
|
|
|
|
LinkFooter,
|
|
|
|
ProgressPanel,
|
|
|
|
ShopPanel,
|
|
|
|
SignUpPanel,
|
|
|
|
VerifiedAccountsPanel,
|
|
|
|
} from '../features/ui/util/async_components'
|
2020-08-06 06:12:03 +01:00
|
|
|
|
|
|
|
export default class NewsPage extends PureComponent {
|
|
|
|
|
|
|
|
static propTypes = {
|
|
|
|
title: PropTypes.string.isRequired,
|
|
|
|
children: PropTypes.node.isRequired,
|
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
|
|
|
const { children, title } = this.props
|
|
|
|
|
|
|
|
return (
|
|
|
|
<DefaultLayout
|
|
|
|
page='explore'
|
|
|
|
title={title}
|
|
|
|
noComposeButton
|
|
|
|
showBackBtn
|
|
|
|
layout={[
|
2020-08-12 23:52:46 +01:00
|
|
|
SignUpPanel,
|
|
|
|
ProgressPanel,
|
|
|
|
VerifiedAccountsPanel,
|
|
|
|
ShopPanel,
|
|
|
|
LinkFooter,
|
2020-08-06 06:12:03 +01:00
|
|
|
]}
|
|
|
|
>
|
|
|
|
<PageTitle path={title} />
|
|
|
|
{children}
|
|
|
|
</DefaultLayout>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|