Skip to content

Commit e304a19

Browse files
committed
Add VectorLoginFooter with vector references
1 parent 8083e7f commit e304a19

2 files changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/*
2+
Copyright 2015 OpenMarket Ltd
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
17+
'use strict';
18+
19+
var React = require('react');
20+
21+
module.exports = React.createClass({
22+
displayName: 'VectorLoginFooter',
23+
24+
render: function() {
25+
return (
26+
<div className="mx_Login_links">
27+
<a href="https://medium.com/@Vector">blog</a>&nbsp;&nbsp;&middot;&nbsp;&nbsp;
28+
<a href="https://twitter.com/@VectorCo">twitter</a>&nbsp;&nbsp;&middot;&nbsp;&nbsp;
29+
<a href="https://github.com/vector-im/vector-web">github</a>&nbsp;&nbsp;&middot;&nbsp;&nbsp;
30+
<a href="https://matrix.org">powered by Matrix</a>
31+
</div>
32+
);
33+
}
34+
});

‎src/skins/vector/skindex.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ skin['rooms.RoomDropTarget'] = require('../../components/views/rooms/RoomDropTar
3636
skin['rooms.RoomTooltip'] = require('../../components/views/rooms/RoomTooltip');
3737
skin['rooms.SearchBar'] = require('../../components/views/rooms/SearchBar');
3838
skin['globals.MatrixToolbar'] = require('../../components/views/globals/MatrixToolbar');
39+
skin['login.LoginFooter'] = require('../../components/views/login/VectorLoginFooter');
3940
skin['structures.BottomLeftMenu'] = require('../../components/structures/BottomLeftMenu');
4041
skin['structures.LeftPanel'] = require('../../components/structures/LeftPanel');
4142
skin['structures.RightPanel'] = require('../../components/structures/RightPanel');

0 commit comments

Comments
 (0)