mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Change default login background
This commit is contained in:
parent
44c15db577
commit
c1126b91dc
Binary file not shown.
Before Width: | Height: | Size: 596 KiB |
BIN
res/themes/element/img/backgrounds/ocean.jpg
Normal file
BIN
res/themes/element/img/backgrounds/ocean.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 550 KiB |
@ -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/element/img/backgrounds/lake.jpg";
|
||||
VectorAuthPage.welcomeBackgroundUrl = "themes/element/img/backgrounds/ocean.jpg";
|
||||
if (brandingConfig && brandingConfig.welcomeBackgroundUrl) {
|
||||
if (Array.isArray(brandingConfig.welcomeBackgroundUrl)) {
|
||||
const index = Math.floor(Math.random() * brandingConfig.welcomeBackgroundUrl.length);
|
||||
|
Loading…
Reference in New Issue
Block a user