diff options
author | Anthony Wang | 2021-05-09 18:57:45 +0000 |
---|---|---|
committer | GitHub | 2021-05-09 18:57:45 +0000 |
commit | 40115b714df43d51073ba20c7292aed3f75dcb14 (patch) | |
tree | a78189a27c9f16ff6fc4af4ac96119e6d1063dfd | |
parent | 45dd3cb2efd7d6549b37797c9bf0a2cf879b65c8 (diff) |
Minor UI change
-rw-r--r-- | front/pages/index.tsx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/front/pages/index.tsx b/front/pages/index.tsx index 4c38f74..5605b71 100644 --- a/front/pages/index.tsx +++ b/front/pages/index.tsx @@ -18,9 +18,7 @@ interface GameState { const rankStrs = ['', 'A', '2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K']; const suitChars = ['♣', '♦', '♥', '♠']; -const rules = `Welcome to BSX! - -There are only 5 simple rules! +const rules = `There are only 5 simple rules! 1. You will first be dealt 5 cards. @@ -88,6 +86,9 @@ export default function Game() { if (!loggedIn) { return ( <> + <h2> + Welcome to BSX! + </h2> <div> {rules} </div> @@ -158,7 +159,7 @@ export default function Game() { </div> {`Rearrange your card stack from top to bottom!`} <div> - <p>Your cards:</p> + <p>Your cards stack:</p> {gameState.cards.map((card, i) => ( <label key={card.rank+' '+card.suit}> <div> |