Add ResearchGate social link
This commit is contained in:
parent
50668a09b6
commit
cd5bf223de
@ -211,6 +211,7 @@ const CONFIG = {
|
|||||||
linkedin: 'ariful-alam',
|
linkedin: 'ariful-alam',
|
||||||
twitter: 'arif_szn',
|
twitter: 'arif_szn',
|
||||||
mastodon: 'arifszn@mastodon.social',
|
mastodon: 'arifszn@mastodon.social',
|
||||||
|
researchGate: '',
|
||||||
facebook: '',
|
facebook: '',
|
||||||
instagram: '',
|
instagram: '',
|
||||||
youtube: '', // example: 'pewdiepie'
|
youtube: '', // example: 'pewdiepie'
|
||||||
@ -485,7 +486,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, 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
|
```ts
|
||||||
// gitprofile.config.ts
|
// gitprofile.config.ts
|
||||||
@ -495,6 +496,7 @@ const CONFIG = {
|
|||||||
linkedin: 'ariful-alam',
|
linkedin: 'ariful-alam',
|
||||||
twitter: 'arif_szn',
|
twitter: 'arif_szn',
|
||||||
mastodon: 'arifszn@mastodon.social',
|
mastodon: 'arifszn@mastodon.social',
|
||||||
|
researchGate: '',
|
||||||
facebook: '',
|
facebook: '',
|
||||||
instagram: '',
|
instagram: '',
|
||||||
youtube: '',
|
youtube: '',
|
||||||
|
|||||||
@ -60,6 +60,7 @@ const CONFIG = {
|
|||||||
linkedin: 'ariful-alam',
|
linkedin: 'ariful-alam',
|
||||||
twitter: 'arif_szn',
|
twitter: 'arif_szn',
|
||||||
mastodon: 'arifszn@mastodon.social',
|
mastodon: 'arifszn@mastodon.social',
|
||||||
|
researchGate: '',
|
||||||
facebook: '',
|
facebook: '',
|
||||||
instagram: '',
|
instagram: '',
|
||||||
youtube: '', // example: 'pewdiepie'
|
youtube: '', // example: 'pewdiepie'
|
||||||
|
|||||||
5
global.d.ts
vendored
5
global.d.ts
vendored
@ -122,6 +122,11 @@ interface Social {
|
|||||||
*/
|
*/
|
||||||
mastodon?: string;
|
mastodon?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ResearchGate username
|
||||||
|
*/
|
||||||
|
researchGate?: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Facebook
|
* Facebook
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -4,7 +4,7 @@ import {
|
|||||||
AiFillInstagram,
|
AiFillInstagram,
|
||||||
AiFillMediumSquare,
|
AiFillMediumSquare,
|
||||||
} from 'react-icons/ai';
|
} from 'react-icons/ai';
|
||||||
import { SiTwitter } from 'react-icons/si';
|
import { SiTwitter, SiResearchgate } from 'react-icons/si';
|
||||||
import { CgDribbble } from 'react-icons/cg';
|
import { CgDribbble } from 'react-icons/cg';
|
||||||
import { RiPhoneFill, RiMailFill } from 'react-icons/ri';
|
import { RiPhoneFill, RiMailFill } from 'react-icons/ri';
|
||||||
import { Fragment } from 'react';
|
import { Fragment } from 'react';
|
||||||
@ -147,6 +147,14 @@ const DetailsCard = ({ profile, loading, social, github }: Props) => {
|
|||||||
value={github.username}
|
value={github.username}
|
||||||
link={`https://github.com/${github.username}`}
|
link={`https://github.com/${github.username}`}
|
||||||
/>
|
/>
|
||||||
|
{social?.researchGate && (
|
||||||
|
<ListItem
|
||||||
|
icon={<SiResearchgate />}
|
||||||
|
title="ResearchGate:"
|
||||||
|
value={social.researchGate}
|
||||||
|
link={`https://www.researchgate.net/profile/${social.researchGate}`}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
{social?.twitter && (
|
{social?.twitter && (
|
||||||
<ListItem
|
<ListItem
|
||||||
icon={<SiTwitter />}
|
icon={<SiTwitter />}
|
||||||
@ -265,7 +273,6 @@ const DetailsCard = ({ profile, loading, social, github }: Props) => {
|
|||||||
link={`https://t.me/${social.telegram}`}
|
link={`https://t.me/${social.telegram}`}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{social?.phone && (
|
{social?.phone && (
|
||||||
<ListItem
|
<ListItem
|
||||||
icon={<RiPhoneFill />}
|
icon={<RiPhoneFill />}
|
||||||
|
|||||||
@ -46,6 +46,7 @@ export interface SanitizedSocial {
|
|||||||
linkedin?: string;
|
linkedin?: string;
|
||||||
twitter?: string;
|
twitter?: string;
|
||||||
mastodon?: string;
|
mastodon?: string;
|
||||||
|
researchGate?: string;
|
||||||
facebook?: string;
|
facebook?: string;
|
||||||
instagram?: string;
|
instagram?: string;
|
||||||
youtube?: string;
|
youtube?: string;
|
||||||
|
|||||||
@ -77,6 +77,7 @@ export const getSanitizedConfig = (
|
|||||||
email: config?.social?.email,
|
email: config?.social?.email,
|
||||||
skype: config?.social?.skype,
|
skype: config?.social?.skype,
|
||||||
telegram: config?.social?.telegram,
|
telegram: config?.social?.telegram,
|
||||||
|
researchGate: config?.social?.researchGate,
|
||||||
},
|
},
|
||||||
resume: {
|
resume: {
|
||||||
fileUrl: config?.resume?.fileUrl || '',
|
fileUrl: config?.resume?.fileUrl || '',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user