feat: add Github to Community

This commit is contained in:
jinhojang6
2023-10-05 09:39:41 +09:00
committed by Jinho Jang
parent 56fa77be21
commit 36d1688105
2 changed files with 9 additions and 0 deletions
@@ -33,5 +33,10 @@ Welcome to the Waku community! Whether you are interested in building with Waku,
linkLabel:
'Share your thoughts on the latest research on the Vac research forum',
},
{
type: 'github',
link: 'https://discord.gg/2NXGrsqmDq',
linkLabel: 'Contribute to Github',
},
]}
/>
@@ -7,11 +7,13 @@ import {
IconDiscordWhite,
IconTelegramWhite,
IconExternalLink,
IconGithub,
} from '../../Icon' // '@logos-theme/components/Icon' doesn't work
export enum CommunityType {
X = 'x',
Discord = 'discord',
Github = 'github',
Telegram = 'telegram',
CUSTOM = 'custom',
}
@@ -42,6 +44,8 @@ export const Community: React.FC<CommunityProps> = ({
return <IconDiscordWhite className="mdx-community__logo" />
case CommunityType.Telegram:
return <IconTelegramWhite className="mdx-community__logo" />
case CommunityType.Github:
return <IconGithub className="mdx-community__logo" />
default:
return null
}