Styling loading indicator, removing unused routes, adding "getting started" explanation

Also, only update relative time every minute instead of 6 seconds. My bad
This commit is contained in:
Eugen Rochko
2016-10-06 22:47:35 +02:00
parent e8a8703a4b
commit a4b8069cf5
9 changed files with 66 additions and 73 deletions

View File

@ -0,0 +1,13 @@
const LoadingIndicator = () => {
const style = {
textAlign: 'center',
fontSize: '16px',
fontWeight: '500',
color: '#616b86',
paddingTop: '120px'
};
return <div style={style}>Loading...</div>;
};
export default LoadingIndicator;

View File

@ -35,7 +35,7 @@ const RelativeTimestamp = React.createClass({
componentWillMount () {
this._updateMomentText();
this.interval = setInterval(this._updateMomentText, 6000);
this.interval = setInterval(this._updateMomentText, 60000);
},
componentWillUnmount () {