Moved blurb into markdown

This commit is contained in:
2019-06-09 14:18:14 +10:00
parent acee83732a
commit e6d6dbc550
5 changed files with 16 additions and 28 deletions
+4 -2
View File
@@ -3,7 +3,7 @@ import { withRouter, Link } from 'react-router-dom';
//panels
import CommonLinks from '../panels/common_links.jsx';
import Blurb from '../panels/blurb.jsx';
import Markdown from '../panels/markdown.jsx';
import News from '../panels/news.jsx';
class Home extends React.Component {
@@ -37,7 +37,9 @@ class Home extends React.Component {
</div>
<h1 className='centered'>About</h1>
<Blurb />
<p className='centered'><em>A game in <strike>early</strike> development.</em></p>
<br />
<Markdown url='/content/blurb.md' />
<h1 className='centered'>News</h1>
<News setWarning={this.setWarning.bind(this)} getFetch={ (fn) => this.setState({ fetch: fn }) } />
<p className='right'><Link to='/news'>See all news...</Link></p>