mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
new wallpaper
This commit is contained in:
parent
f70f3c7796
commit
225d2ad931
BIN
res/themes/element/img/backgrounds/lake.jpg
Normal file
BIN
res/themes/element/img/backgrounds/lake.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 596 KiB |
Binary file not shown.
Before Width: | Height: | Size: 283 KiB |
@ -28,7 +28,7 @@ export default class VectorAuthPage extends React.PureComponent {
|
|||||||
if (VectorAuthPage.welcomeBackgroundUrl) return VectorAuthPage.welcomeBackgroundUrl;
|
if (VectorAuthPage.welcomeBackgroundUrl) return VectorAuthPage.welcomeBackgroundUrl;
|
||||||
|
|
||||||
const brandingConfig = SdkConfig.get().branding;
|
const brandingConfig = SdkConfig.get().branding;
|
||||||
VectorAuthPage.welcomeBackgroundUrl = "themes/element/img/backgrounds/valley.jpg";
|
VectorAuthPage.welcomeBackgroundUrl = "themes/element/img/backgrounds/lake.jpg";
|
||||||
if (brandingConfig && brandingConfig.welcomeBackgroundUrl) {
|
if (brandingConfig && brandingConfig.welcomeBackgroundUrl) {
|
||||||
if (Array.isArray(brandingConfig.welcomeBackgroundUrl)) {
|
if (Array.isArray(brandingConfig.welcomeBackgroundUrl)) {
|
||||||
const index = Math.floor(Math.random() * brandingConfig.welcomeBackgroundUrl.length);
|
const index = Math.floor(Math.random() * brandingConfig.welcomeBackgroundUrl.length);
|
||||||
|
Loading…
Reference in New Issue
Block a user