mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-25 12:27:17 +00:00
Added social links to Skype and Telegram
This commit is contained in:
@@ -221,6 +221,8 @@ const config = {
|
|||||||
dev: '',
|
dev: '',
|
||||||
stackoverflow: '',
|
stackoverflow: '',
|
||||||
website: '',
|
website: '',
|
||||||
|
skype: '',
|
||||||
|
telegram: '',
|
||||||
phone: '',
|
phone: '',
|
||||||
email: '',
|
email: '',
|
||||||
},
|
},
|
||||||
@@ -442,7 +444,7 @@ Your avatar and bio will be fetched from GitHub automatically.
|
|||||||
|
|
||||||
### Social Links
|
### 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
|
```js
|
||||||
// gitprofile.config.js
|
// gitprofile.config.js
|
||||||
@@ -459,6 +461,8 @@ module.exports = {
|
|||||||
dev: '',
|
dev: '',
|
||||||
stackoverflow: '',
|
stackoverflow: '',
|
||||||
website: '',
|
website: '',
|
||||||
|
skype: '',
|
||||||
|
telegram: '',
|
||||||
phone: '',
|
phone: '',
|
||||||
email: '',
|
email: '',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ const config = {
|
|||||||
website: 'https://arifszn.com',
|
website: 'https://arifszn.com',
|
||||||
phone: '',
|
phone: '',
|
||||||
email: 'arifulalamszn@gmail.com',
|
email: 'arifulalamszn@gmail.com',
|
||||||
|
skype: 'arifszn',
|
||||||
|
telegram: 'arifszn',
|
||||||
},
|
},
|
||||||
resume: {
|
resume: {
|
||||||
fileUrl:
|
fileUrl:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@arifszn/gitprofile",
|
"name": "@arifszn/gitprofile",
|
||||||
"description": "Create an automatic portfolio based on GitHub profile",
|
"description": "Create an automatic portfolio based on GitHub profile",
|
||||||
"version": "2.2.1",
|
"version": "2.2.2",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "arifszn",
|
"author": "arifszn",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
@@ -15,7 +15,9 @@ import {
|
|||||||
FaDev,
|
FaDev,
|
||||||
FaFacebook,
|
FaFacebook,
|
||||||
FaGlobe,
|
FaGlobe,
|
||||||
|
FaSkype,
|
||||||
FaStackOverflow,
|
FaStackOverflow,
|
||||||
|
FaTelegram,
|
||||||
} from 'react-icons/fa';
|
} from 'react-icons/fa';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { skeleton } from '../../helpers/utils';
|
import { skeleton } from '../../helpers/utils';
|
||||||
@@ -186,6 +188,23 @@ const Details = ({ profile, loading, social, github }) => {
|
|||||||
link={social.website}
|
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 && (
|
{social?.phone && (
|
||||||
<ListItem
|
<ListItem
|
||||||
icon={<RiPhoneFill className="mr-2" />}
|
icon={<RiPhoneFill className="mr-2" />}
|
||||||
|
|||||||
@@ -157,6 +157,8 @@ export const sanitizeConfig = (config) => {
|
|||||||
website: config?.social?.website,
|
website: config?.social?.website,
|
||||||
phone: config?.social?.phone,
|
phone: config?.social?.phone,
|
||||||
email: config?.social?.email,
|
email: config?.social?.email,
|
||||||
|
skype: config?.social?.skype,
|
||||||
|
telegram: config?.social?.telegram,
|
||||||
},
|
},
|
||||||
resume: {
|
resume: {
|
||||||
fileUrl: config?.resume?.fileUrl || '',
|
fileUrl: config?.resume?.fileUrl || '',
|
||||||
|
|||||||
Reference in New Issue
Block a user