Skip to content

Commit 37d1685

Browse files
PROD-2321
1 parent e1f69b2 commit 37d1685

12 files changed

+100
-39
lines changed

src-ts/lib/styles/mixins/_breakpoints.mixins.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,12 @@
6767
}
6868
}
6969

70+
@mixin ltelg {
71+
@media (max-width: #{$lg-max}) {
72+
@content;
73+
}
74+
}
75+
7076
@mixin lg {
7177
@media (min-width: #{$lg-min}) and (max-width: #{$lg-max}){
7278
@content;

src-ts/tools/work/work-type-banner/WorkTypeBanner.scss renamed to src-ts/tools/work/work-type-banner/WorkTypeBanner.module.scss

Lines changed: 94 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,25 @@
1-
@import "../../../styles/include";
1+
@import '../../../lib/styles/mixins';
2+
@import '../../../lib/styles/variables';
23

34
.heroContainer {
4-
position: static;
5-
min-width: 610px;
6-
left: 0px;
7-
top: 0px;
8-
margin: 16px 0px;
5+
display: flex;
6+
flex-direction: row;
7+
align-items: flex-start;
8+
padding: 0px 0px 0px 0px;
9+
gap: 24px;
10+
11+
12+
height: 104px;
13+
14+
background: linear-gradient(84.92deg, #363D8C 2.08%, #723390 97.43%);
15+
border-radius: 0px;
16+
17+
/* Inside auto layout */
18+
flex: none;
19+
order: 2;
20+
align-self: stretch;
21+
flex-grow: 0;
922

10-
display: grid;
11-
grid-template-columns: 1fr 359px;
1223

1324
&.website-design,
1425
&.website-design-legacy,
@@ -22,20 +33,25 @@
2233
background: linear-gradient(84.92deg, #723390 2.08%, #8C384F 97.43%);
2334
}
2435

25-
border-radius: 8px;
36+
&.bug-hunt {
37+
background: linear-gradient(84.92deg, #363D8C 2.08%, #723390 97.43%);
38+
}
39+
2640
margin-bottom: -35px;
2741
border-bottom-left-radius: 0;
2842
border-bottom-right-radius: 0;
2943

3044

31-
@include mobile {
32-
min-width: 0;
33-
max-width: 100%;
45+
@include ltelg {
46+
height: 283px;
3447
overflow: hidden;
3548
flex-direction: column;
49+
align-items: flex-start;
50+
padding: 0px;
3651
grid-template-columns: auto;
3752
margin-top: 0 !important;
3853
border-radius: 0 !important;
54+
gap: 0px;
3955
}
4056

4157
.heroBackgroundContainer {
@@ -52,52 +68,63 @@
5268

5369
border-radius: 0 8px 8px 0;
5470

55-
@include mobile {
71+
@include ltelg {
5672
width: 100%;
5773
height: 156px;
5874
order: 0;
5975
}
6076

77+
&.bug-hunt {
78+
background: url("./images/bug-hunt.png");
79+
background-size: cover;
80+
81+
@include ltelg {
82+
background: url("./images/bug-hunt-mobile.png");
83+
background-size: cover;
84+
background-position: bottom;
85+
}
86+
}
87+
6188
&.data-exploration {
62-
background: url("../../../assets/images/data-exploration.png");
89+
background: url("./images/data-exploration.png");
6390
background-size: cover;
6491

65-
@include mobile {
66-
background: url("../../../assets/images/data-exploration-mobile.png");
92+
@include ltelg {
93+
background: url("./images/data-exploration-mobile.png");
6794
background-size: cover;
6895
background-position: bottom;
6996
}
7097
}
7198

7299
&.find-me-data {
73-
background: url("../../../assets/images/find-me-data.png");
100+
background: url("./images/find-me-data.png");
74101
background-size: cover;
75102

76-
@include mobile {
77-
background: url("../../../assets/images/find-me-data-mobile.png");
103+
@include ltelg {
104+
background: url("./images/find-me-data-mobile.png");
78105
background-size: cover;
79106
background-position: bottom;
80107
}
81108
}
82109

83110
&.problem-statement--data-advisory {
84-
background: url("../../../assets/images/problem-statement.png");
111+
background: url("./images/problem-statement.png");
85112
background-size: cover;
86113

87-
@include mobile {
88-
background: url("../../../assets/images/problem-statement-mobile.png");
114+
@include ltelg {
115+
background: url("./images/problem-statement-mobile.png");
89116
background-size: cover;
90117
background-position: bottom;
91118
}
92119
}
93120

94121
&.website-design,
95122
&.website-design-legacy {
96-
background: url("../../../assets/images/website-design-v2.png");
123+
background: url("./images/website-design-v2.png");
97124
background-size: cover;
98125

99-
@include mobile {
100-
background: url("../../../assets/images/website-design-banner-mobile.png");
126+
@include ltelg {
127+
background: url("./images/website-design-banner-mobile.png");
101128
background-size: cover;
102129
background-position: bottom;
103130
}
@@ -108,9 +135,8 @@
108135
display: flex;
109136
flex-direction: column;
110137
align-items: flex-start;
111-
padding: 32px 0px;
112-
113-
color: $black-0;
138+
padding: 16px 0px;
139+
color: $tc-white;
114140

115141
position: static;
116142
left: 32px;
@@ -122,6 +148,11 @@
122148
flex-grow: 1;
123149
margin: 0px 24px;
124150

151+
@include ltelg {
152+
margin: 0px 16px;
153+
padding: 8px 0px;
154+
}
155+
125156
.heroHeader {
126157
/* Auto layout */
127158
display: flex;
@@ -172,29 +203,53 @@
172203
font-size: 42px;
173204
font-weight: 400;
174205

175-
@include mobile {
206+
@include ltelg {
176207
flex: auto;
177208
}
178209

179210
.heroHeaderTitle {
180-
display: flex;
211+
height: 32px;
212+
font-family: 'Barlow Condensed';
213+
font-style: normal;
214+
font-weight: 600;
215+
font-size: 34px;
216+
line-height: 32px;
181217
text-transform: uppercase;
218+
color: #FFFFFF;
182219

183-
@include mobile {
220+
/* Inside auto layout */
221+
flex: none;
222+
order: 0;
223+
align-self: stretch;
224+
flex-grow: 0;
225+
226+
@include ltelg {
184227
font-size: 28px;
185228
line-height: 32px;
229+
width: 288px;
186230
}
187231
}
188232

189233
.heroHeaderSubtitle {
190-
font-size: 17px;
191-
max-width: 713px;
192-
line-height: 24px;
193-
font-weight: 500;
194-
195-
@include mobile {
234+
height: 24px;
235+
font-family: 'Roboto';
236+
font-style: normal;
237+
font-weight: 700;
238+
font-size: 16px;
239+
line-height: 24px;
240+
color: #FFFFFF;
241+
242+
/* Inside auto layout */
243+
flex: none;
244+
order: 1;
245+
align-self: stretch;
246+
flex-grow: 0;
247+
248+
@include ltelg {
196249
font-size: 14px;
197250
line-height: 20px;
251+
width: 288px;
252+
height: 60px;
198253
}
199254
}
200255
}
@@ -233,7 +288,7 @@
233288
column-gap: 8px;
234289
justify-content: space-around;
235290

236-
@include mobile {
291+
@include ltelg {
237292
flex-direction: column;
238293
justify-content: flex-start;
239294
align-items: center;
@@ -255,7 +310,7 @@
255310
height: 172px;
256311

257312
/* gray/white */
258-
background: $black-0;
313+
background: $tc-white;
259314
/* Button hover shadow */
260315
box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
261316
border-radius: 8px;
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)