@@ -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 {
@@ -20,6 +22,7 @@ export const Footer: React.FC<FooterProps> = ({ buildInfo }) => {
20
22
const styles = useFooterStyles ( )
21
23
22
24
const githubUrl = `https://github.com/coder/coder/issues/new?labels=bug,needs+grooming&title=Bug+in+${ buildInfo ?. version } :&template=external_bug_report.md`
25
+ const discordUrl = `https://discord.gg/coder`
23
26
24
27
return (
25
28
< div className = { styles . root } >
@@ -38,6 +41,10 @@ export const Footer: React.FC<FooterProps> = ({ buildInfo }) => {
38
41
< Link className = { styles . link } variant = "caption" target = "_blank" href = { githubUrl } >
39
42
< AssistantIcon className = { styles . icon } /> { Language . reportBugLink }
40
43
</ Link >
44
+ |
45
+ < Link className = { styles . link } variant = "caption" target = "_blank" href = { discordUrl } >
46
+ < ChatIcon className = { styles . icon } /> { Language . discordLink }
47
+ </ Link >
41
48
</ div >
42
49
) }
43
50
</ div >
0 commit comments