From c228d73c5bbd561829f613a093ecb0009087a148 Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Thu, 3 Feb 2022 11:23:40 -0800 Subject: [PATCH] Moved tabletop under public/assets so it will load via webpack Signed-off-by: James Ketrenos --- client/src/Board.js | 2 +- client/src/Table.css | 1 + .../{public/assets/gfx => src/assets}/tabletop.png | Bin 3 files changed, 2 insertions(+), 1 deletion(-) rename client/{public/assets/gfx => src/assets}/tabletop.png (100%) diff --git a/client/src/Board.js b/client/src/Board.js index 9facf70..4a738f6 100644 --- a/client/src/Board.js +++ b/client/src/Board.js @@ -122,7 +122,7 @@ const Board = ({ game }) => { ]); return ( -
+
{ borders } { tiles } { pips } diff --git a/client/src/Table.css b/client/src/Table.css index 8654e62..e8ba052 100755 --- a/client/src/Table.css +++ b/client/src/Table.css @@ -5,6 +5,7 @@ overflow: hidden; height: 100%; justify-content: right; + background-image: url("./assets/tabletop.png"); } .Display { diff --git a/client/public/assets/gfx/tabletop.png b/client/src/assets/tabletop.png similarity index 100% rename from client/public/assets/gfx/tabletop.png rename to client/src/assets/tabletop.png