From a1600601d7b7631c3ec35e67892a097c3a5f10ef Mon Sep 17 00:00:00 2001 From: Shruti3004 Date: Tue, 11 Aug 2020 12:02:41 +0530 Subject: [PATCH] updated the layout of resume --- src/components/DisplayCard.js | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/src/components/DisplayCard.js b/src/components/DisplayCard.js index dd60419..73b10f2 100644 --- a/src/components/DisplayCard.js +++ b/src/components/DisplayCard.js @@ -74,22 +74,32 @@ const DisplayCard = ({ data, repositories }) => {
)} -
+
{data.location}
-

Twitter

- -

Organisations

- -
- {data.company} -
+ { + data.twitter_username === null ? '' : +
+
    +
  • @{data.twitter_username}
  • +
+

Twitter

+
+ } + + { + data.company === null ? '' : +
+
+ {data.company} +
+

Organisations

+
+ }

Followers: @@ -124,7 +134,7 @@ const DisplayCard = ({ data, repositories }) => { About

-

{data.bio}

+

{data.bio}

Public Repositories:{" "}