Change logos excluding vector-icons
This commit is contained in:
parent
b7ed883d96
commit
d0f81b26ad
12 changed files with 15 additions and 65 deletions
|
@ -30,14 +30,14 @@ export default class VectorAuthHeaderLogo extends React.PureComponent {
|
|||
|
||||
render() {
|
||||
const brandingConfig = SdkConfig.get().branding;
|
||||
let logoUrl = "themes/riot/img/logos/riot-im-logo-black-text.svg";
|
||||
let logoUrl = "themes/element/img/logos/element-logo.svg";
|
||||
if (brandingConfig && brandingConfig.authHeaderLogoUrl) {
|
||||
logoUrl = brandingConfig.authHeaderLogoUrl;
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="mx_AuthHeaderLogo">
|
||||
<img src={logoUrl} alt="Riot" />
|
||||
<img src={logoUrl} alt="Element" />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ export default class VectorAuthPage extends React.PureComponent {
|
|||
if (VectorAuthPage.welcomeBackgroundUrl) return VectorAuthPage.welcomeBackgroundUrl;
|
||||
|
||||
const brandingConfig = SdkConfig.get().branding;
|
||||
VectorAuthPage.welcomeBackgroundUrl = "themes/riot/img/backgrounds/valley.jpg";
|
||||
VectorAuthPage.welcomeBackgroundUrl = "themes/element/img/backgrounds/valley.jpg";
|
||||
if (brandingConfig && brandingConfig.welcomeBackgroundUrl) {
|
||||
if (Array.isArray(brandingConfig.welcomeBackgroundUrl)) {
|
||||
const index = Math.floor(Math.random() * brandingConfig.welcomeBackgroundUrl.length);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue