Skip to content

Commit 8d31f72

Browse files
committed
Add VectorLoginHeader
1 parent e304a19 commit 8d31f72

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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: 'VectorLoginHeader',
23+
24+
render: function() {
25+
return (
26+
<div className="mx_Login_logo">
27+
<img src="img/logo.png" width="249" height="78" alt="vector"/>
28+
</div>
29+
);
30+
}
31+
});

‎src/skins/vector/skindex.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ 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');
3939
skin['login.LoginFooter'] = require('../../components/views/login/VectorLoginFooter');
40+
skin['login.LoginHeader'] = require('../../components/views/login/VectorLoginHeader');
4041
skin['structures.BottomLeftMenu'] = require('../../components/structures/BottomLeftMenu');
4142
skin['structures.LeftPanel'] = require('../../components/structures/LeftPanel');
4243
skin['structures.RightPanel'] = require('../../components/structures/RightPanel');

0 commit comments

Comments
 (0)