mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
Place welcome content directly on glass
This commit is contained in:
parent
c587dcab92
commit
1cf311da10
@ -21,8 +21,6 @@ import SdkConfig from '../../../SdkConfig';
|
|||||||
export default class Welcome extends React.PureComponent {
|
export default class Welcome extends React.PureComponent {
|
||||||
render() {
|
render() {
|
||||||
const AuthPage = sdk.getComponent("auth.AuthPage");
|
const AuthPage = sdk.getComponent("auth.AuthPage");
|
||||||
const AuthHeader = sdk.getComponent("auth.AuthHeader");
|
|
||||||
const AuthBody = sdk.getComponent("auth.AuthBody");
|
|
||||||
const EmbeddedPage = sdk.getComponent('structures.EmbeddedPage');
|
const EmbeddedPage = sdk.getComponent('structures.EmbeddedPage');
|
||||||
|
|
||||||
const pagesConfig = SdkConfig.get().pages;
|
const pagesConfig = SdkConfig.get().pages;
|
||||||
@ -30,12 +28,9 @@ export default class Welcome extends React.PureComponent {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<AuthPage>
|
<AuthPage>
|
||||||
<AuthHeader />
|
|
||||||
<AuthBody>
|
|
||||||
<EmbeddedPage className="mx_WelcomePage"
|
<EmbeddedPage className="mx_WelcomePage"
|
||||||
url={pageUrl}
|
url={pageUrl}
|
||||||
/>
|
/>
|
||||||
</AuthBody>
|
|
||||||
</AuthPage>
|
</AuthPage>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user