From 3ff57d011758121cf427e6bacdd7662511973bb9 Mon Sep 17 00:00:00 2001 From: Ben Potter Date: Tue, 26 Jul 2022 22:34:00 +0000 Subject: [PATCH] chore: add Discord link to footer --- site/src/components/Footer/Footer.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/site/src/components/Footer/Footer.tsx b/site/src/components/Footer/Footer.tsx index 387c9471ade64..cbb5f0795ee09 100644 --- a/site/src/components/Footer/Footer.tsx +++ b/site/src/components/Footer/Footer.tsx @@ -2,6 +2,7 @@ import Link from "@material-ui/core/Link" import { makeStyles } from "@material-ui/core/styles" import AccountTreeIcon from "@material-ui/icons/AccountTree" import AssistantIcon from "@material-ui/icons/Assistant" +import ChatIcon from "@material-ui/icons/Chat" import * as TypesGen from "../../api/typesGenerated" export const Language = { @@ -10,6 +11,7 @@ export const Language = { }, copyrightText: `Copyright \u00a9 ${new Date().getFullYear()} Coder Technologies, Inc. All rights reserved.`, reportBugLink: "Report an issue or share feedback", + discordLink: "Join Coder on Discord", } export interface FooterProps { @@ -20,6 +22,7 @@ export const Footer: React.FC = ({ buildInfo }) => { const styles = useFooterStyles() const githubUrl = `https://github.com/coder/coder/issues/new?labels=bug,needs+grooming&title=Bug+in+${buildInfo?.version}:&template=external_bug_report.md` + const discordUrl = `https://discord.gg/coder` return (
@@ -38,6 +41,10 @@ export const Footer: React.FC = ({ buildInfo }) => { {Language.reportBugLink} +  |  + + {Language.discordLink} +
)}