From 330b5b644351041bd3afdff7015b5b5dbd4f282b Mon Sep 17 00:00:00 2001 From: Abdurrahman Rajab Date: Tue, 1 Aug 2023 13:57:36 +0300 Subject: [PATCH 1/4] feat: add github link to profile --- .../contributor-profile-info.tsx | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/components/molecules/ContributorProfileInfo/contributor-profile-info.tsx b/components/molecules/ContributorProfileInfo/contributor-profile-info.tsx index 0d6a86e770..72ce1b6fd3 100644 --- a/components/molecules/ContributorProfileInfo/contributor-profile-info.tsx +++ b/components/molecules/ContributorProfileInfo/contributor-profile-info.tsx @@ -3,7 +3,7 @@ import Link from "next/link"; import { AiOutlineGift } from "react-icons/ai"; import { BsDiscord } from "react-icons/bs"; -import { FiClock, FiGithub, FiLinkedin, FiTwitter } from "react-icons/fi"; +import { FiClock, FiGithub, FiLinkedin, FiTwitter, FiGithub} from "react-icons/fi"; import clsx from "clsx"; import LanguagePill from "components/atoms/LanguagePill/LanguagePill"; @@ -54,7 +54,7 @@ const ContributorProfileInfo = ({ {isConnected && }
- {`@${githubName}`} + {`@${githubName}`} {isConnected && ( <> @@ -93,11 +93,23 @@ const ContributorProfileInfo = ({ )} + + + + {twitterUsername} + + + {twitterUsername && ( Date: Tue, 1 Aug 2023 13:59:07 +0300 Subject: [PATCH 2/4] fix: add right links to their locations --- .../ContributorProfileInfo/contributor-profile-info.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/molecules/ContributorProfileInfo/contributor-profile-info.tsx b/components/molecules/ContributorProfileInfo/contributor-profile-info.tsx index 72ce1b6fd3..377f7be354 100644 --- a/components/molecules/ContributorProfileInfo/contributor-profile-info.tsx +++ b/components/molecules/ContributorProfileInfo/contributor-profile-info.tsx @@ -96,7 +96,7 @@ const ContributorProfileInfo = ({ Date: Tue, 1 Aug 2023 14:12:46 +0300 Subject: [PATCH 3/4] chore: linkt code --- .../contributor-profile-info.tsx | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/components/molecules/ContributorProfileInfo/contributor-profile-info.tsx b/components/molecules/ContributorProfileInfo/contributor-profile-info.tsx index 377f7be354..56fd0849c4 100644 --- a/components/molecules/ContributorProfileInfo/contributor-profile-info.tsx +++ b/components/molecules/ContributorProfileInfo/contributor-profile-info.tsx @@ -3,7 +3,7 @@ import Link from "next/link"; import { AiOutlineGift } from "react-icons/ai"; import { BsDiscord } from "react-icons/bs"; -import { FiClock, FiGithub, FiLinkedin, FiTwitter, FiGithub} from "react-icons/fi"; +import { FiClock, FiGithub, FiLinkedin, FiTwitter } from "react-icons/fi"; import clsx from "clsx"; import LanguagePill from "components/atoms/LanguagePill/LanguagePill"; @@ -94,15 +94,15 @@ const ContributorProfileInfo = ({ )} - - - {twitterUsername} - + + + {githubName} + {twitterUsername && ( From 9c4503927cfabed2eaf33897eb8c78c528b4eea1 Mon Sep 17 00:00:00 2001 From: Abdurrahman Rajab Date: Wed, 2 Aug 2023 00:57:54 +0300 Subject: [PATCH 4/4] chore: remove username --- .../ContributorProfileInfo/contributor-profile-info.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/molecules/ContributorProfileInfo/contributor-profile-info.tsx b/components/molecules/ContributorProfileInfo/contributor-profile-info.tsx index 56fd0849c4..3f0df82446 100644 --- a/components/molecules/ContributorProfileInfo/contributor-profile-info.tsx +++ b/components/molecules/ContributorProfileInfo/contributor-profile-info.tsx @@ -54,8 +54,6 @@ const ContributorProfileInfo = ({ {isConnected && }
- {`@${githubName}`} - {isConnected && ( <> {displayLocalTime && (