Also, only update relative time every minute instead of 6 seconds. My badmaster
parent
e8a8703a4b
commit
a4b8069cf5
@ -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; |
@ -0,0 +1,13 @@ |
||||
const GettingStarted = () => { |
||||
return ( |
||||
<div className='static-content'> |
||||
<h1>Getting started</h1> |
||||
<p>Mastodon is still in development and one of the lacking areas at the moment is user discovery.</p> |
||||
<p>You can follow people if you know their username and the domain they are on by entering an e-mail-esque address into the form in the bottom of the sidebar.</p> |
||||
<p>If the target user is on the same domain as you, just the username will work. The same rule applies to mentioning people in statuses.</p> |
||||
<p>The developer of this project can be followed as Gargron@mastodon.social</p> |
||||
</div> |
||||
); |
||||
}; |
||||
|
||||
export default GettingStarted; |
@ -1,28 +0,0 @@ |
||||
import { connect } from 'react-redux'; |
||||
import PureRenderMixin from 'react-addons-pure-render-mixin'; |
||||
import ImmutablePropTypes from 'react-immutable-proptypes'; |
||||
|
||||
const mapStateToProps = (state, props) => ({ |
||||
|
||||
}); |
||||
|
||||
const Settings = React.createClass({ |
||||
|
||||
propTypes: { |
||||
params: React.PropTypes.object.isRequired, |
||||
dispatch: React.PropTypes.func.isRequired |
||||
}, |
||||
|
||||
mixins: [PureRenderMixin], |
||||
|
||||
componentWillMount () { |
||||
// |
||||
}, |
||||
|
||||
render () { |
||||
return <div>Settings</div>; |
||||
} |
||||
|
||||
}); |
||||
|
||||
export default connect(mapStateToProps)(Settings); |
@ -1,28 +0,0 @@ |
||||
import { connect } from 'react-redux'; |
||||
import PureRenderMixin from 'react-addons-pure-render-mixin'; |
||||
import ImmutablePropTypes from 'react-immutable-proptypes'; |
||||
|
||||
const mapStateToProps = (state, props) => ({ |
||||
|
||||
}); |
||||
|
||||
const Subscriptions = React.createClass({ |
||||
|
||||
propTypes: { |
||||
params: React.PropTypes.object.isRequired, |
||||
dispatch: React.PropTypes.func.isRequired |
||||
}, |
||||
|
||||
mixins: [PureRenderMixin], |
||||
|
||||
componentWillMount () { |
||||
// |
||||
}, |
||||
|
||||
render () { |
||||
return <div>Subscriptions</div>; |
||||
} |
||||
|
||||
}); |
||||
|
||||
export default connect(mapStateToProps)(Subscriptions); |
Loading…
Reference in new issue