From 9ebc47a74c97904f38fd943dd887cb6abe450982 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Tue, 22 Jan 2019 21:53:46 -0600 Subject: [PATCH] Add Riot logo via more targeted replacement --- .../{VectorAuthHeader.js => VectorAuthHeaderLogo.js} | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) rename src/components/views/auth/{VectorAuthHeader.js => VectorAuthHeaderLogo.js} (78%) diff --git a/src/components/views/auth/VectorAuthHeader.js b/src/components/views/auth/VectorAuthHeaderLogo.js similarity index 78% rename from src/components/views/auth/VectorAuthHeader.js rename to src/components/views/auth/VectorAuthHeaderLogo.js index de023c72..e4cf6bc0 100644 --- a/src/components/views/auth/VectorAuthHeader.js +++ b/src/components/views/auth/VectorAuthHeaderLogo.js @@ -24,9 +24,9 @@ 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"; module.exports = React.createClass({ - displayName: 'VectorAuthHeader', + displayName: 'VectorAuthHeaderLogo', statics: { - replaces: 'AuthHeader', + replaces: 'AuthHeaderLogo', }, propTypes: { icon: PropTypes.string, @@ -34,10 +34,8 @@ module.exports = React.createClass({ render: function() { return ( -
-
- Riot -
+
+ Riot
); },