diff --git a/README.md b/README.md index 2298efc..d1635ea 100644 --- a/README.md +++ b/README.md @@ -221,6 +221,8 @@ const config = { dev: '', stackoverflow: '', website: '', + skype: '', + telegram: '', phone: '', email: '', }, @@ -442,7 +444,7 @@ Your avatar and bio will be fetched from GitHub automatically. ### Social Links -You can link your social media services you're using, including LinkedIn, Twitter, Facebook, Instagram, Dribbble, Behance, Medium, dev, Stack Overflow, personal website, phone and email. +You can link your social media services you're using, including LinkedIn, Twitter, Facebook, Instagram, Dribbble, Behance, Medium, dev, Stack Overflow, Skype, Telegram, personal website, phone and email. ```js // gitprofile.config.js @@ -459,6 +461,8 @@ module.exports = { dev: '', stackoverflow: '', website: '', + skype: '', + telegram: '', phone: '', email: '', }, diff --git a/gitprofile.config.js b/gitprofile.config.js index 3a96094..00c9aa1 100644 --- a/gitprofile.config.js +++ b/gitprofile.config.js @@ -23,6 +23,8 @@ const config = { website: 'https://arifszn.com', phone: '', email: 'arifulalamszn@gmail.com', + skype: 'arifszn', + telegram: 'arifszn', }, resume: { fileUrl: diff --git a/package.json b/package.json index 4835769..a537d07 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@arifszn/gitprofile", "description": "Create an automatic portfolio based on GitHub profile", - "version": "2.2.1", + "version": "2.2.2", "license": "MIT", "author": "arifszn", "repository": { diff --git a/src/components/details/index.jsx b/src/components/details/index.jsx index d84144a..22564d4 100644 --- a/src/components/details/index.jsx +++ b/src/components/details/index.jsx @@ -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 && ( + } + title="Skype" + value={social.skype} + link={`skype:${social.skype}?chat`} + /> + )} + {social?.telegram && ( + } + title="Telegram" + value={social.telegram} + link={`https://t.me/${social.telegram}`} + /> + )} + {social?.phone && ( } diff --git a/src/helpers/utils.jsx b/src/helpers/utils.jsx index 7a3c22d..4b06ad1 100644 --- a/src/helpers/utils.jsx +++ b/src/helpers/utils.jsx @@ -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 || '',