Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 86c2644

Browse files
Merge pull request #270 from Anmol270900/add-chakra-discord-in-documentation
docs: add discord invite link to navbar
2 parents c27aba0 + 60237e2 commit 86c2644

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

.storybook/config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ import {
3333
faGithub
3434
} from '@fortawesome/free-brands-svg-icons'
3535

36+
import {
37+
faDiscord
38+
} from '@fortawesome/free-brands-svg-icons'
39+
3640
Vue.use(Chakra, {
3741
icons: {
3842
iconPack: 'fa',
@@ -51,6 +55,7 @@ Vue.use(Chakra, {
5155
faSearch,
5256
faTimesCircle,
5357
faGithub,
58+
faDiscord,
5459
faCheckCircle,
5560
faCog,
5661
faLock,

website/components/Navbar.vue

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,17 @@
4343
icon="github"
4444
/>
4545
</CBox>
46+
<CBox as="li" mr="2">
47+
<CIconButton
48+
as="a"
49+
variant="ghost"
50+
variant-color="gray"
51+
aria-label="Join Discord channel"
52+
target="_blank"
53+
href="https://discord.gg/sq2Kp6x"
54+
icon="discord"
55+
/>
56+
</CBox>
4657
<CBox as="li">
4758
<CIconButton
4859
v-chakra="{

website/plugins/chakra-ui.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Vue from 'vue'
22
import * as Chakra from '@chakra-ui/vue'
33
import theme from '@chakra-ui/theme-vue'
4-
import { faGithub, faTwitter, faLinkedin } from '@fortawesome/free-brands-svg-icons'
4+
import { faGithub, faDiscord, faTwitter, faLinkedin } from '@fortawesome/free-brands-svg-icons'
55
import {
66
faBolt,
77
faAnchor,
@@ -38,6 +38,7 @@ Vue.use(Chakra.default, {
3838
iconPack: 'fa',
3939
iconSet: {
4040
faGithub,
41+
faDiscord,
4142
faAnchor,
4243
faBolt,
4344
faUniversalAccess,

0 commit comments

Comments
 (0)