2017-12-30 21:26:39 +00:00
|
|
|
import React, {Component} from 'react';
|
2018-05-04 17:34:25 +00:00
|
|
|
import '../static/stylesheets/globals.scss';
|
2018-05-04 17:34:25 +00:00
|
|
|
import styles from './About.scss';
|
|
|
|
import contentStyle from '../static/stylesheets/content.scss';
|
2017-04-07 19:57:56 +00:00
|
|
|
|
2017-12-30 21:26:39 +00:00
|
|
|
export default class About extends Component {
|
2017-04-07 19:57:56 +00:00
|
|
|
|
2017-12-30 21:26:39 +00:00
|
|
|
render () {
|
|
|
|
if (this.props.isLoading) {
|
|
|
|
return (
|
2018-05-04 17:34:25 +00:00
|
|
|
<div className={contentStyle.contentWrapper}>
|
2017-12-30 21:26:39 +00:00
|
|
|
<h1>Loading</h1>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (
|
2018-05-04 17:34:25 +00:00
|
|
|
<div className={contentStyle.contentWrapper}>
|
2018-05-04 17:34:25 +00:00
|
|
|
<h1>About</h1>
|
2018-05-04 17:34:25 +00:00
|
|
|
<div className={contentStyle.content} dangerouslySetInnerHTML={{__html: this.props.about.body}}>
|
2018-02-07 17:22:07 +00:00
|
|
|
</div>
|
2017-12-30 21:26:39 +00:00
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|