1
0

Moved tabletop under public/assets so it will load via webpack

Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
James Ketrenos 2022-02-03 11:23:40 -08:00
parent 6cf6ab9612
commit c228d73c5b
3 changed files with 2 additions and 1 deletions

View File

@ -122,7 +122,7 @@ const Board = ({ game }) => {
]); ]);
return ( return (
<div className="Board" style={{backgroundImage: `url(${assetsPath}/gfx/tabletop.png)`}}> <div className="Board">
{ borders } { borders }
{ tiles } { tiles }
{ pips } { pips }

View File

@ -5,6 +5,7 @@
overflow: hidden; overflow: hidden;
height: 100%; height: 100%;
justify-content: right; justify-content: right;
background-image: url("./assets/tabletop.png");
} }
.Display { .Display {

View File

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB