demobank-ui: bundle asses properly

This commit is contained in:
Florian Dold 2022-10-31 12:51:45 +01:00
parent 402ecb1a14
commit 234ee55882
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
3 changed files with 12 additions and 16 deletions

View File

@ -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)

View File

@ -92,7 +92,7 @@ export const buildConfig = {
outdir: "dist",
minify: false,
loader: {
".svg": "text",
".svg": "file",
".png": "dataurl",
".jpeg": "dataurl",
},

View File

@ -1517,16 +1517,16 @@ function QrCodeSection({
<section id="main" class="content">
<h1 class="nav">{i18n`Charge Taler Wallet`}</h1>
<article>
<div class="qr-div">
<p>{i18n`Use this QR code to withdraw to your mobile wallet:`}</p>
{QR({ text: talerWithdrawUri })}
<p>
Click <a id="linkqr" href={talerWithdrawUri}>{i18n`this link`}</a> to
open your Taler wallet!
</p>
<br />
{abortButton}
</div>
<div class="qr-div">
<p>{i18n`Use this QR code to withdraw to your mobile wallet:`}</p>
{QR({ text: talerWithdrawUri })}
<p>
Click <a id="linkqr" href={talerWithdrawUri}>{i18n`this link`}</a>{" "}
to open your Taler wallet!
</p>
<br />
{abortButton}
</div>
</article>
</section>
);