Skip to content

Commit 8324656

Browse files
authored
Merge pull request element-hq#5203 from vector-im/t3chguy/riot.im-logos
switch to new logos, and use import rather than VAR
2 parents 392fea1 + 6df6913 commit 8324656

7 files changed

Lines changed: 964 additions & 3 deletions

File tree

‎src/components/views/login/VectorLoginHeader.js‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,19 @@ limitations under the License.
1616

1717
'use strict';
1818

19-
var React = require('react');
19+
import React from 'react';
20+
import PropTypes from 'prop-types';
2021

2122
const i = [1, 2, 3, 4, 5][Math.floor(Math.random() * 5)];
22-
const DEFAULT_LOGO_URI = "img/logos/riot-logo-" + i + ".svg";
23+
const DEFAULT_LOGO_URI = "img/logos/riot-im-logo-" + i + ".svg";
2324

2425
module.exports = React.createClass({
2526
displayName: 'VectorLoginHeader',
2627
statics: {
2728
replaces: 'LoginHeader',
2829
},
2930
propTypes: {
30-
icon: React.PropTypes.string,
31+
icon: PropTypes.string,
3132
},
3233

3334
render: function() {
Lines changed: 158 additions & 0 deletions
Loading
Lines changed: 165 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)