File tree Expand file tree Collapse file tree 7 files changed +78
-51
lines changed Expand file tree Collapse file tree 7 files changed +78
-51
lines changed Original file line number Diff line number Diff line change @@ -64,3 +64,4 @@ FEATURE_APPLICATION_TEMPLATES_ENABLE=true
64
64
FEATURE_CODE_MIRROR_ENABLE = false
65
65
FEATURE_DEFAULT_AUTHENTICATED_VIEW_ENABLE = false
66
66
GATEKEEPER_URL = https://license.devtron.ai/dashboard
67
+ LOGIN_PAGE_IMAGE =
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 4
4
"private" : true ,
5
5
"homepage" : " /dashboard" ,
6
6
"dependencies" : {
7
- "@devtron-labs/devtron-fe-common-lib" : " 1.11.2" ,
7
+ "@devtron-labs/devtron-fe-common-lib" : " 1.11.2-patch-1 " ,
8
8
"@esbuild-plugins/node-globals-polyfill" : " 0.2.3" ,
9
9
"@rjsf/core" : " ^5.13.3" ,
10
10
"@rjsf/utils" : " ^5.13.3" ,
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ import {
32
32
SSOProviderIcon ,
33
33
Icon ,
34
34
LoginBanner ,
35
+ SnowConfetti ,
35
36
} from '@devtron-labs/devtron-fe-common-lib'
36
37
import { importComponentFromFELibrary } from '@Components/common'
37
38
import { URLS , TOKEN_COOKIE_NAME } from '../../config'
@@ -177,7 +178,18 @@ const Login = () => {
177
178
return (
178
179
< div className = "full-height-width login dc__grid-half bg__secondary" >
179
180
< div className = "flexbox p-12" >
180
- < LoginBanner />
181
+ { window . _env_ . LOGIN_PAGE_IMAGE ? (
182
+ < div
183
+ style = { {
184
+ backgroundImage : `url(${ window . _env_ . LOGIN_PAGE_IMAGE } )` ,
185
+ } }
186
+ className = "login-image-container flex br-12 border__primary bg__primary h-100 w-100 dc__overflow-hidden"
187
+ >
188
+ < SnowConfetti />
189
+ </ div >
190
+ ) : (
191
+ < LoginBanner />
192
+ ) }
181
193
</ div >
182
194
< div className = "flex" >
183
195
< div className = "login-card__wrapper dc__overflow-hidden br-12 mw-420 bg__primary dc__border" >
Original file line number Diff line number Diff line change 26
26
color : var (--N900 )
27
27
}
28
28
}
29
+
30
+ .login-image-container {
31
+ background-position : center ;
32
+ background-repeat : no-repeat ;
33
+ background-size : cover ;
34
+ height : 100% ;
35
+ width : 100% ;
36
+ }
29
37
}
30
38
31
39
// SSO login & GitOps configuration css
Original file line number Diff line number Diff line change @@ -168,6 +168,7 @@ if (!window || !window._env_) {
168
168
FEATURE_CODE_MIRROR_ENABLE : true ,
169
169
FEATURE_DEFAULT_AUTHENTICATED_VIEW_ENABLE : false ,
170
170
GATEKEEPER_URL : 'https://license.devtron.ai/dashboard' ,
171
+ LOGIN_PAGE_IMAGE : '' ,
171
172
}
172
173
}
173
174
Original file line number Diff line number Diff line change 1126
1126
dependencies :
1127
1127
" @jridgewell/trace-mapping" " 0.3.9"
1128
1128
1129
- " @devtron-labs/[email protected] " :
1130
- version "1.11.2"
1131
- resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.11.2.tgz#ab78ddcb27798f9b617f92b009b99375b5b9696d "
1132
- integrity sha512-iNO9NeNde3SkAslEgWSppj7g7KHGUcC2hayH3M5i9aOIabd9Qqyx9+LWNZ4g69mfUmYgFawiMVsMsyb9ntlFdQ ==
1129
+ " @devtron-labs/[email protected] -patch-1 " :
1130
+ version "1.11.2-patch-1 "
1131
+ resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.11.2-patch-1 .tgz#b009ccb9600f03c4bf5d21bdd0f9ce8325a61684 "
1132
+ integrity sha512-lG1XnL7ih9r+2AO7UHweIJqOyhsVWXL963j5hVyU1b5/b6TbNP3/yzr5hnk9cuzBpvmQp0BcL8twEce8l78f+w ==
1133
1133
dependencies :
1134
1134
" @codemirror/lang-json" " 6.0.1"
1135
1135
" @codemirror/lang-yaml" " 6.1.2"
You can’t perform that action at this time.
0 commit comments