Skip to content

Commit 0744b36

Browse files
Topvenniehannes-dev
authored andcommitted
vinvoor: big boss wanted some revisions
1 parent cef56e5 commit 0744b36

File tree

1 file changed

+32
-24
lines changed

1 file changed

+32
-24
lines changed

vinvoor/src/footer/Footer.tsx

+32-24
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Box, Icon, Link } from "@mui/material";
1+
import { Box, Icon, Link, Tooltip } from "@mui/material";
22
import { TypographyG } from "../components/TypographyG";
33
import { useVersion } from "../hooks/useVersion";
44
import FerrisIcon from "/ferris.svg";
@@ -16,29 +16,37 @@ export function Footer() {
1616
alignItems: "center",
1717
}}
1818
>
19-
<TypographyG>
20-
<Icon sx={{
21-
pr: "4px",
22-
pl: "6px",
23-
alignItems: "center",
24-
overflow: "visible",
25-
}}
26-
>
27-
<img src={FerrisIcon} />
28-
</Icon>
29-
v
30-
{version?.version ?? ""}
31-
<Icon sx={{
32-
pr: "4px",
33-
pl: "6px",
34-
alignItems: "center",
35-
overflow: "visible",
36-
}}
37-
>
38-
<img src={ReactIcon} />
39-
</Icon>
40-
v
41-
{import.meta.env.VITE_APP_VERSION}
19+
<TypographyG sx={{ display: "flex" }}>
20+
<Tooltip title="Backend version" arrow>
21+
<Link href="https://github.com/ZeusWPI/ZeSS/tree/main/vingo" style={{ color: "inherit" }} underline="hover">
22+
<Icon sx={{
23+
pr: "4px",
24+
pl: "5px",
25+
alignItems: "center",
26+
overflow: "visible",
27+
}}
28+
>
29+
<img src={FerrisIcon} />
30+
</Icon>
31+
v
32+
{version?.version ?? ""}
33+
</Link>
34+
</Tooltip>
35+
<Tooltip title="Frontend version" arrow>
36+
<Link href="https://github.com/ZeusWPI/ZeSS/tree/main/vinvoor" style={{ color: "inherit" }} underline="hover">
37+
<Icon sx={{
38+
pr: "4px",
39+
pl: "5px",
40+
alignItems: "center",
41+
overflow: "visible",
42+
}}
43+
>
44+
<img src={ReactIcon} />
45+
</Icon>
46+
v
47+
{import.meta.env.VITE_APP_VERSION}
48+
</Link>
49+
</Tooltip>
4250
</TypographyG>
4351
<TypographyG
4452
sx={{

0 commit comments

Comments
 (0)