diff --git a/src/components/details/index.jsx b/src/components/details/index.jsx index d01e56d..4932e9e 100644 --- a/src/components/details/index.jsx +++ b/src/components/details/index.jsx @@ -5,7 +5,6 @@ import { AiFillMediumSquare, } from 'react-icons/ai'; import { SiTwitter } from 'react-icons/si'; -import { GrLinkedinOption } from 'react-icons/gr'; import { CgDribbble } from 'react-icons/cg'; import { RiPhoneFill } from 'react-icons/ri'; import { Fragment } from 'react'; @@ -19,6 +18,7 @@ import { FaMastodon, FaStackOverflow, FaTelegram, + FaLinkedin, } from 'react-icons/fa'; import PropTypes from 'prop-types'; import { skeleton } from '../../helpers/utils'; @@ -49,8 +49,9 @@ const ListItem = ({ icon, title, value, link, skeleton = false }) => { rel="noreferrer" className="flex justify-start py-2 px-1 items-center" > - {icon} -
{title}
+
+ {icon} {title} +
{ {profile.location && ( } + icon={} title="Based in:" value={profile.location} /> )} {profile.company && ( } + icon={} title="Company:" value={profile.company} link={ @@ -111,14 +112,14 @@ const Details = ({ profile, loading, social, github }) => { /> )} } + icon={} title="GitHub:" value={github.username} link={`https://github.com/${github.username}`} /> {social?.twitter && ( } + icon={} title="Twitter:" value={social.twitter} link={`https://twitter.com/${social.twitter}`} @@ -126,7 +127,7 @@ const Details = ({ profile, loading, social, github }) => { )} {social?.mastodon && ( } + icon={} title="Mastodon:" value={getFormattedMastodonValue(social.mastodon, false)} link={getFormattedMastodonValue(social.mastodon, true)} @@ -134,7 +135,7 @@ const Details = ({ profile, loading, social, github }) => { )} {social?.linkedin && ( } + icon={} title="LinkedIn:" value={social.linkedin} link={`https://www.linkedin.com/in/${social.linkedin}`} @@ -142,7 +143,7 @@ const Details = ({ profile, loading, social, github }) => { )} {social?.dribbble && ( } + icon={} title="Dribbble:" value={social.dribbble} link={`https://dribbble.com/${social.dribbble}`} @@ -150,7 +151,7 @@ const Details = ({ profile, loading, social, github }) => { )} {social?.behance && ( } + icon={} title="Behance:" value={social.behance} link={`https://www.behance.net/${social.behance}`} @@ -158,7 +159,7 @@ const Details = ({ profile, loading, social, github }) => { )} {social?.facebook && ( } + icon={} title="Facebook:" value={social.facebook} link={`https://www.facebook.com/${social.facebook}`} @@ -166,7 +167,7 @@ const Details = ({ profile, loading, social, github }) => { )} {social?.instagram && ( } + icon={} title="Instagram:" value={social.instagram} link={`https://www.instagram.com/${social.instagram}`} @@ -174,7 +175,7 @@ const Details = ({ profile, loading, social, github }) => { )} {social?.medium && ( } + icon={} title="Medium:" value={social.medium} link={`https://medium.com/@${social.medium}`} @@ -182,7 +183,7 @@ const Details = ({ profile, loading, social, github }) => { )} {social?.dev && ( } + icon={} title="Dev:" value={social.dev} link={`https://dev.to/${social.dev}`} @@ -190,7 +191,7 @@ const Details = ({ profile, loading, social, github }) => { )} {social?.stackoverflow && ( } + icon={} title="Stack Overflow:" value={social.stackoverflow.split('/').slice(-1)} link={`https://stackoverflow.com/users/${social.stackoverflow}`} @@ -198,7 +199,7 @@ const Details = ({ profile, loading, social, github }) => { )} {social?.website && ( } + icon={} title="Website:" value={social.website} link={social.website} @@ -206,7 +207,7 @@ const Details = ({ profile, loading, social, github }) => { )} {social?.skype && ( } + icon={} title="Skype" value={social.skype} link={`skype:${social.skype}?chat`} @@ -214,7 +215,7 @@ const Details = ({ profile, loading, social, github }) => { )} {social?.telegram && ( } + icon={} title="Telegram" value={social.telegram} link={`https://t.me/${social.telegram}`} @@ -223,7 +224,7 @@ const Details = ({ profile, loading, social, github }) => { {social?.phone && ( } + icon={} title="Phone:" value={social.phone} link={`tel:${social.phone}`} @@ -231,7 +232,7 @@ const Details = ({ profile, loading, social, github }) => { )} {social?.email && ( } + icon={} title="Email:" value={social.email} link={`mailto:${social.email}`}