1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00

Add generic LoginFooter. Remove vector reference

This commit is contained in:
Kegan Dougal
2015-12-01 16:12:13 +00:00
parent 636be0c003
commit 52f3d7f18b
2 changed files with 33 additions and 6 deletions

View File

@@ -159,6 +159,7 @@ module.exports = React.createClass({displayName: 'Login',
render: function() {
var Loader = sdk.getComponent("elements.Spinner");
var LoginFooter = sdk.getComponent("login.LoginFooter");
var loader = this.state.busy ? <div className="mx_Login_loader"><Loader /></div> : null;
return (
@@ -185,12 +186,7 @@ module.exports = React.createClass({displayName: 'Login',
Create a new account
</a>
<br/>
<div className="mx_Login_links">
<a href="https://medium.com/@Vector">blog</a>&nbsp;&nbsp;&middot;&nbsp;&nbsp;
<a href="https://twitter.com/@VectorCo">twitter</a>&nbsp;&nbsp;&middot;&nbsp;&nbsp;
<a href="https://github.com/vector-im/vector-web">github</a>&nbsp;&nbsp;&middot;&nbsp;&nbsp;
<a href="https://matrix.org">powered by Matrix</a>
</div>
<LoginFooter />
</div>
</div>
</div>