From e8221919448f79c8956a5311131b1814068862f4 Mon Sep 17 00:00:00 2001
From: Inga
Date: Tue, 19 Nov 2024 18:32:45 +0000
Subject: [PATCH] css for prettier game board
---
src/backend/components/boardgame.tsx | 4 +-
src/backend/main/index.tsx | 6 +--
src/frontend/components/board-game.ts | 3 ++
src/frontend/static/o.png | Bin 0 -> 955 bytes
src/frontend/static/style.css | 55 ++++++++++++++++++++++++++
src/frontend/static/x.png | Bin 0 -> 1477 bytes
6 files changed, 63 insertions(+), 5 deletions(-)
create mode 100644 src/frontend/static/o.png
create mode 100644 src/frontend/static/x.png
diff --git a/src/backend/components/boardgame.tsx b/src/backend/components/boardgame.tsx
index b397fa3..0fd4f3b 100644
--- a/src/backend/components/boardgame.tsx
+++ b/src/backend/components/boardgame.tsx
@@ -24,7 +24,7 @@ const getCellHtml = ({
const { isDisabled, nextGameState, text } = getCellDisplayData({ gameState, currentOutcome, row, column });
return (
-
-
+
{sequence(gameState.rows).map((row) => (
diff --git a/src/backend/main/index.tsx b/src/backend/main/index.tsx
index 28ba9cf..8b66087 100644
--- a/src/backend/main/index.tsx
+++ b/src/backend/main/index.tsx
@@ -32,7 +32,7 @@ export const mainPageHandler: RequestHandler = (req, res) => {
Hi
-
+
Just a small demo of progressive form and tracker web components.
@@ -72,8 +72,8 @@ export const mainPageHandler: RequestHandler = (req, res) => {
))}
-
-
+
+