2020-08-17 21:07:16 +01:00
|
|
|
import React from 'react'
|
2020-08-17 21:59:29 +01:00
|
|
|
import PropTypes from 'prop-types'
|
2020-07-10 21:22:13 +01:00
|
|
|
import PageTitle from '../features/ui/util/page_title'
|
|
|
|
import AboutLayout from '../layouts/about_layout'
|
|
|
|
|
2020-08-17 21:07:16 +01:00
|
|
|
class AboutPage extends React.PureComponent {
|
2020-07-10 21:22:13 +01:00
|
|
|
|
|
|
|
render() {
|
|
|
|
const { children, title } = this.props
|
|
|
|
|
|
|
|
return (
|
2020-08-14 18:45:59 +01:00
|
|
|
<AboutLayout title={title}>
|
2020-07-10 21:22:13 +01:00
|
|
|
<PageTitle path={title} />
|
|
|
|
{children}
|
|
|
|
</AboutLayout>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2020-08-14 18:45:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
AboutPage.propTypes = {
|
|
|
|
title: PropTypes.string.isRequired,
|
|
|
|
children: PropTypes.node.isRequired,
|
|
|
|
}
|
|
|
|
|
|
|
|
export default AboutPage
|