Added Mastodon social link

Added a configuration for Mastodon social, updated the list of social link.
Updated README accordingly.
This commit is contained in:
Christian Sarnataro
2022-12-30 16:58:12 +01:00
parent a7fa79b3ee
commit c91974514c
4 changed files with 25 additions and 1 deletions

View File

@@ -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" />}