1
1
import Link from "@material-ui/core/Link"
2
2
import { makeStyles } from "@material-ui/core/styles"
3
+ import AccountTreeIcon from "@material-ui/icons/AccountTree"
3
4
import AssistantIcon from "@material-ui/icons/Assistant"
4
5
import * as TypesGen from "../../api/typesGenerated"
5
6
@@ -22,14 +23,15 @@ export const Footer: React.FC<FooterProps> = ({ buildInfo }) => {
22
23
23
24
return (
24
25
< div className = { styles . root } >
25
- < Link className = { styles . link } variant = "caption" target = "_blank" href = { githubUrl } >
26
- < AssistantIcon className = { styles . assistantIcon } /> { Language . reportBugLink }
27
- </ Link >
28
26
< div className = { styles . copyRight } > { Language . copyrightText } </ div >
29
27
{ buildInfo && (
30
28
< div className = { styles . buildInfo } >
31
29
< Link className = { styles . link } variant = "caption" target = "_blank" href = { buildInfo . external_url } >
32
- { Language . buildInfoText ( buildInfo ) }
30
+ < AccountTreeIcon className = { styles . icon } /> { Language . buildInfoText ( buildInfo ) }
31
+ </ Link >
32
+ |
33
+ < Link className = { styles . link } variant = "caption" target = "_blank" href = { githubUrl } >
34
+ < AssistantIcon className = { styles . icon } /> { Language . reportBugLink }
33
35
</ Link >
34
36
</ div >
35
37
) }
@@ -51,6 +53,7 @@ const useFooterStyles = makeStyles((theme) => ({
51
53
} ,
52
54
buildInfo : {
53
55
margin : theme . spacing ( 0.25 ) ,
56
+ display : "inline-flex" ,
54
57
} ,
55
58
link : {
56
59
color : theme . palette . text . secondary ,
@@ -59,7 +62,7 @@ const useFooterStyles = makeStyles((theme) => ({
59
62
alignItems : "center" ,
60
63
justifyContent : "center" ,
61
64
} ,
62
- assistantIcon : {
65
+ icon : {
63
66
fontSize : 12 ,
64
67
color : theme . palette . secondary . dark ,
65
68
marginRight : theme . spacing ( 0.5 ) ,
0 commit comments