1
1
import React , { Component } from 'react'
2
- import dt from '../../assets/icons/logo/logo-dt.svg'
2
+ // TODO: Enable after New Year
3
+ // import dt from '../../assets/icons/logo/logo-dt.svg'
3
4
import LoginIcons from '../../assets/icons/LoginSprite.svg'
4
5
import { Switch , Redirect , Route , NavLink } from 'react-router-dom'
5
6
import { toast } from 'react-toastify'
@@ -8,6 +9,8 @@ import { URLS, DOCUMENTATION, TOKEN_COOKIE_NAME, PREVIEW_DEVTRON, PRIVACY_POLICY
8
9
import { LoginProps , LoginFormState } from './login.types'
9
10
import { getSSOConfigList , loginAsAdmin } from './login.service'
10
11
import { dashboardAccessed } from '../../services/service'
12
+ // TODO: remove after New Year
13
+ import { ReactComponent as ChristmasLogo } from '../../assets/icons/ic-login-dt-with-hat.svg'
11
14
import './login.scss'
12
15
13
16
export default class Login extends Component < LoginProps , LoginFormState > {
@@ -138,7 +141,10 @@ export default class Login extends Component<LoginProps, LoginFormState> {
138
141
139
142
return (
140
143
< div className = "login__control" >
141
- < img src = { dt } alt = "login" className = "login__dt-logo" width = "170px" height = "120px" />
144
+ { /* <img src={dt} alt="login" className="login__dt-logo" width="170px" height="120px" /> */ }
145
+ < div className = "flex" >
146
+ < ChristmasLogo width = { 170 } height = { 120 } className = "login__dt-logo" />
147
+ </ div >
142
148
< p className = "login__text" > Your tool for Rapid, Reliable & Repeatable deployments </ p >
143
149
{ this . state . loginList
144
150
. filter ( ( sso ) => sso . active )
@@ -172,7 +178,11 @@ export default class Login extends Component<LoginProps, LoginFormState> {
172
178
173
179
return (
174
180
< div className = "login__control" >
175
- < img src = { dt } alt = "login" className = "login__dt-logo" width = "170px" height = "120px" />
181
+ { /* TODO: Uncomment after New year */ }
182
+ { /* <img src={dt} alt="login" className="login__dt-logo" width="170px" height="120px" /> */ }
183
+ < div className = "flex" >
184
+ < ChristmasLogo width = { 170 } height = { 120 } className = "login__dt-logo" />
185
+ </ div >
176
186
< p className = "login__text" > Your tool for Rapid, Reliable & Repeatable deployments </ p >
177
187
{ /* @ts -ignore */ }
178
188
< form className = "login-dt__form" autoComplete = "on" onSubmit = { this . login } >
0 commit comments