diff --git a/src/components/details-card/index.tsx b/src/components/details-card/index.tsx index db0036977..64b5e4d1c 100644 --- a/src/components/details-card/index.tsx +++ b/src/components/details-card/index.tsx @@ -8,7 +8,6 @@ import { SanitizedSocial, } from '../../interfaces/sanitized-config'; import { skeleton } from '../../utils'; -import { SocialIcon } from 'react-social-icons' type Props = { profile: Profile | null; @@ -16,11 +15,17 @@ type Props = { social: SanitizedSocial; github: SanitizedGithub; }; - -const Scholar = () => { - return ( - ) -} +import { + faLinkedinIn, + faGoogleScholar, + faGithub, + faXTwitter, + faInstagram, + faReadme, + faUpwork, + faWpbeginner +} from "@fortawesome/free-brands-svg-icons"; +import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; const Gmail = () => { return ( @@ -40,6 +45,7 @@ const getFormattedMastodonValue = ( } }; + const ListItem: React.FC<{ icon: React.ReactNode; title: React.ReactNode; @@ -106,20 +112,20 @@ const DetailsCard = ({ profile, loading, social, github }: Props) => {
} + icon={} title="" value="" link={`https://github.com/${github.username}`} /> } + icon={} title="" value="" link={`https://scholar.google.com/citations?user=${social.scholar}&hl=en`} /> {social?.twitter && ( } + icon={} title="" value="" link={`https://twitter.com/${social.twitter}`} @@ -127,7 +133,7 @@ const DetailsCard = ({ profile, loading, social, github }: Props) => { )} {social?.linkedin && ( } + icon={} title="" value="" link={`https://www.linkedin.com/in/${social.linkedin}`} @@ -135,7 +141,7 @@ const DetailsCard = ({ profile, loading, social, github }: Props) => { )} {social?.instagram && ( } + icon={} title="" value="" link={`https://www.instagram.com/${social.instagram}`} @@ -143,7 +149,7 @@ const DetailsCard = ({ profile, loading, social, github }: Props) => { )} {social?.website && ( } + icon={} title="Website:" value={social.website .replace('https://', '')