diff --git a/README.md b/README.md
index 7c0a936bf..6d2ae7cfe 100644
--- a/README.md
+++ b/README.md
@@ -211,6 +211,7 @@ const CONFIG = {
linkedin: 'ariful-alam',
twitter: 'arif_szn',
mastodon: 'arifszn@mastodon.social',
+ researchGate: '',
facebook: '',
instagram: '',
youtube: '', // example: 'pewdiepie'
@@ -485,7 +486,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, Mastodon, Facebook, Instagram, YouTube, 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, Twitter, Mastodon, ResearchGate, Facebook, Instagram, YouTube, Dribbble, Behance, Medium, dev, Stack Overflow, Skype, Telegram, personal website, phone and email.
```ts
// gitprofile.config.ts
@@ -495,6 +496,7 @@ const CONFIG = {
linkedin: 'ariful-alam',
twitter: 'arif_szn',
mastodon: 'arifszn@mastodon.social',
+ researchGate: '',
facebook: '',
instagram: '',
youtube: '',
diff --git a/gitprofile.config.ts b/gitprofile.config.ts
index f83cc8b29..fad74326f 100644
--- a/gitprofile.config.ts
+++ b/gitprofile.config.ts
@@ -60,6 +60,7 @@ const CONFIG = {
linkedin: 'ariful-alam',
twitter: 'arif_szn',
mastodon: 'arifszn@mastodon.social',
+ researchGate: '',
facebook: '',
instagram: '',
youtube: '', // example: 'pewdiepie'
@@ -156,7 +157,7 @@ const CONFIG = {
blog: {
source: 'dev', // medium | dev
username: 'arifszn', // to hide blog section, keep it empty
- limit: 3, // How many articles to display. Max is 10.
+ limit: 2, // How many articles to display. Max is 10.
},
googleAnalytics: {
id: '', // GA3 tracking id/GA4 tag id UA-XXXXXXXXX-X | G-XXXXXXXXXX
diff --git a/global.d.ts b/global.d.ts
index 8a3c48f8b..bff0e6df4 100644
--- a/global.d.ts
+++ b/global.d.ts
@@ -122,6 +122,11 @@ interface Social {
*/
mastodon?: string;
+ /**
+ * ResearchGate username
+ */
+ researchGate?: string;
+
/**
* Facebook
*/
diff --git a/src/components/details-card/index.tsx b/src/components/details-card/index.tsx
index 39c8c1f33..b8c2a9c80 100644
--- a/src/components/details-card/index.tsx
+++ b/src/components/details-card/index.tsx
@@ -4,7 +4,7 @@ import {
AiFillInstagram,
AiFillMediumSquare,
} from 'react-icons/ai';
-import { SiTwitter } from 'react-icons/si';
+import { SiTwitter, SiResearchgate } from 'react-icons/si';
import { CgDribbble } from 'react-icons/cg';
import { RiPhoneFill, RiMailFill } from 'react-icons/ri';
import { Fragment } from 'react';
@@ -147,6 +147,14 @@ const DetailsCard = ({ profile, loading, social, github }: Props) => {
value={github.username}
link={`https://github.com/${github.username}`}
/>
+ {social?.researchGate && (
+
+ {skeleton({ + widthCls: 'w-full', + heightCls: 'h-4', + className: 'mb-2 mx-auto', + })} +
diff --git a/src/interfaces/sanitized-config.tsx b/src/interfaces/sanitized-config.tsx index 37e0c39a0..4f207df1a 100644 --- a/src/interfaces/sanitized-config.tsx +++ b/src/interfaces/sanitized-config.tsx @@ -46,6 +46,7 @@ export interface SanitizedSocial { linkedin?: string; twitter?: string; mastodon?: string; + researchGate?: string; facebook?: string; instagram?: string; youtube?: string; diff --git a/src/utils/index.tsx b/src/utils/index.tsx index f222147f1..86ad24501 100644 --- a/src/utils/index.tsx +++ b/src/utils/index.tsx @@ -77,6 +77,7 @@ export const getSanitizedConfig = ( email: config?.social?.email, skype: config?.social?.skype, telegram: config?.social?.telegram, + researchGate: config?.social?.researchGate, }, resume: { fileUrl: config?.resume?.fileUrl || '',