Fix homepage logo
This commit is contained in:
parent
8cde611653
commit
895dc9c37f
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ const HomePage = () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const brandingConfig = config.branding;
|
const brandingConfig = config.branding;
|
||||||
let logoUrl = "themes/riot/img/logos/riot-logo.svg";
|
let logoUrl = "themes/element/img/logos/element-logo.svg";
|
||||||
if (brandingConfig && brandingConfig.authHeaderLogoUrl) {
|
if (brandingConfig && brandingConfig.authHeaderLogoUrl) {
|
||||||
logoUrl = brandingConfig.authHeaderLogoUrl;
|
logoUrl = brandingConfig.authHeaderLogoUrl;
|
||||||
}
|
}
|
||||||
|
@ -46,7 +46,7 @@ const HomePage = () => {
|
||||||
const AccessibleButton = sdk.getComponent("elements.AccessibleButton");
|
const AccessibleButton = sdk.getComponent("elements.AccessibleButton");
|
||||||
return <AutoHideScrollbar className="mx_HomePage mx_HomePage_default">
|
return <AutoHideScrollbar className="mx_HomePage mx_HomePage_default">
|
||||||
<div className="mx_HomePage_default_wrapper">
|
<div className="mx_HomePage_default_wrapper">
|
||||||
<img src={logoUrl} alt="Riot" />
|
<img src={logoUrl} alt={config.brand || "Riot"} />
|
||||||
<h1>{ _t("Welcome to %(appName)s", { appName: config.brand || "Riot" }) }</h1>
|
<h1>{ _t("Welcome to %(appName)s", { appName: config.brand || "Riot" }) }</h1>
|
||||||
<h4>{ _t("Liberate your communication") }</h4>
|
<h4>{ _t("Liberate your communication") }</h4>
|
||||||
<div className="mx_HomePage_default_buttons">
|
<div className="mx_HomePage_default_buttons">
|
||||||
|
|
Loading…
Reference in a new issue