Added social links to Skype and Telegram

This commit is contained in:
Christian Sarnataro
2023-02-11 00:10:29 +01:00
parent 382e3835b2
commit e643996019
5 changed files with 29 additions and 2 deletions

View File

@@ -15,7 +15,9 @@ import {
FaDev,
FaFacebook,
FaGlobe,
FaSkype,
FaStackOverflow,
FaTelegram,
} from 'react-icons/fa';
import PropTypes from 'prop-types';
import { skeleton } from '../../helpers/utils';
@@ -186,6 +188,23 @@ const Details = ({ profile, loading, social, github }) => {
link={social.website}
/>
)}
{social?.skype && (
<ListItem
icon={<FaSkype className="mr-2" />}
title="Skype"
value={social.skype}
link={`skype:${social.skype}?chat`}
/>
)}
{social?.telegram && (
<ListItem
icon={<FaTelegram className="mr-2" />}
title="Telegram"
value={social.telegram}
link={`https://t.me/${social.telegram}`}
/>
)}
{social?.phone && (
<ListItem
icon={<RiPhoneFill className="mr-2" />}

View File

@@ -157,6 +157,8 @@ export const sanitizeConfig = (config) => {
website: config?.social?.website,
phone: config?.social?.phone,
email: config?.social?.email,
skype: config?.social?.skype,
telegram: config?.social?.telegram,
},
resume: {
fileUrl: config?.resume?.fileUrl || '',