Skip to content

Commit b13b2de

Browse files
committed
move url to configs
1 parent d58f288 commit b13b2de

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

config/default.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ module.exports = {
143143
STUDIO_FONTS_POLICY:
144144
'http://help.topcoder.com/hc/en-us/articles/217959447-Font-Policy-for-Design-Challenges',
145145
TOPCODER_TERMS: 'https://www.topcoder.com/community/how-it-works/terms/',
146+
HOWTOCOMPETEINMARATHON: 'https://www.topcoder.com/thrive/articles/How%20To%20Compete%20in%20a%20Marathon%20Match',
147+
USABLECODEDEV: 'https://www.topcoder.com/thrive/articles/Usable%20Code%20in%20Dev%20Challenges',
148+
EXTENSIONVSCODE: 'https://marketplace.visualstudio.com/items?itemName=Topcoder.topcoder-workflow&ssr=false#overview',
146149
},
147150

148151
IOS: 'https://ios.topcoder-dev.com',

src/shared/components/challenge-detail/Specification/SideBar/index.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ export default function SideBar({
223223
!isDesign && (
224224
<span styleName="link-like-paragraph tooltip-container no-margin-top">
225225
<a
226-
href="https://www.topcoder.com/thrive/articles/Usable%20Code%20in%20Dev%20Challenges"
226+
href={config.URL.INFO.USABLECODEDEV}
227227
title="Useable Code Rules"
228228
target="_blank"
229229
rel="noreferrer"
@@ -248,7 +248,7 @@ export default function SideBar({
248248
</h2>
249249
<p styleName="link-like-paragraph">
250250
<a
251-
href="https://www.topcoder.com/thrive/articles/How%20To%20Compete%20in%20a%20Marathon%20Match"
251+
href={config.URL.INFO.HOWTOCOMPETEINMARATHON}
252252
title="How To Compete in a Marathon Match"
253253
target="_blank"
254254
rel="noreferrer"
@@ -395,7 +395,7 @@ export default function SideBar({
395395
</h2>
396396
<span styleName="link-like-paragraph tooltip-container">
397397
<a
398-
href="https://marketplace.visualstudio.com/items?itemName=Topcoder.topcoder-workflow&ssr=false#overview"
398+
href={config.URL.INFO.EXTENSIONVSCODE}
399399
title="Topcoder Extension for VSCode"
400400
target="_blank"
401401
rel="noreferrer"

0 commit comments

Comments
 (0)