Skip to content

Commit fdf9859

Browse files
committed
Updated UI for CORE-292
1 parent aee9dbc commit fdf9859

File tree

3 files changed

+45
-8
lines changed

3 files changed

+45
-8
lines changed

src/shared/components/DateRangePicker/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
position: relative;
124124

125125
&::after {
126-
content: "\f078";
126+
content: "\f08e";
127127
display: inline-flex;
128128
align-items: center;
129129
justify-content: center;

src/shared/components/challenge-detail/Header/index.jsx

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -469,13 +469,18 @@ export default function ChallengeHeader(props) {
469469
}
470470
</div>
471471
) : (
472-
<div styleName="challenge-ops-container">
473-
<PrimaryButton
474-
theme={{ button: style.submitButton }}
475-
to={`${topcrowdLink}`}
476-
>
477-
Go to Topcrowd
478-
</PrimaryButton>
472+
<div styleName="topcrowd-container">
473+
This challenge is hosted on the <br />
474+
new Topcoder Platform
475+
476+
<div>
477+
<Link
478+
openNewTab
479+
to={`${topcrowdLink}`}
480+
>
481+
Visit Challenge Registration
482+
</Link>
483+
</div>
479484
</div>
480485
)}
481486
</div>

src/shared/components/challenge-detail/Header/style.scss

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,38 @@
1010
padding: 0 25px !important;
1111
}
1212

13+
.topcrowd-container {
14+
display: block;
15+
margin-top: 32px;
16+
margin-right: 50px;
17+
margin-left: 50px;
18+
font-size: 12px;
19+
font-family: 'Roboto', sans-serif;
20+
line-height: 1.2em;
21+
22+
a {
23+
color: $tc-dark-blue;
24+
display: block;
25+
padding-top: 20px;
26+
27+
&::after {
28+
content: "\f08e";
29+
display: inline;
30+
align-items: center;
31+
justify-content: center;
32+
right: 6px;
33+
top: 46%;
34+
height: 34px;
35+
font-family: "FontAwesome", serif;
36+
font-size: 12px;
37+
color: $tc-dark-blue;
38+
transform: translateY(-50%);
39+
pointer-events: none;
40+
margin-left: 5px;
41+
}
42+
}
43+
}
44+
1345
.challenge-ops-container .submitButton {
1446
margin: 5px;
1547
min-width: 0;

0 commit comments

Comments
 (0)