mirror of
https://github.com/wavetermdev/docusaurus-og.git
synced 2026-08-05 13:46:35 -07:00
feat: add Github to Community
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user