Skip to content

Commit 9fd71cd

Browse files
authored
Merge pull request #4479 from cagdas001/integration-v5-challenge-api
refactor(dashboard): remove legacy links
2 parents a985b91 + d4303a1 commit 9fd71cd

File tree

4 files changed

+0
-36
lines changed

4 files changed

+0
-36
lines changed

__tests__/shared/components/Dashboard/SRM/__snapshots__/index.jsx.snap

-5
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,6 @@ exports[`Matches shallow shapshot 1`] = `
6060
<div
6161
className="src-shared-components-Dashboard-SRM-___styles__srms-links___JFdeQ"
6262
>
63-
<a
64-
href="https://www.topcoder-dev.com/my-srms/"
65-
>
66-
View Past SRMS
67-
</a>
6863
<a
6964
href="https://arena.topcoder-dev.com"
7065
>

src/shared/components/Dashboard/CurrentActivity/Challenges/index.jsx

-8
Original file line numberDiff line numberDiff line change
@@ -140,14 +140,6 @@ export default function Challenges({
140140
/>
141141
</Sticky>
142142
</div>
143-
<div styleName="linksContainer">
144-
<a
145-
href={`${config.URL.BASE}/my-challenges/?status=completed`}
146-
styleName="link"
147-
>
148-
Past Challenges
149-
</a>
150-
</div>
151143
</div>
152144
);
153145
}

src/shared/components/Dashboard/CurrentActivity/Challenges/style.scss

-20
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,6 @@
2121
}
2222
}
2323

24-
.link {
25-
@include tc-body-md;
26-
27-
&,
28-
&:active,
29-
&:focus,
30-
&:visited {
31-
color: $tc-dark-blue-110;
32-
}
33-
34-
&:hover {
35-
color: $tc-dark-blue-70;
36-
}
37-
}
38-
39-
.linksContainer {
40-
padding: 30px 20px 0;
41-
text-align: center;
42-
}
43-
4424
.loading {
4525
margin: 40px 20px 30px;
4626
}

src/shared/components/Dashboard/SRM/index.jsx

-3
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ const SRM = (props) => {
4343
</div>
4444
</section>
4545
<div styleName="srms-links">
46-
<a href={`${config.URL.BASE}/my-srms/`}>
47-
View Past SRMS
48-
</a>
4946
<a href={config.URL.ARENA}>
5047
Launch Arena
5148
</a>

0 commit comments

Comments
 (0)