014e476b5d
• Updated: - pages, layout component structures
24 lines
468 B
JavaScript
24 lines
468 B
JavaScript
import PageTitle from '../features/ui/util/page_title'
|
|
import AboutLayout from '../layouts/about_layout'
|
|
|
|
class AboutPage extends PureComponent {
|
|
|
|
render() {
|
|
const { children, title } = this.props
|
|
|
|
return (
|
|
<AboutLayout title={title}>
|
|
<PageTitle path={title} />
|
|
{children}
|
|
</AboutLayout>
|
|
)
|
|
}
|
|
|
|
}
|
|
|
|
AboutPage.propTypes = {
|
|
title: PropTypes.string.isRequired,
|
|
children: PropTypes.node.isRequired,
|
|
}
|
|
|
|
export default AboutPage |