@@ -20,51 +20,53 @@ const LargeLeftLayout = (props) => {
2020 new ClipboardJS ( '.copyIcon' ) ; // eslint-disable-line no-new
2121
2222 return (
23- < div className = "min-vh-100 pr-0 mt-lg-n2 d-flex align-items-center" >
24- < Toast
25- onClose = { ( ) => setToastShow ( false ) }
26- show = { showToast }
27- >
28- { intl . formatMessage ( messages [ 'code.copied' ] ) }
29- </ Toast >
30- < svg className = { classNames (
31- 'large-screen-svg-line' ,
32- {
33- 'variation1-bar-color mt-n6 pt-0 ml-5' : experimentName === 'variation1' && isRegistrationPage ,
34- 'variation2-bar-color' : experimentName === 'variation2' && isRegistrationPage ,
35- 'ml-5' : experimentName !== 'variation1' || ! isRegistrationPage ,
36- } ,
37- ) }
38- >
39- < line x1 = "50" y1 = "0" x2 = "10" y2 = "215" />
40- </ svg >
41- < div className = { classNames ( { 'pl-4' : experimentName === 'variation1' && isRegistrationPage } ) } >
42- < h1 className = { classNames ( 'large-heading' , { 'mb-4.5' : experimentName === 'variation1' && isRegistrationPage } ) } >
43- { intl . formatMessage ( messages [ 'start.learning' ] ) }
44- < span
45- className = { ( ( experimentName === 'variation1' || experimentName === 'variation2' ) && isRegistrationPage ) ? 'text-accent-b' : 'text-accent-a' }
46- >
47- < br />
48- { intl . formatMessage ( messages [ 'with.site.name' ] , { siteName : getConfig ( ) . SITE_NAME } ) }
49- </ span >
50- </ h1 >
51- { experimentName === 'variation1' && isRegistrationPage ? (
52- < span className = "text-light-300 dicount-heading" >
53- < span className = "lead mr-3" >
54- < SideDiscountBanner />
23+ < div className = "min-vh-100 d-flex justify-content-left align-items-center" >
24+ < div className = "d-flex pr-0 mt-lg-n2" >
25+ < Toast
26+ onClose = { ( ) => setToastShow ( false ) }
27+ show = { showToast }
28+ >
29+ { intl . formatMessage ( messages [ 'code.copied' ] ) }
30+ </ Toast >
31+ < svg className = { classNames (
32+ 'large-screen-svg-line' ,
33+ {
34+ 'variation1-bar-color mt-n6 pt-0 ml-5' : experimentName === 'variation1' && isRegistrationPage ,
35+ 'variation2-bar-color' : experimentName === 'variation2' && isRegistrationPage ,
36+ 'ml-5' : experimentName !== 'variation1' || ! isRegistrationPage ,
37+ } ,
38+ ) }
39+ >
40+ < line x1 = "50" y1 = "0" x2 = "10" y2 = "215" />
41+ </ svg >
42+ < div className = { classNames ( { 'pl-4' : experimentName === 'variation1' && isRegistrationPage } ) } >
43+ < h1 className = { classNames ( 'large-heading' , { 'mb-4.5' : experimentName === 'variation1' && isRegistrationPage } ) } >
44+ { intl . formatMessage ( messages [ 'start.learning' ] ) }
45+ < span
46+ className = { ( ( experimentName === 'variation1' || experimentName === 'variation2' ) && isRegistrationPage ) ? 'text-accent-b' : 'text-accent-a' }
47+ >
48+ < br />
49+ { intl . formatMessage ( messages [ 'with.site.name' ] , { siteName : getConfig ( ) . SITE_NAME } ) }
5550 </ span >
56- < span className = "dashed-border d-inline-flex flex-wrap align-items-center" >
57- < span id = "edx-welcome" className = "text-white edx-welcome font-weight-bold mr-1" > EDXWELCOME</ span >
58- < FontAwesomeIcon
59- className = "text-light-700 copyIcon ml-1.5 hover-discount-icon"
60- icon = { faCut }
61- data-clipboard-action = "copy"
62- data-clipboard-target = "#edx-welcome"
63- onClick = { ( ) => setToastShow ( true ) }
64- />
51+ </ h1 >
52+ { experimentName === 'variation1' && isRegistrationPage ? (
53+ < span className = "text-light-300 dicount-heading" >
54+ < span className = "lead mr-3" >
55+ < SideDiscountBanner />
56+ </ span >
57+ < span className = "dashed-border d-inline-flex flex-wrap align-items-center" >
58+ < span id = "edx-welcome" className = "text-white edx-welcome font-weight-bold mr-1" > EDXWELCOME</ span >
59+ < FontAwesomeIcon
60+ className = "text-light-700 copyIcon ml-1.5 hover-discount-icon"
61+ icon = { faCut }
62+ data-clipboard-action = "copy"
63+ data-clipboard-target = "#edx-welcome"
64+ onClick = { ( ) => setToastShow ( true ) }
65+ />
66+ </ span >
6567 </ span >
66- </ span >
67- ) : null }
68+ ) : null }
69+ </ div >
6870 </ div >
6971 </ div >
7072 ) ;
0 commit comments