Skip to content

Commit f6f03a5

Browse files
committed
refactor(dashboard): remove legacy links
Remove `View Past SRMS` and `Past Challenges` links from dashboard. Closes #4470
1 parent 8514b0a commit f6f03a5

File tree

3 files changed

+0
-31
lines changed

3 files changed

+0
-31
lines changed

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)