Add an "About" link

This commit is contained in:
Lynn
2022-01-03 16:17:36 +01:00
parent ef1de44e5d
commit 5a8100f720
4 changed files with 90 additions and 12 deletions

View File

@@ -15,6 +15,7 @@ enum GameState {
interface GameProps {
maxGuesses: number;
hidden: boolean;
}
const targets = common
@@ -120,7 +121,7 @@ function Game(props: GameProps) {
});
return (
<div className="Game">
<div className="Game" style={{ display: props.hidden ? "none" : "block" }}>
<div className="Game-options">
<label htmlFor="wordLength">Letters:</label>
<input