diff --git a/configs/bank-landing/index.html b/configs/bank-landing/index.html index 76fcb06..719d0fa 100644 --- a/configs/bank-landing/index.html +++ b/configs/bank-landing/index.html @@ -260,6 +260,30 @@ text-align: center; max-width: 100%; } + a.meta-uri { + display: block; + font-size: 0.72rem; + color: #5eead4; + word-break: break-all; + margin: 0.35rem 0 0; + text-align: center; + max-width: 22rem; + text-decoration: none; + border-bottom: 1px solid rgba(94, 234, 212, 0.35); + line-height: 1.35; + cursor: pointer; + } + a.meta-uri:hover { + color: #99f6e4; + border-bottom-color: #5eead4; + } + a.meta-uri.disabled, + a.meta-uri[href="#"] { + color: var(--muted); + border-bottom-color: transparent; + cursor: default; + pointer-events: none; + } code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.86em; @@ -816,7 +840,7 @@ Open in wallet → -
+ Preparing withdraw… @@ -1116,14 +1140,21 @@ } function setDemoWithdraw(uri, amount) { - uri = String(uri || "").replace(/:443\//g, "/").replace(/:443\?/g, "?"); + uri = String(uri || "") + .replace(/:443\//g, "/") + .replace(/:443\?/g, "?"); var open = document.getElementById("open-withdraw-demo"); var meta = document.getElementById("withdraw-demo-meta"); if (open) { open.href = uri; open.classList.remove("disabled"); } - if (meta) meta.textContent = uri; + if (meta) { + meta.href = uri; + meta.textContent = uri; + meta.classList.remove("disabled"); + meta.setAttribute("title", "Open in wallet"); + } makeQr( document.getElementById("qr-withdraw-demo"), uri, @@ -1134,9 +1165,13 @@ function loadDemoWithdraw() { var meta = document.getElementById("withdraw-demo-meta"); var open = document.getElementById("open-withdraw-demo"); - if (meta) meta.textContent = "Preparing community withdraw…"; + if (meta) { + meta.textContent = "Preparing withdraw…"; + meta.href = "#"; + meta.classList.add("disabled"); + } if (open) { - open.removeAttribute("href"); + open.href = "#"; open.classList.add("disabled"); } // Prefer live mint (fresh op each time); fall back to static withdraw.uri