diff --git a/tank-frontend/public/CCCBFont.woff b/tank-frontend/public/CCCBFont.woff new file mode 100644 index 0000000..04b40af Binary files /dev/null and b/tank-frontend/public/CCCBFont.woff differ diff --git a/tank-frontend/src/PlayerInfo.css b/tank-frontend/src/PlayerInfo.css index 720171a..c3a8623 100644 --- a/tank-frontend/src/PlayerInfo.css +++ b/tank-frontend/src/PlayerInfo.css @@ -1,9 +1,4 @@ -.PlayerInfo { - border: 2px solid rgb(76, 76, 76); - border-radius: 4px; -} - -.Elems { + .Elems { padding: 8px 8px; margin: 8px 8px; } diff --git a/tank-frontend/src/PlayerInfo.tsx b/tank-frontend/src/PlayerInfo.tsx index 518b5b1..a2f1f5b 100644 --- a/tank-frontend/src/PlayerInfo.tsx +++ b/tank-frontend/src/PlayerInfo.tsx @@ -4,12 +4,10 @@ import {PlayerResponse, getPlayer} from './serverCalls'; import {Guid} from "./Guid.ts"; import Column from "./components/Column.tsx"; import Row from "./components/Row.tsx"; -import Button from "./components/Button.tsx"; -export default function PlayerInfo({playerId, logout, reset}: { +export default function PlayerInfo({playerId, logout}: { playerId: Guid, - logout: () => void, - reset: () => void + logout: () => void }) { const [player, setPlayer] = useState(); @@ -28,12 +26,9 @@ export default function PlayerInfo({playerId, logout, reset}: { }, [playerId]); return - -

- {player ? `Playing as "${player?.name}"` : 'loading...'} -

-