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-08-06 06:12:03 +01:00
|
|
|
import PageTitle from '../features/ui/util/page_title'
|
2020-11-07 05:34:23 +00:00
|
|
|
import NewsLayout from '../layouts/news_layout'
|
2020-08-06 06:12:03 +01:00
|
|
|
|
2020-08-17 21:07:16 +01:00
|
|
|
class NewsPage extends React.PureComponent {
|
2020-08-06 06:12:03 +01:00
|
|
|
|
|
|
|
render() {
|
2020-11-07 05:34:23 +00:00
|
|
|
const { children } = this.props
|
2020-08-06 06:12:03 +01:00
|
|
|
|
|
|
|
return (
|
2020-11-07 05:34:23 +00:00
|
|
|
<NewsLayout>
|
|
|
|
<PageTitle path='News' />
|
2020-08-06 06:12:03 +01:00
|
|
|
{children}
|
2020-11-07 05:34:23 +00:00
|
|
|
</NewsLayout>
|
2020-08-06 06:12:03 +01:00
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2020-08-14 18:45:59 +01:00
|
|
|
|
|
|
|
NewsPage.propTypes = {
|
|
|
|
children: PropTypes.node.isRequired,
|
|
|
|
title: PropTypes.string.isRequired,
|
|
|
|
}
|
|
|
|
|
|
|
|
export default NewsPage
|