[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: demobank-ui: bundle asses pro
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: demobank-ui: bundle asses properly |
Date: |
Mon, 31 Oct 2022 12:51:49 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new 234ee5588 demobank-ui: bundle asses properly
234ee5588 is described below
commit 234ee55882da7759591730be72f0940f82c52a05
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon Oct 31 12:51:45 2022 +0100
demobank-ui: bundle asses properly
---
packages/demobank-ui/Makefile | 6 +-----
packages/demobank-ui/build.mjs | 2 +-
packages/demobank-ui/src/pages/home/index.tsx | 20 ++++++++++----------
3 files changed, 12 insertions(+), 16 deletions(-)
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({
<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>
);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: demobank-ui: bundle asses properly,
gnunet <=