File tree Expand file tree Collapse file tree 12 files changed +102
-27
lines changed
learn-lib/data-providers/tca-certifications-provider/tca-certification-progress
welcome/tc-certifications Expand file tree Collapse file tree 12 files changed +102
-27
lines changed Original file line number Diff line number Diff line change 43
43
}
44
44
45
45
@mixin scrollbar {
46
+
46
47
// firefox's solution for "customizing" scrollbars
47
48
& {
48
49
scrollbar-width : thin ;
67
68
}
68
69
}
69
70
}
71
+
72
+ @mixin freeLabel {
73
+ font-size : 24px ;
74
+ line-height : 32px ;
75
+ font-weight : $font-weight-bold ;
76
+ font-style : normal ;
77
+ background-color : $orange-100 ;
78
+ padding : 2px $space-sm ;
79
+ border-radius : 4px ;
80
+ color : $black-100 ;
81
+ display : inline-block ;
82
+
83
+ @include ltesm {
84
+ font-size : 20px ;
85
+ line-height : 28px ;
86
+ }
87
+ }
Original file line number Diff line number Diff line change 55
55
text-decoration : line-through ;
56
56
color : $black-40 ;
57
57
}
58
+
59
+ :global(.body-main-bold ) {
60
+ font-style : normal ;
61
+ }
62
+ }
63
+
64
+ .freeLabel {
65
+ @include freeLabel ;
58
66
}
59
67
}
60
68
}
Original file line number Diff line number Diff line change @@ -99,17 +99,9 @@ const CertificationDetailsSidebar: FC<CertificationDetailsSidebarProps> = (props
99
99
< IconSolid . CurrencyDollarIcon />
100
100
</ span >
101
101
< span className = 'quote-main' >
102
- < strong > Free </ strong >
103
- until April 30
102
+ < strong className = { styles . freeLabel } > FREE </ strong >
103
+ < span className = 'body-main-bold' > until April 30 </ span >
104
104
< span className = 'strike' > $20</ span >
105
- < Tooltip
106
- content = { renderTooltipContents ( < IconSolid . CurrencyDollarIcon /> , [
107
- 'Introductory low pricing' ,
108
- ] ) }
109
- place = 'bottom'
110
- trigger = { < IconOutline . InformationCircleIcon /> }
111
- triggerOn = 'hover'
112
- />
113
105
</ span >
114
106
</ li >
115
107
) }
Original file line number Diff line number Diff line change 9
9
.header {
10
10
text-align : center ;
11
11
12
- h3 {
13
- color : $blue-140 ;
12
+ .freeLabel {
13
+ @include freeLabel ;
14
+
15
+ margin-bottom : $space-sm ;
14
16
}
15
17
16
18
:global (.strike ) {
Original file line number Diff line number Diff line change @@ -13,9 +13,8 @@ interface EnrollmentSidebarProps {
13
13
const EnrollmentSidebar : FC < EnrollmentSidebarProps > = ( props : EnrollmentSidebarProps ) => (
14
14
< StickySidebar className = { styles . wrap } >
15
15
< div className = { styles . header } >
16
- < h3 className = 'marketing' > Free </ h3 >
16
+ < div className = { styles . freeLabel } > FREE </ div >
17
17
< span className = 'strike' > $20</ span >
18
- < strong className = 'overline' > Total payment</ strong >
19
18
</ div >
20
19
< hr />
21
20
< div className = { styles . form } >
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ export interface TCACertificationProgress extends LearnModelBase {
14
14
completionUuid : string
15
15
coursesCount : number
16
16
topcoderCertification : TCACertification
17
+ topcoderCertificationId : number
17
18
status : TCACertificationProgressStatus
18
19
completedAt : null | Date
19
20
certificationProgress : number
Original file line number Diff line number Diff line change 29
29
flex-direction : column ;
30
30
position : relative ;
31
31
padding : $space-xxxxl ;
32
- margin : $space-mx 0 ;
32
+ margin : $space-mx 0 0 ;
33
33
background-image : url (" ./assets/certs-banner-bg.png" );
34
34
background-size : cover ;
35
- border-radius : 8px ;
35
+ border-top-left-radius : 8px ;
36
+ border-top-right-radius : 8px ;
36
37
37
38
@include ltemd {
38
39
padding : 88px $space-lg $space-lg ;
39
- margin : $space-lg 0 ;
40
+ margin : $space-lg 0 0 ;
40
41
background-image : url (" ./assets/certs-banner-bg-mobile.png" );
41
42
}
42
43
57
58
}
58
59
}
59
60
61
+ .freeBanner {
62
+ display : flex ;
63
+ align-items : center ;
64
+ padding : $space-lg $space-xxxxl ;
65
+ margin : 0 0 $space-mx ;
66
+ background-image : url (" ./assets/free-banner-bg.png" );
67
+ background-size : cover ;
68
+ border-bottom-left-radius : 8px ;
69
+ border-bottom-right-radius : 8px ;
70
+
71
+ @include ltemd {
72
+ padding : $space-lg $space-xxl ;
73
+ margin-bottom : $space-xxl ;
74
+ background-image : url (" ./assets/free-banner-bg-mobile.png" );
75
+
76
+ >span {
77
+ font-size : 14px ;
78
+ line-height : 20px ;
79
+ }
80
+ }
81
+ }
82
+
60
83
.certsList {
61
84
display : grid ;
62
85
grid-template-columns : 1fr 1fr ;
Original file line number Diff line number Diff line change @@ -50,6 +50,11 @@ const TCCertifications: FC<TCCertificationsProps> = (props: TCCertificationsProp
50
50
of our pilot Certification program. Click on a certification below to learn more.
51
51
</ p >
52
52
</ div >
53
+ < div className = { styles . freeBanner } >
54
+ < strong className = 'body-large-bold' > FREE!</ strong >
55
+
56
+ < span className = 'body-large' > Certifications are free until April 30th.</ span >
57
+ </ div >
53
58
54
59
< div className = { styles . certsList } >
55
60
{
You can’t perform that action at this time.
0 commit comments