Skip to content

Commit 5d2579f

Browse files
authored
fix: adjusting language and icon for feedback link (#2483)
* fix: adjusting language and icon for feedback link * adjust classname
1 parent a40089c commit 5d2579f

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

site/src/components/Footer/Footer.tsx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
import Link from "@material-ui/core/Link"
22
import { makeStyles } from "@material-ui/core/styles"
3+
import AssistantIcon from "@material-ui/icons/Assistant"
34
import * as TypesGen from "../../api/typesGenerated"
45

56
export const Language = {
67
buildInfoText: (buildInfo: TypesGen.BuildInfoResponse): string => {
78
return `Coder ${buildInfo.version}`
89
},
910
copyrightText: `Copyright \u00a9 ${new Date().getFullYear()} Coder Technologies, Inc. All rights reserved.`,
10-
reportBugLink: "Report an issue",
11+
reportBugLink: "Report an issue or share feedback",
1112
}
1213

1314
export interface FooterProps {
@@ -22,7 +23,7 @@ export const Footer: React.FC<FooterProps> = ({ buildInfo }) => {
2223
return (
2324
<div className={styles.root}>
2425
<Link className={styles.link} variant="caption" target="_blank" href={githubUrl}>
25-
&#129714;&nbsp;{Language.reportBugLink}
26+
<AssistantIcon className={styles.assistantIcon} /> {Language.reportBugLink}
2627
</Link>
2728
<div className={styles.copyRight}>{Language.copyrightText}</div>
2829
{buildInfo && (
@@ -54,5 +55,13 @@ const useFooterStyles = makeStyles((theme) => ({
5455
link: {
5556
color: theme.palette.text.secondary,
5657
fontWeight: 600,
58+
display: "flex",
59+
alignItems: "center",
60+
justifyContent: "center",
61+
},
62+
assistantIcon: {
63+
fontSize: 12,
64+
color: theme.palette.secondary.dark,
65+
marginRight: theme.spacing(0.5),
5766
},
5867
}))

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