gab-social/app/javascript/gabsocial/pages/about_page.js
mgabdev 06d85fe8d8 Added functionality to pages, layout for use with sidebar promotions
• Added:
- functionality to pages, layout for use with sidebar promotions

• Updated:
- pages, layouts to use StatusPromotionPanel
2020-07-15 23:05:08 -05:00

27 lines
542 B
JavaScript

import PageTitle from '../features/ui/util/page_title'
import AboutLayout from '../layouts/about_layout'
export default class AboutPage extends PureComponent {
static propTypes = {
title: PropTypes.string.isRequired,
children: PropTypes.node.isRequired,
}
render() {
const { children, title } = this.props
return (
<AboutLayout
noComposeButton
showBackBtn
title={title}
page='about'
>
<PageTitle path={title} />
{children}
</AboutLayout>
)
}
}