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:
parent
6cf6ab9612
commit
c228d73c5b
@ -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 }
|
||||||
|
@ -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 {
|
||||||
|
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
Loading…
x
Reference in New Issue
Block a user