From 98eb69aed50de1ca88af8872ee2de80b0f424c6b Mon Sep 17 00:00:00 2001 From: Ariful Alam Date: Sun, 6 Jul 2025 13:36:13 +0600 Subject: [PATCH] Remove Skype and add missing discord references (#760) --- README.md | 6 +++--- gitprofile.config.ts | 2 +- global.d.ts | 5 ----- src/components/details-card/index.tsx | 9 --------- src/interfaces/sanitized-config.tsx | 1 - src/utils/index.tsx | 1 - 6 files changed, 4 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index fc71b97..812b3e2 100644 --- a/README.md +++ b/README.md @@ -224,7 +224,7 @@ const CONFIG = { medium: 'arifszn', dev: 'arifszn', stackoverflow: '', // example: '1/jeff-atwood' - skype: '', + discord: '', telegram: '', website: 'https://www.arifszn.com', phone: '', @@ -508,7 +508,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, 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 // gitprofile.config.ts @@ -530,7 +530,7 @@ const CONFIG = { medium: '', dev: '', stackoverflow: '', - skype: '', + discord: '', telegram: '', website: '', phone: '', diff --git a/gitprofile.config.ts b/gitprofile.config.ts index 1a081db..dcb51b6 100644 --- a/gitprofile.config.ts +++ b/gitprofile.config.ts @@ -72,7 +72,7 @@ const CONFIG = { medium: 'arifszn', dev: 'arifszn', stackoverflow: '', // example: '1/jeff-atwood' - skype: '', + discord: '', telegram: '', website: 'https://www.arifszn.com', phone: '', diff --git a/global.d.ts b/global.d.ts index e8be0b7..a1dad41 100644 --- a/global.d.ts +++ b/global.d.ts @@ -187,11 +187,6 @@ interface Social { */ website?: string; - /** - * Skype username - */ - skype?: string; - /** * Telegram username */ diff --git a/src/components/details-card/index.tsx b/src/components/details-card/index.tsx index ada716f..a532959 100644 --- a/src/components/details-card/index.tsx +++ b/src/components/details-card/index.tsx @@ -14,7 +14,6 @@ import { FaLinkedin, FaMastodon, FaReddit, - FaSkype, FaStackOverflow, FaTelegram, FaYoutube, @@ -336,14 +335,6 @@ const DetailsCard = ({ profile, loading, social, github }: Props) => { } /> )} - {social?.skype && ( - } - title="Skype" - value={social.skype} - link={`skype:${social.skype}?chat`} - /> - )} {social?.telegram && ( } diff --git a/src/interfaces/sanitized-config.tsx b/src/interfaces/sanitized-config.tsx index 6eb0078..b3aa22e 100644 --- a/src/interfaces/sanitized-config.tsx +++ b/src/interfaces/sanitized-config.tsx @@ -59,7 +59,6 @@ export interface SanitizedSocial { dev?: string; stackoverflow?: string; website?: string; - skype?: string; telegram?: string; phone?: string; email?: string; diff --git a/src/utils/index.tsx b/src/utils/index.tsx index 1947e40..1aff602 100644 --- a/src/utils/index.tsx +++ b/src/utils/index.tsx @@ -78,7 +78,6 @@ export const getSanitizedConfig = ( website: config?.social?.website, phone: config?.social?.phone, email: config?.social?.email, - skype: config?.social?.skype, telegram: config?.social?.telegram, researchGate: config?.social?.researchGate, discord: config?.social?.discord,