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