2017-12-30 21:26:39 +00:00
|
|
|
import React, {Component} from 'react';
|
2018-06-14 13:38:21 +00:00
|
|
|
import {Spinner, Header} from '.';
|
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}>
|
2018-05-10 08:45:47 +00:00
|
|
|
<Spinner/>
|
2017-12-30 21:26:39 +00:00
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (
|
2018-05-04 17:34:25 +00:00
|
|
|
<div className={contentStyle.contentWrapper}>
|
2018-06-14 13:38:21 +00:00
|
|
|
<Header header={"About"} />
|
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>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|