Step 10.2: Move matrix logo replacement into react-sdk

This commit is contained in:
Travis Ralston 2022-03-24 23:56:09 -06:00
parent 661b8d595c
commit 63091e7b66
4 changed files with 182 additions and 2 deletions

View file

@ -24,6 +24,7 @@ import SettingsStore from "../../../settings/SettingsStore";
import { UIFeature } from "../../../settings/UIFeature";
import LanguageSelector from "./LanguageSelector";
import EmbeddedPage from "../../structures/EmbeddedPage";
import { MATRIX_LOGO_HTML } from "../../structures/static-page-vars";
// translatable strings for Welcome pages
_td("Sign in with SSO");
@ -54,6 +55,7 @@ export default class Welcome extends React.PureComponent<IProps> {
replaceMap={{
"$riot:ssoUrl": "#/start_sso",
"$riot:casUrl": "#/start_cas",
"$matrixLogo": MATRIX_LOGO_HTML,
}}
/>
<LanguageSelector />