Merge pull request #450 from chandrikadeb7/chandrikadeb7-svg

fix #444: add theme neutral social icons
This commit is contained in:
Rahul Jain
2021-10-03 09:48:07 +05:30
committed by GitHub
6 changed files with 10 additions and 4309 deletions
+3 -3
View File
@@ -423,7 +423,7 @@ const Markdown = props => {
<>
<DisplaySocial
base="https://codesandbox.com"
icon="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/codesandbox.svg"
icon={icon_base_url + "codesandbox.svg"}
username={props.social.codesandbox}
/>
</>
@@ -493,7 +493,7 @@ const Markdown = props => {
<>
<DisplaySocial
base="https://codeforces.com/profile"
icon="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/codeforces.svg"
icon={icon_base_url+"codeforces.svg"}
username={props.social.codeforces}
/>
</>
@@ -521,7 +521,7 @@ const Markdown = props => {
<>
<DisplaySocial
base="https://www.topcoder.com/members"
icon="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/topcoder.svg"
icon={icon_base_url + "topcoder.svg"}
username={props.social.topcoder}
/>
</>
+3 -3
View File
@@ -168,7 +168,7 @@ export const SocialPreview = props => {
<>
<DisplaySocial
base="https://codesandbox.com"
icon="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/codesandbox.svg"
icon={icon_base_url + "codesandbox.svg"}
username={props.social.codesandbox}
/>
</>
@@ -238,7 +238,7 @@ export const SocialPreview = props => {
<>
<DisplaySocial
base="https://codeforces.com/profile"
icon="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/codeforces.svg"
icon={icon_base_url + "codeforces.svg"}
username={props.social.codeforces}
/>
</>
@@ -266,7 +266,7 @@ export const SocialPreview = props => {
<>
<DisplaySocial
base="https://www.topcoder.com/members"
icon="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/topcoder.svg"
icon={icon_base_url + "topcoder.svg"}
username={props.social.topcoder}
/>
</>
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 8.2 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.8 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 324 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 8.3 KiB