From a74802d33afd2edd45cee240b0ee2120f1a533eb Mon Sep 17 00:00:00 2001 From: Sarbik Betal Date: Fri, 25 Sep 2020 15:37:39 +0530 Subject: [PATCH] [Fix] Align social icons to the left --- src/components/markdown.js | 19 +++++++++++++++++-- src/components/markdownPreview.js | 3 ++- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/src/components/markdown.js b/src/components/markdown.js index 3c41c48..ed5e305 100644 --- a/src/components/markdown.js +++ b/src/components/markdown.js @@ -26,6 +26,18 @@ const Markdown = props => { } return "" } + const SectionTitle = props => { + if (props.label) { + return ( + <> + {`

${props.label}

`} +
+
+ + ) + } + return "" + } const DisplayWork = props => { if (props.prefix && props.project) { if (props.link) { @@ -61,7 +73,7 @@ const Markdown = props => { if (props.username) { return ( <> - {`${props.username}`} + {`${props.username}`}
) @@ -273,7 +285,10 @@ const Markdown = props => { github={props.social.github} /> - {isSocial(props.social) ? `

` : ""}
+ {isSocial(props.social) ? `

` : ""}
+ <> + + <> { } const SocialPreview = props => { return ( -

+
+

Connect with me: