Skip to content

Commit

Permalink
vinvoor: frontend version
Browse files Browse the repository at this point in the history
  • Loading branch information
Topvennie committed Dec 5, 2024
1 parent d04a862 commit 1f87e8b
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 1 deletion.
2 changes: 1 addition & 1 deletion vinvoor/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vinvoor",
"type": "module",
"version": "0.1.0",
"version": "0.2.7",
"private": true,
"scripts": {
"dev": "vite",
Expand Down
47 changes: 47 additions & 0 deletions vinvoor/public/ferris.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions vinvoor/public/react.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions vinvoor/src/footer/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { Box, Icon, Link } from "@mui/material";
import { TypographyG } from "../components/TypographyG";
import { useVersion } from "../hooks/useVersion";
import FerrisIcon from "/ferris.svg";
import ReactIcon from "/react.svg";
import ZeusIcon from "/zeus.svg";

export function Footer() {
Expand All @@ -15,8 +17,28 @@ export function Footer() {
}}
>
<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>
<TypographyG
sx={{
Expand Down

0 comments on commit 1f87e8b

Please sign in to comment.