diff --git a/packages/demobank-ui/Makefile b/packages/demobank-ui/Makefile index ae7474e2c..3c3a3f602 100644 --- a/packages/demobank-ui/Makefile +++ b/packages/demobank-ui/Makefile @@ -13,9 +13,5 @@ install: pnpm run check pnpm run build install -d $(spa_dir) - install ./dist/index.css $(spa_dir) - install ./dist/index.css.map $(spa_dir) - install ./dist/index.js $(spa_dir) - install ./dist/index.js.map $(spa_dir) - install ./dist/index.html $(spa_dir) + install ./dist/* $(spa_dir) diff --git a/packages/demobank-ui/build.mjs b/packages/demobank-ui/build.mjs index 6350804fb..63ddc1f25 100755 --- a/packages/demobank-ui/build.mjs +++ b/packages/demobank-ui/build.mjs @@ -92,7 +92,7 @@ export const buildConfig = { outdir: "dist", minify: false, loader: { - ".svg": "text", + ".svg": "file", ".png": "dataurl", ".jpeg": "dataurl", }, diff --git a/packages/demobank-ui/src/pages/home/index.tsx b/packages/demobank-ui/src/pages/home/index.tsx index c8caf2a92..0ee2aa20d 100644 --- a/packages/demobank-ui/src/pages/home/index.tsx +++ b/packages/demobank-ui/src/pages/home/index.tsx @@ -1517,16 +1517,16 @@ function QrCodeSection({

{i18n`Charge Taler Wallet`}

-
-

{i18n`Use this QR code to withdraw to your mobile wallet:`}

- {QR({ text: talerWithdrawUri })} -

- Click {i18n`this link`} to - open your Taler wallet! -

-
- {abortButton} -
+
+

{i18n`Use this QR code to withdraw to your mobile wallet:`}

+ {QR({ text: talerWithdrawUri })} +

+ Click {i18n`this link`}{" "} + to open your Taler wallet! +

+
+ {abortButton} +
);