Skip to content

Commit

Permalink
vinvoor: big boss wanted some revisions
Browse files Browse the repository at this point in the history
  • Loading branch information
Topvennie committed Dec 5, 2024
1 parent 290273b commit 9d66fbd
Showing 1 changed file with 32 additions and 24 deletions.
56 changes: 32 additions & 24 deletions vinvoor/src/footer/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Box, Icon, Link } from "@mui/material";
import { Box, Icon, Link, Tooltip } from "@mui/material";
import { TypographyG } from "../components/TypographyG";
import { useVersion } from "../hooks/useVersion";
import FerrisIcon from "/ferris.svg";
Expand All @@ -16,29 +16,37 @@ export function Footer() {
alignItems: "center",
}}
>
<TypographyG>
<Icon sx={{
pr: "4px",
pl: "6px",
alignItems: "center",
overflow: "visible",
}}
>
<img src={FerrisIcon} />
</Icon>
v
{version?.version ?? ""}
<Icon sx={{
pr: "4px",
pl: "6px",
alignItems: "center",
overflow: "visible",
}}
>
<img src={ReactIcon} />
</Icon>
v
{import.meta.env.VITE_APP_VERSION}
<TypographyG sx={{ display: "flex" }}>
<Tooltip title="Backend version" arrow>
<Link href="https://github.com/ZeusWPI/ZeSS/tree/main/vingo" style={{ color: "inherit" }} underline="hover">
<Icon sx={{
pr: "4px",
pl: "5px",
alignItems: "center",
overflow: "visible",
}}
>
<img src={FerrisIcon} />
</Icon>
v
{version?.version ?? ""}
</Link>
</Tooltip>
<Tooltip title="Frontend version" arrow>
<Link href="https://github.com/ZeusWPI/ZeSS/tree/main/vinvoor" style={{ color: "inherit" }} underline="hover">
<Icon sx={{
pr: "4px",
pl: "5px",
alignItems: "center",
overflow: "visible",
}}
>
<img src={ReactIcon} />
</Icon>
v
{import.meta.env.VITE_APP_VERSION}
</Link>
</Tooltip>
</TypographyG>
<TypographyG
sx={{
Expand Down

0 comments on commit 9d66fbd

Please sign in to comment.