Skip to content

Commit 744a212

Browse files
committed
Merge remote-tracking branch 'origin/new-develop' into new-develop
2 parents f84e7b0 + 8a7fb8c commit 744a212

File tree

4 files changed

+39
-7
lines changed

4 files changed

+39
-7
lines changed

config/contentful/space.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,9 +1495,9 @@
14951495
"design",
14961496
"data-science",
14971497
"development",
1498-
"competitive_programming"
1498+
"competitive-programming"
14991499
],
1500-
"message": "Select on of: design, development, data-science"
1500+
"message": "Select on of: design, development, data-science, competitive-programming"
15011501
}
15021502
],
15031503
"disabled": false,
@@ -2349,9 +2349,9 @@
23492349
"design",
23502350
"development",
23512351
"data-science",
2352-
"competitive_programming"
2352+
"competitive-programming"
23532353
],
2354-
"message": "Select one of: design, development, data-science"
2354+
"message": "Select one of: design, development, data-science, competitive-programming"
23552355
}
23562356
],
23572357
"disabled": false,

src/shared/components/TrackHomePages/HomePage/CompetitionLeaderboard/TrackIcon/style.scss

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
background: $tc-orange-30;
3636
}
3737

38+
&.competitive-programming {
39+
background: $tc-orange-30;
40+
}
41+
3842
&:hover {
3943
&.design,
4044
&.generic {
@@ -48,6 +52,10 @@
4852
&.data-science {
4953
background: $tc-orange;
5054
}
55+
56+
&.competitive-programming {
57+
background: $tc-orange-30;
58+
}
5159
}
5260
}
5361

@@ -77,6 +85,10 @@
7785
background: $tc-orange;
7886
}
7987

88+
&.competitive-programming {
89+
background: $tc-orange;
90+
}
91+
8092
&:hover {
8193
&.design,
8294
&.generic {
@@ -90,6 +102,10 @@
90102
&.data-science {
91103
background: $tc-orange;
92104
}
105+
106+
&.competitive-programming {
107+
background: $tc-orange;
108+
}
93109
}
94110
}
95111

@@ -118,6 +134,10 @@
118134
background: $tc-orange;
119135
}
120136

137+
&.competitive-programming {
138+
background: $tc-orange;
139+
}
140+
121141
@media screen and (max-width: $screen-md) {
122142
font-size: 20px;
123143
line-height: 60px;

src/shared/components/TrackHomePages/HomePage/ImportantPolicies/index.jsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,12 @@ const ImportantPolicies = ({ data }) => {
3232
{
3333
datas.policies.map(policy => (
3434
<div key={policy.fields.title} styleName="policy">
35-
<img styleName="icon" src={policy.fields.icon.fields.file.url} alt="Policy" />
36-
<div styleName="title">
35+
<a href={policy.fields.linkUrl} styleName="icon">
36+
<img styleName="icon" src={policy.fields.icon.fields.file.url} alt="Policy" />
37+
</a>
38+
<a href={policy.fields.linkUrl} styleName="title">
3739
{policy.fields.title}
38-
</div>
40+
</a>
3941
<div styleName="text">
4042
{policy.fields.shortDescription}
4143
</div>

src/shared/components/TrackHomePages/HomePage/ImportantPolicies/styles.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,21 @@
3232
margin-bottom: 10px;
3333
font-size: 20px;
3434
line-height: 30px;
35+
display: block;
36+
37+
&:hover {
38+
background: transparent;
39+
}
3540
}
3641

3742
.icon {
3843
height: 96px;
3944
width: 96px;
45+
display: inline-block;
46+
47+
&:hover {
48+
background: transparent;
49+
}
4050

4151
@media screen and (max-width: $screen-md) {
4252
height: 72px;

0 commit comments

Comments
 (0)