diff --git a/config/default.js b/config/default.js index 7f4b987e90..0d6224aada 100644 --- a/config/default.js +++ b/config/default.js @@ -135,6 +135,9 @@ module.exports = { STUDIO_FONTS_POLICY: 'http://help.topcoder.com/hc/en-us/articles/217959447-Font-Policy-for-Design-Challenges', TOPCODER_TERMS: 'https://www.topcoder.com/community/how-it-works/terms/', + HOWTOCOMPETEINMARATHON: 'https://www.topcoder.com/thrive/articles/How%20To%20Compete%20in%20a%20Marathon%20Match', + USABLECODEDEV: 'https://www.topcoder.com/thrive/articles/Usable%20Code%20in%20Dev%20Challenges', + EXTENSIONVSCODE: 'https://marketplace.visualstudio.com/items?itemName=Topcoder.topcoder-workflow&ssr=false#overview', }, IOS: 'https://ios.topcoder-dev.com', diff --git a/src/shared/components/challenge-detail/Specification/SideBar/index.jsx b/src/shared/components/challenge-detail/Specification/SideBar/index.jsx index 42912944d5..5b4fe7aa2c 100644 --- a/src/shared/components/challenge-detail/Specification/SideBar/index.jsx +++ b/src/shared/components/challenge-detail/Specification/SideBar/index.jsx @@ -88,6 +88,28 @@ export default function SideBar({ ); + const usableCodeArticle = ( +
+

+ Useable Code Rules +

+

+ A set of guidelines to help determine if code is acceptable or not. +

+
+ ); + + const vscodeTip = ( +
+

+ Topcoder Extension for VSCode +

+

+ Shortcuts to perform actions related to Topcoder platform without having to open a browser +

+
+ ); + return (
@@ -197,9 +219,45 @@ export default function SideBar({ ) } + { + !isDesign && ( + + + Useable Code Rules + + +
+ ? +
+
+
+ ) + }
) } + { isMM && ( +
+

+ CHALLENGE LINKS: +

+

+ + How To Compete in a Marathon Match + +

+
+ )} { isDesign && ( @@ -331,6 +389,26 @@ export default function SideBar({
) } +
+

+ TOOLBOX: +

+ + + Topcoder Extension
for VSCode +
+ +
+ ? +
+
+
+
{ shareable && (

diff --git a/src/shared/components/challenge-detail/Specification/SideBar/styles.scss b/src/shared/components/challenge-detail/Specification/SideBar/styles.scss index f306f370e9..131f15fb3e 100644 --- a/src/shared/components/challenge-detail/Specification/SideBar/styles.scss +++ b/src/shared/components/challenge-detail/Specification/SideBar/styles.scss @@ -1,5 +1,9 @@ @import "mixins"; +.no-margin-top { + margin-top: -10px !important; +} + .challenge-spec-sidebar { background: $tc-dark-blue-10; width: 245px;