diff --git a/modern/src/App.js b/modern/src/App.js index f540fd53..1fb5ddcc 100644 --- a/modern/src/App.js +++ b/modern/src/App.js @@ -148,22 +148,25 @@ function Layout({ } return ( - <> - +
{children} - +
); } @@ -196,17 +199,18 @@ function Layer({ node, id, image, children, x, y }) { if (img.h !== undefined) { params.height = Number(img.h); } + if (img.imgUrl !== undefined) { + params.backgroundImage = `url(${img.imgUrl}`; + } return ( - <> - +
{children} - +
); }