Remove Skype and add missing discord references (#760)

This commit is contained in:
Ariful Alam 2025-07-06 13:36:13 +06:00
parent 9ef19a2ab5
commit 98eb69aed5
6 changed files with 4 additions and 20 deletions

View File

@ -224,7 +224,7 @@ const CONFIG = {
medium: 'arifszn', medium: 'arifszn',
dev: 'arifszn', dev: 'arifszn',
stackoverflow: '', // example: '1/jeff-atwood' stackoverflow: '', // example: '1/jeff-atwood'
skype: '', discord: '',
telegram: '', telegram: '',
website: 'https://www.arifszn.com', website: 'https://www.arifszn.com',
phone: '', phone: '',
@ -508,7 +508,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, X, Mastodon, ResearchGate, Facebook, Instagram, Reddit, Threads, YouTube, Udemy, Dribbble, Behance, Medium, dev, Stack Overflow, Skype, Telegram, personal website, phone and email. You can link your social media services you're using, including LinkedIn, X, Mastodon, ResearchGate, Facebook, Instagram, Reddit, Threads, YouTube, Udemy, Dribbble, Behance, Medium, dev, Stack Overflow, Discord, Telegram, personal website, phone and email.
```ts ```ts
// gitprofile.config.ts // gitprofile.config.ts
@ -530,7 +530,7 @@ const CONFIG = {
medium: '', medium: '',
dev: '', dev: '',
stackoverflow: '', stackoverflow: '',
skype: '', discord: '',
telegram: '', telegram: '',
website: '', website: '',
phone: '', phone: '',

View File

@ -72,7 +72,7 @@ const CONFIG = {
medium: 'arifszn', medium: 'arifszn',
dev: 'arifszn', dev: 'arifszn',
stackoverflow: '', // example: '1/jeff-atwood' stackoverflow: '', // example: '1/jeff-atwood'
skype: '', discord: '',
telegram: '', telegram: '',
website: 'https://www.arifszn.com', website: 'https://www.arifszn.com',
phone: '', phone: '',

5
global.d.ts vendored
View File

@ -187,11 +187,6 @@ interface Social {
*/ */
website?: string; website?: string;
/**
* Skype username
*/
skype?: string;
/** /**
* Telegram username * Telegram username
*/ */

View File

@ -14,7 +14,6 @@ import {
FaLinkedin, FaLinkedin,
FaMastodon, FaMastodon,
FaReddit, FaReddit,
FaSkype,
FaStackOverflow, FaStackOverflow,
FaTelegram, FaTelegram,
FaYoutube, FaYoutube,
@ -336,14 +335,6 @@ const DetailsCard = ({ profile, loading, social, github }: Props) => {
} }
/> />
)} )}
{social?.skype && (
<ListItem
icon={<FaSkype />}
title="Skype"
value={social.skype}
link={`skype:${social.skype}?chat`}
/>
)}
{social?.telegram && ( {social?.telegram && (
<ListItem <ListItem
icon={<FaTelegram />} icon={<FaTelegram />}

View File

@ -59,7 +59,6 @@ export interface SanitizedSocial {
dev?: string; dev?: string;
stackoverflow?: string; stackoverflow?: string;
website?: string; website?: string;
skype?: string;
telegram?: string; telegram?: string;
phone?: string; phone?: string;
email?: string; email?: string;

View File

@ -78,7 +78,6 @@ export const getSanitizedConfig = (
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, telegram: config?.social?.telegram,
researchGate: config?.social?.researchGate, researchGate: config?.social?.researchGate,
discord: config?.social?.discord, discord: config?.social?.discord,