Skip to content

Commit 096415d

Browse files
committed
discord icon in footer
1 parent 24a4023 commit 096415d

File tree

3 files changed

+79
-0
lines changed

3 files changed

+79
-0
lines changed

__tests__/shared/components/__snapshots__/TopcoderFooter.jsx.snap

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,34 @@ exports[`Matches shallow shapshot 1`] = `
471471
/>
472472
</svg>
473473
</a>
474+
<a
475+
href="https://discord.gg/topcoder"
476+
rel="noopener noreferrer"
477+
target="_blank"
478+
>
479+
<svg
480+
height="24"
481+
viewBox="0 0 24 24"
482+
width="24"
483+
xmlns="http://www.w3.org/2000/svg"
484+
>
485+
<title>
486+
Join Topcoder Discord
487+
</title>
488+
<g
489+
fill="#AAA"
490+
fillRule="evenodd"
491+
>
492+
<path
493+
d="M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10S2 17.514 2 12 6.486 2 12 2zm0-2C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0z"
494+
/>
495+
<path
496+
d="M17.005 7.829A10.65 10.65 0 0 0 14.359 7a.04.04 0 0 0-.043.02c-.114.205-.24.473-.33.683a9.808 9.808 0 0 0-2.971 0 6.938 6.938 0 0 0-.335-.683.042.042 0 0 0-.042-.02 10.62 10.62 0 0 0-2.646.828.038.038 0 0 0-.018.015c-1.685 2.541-2.147 5.02-1.92 7.467a.045.045 0 0 0 .017.031 10.742 10.742 0 0 0 3.246 1.656.042.042 0 0 0 .045-.015c.25-.345.473-.708.664-1.09a.042.042 0 0 0-.022-.058 7.07 7.07 0 0 1-1.014-.488.042.042 0 0 1-.004-.07c.068-.05.136-.105.201-.159a.04.04 0 0 1 .042-.005c2.128.98 4.431.98 6.533 0a.04.04 0 0 1 .043.005c.065.054.133.108.202.16a.042.042 0 0 1-.004.07c-.324.19-.66.352-1.014.487a.042.042 0 0 0-.022.058c.195.382.418.745.663 1.09.01.014.029.02.046.015a10.707 10.707 0 0 0 3.251-1.656.042.042 0 0 0 .017-.03c.271-2.83-.454-5.288-1.922-7.467a.033.033 0 0 0-.017-.016zm-6.483 5.642c-.62 0-1.13-.528-1.13-1.177 0-.648.5-1.176 1.13-1.176.634 0 1.14.532 1.13 1.176 0 .649-.5 1.177-1.13 1.177zm3.956 0c-.62 0-1.13-.528-1.13-1.177 0-.648.5-1.176 1.13-1.176.635 0 1.14.532 1.13 1.176 0 .649-.495 1.177-1.13 1.177z"
497+
fillRule="nonzero"
498+
/>
499+
</g>
500+
</svg>
501+
</a>
474502
</div>
475503
</div>
476504
</div>
@@ -611,6 +639,34 @@ exports[`Matches shallow shapshot 1`] = `
611639
/>
612640
</svg>
613641
</a>
642+
<a
643+
href="https://discord.gg/topcoder"
644+
rel="noopener noreferrer"
645+
target="_blank"
646+
>
647+
<svg
648+
height="24"
649+
viewBox="0 0 24 24"
650+
width="24"
651+
xmlns="http://www.w3.org/2000/svg"
652+
>
653+
<title>
654+
Join Topcoder Discord
655+
</title>
656+
<g
657+
fill="#AAA"
658+
fillRule="evenodd"
659+
>
660+
<path
661+
d="M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10S2 17.514 2 12 6.486 2 12 2zm0-2C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0z"
662+
/>
663+
<path
664+
d="M17.005 7.829A10.65 10.65 0 0 0 14.359 7a.04.04 0 0 0-.043.02c-.114.205-.24.473-.33.683a9.808 9.808 0 0 0-2.971 0 6.938 6.938 0 0 0-.335-.683.042.042 0 0 0-.042-.02 10.62 10.62 0 0 0-2.646.828.038.038 0 0 0-.018.015c-1.685 2.541-2.147 5.02-1.92 7.467a.045.045 0 0 0 .017.031 10.742 10.742 0 0 0 3.246 1.656.042.042 0 0 0 .045-.015c.25-.345.473-.708.664-1.09a.042.042 0 0 0-.022-.058 7.07 7.07 0 0 1-1.014-.488.042.042 0 0 1-.004-.07c.068-.05.136-.105.201-.159a.04.04 0 0 1 .042-.005c2.128.98 4.431.98 6.533 0a.04.04 0 0 1 .043.005c.065.054.133.108.202.16a.042.042 0 0 1-.004.07c-.324.19-.66.352-1.014.487a.042.042 0 0 0-.022.058c.195.382.418.745.663 1.09.01.014.029.02.046.015a10.707 10.707 0 0 0 3.251-1.656.042.042 0 0 0 .017-.03c.271-2.83-.454-5.288-1.922-7.467a.033.033 0 0 0-.017-.016zm-6.483 5.642c-.62 0-1.13-.528-1.13-1.177 0-.648.5-1.176 1.13-1.176.634 0 1.14.532 1.13 1.176 0 .649-.5 1.177-1.13 1.177zm3.956 0c-.62 0-1.13-.528-1.13-1.177 0-.648.5-1.176 1.13-1.176.635 0 1.14.532 1.13 1.176 0 .649-.495 1.177-1.13 1.177z"
665+
fillRule="nonzero"
666+
/>
667+
</g>
668+
</svg>
669+
</a>
614670
</div>
615671
<div
616672
className="src-shared-components-TopcoderFooter-___style__bottom___JLB31"
Lines changed: 20 additions & 0 deletions
Loading

src/shared/components/TopcoderFooter/index.jsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import LinkedInIcon from './icons/icon-linkedln.svg';
1111
import TwitterIcon from './icons/icon-twitter.svg';
1212
import InstagramIcon from './icons/icon-instagram.svg';
1313
import TCLogo from './icons/TC-logo-inverted.svg';
14+
import DiscordIcon from './icons/icon-discord.svg';
1415

1516
import './style.scss';
1617

@@ -116,6 +117,7 @@ export default function TopcoderFooter() {
116117
<a href="https://www.linkedin.com/company/topcoder" target="_blank" rel="noopener noreferrer"><LinkedInIcon /></a>
117118
<a href="https://twitter.com/topcoder" target="_blank" rel="noopener noreferrer"><TwitterIcon /></a>
118119
<a href="https://www.instagram.com/topcoder" target="_blank" rel="noopener noreferrer"><InstagramIcon /></a>
120+
<a href="https://discord.gg/topcoder" target="_blank" rel="noopener noreferrer"><DiscordIcon /></a>
119121
</div>
120122
</div>
121123
</div>
@@ -139,6 +141,7 @@ export default function TopcoderFooter() {
139141
<a href="https://www.linkedin.com/company/topcoder" target="_blank" rel="noopener noreferrer"><LinkedInIcon /></a>
140142
<a href="https://twitter.com/topcoder" target="_blank" rel="noopener noreferrer"><TwitterIcon /></a>
141143
<a href="https://www.instagram.com/topcoder" target="_blank" rel="noopener noreferrer"><InstagramIcon /></a>
144+
<a href="https://discord.gg/topcoder" target="_blank" rel="noopener noreferrer"><DiscordIcon /></a>
142145
</div>
143146
<div styleName="bottom">
144147
<span styleName="copyright-notice">

0 commit comments

Comments
 (0)