mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-25 04:17:13 +00:00
Added Mastodon social link
Added a configuration for Mastodon social, updated the list of social link. Updated README accordingly.
This commit is contained in:
@@ -15,6 +15,7 @@ import {
|
||||
FaDev,
|
||||
FaFacebook,
|
||||
FaGlobe,
|
||||
FaMastodon,
|
||||
FaStackOverflow,
|
||||
} from 'react-icons/fa';
|
||||
import PropTypes from 'prop-types';
|
||||
@@ -114,6 +115,14 @@ const Details = ({ profile, loading, social, github }) => {
|
||||
link={`https://twitter.com/${social.twitter}`}
|
||||
/>
|
||||
)}
|
||||
{social?.mastodon && (
|
||||
<ListItem
|
||||
icon={<FaMastodon className="mr-2" />}
|
||||
title="Mastodon:"
|
||||
value={social.mastodon}
|
||||
link={`https://${social.mastodon}`}
|
||||
/>
|
||||
)}
|
||||
{social?.linkedin && (
|
||||
<ListItem
|
||||
icon={<GrLinkedinOption className="mr-2" />}
|
||||
|
||||
Reference in New Issue
Block a user