Skip to content

Commit be02349

Browse files
committed
SVG social icons added
1 parent f21bbf2 commit be02349

File tree

6 files changed

+10
-4309
lines changed

6 files changed

+10
-4309
lines changed

src/components/markdown.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ const Markdown = props => {
420420
<>
421421
<DisplaySocial
422422
base="https://codesandbox.com"
423-
icon="https://cdn.jsdelivr.net/npm/[email protected]/icons/codesandbox.svg"
423+
icon={icon_base_url + "codesandbox.svg"}
424424
username={props.social.codesandbox}
425425
/>
426426
</>
@@ -490,7 +490,7 @@ const Markdown = props => {
490490
<>
491491
<DisplaySocial
492492
base="https://codeforces.com/profile"
493-
icon="https://cdn.jsdelivr.net/npm/[email protected]/icons/codeforces.svg"
493+
icon={icon_base_url+"codeforces.svg"}
494494
username={props.social.codeforces}
495495
/>
496496
</>
@@ -518,7 +518,7 @@ const Markdown = props => {
518518
<>
519519
<DisplaySocial
520520
base="https://www.topcoder.com/members"
521-
icon="https://cdn.jsdelivr.net/npm/[email protected]/icons/topcoder.svg"
521+
icon={icon_base_url + "topcoder.svg"}
522522
username={props.social.topcoder}
523523
/>
524524
</>

src/components/markdownPreview.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export const SocialPreview = props => {
168168
<>
169169
<DisplaySocial
170170
base="https://codesandbox.com"
171-
icon="https://cdn.jsdelivr.net/npm/[email protected]/icons/codesandbox.svg"
171+
icon={icon_base_url + "codesandbox.svg"}
172172
username={props.social.codesandbox}
173173
/>
174174
</>
@@ -238,7 +238,7 @@ export const SocialPreview = props => {
238238
<>
239239
<DisplaySocial
240240
base="https://codeforces.com/profile"
241-
icon="https://cdn.jsdelivr.net/npm/[email protected]/icons/codeforces.svg"
241+
icon={icon_base_url + "codeforces.svg"}
242242
username={props.social.codeforces}
243243
/>
244244
</>
@@ -266,7 +266,7 @@ export const SocialPreview = props => {
266266
<>
267267
<DisplaySocial
268268
base="https://www.topcoder.com/members"
269-
icon="https://cdn.jsdelivr.net/npm/[email protected]/icons/topcoder.svg"
269+
icon={icon_base_url + "topcoder.svg"}
270270
username={props.social.topcoder}
271271
/>
272272
</>
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)