1
1
import Link from "@material-ui/core/Link"
2
2
import { makeStyles } from "@material-ui/core/styles"
3
+ import AssistantIcon from "@material-ui/icons/Assistant"
3
4
import * as TypesGen from "../../api/typesGenerated"
4
5
5
6
export const Language = {
6
7
buildInfoText : ( buildInfo : TypesGen . BuildInfoResponse ) : string => {
7
8
return `Coder ${ buildInfo . version } `
8
9
} ,
9
10
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 " ,
11
12
}
12
13
13
14
export interface FooterProps {
@@ -22,7 +23,7 @@ export const Footer: React.FC<FooterProps> = ({ buildInfo }) => {
22
23
return (
23
24
< div className = { styles . root } >
24
25
< Link className = { styles . link } variant = "caption" target = "_blank" href = { githubUrl } >
25
- & # 129714 ; & nbsp ; { Language . reportBugLink }
26
+ < AssistantIcon className = { styles . assistantIcon } /> { Language . reportBugLink }
26
27
</ Link >
27
28
< div className = { styles . copyRight } > { Language . copyrightText } </ div >
28
29
{ buildInfo && (
@@ -54,5 +55,13 @@ const useFooterStyles = makeStyles((theme) => ({
54
55
link : {
55
56
color : theme . palette . text . secondary ,
56
57
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 ) ,
57
66
} ,
58
67
} ) )
0 commit comments