64ea4c5675
• Updated: - News feature, NewsPage with new design, features • Todo: - Complete functionality in both News, NewsView for mobile and expanding rss feeds, lazy loading
26 lines
506 B
JavaScript
26 lines
506 B
JavaScript
import React from 'react'
|
|
import PropTypes from 'prop-types'
|
|
import PageTitle from '../features/ui/util/page_title'
|
|
import NewsLayout from '../layouts/news_layout'
|
|
|
|
class NewsPage extends React.PureComponent {
|
|
|
|
render() {
|
|
const { children } = this.props
|
|
|
|
return (
|
|
<NewsLayout>
|
|
<PageTitle path='News' />
|
|
{children}
|
|
</NewsLayout>
|
|
)
|
|
}
|
|
|
|
}
|
|
|
|
NewsPage.propTypes = {
|
|
children: PropTypes.node.isRequired,
|
|
title: PropTypes.string.isRequired,
|
|
}
|
|
|
|
export default NewsPage |