diff --git a/src/components/markdown.jsx b/src/components/markdown.jsx index 116665ca..8771fdda 100644 --- a/src/components/markdown.jsx +++ b/src/components/markdown.jsx @@ -637,6 +637,13 @@ const Markdown = (props) => { <> + <> + + {isSocial(social) ? ( <> {'

'} diff --git a/src/components/markdownPreview.jsx b/src/components/markdownPreview.jsx index 6101b57f..1a48803b 100644 --- a/src/components/markdownPreview.jsx +++ b/src/components/markdownPreview.jsx @@ -256,6 +256,13 @@ export const SocialPreview = (props) => { <> + <> + + ); }; diff --git a/src/components/social.jsx b/src/components/social.jsx index b6684e49..240810ec 100644 --- a/src/components/social.jsx +++ b/src/components/social.jsx @@ -343,6 +343,20 @@ const Social = (props) => { onChange={(event) => handleSocialChange('rssurl', event)} /> +
+ exercism + handleSocialChange('exercism', event)} + /> +
); diff --git a/src/constants/defaults.js b/src/constants/defaults.js index abdf578a..599ed8f8 100644 --- a/src/constants/defaults.js +++ b/src/constants/defaults.js @@ -90,6 +90,7 @@ export const DEFAULT_SOCIAL = { geeks_for_geeks: '', discord: '', rssurl: '', + exercism: '', }; export const DEFAULT_SUPPORT = { diff --git a/src/images/icons/Social/exercism.svg b/src/images/icons/Social/exercism.svg new file mode 100644 index 00000000..f1eff5c2 --- /dev/null +++ b/src/images/icons/Social/exercism.svg @@ -0,0 +1,18 @@ + + + + Group + Created with Sketch. + + + + + + + + + + + + + \ No newline at end of file