@@ -2,6 +2,7 @@ import Link from "@material-ui/core/Link"
2
2
import { makeStyles } from "@material-ui/core/styles"
3
3
import AccountTreeIcon from "@material-ui/icons/AccountTree"
4
4
import AssistantIcon from "@material-ui/icons/Assistant"
5
+ import ChatIcon from "@material-ui/icons/Chat"
5
6
import * as TypesGen from "../../api/typesGenerated"
6
7
7
8
export const Language = {
@@ -10,6 +11,7 @@ export const Language = {
10
11
} ,
11
12
copyrightText : `Copyright \u00a9 ${ new Date ( ) . getFullYear ( ) } Coder Technologies, Inc. All rights reserved.` ,
12
13
reportBugLink : "Report an issue or share feedback" ,
14
+ discordLink : "Join Coder on Discord" ,
13
15
}
14
16
15
17
export interface FooterProps {
@@ -22,6 +24,7 @@ export const Footer: React.FC<FooterProps> = ({ buildInfo }) => {
22
24
const githubUrl = `https://github.com/coder/coder/issues/new?labels=needs+grooming&body=${ encodeURIComponent ( `Version: [\`${ buildInfo ?. version } \`](${ buildInfo ?. external_url } )
23
25
24
26
<!--- Ask a question or leave feedback! -->` ) } `
27
+ const discordUrl = `https://discord.gg/coder`
25
28
26
29
return (
27
30
< div className = { styles . root } >
@@ -40,6 +43,10 @@ export const Footer: React.FC<FooterProps> = ({ buildInfo }) => {
40
43
< Link className = { styles . link } variant = "caption" target = "_blank" href = { githubUrl } >
41
44
< AssistantIcon className = { styles . icon } /> { Language . reportBugLink }
42
45
</ Link >
46
+ |
47
+ < Link className = { styles . link } variant = "caption" target = "_blank" href = { discordUrl } >
48
+ < ChatIcon className = { styles . icon } /> { Language . discordLink }
49
+ </ Link >
43
50
</ div >
44
51
) }
45
52
</ div >
0 commit comments