Skip to content

Commit

Permalink
update app versions and display version in footer
Browse files Browse the repository at this point in the history
  • Loading branch information
benny-n committed Feb 12, 2022
1 parent 6c3dc8e commit a99e801
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sogrim-server"
version = "0.1.0"
version = "1.0.0"
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion packages/sogrim-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sogrim-app",
"version": "0.1.0",
"version": "1.0.0",
"private": true,
"dependencies": {
"@emotion/react": "^11.4.1",
Expand Down
18 changes: 17 additions & 1 deletion packages/sogrim-app/src/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import GitHubIcon from "@mui/icons-material/GitHub";
import InfoIcon from "@mui/icons-material/Info";
import { AppBar, Box, Link, Typography } from "@mui/material";
import { version } from "../../../package.json";

export const Footer: React.FC = () => {
return (
Expand All @@ -21,7 +22,9 @@ export const Footer: React.FC = () => {
gap: 3,
}}
>
<Typography> מוגש בחום ואהבה מצוות סוגרים 🤓</Typography>
<Typography sx={{ display: "flex", marginLeft: "auto" }}>
מוגש בחום ואהבה מצוות סוגרים 🤓
</Typography>
<Box
sx={{
display: "flex",
Expand Down Expand Up @@ -58,6 +61,19 @@ export const Footer: React.FC = () => {
</Link>
<InfoIcon sx={{ height: "18px", width: "18px" }} />
</Box>
<Box
sx={{
display: "flex",
justifySelf: "flex-end",
justifyContent: "flex-end",
alignSelf: "flex-end",
}}
>
<Typography
sx={{ marginRight: "3px", marginBottom: "-6px" }}
fontSize="small"
>{`v${version}`}</Typography>
</Box>
</Box>
</AppBar>
);
Expand Down

0 comments on commit a99e801

Please sign in to comment.