Update Riot logo
This commit is contained in:
parent
bf0b2ea101
commit
8bac9efd4c
20 changed files with 37 additions and 1002 deletions
|
@ -20,8 +20,7 @@ limitations under the License.
|
|||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
const i = [1, 2, 3, 4, 5][Math.floor(Math.random() * 5)];
|
||||
const DEFAULT_LOGO_URI = "themes/riot/img/logos/riot-im-logo-" + i + ".svg";
|
||||
const LOGO_URI = "themes/riot/img/logos/riot-im-logo-black-text.svg";
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: 'VectorAuthHeaderLogo',
|
||||
|
@ -35,7 +34,7 @@ module.exports = React.createClass({
|
|||
render: function() {
|
||||
return (
|
||||
<div className="mx_AuthHeaderLogo">
|
||||
<img src={this.props.icon || DEFAULT_LOGO_URI} alt="Riot" />
|
||||
<img src={LOGO_URI} alt="Riot" />
|
||||
</div>
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue