2020-07-02 02:40:00 +01:00
|
|
|
import { defineMessages, injectIntl } from 'react-intl'
|
|
|
|
import PageTitle from '../features/ui/util/page_title'
|
|
|
|
import LinkFooter from '../components/link_footer'
|
|
|
|
import VerifiedAccountsPanel from '../components/panel/verified_accounts_panel'
|
|
|
|
import ProgressPanel from '../components/panel/progress_panel'
|
|
|
|
import DefaultLayout from '../layouts/default_layout'
|
|
|
|
|
|
|
|
const messages = defineMessages({
|
|
|
|
title: { 'id': 'column.pro', 'defaultMessage': 'Pro feed' },
|
|
|
|
})
|
|
|
|
|
|
|
|
export default
|
|
|
|
@injectIntl
|
|
|
|
class ProPage extends PureComponent {
|
|
|
|
|
|
|
|
static propTypes = {
|
|
|
|
intl: PropTypes.object.isRequired,
|
|
|
|
children: PropTypes.node.isRequired,
|
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
|
|
|
const { intl, children } = this.props
|
|
|
|
|
|
|
|
const title = intl.formatMessage(messages.title)
|
|
|
|
|
|
|
|
return (
|
|
|
|
<DefaultLayout
|
|
|
|
title={title}
|
2020-07-16 05:05:08 +01:00
|
|
|
page='pro'
|
|
|
|
layout={[
|
|
|
|
<ProgressPanel key='pro-page-progress-panel' />,
|
|
|
|
<VerifiedAccountsPanel key='pro-page-verified-panel' />,
|
|
|
|
<LinkFooter key='pro-page-link-footer' />,
|
|
|
|
]}
|
2020-07-02 02:40:00 +01:00
|
|
|
>
|
|
|
|
<PageTitle path={title} />
|
|
|
|
{children}
|
|
|
|
</DefaultLayout>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|