Skip to content

Commit 56ee105

Browse files
authored
chore: add Discord link to footer (#3239)
1 parent 00c5116 commit 56ee105

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

site/src/components/Footer/Footer.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import Link from "@material-ui/core/Link"
22
import { makeStyles } from "@material-ui/core/styles"
33
import AccountTreeIcon from "@material-ui/icons/AccountTree"
44
import AssistantIcon from "@material-ui/icons/Assistant"
5+
import ChatIcon from "@material-ui/icons/Chat"
56
import * as TypesGen from "../../api/typesGenerated"
67

78
export const Language = {
@@ -10,6 +11,7 @@ export const Language = {
1011
},
1112
copyrightText: `Copyright \u00a9 ${new Date().getFullYear()} Coder Technologies, Inc. All rights reserved.`,
1213
reportBugLink: "Report an issue or share feedback",
14+
discordLink: "Join Coder on Discord",
1315
}
1416

1517
export interface FooterProps {
@@ -20,6 +22,7 @@ export const Footer: React.FC<FooterProps> = ({ buildInfo }) => {
2022
const styles = useFooterStyles()
2123

2224
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`
2326

2427
return (
2528
<div className={styles.root}>
@@ -38,6 +41,10 @@ export const Footer: React.FC<FooterProps> = ({ buildInfo }) => {
3841
<Link className={styles.link} variant="caption" target="_blank" href={githubUrl}>
3942
<AssistantIcon className={styles.icon} /> {Language.reportBugLink}
4043
</Link>
44+
&nbsp;|&nbsp;
45+
<Link className={styles.link} variant="caption" target="_blank" href={discordUrl}>
46+
<ChatIcon className={styles.icon} /> {Language.discordLink}
47+
</Link>
4148
</div>
4249
)}
4350
</div>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy