mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-25 04:17:13 +00:00
Added social links to Skype and Telegram
This commit is contained in:
@@ -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" />}
|
||||
|
||||
@@ -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 || '',
|
||||
|
||||
Reference in New Issue
Block a user