diff --git a/package.json b/package.json index 964d033..0f9d814 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "frontend", - "version": "7.2.2", + "version": "7.2.3", "description": "React frontend for the Cards 110", "author": "Daithi Hearn", "license": "MIT", diff --git a/public/manifest.json b/public/manifest.json index 263bdd1..7473ca4 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,7 +1,7 @@ { "short_name": "Cards 110", "name": "Cards 110", - "version": "7.2.2", + "version": "7.2.3", "icons": [ { "src": "./assets/favicon.png", diff --git a/src/components/Game/GameOver.tsx b/src/components/Game/GameOver.tsx index 94dd53d..21d3920 100644 --- a/src/components/Game/GameOver.tsx +++ b/src/components/Game/GameOver.tsx @@ -1,4 +1,4 @@ -import { Card, CardContent, CardHeader, Grid } from "@mui/material" +import { Card, CardContent, CardHeader, Grid, Typography } from "@mui/material" import Leaderboard from "components/Leaderboard/Leaderboard" import Confetti from "react-confetti" @@ -8,7 +8,9 @@ const GameOver = () => { - + Game Over} + /> diff --git a/src/components/GameStats/GameStats.tsx b/src/components/GameStats/GameStats.tsx index 3985fb8..a0f800c 100644 --- a/src/components/GameStats/GameStats.tsx +++ b/src/components/GameStats/GameStats.tsx @@ -5,6 +5,7 @@ import { Grid, Switch, FormControlLabel, + Typography, } from "@mui/material" import { useCallback, useEffect, useState } from "react" import { useAppSelector } from "caches/hooks" @@ -29,7 +30,9 @@ const GameStats = () => { return ( - + Stats} + /> {myProfile.isAdmin ? ( diff --git a/src/components/Header/NavBar.tsx b/src/components/Header/NavBar.tsx index 6a5ed6e..f4b7654 100644 --- a/src/components/Header/NavBar.tsx +++ b/src/components/Header/NavBar.tsx @@ -21,6 +21,7 @@ import { Menu, MenuItem, Toolbar, + Typography, } from "@mui/material" import { getIsGameActive, getIamAdmin } from "caches/GameSlice" import Leaderboard from "components/Leaderboard/Leaderboard" @@ -156,7 +157,13 @@ const NavBar = () => { onClose={toggleLeaderboardModal}> - + + Leaderboard + + } + /> diff --git a/src/components/MyGames/MyGames.tsx b/src/components/MyGames/MyGames.tsx index 4d70a29..a16af03 100644 --- a/src/components/MyGames/MyGames.tsx +++ b/src/components/MyGames/MyGames.tsx @@ -17,6 +17,7 @@ import { ListItemIcon, ListItemSecondaryAction, ListItemText, + Typography, } from "@mui/material" import moment from "moment" @@ -65,7 +66,9 @@ const MyGames = () => { - + Games} + /> {last10Games.map(row => ( diff --git a/src/components/StartNewGame/StartNewGame.tsx b/src/components/StartNewGame/StartNewGame.tsx index 997e7f7..719c834 100644 --- a/src/components/StartNewGame/StartNewGame.tsx +++ b/src/components/StartNewGame/StartNewGame.tsx @@ -19,6 +19,7 @@ import { TableContainer, TableHead, TableRow, + Typography, useTheme, } from "@mui/material" import { useAppDispatch, useAppSelector } from "caches/hooks" @@ -117,7 +118,13 @@ const StartNewGame = () => { - + + Start a new game + + } + />
diff --git a/src/pages/Home/Home.tsx b/src/pages/Home/Home.tsx index 1df5bc2..79e5548 100644 --- a/src/pages/Home/Home.tsx +++ b/src/pages/Home/Home.tsx @@ -13,6 +13,7 @@ import { useSnackbar } from "notistack" import StatsService from "services/StatsService" import parseError from "utils/ErrorUtils" import SettingsService from "services/SettingsService" +import { Spa } from "@mui/icons-material" const Home = () => { const dispatch = useAppDispatch() @@ -61,10 +62,11 @@ const Home = () => { ) : (
{myProfile.isPlayer ? ( - + ) : null} + {myProfile.isPlayer && !myProfile.isAdmin ? (