koopa-admin-log/configs/taler-ops-ng/ng2/index.html
Hernâni Marques f821dc0eb4
feat(tops): Taler Operations design previews (ng1–ng3)
Static previews on ports 9090–9092: DD 90 branding (Montserrat,
#0042B3, logo), FINMA sticky, no taler-ops-www build. ng1 landing,
ng2 step/amount sliders + tabs, ng3 classic mirror. Podman nginx,
bin/up.sh, Caddy snippet, /CHANGES notes for current site only.
2026-07-10 17:36:51 +02:00

485 lines
20 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Taler Operations AG · digital cash for Switzerland</title>
<meta name="description" content="Taler Operations runs the Taler payment system in Switzerland. Digital cash as private as cash." />
<!-- GNU Taler DD 90 / DD 66: Montserrat, #0042b3 -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
<style>
@font-face {
font-family: "Montserrat Local";
font-style: normal;
font-weight: 400 800;
font-display: swap;
src: url("assets/montserrat-latin.woff2") format("woff2");
}
:root {
--taler-primary: #0042b3;
--taler-primary-dark: #00318a;
--taler-secondary: #a4c9ff;
--taler-secondary-deep: #586a88;
--taler-soft: #b4c5ff;
--taler-frame: #f1f1f4;
--taler-link: #4160ff;
--primary-container: #d3deff;
--on-primary-container: #00134a;
--bg: #fdfdff;
--on-bg: #1a1c1f;
--white: #ffffff;
--finma-bg: #0a1628;
--finma-fg: #e8f0ff;
--finma-line: #0042b3;
--font: "Montserrat", "Montserrat Local", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
--radius: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
margin: 0; font-family: var(--font); color: var(--on-bg);
background: var(--bg); line-height: 1.55;
}
.finma {
position: sticky; top: 0; z-index: 2000;
background: var(--finma-bg); color: var(--finma-fg);
border-bottom: 4px solid var(--finma-line);
padding: 0.65rem 1rem 0.75rem;
font-size: clamp(0.74rem, 2.2vw, 0.86rem);
font-weight: 600; text-align: center;
}
.finma .mark {
display: inline-block; margin-right: 0.4rem;
padding: 0.12rem 0.45rem; background: var(--taler-primary); color: #fff;
font-size: 0.65rem; font-weight: 800; letter-spacing: 0.1em;
text-transform: uppercase; border-radius: 3px; vertical-align: middle;
}
.finma strong { color: var(--taler-secondary); }
.bar {
display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
gap: 0.75rem; padding: 0.75rem 1.25rem;
background: var(--white); border-bottom: 1px solid #e6e8ef;
}
.bar .brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--on-bg); }
.bar .brand img { height: 40px; width: auto; display: block; }
.bar nav { display: flex; flex-wrap: wrap; gap: 0.9rem; font-size: 0.8rem; font-weight: 700; }
.bar nav a { color: var(--taler-secondary-deep); text-decoration: none; }
.bar nav a:hover { color: var(--taler-primary); }
.hero {
background: var(--taler-primary); color: var(--white);
padding: 2.5rem 1.25rem 2.75rem;
}
.hero-inner { max-width: 44rem; margin: 0 auto; }
.hero h1 {
margin: 0 0 0.75rem; font-weight: 800; line-height: 1.1;
font-size: clamp(1.75rem, 4.5vw, 2.5rem); letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--taler-secondary); }
.hero .lead { margin: 0 0 1.25rem; max-width: 34rem; font-weight: 500; opacity: 0.96; }
.cta {
display: inline-block; text-decoration: none; font-weight: 800; font-size: 0.9rem;
padding: 0.8rem 1.25rem; border-radius: var(--radius);
background: var(--white); color: var(--taler-primary);
}
.cta:hover { background: var(--primary-container); }
.cta.line {
background: transparent; color: #fff; border: 2px solid #fff; margin-left: 0.5rem;
}
.cta.line:hover { background: rgba(255,255,255,0.12); }
main { max-width: 44rem; margin: 0 auto; padding: 1.75rem 1.25rem 3rem; }
h2 {
font-size: 1.1rem; font-weight: 800; color: var(--taler-primary);
margin: 2rem 0 0.85rem; letter-spacing: 0.01em;
}
h2:first-child { margin-top: 0.5rem; }
p { margin: 0 0 0.75rem; }
a { color: var(--taler-link); }
/* ——— slider shell ——— */
.slider-block {
background: var(--white);
border: 1px solid #e6e8ef;
border-radius: 12px;
overflow: hidden;
margin: 0 0 1rem;
}
.slider-head {
display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
padding: 0.75rem 1rem;
background: var(--taler-frame);
border-bottom: 1px solid #e0e2ea;
}
.slider-head .label {
font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em;
text-transform: uppercase; color: var(--taler-primary);
}
.slider-head .counter {
font-size: 0.8rem; font-weight: 700; color: var(--taler-secondary-deep);
font-variant-numeric: tabular-nums;
}
.slider-viewport { overflow: hidden; position: relative; }
.slider-track {
display: flex;
transition: transform 0.35s ease;
will-change: transform;
}
.slide {
flex: 0 0 100%;
padding: 1.25rem 1.15rem 1.35rem;
min-height: 10.5rem;
}
.slide .n {
display: inline-flex; width: 2rem; height: 2rem; border-radius: 50%;
align-items: center; justify-content: center;
background: var(--taler-primary); color: #fff;
font-weight: 800; font-size: 0.95rem; margin-bottom: 0.65rem;
}
.slide h3 { margin: 0 0 0.4rem; font-size: 1.05rem; font-weight: 700; color: var(--on-bg); }
.slide p { margin: 0; color: #333; font-size: 0.95rem; }
.slide .apps { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.85rem; }
.slide .apps a {
font-size: 0.78rem; font-weight: 700; text-decoration: none;
padding: 0.4rem 0.7rem; border-radius: var(--radius);
background: var(--taler-primary); color: #fff;
}
.slide .apps a.sec { background: var(--taler-secondary-deep); }
.slider-controls {
display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
padding: 0.65rem 1rem 0.85rem;
border-top: 1px solid #e6e8ef;
background: var(--bg);
}
.slider-controls button {
font-family: var(--font); font-weight: 700; font-size: 0.82rem;
padding: 0.45rem 0.85rem; border-radius: var(--radius); cursor: pointer;
border: 1px solid var(--taler-primary); background: var(--white); color: var(--taler-primary);
}
.slider-controls button:hover { background: var(--primary-container); }
.slider-controls button:disabled { opacity: 0.4; cursor: not-allowed; }
.dots { display: flex; gap: 0.4rem; align-items: center; }
.dots button {
width: 0.55rem; height: 0.55rem; padding: 0; border: 0; border-radius: 50%;
background: #c4c6d0; cursor: pointer;
}
.dots button[aria-current="true"] { background: var(--taler-primary); width: 1.1rem; border-radius: 4px; }
/* range slider demo */
.range-card {
background: var(--white);
border: 1px solid #e6e8ef;
border-radius: 12px;
padding: 1.15rem 1.2rem 1.35rem;
margin: 0 0 1rem;
}
.range-card .top {
display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem;
margin-bottom: 0.65rem;
}
.range-card .top span { font-size: 0.8rem; font-weight: 700; color: var(--taler-secondary-deep); }
.range-card .amount {
font-size: 1.65rem; font-weight: 800; color: var(--taler-primary);
font-variant-numeric: tabular-nums;
}
.range-card input[type="range"] {
-webkit-appearance: none; appearance: none;
width: 100%; height: 0.45rem; border-radius: 999px;
background: var(--taler-frame); outline: none; margin: 0.5rem 0 0.85rem;
}
.range-card input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none; appearance: none;
width: 1.35rem; height: 1.35rem; border-radius: 50%;
background: var(--taler-primary); border: 3px solid var(--white);
box-shadow: 0 0 0 1px var(--taler-primary); cursor: pointer;
}
.range-card input[type="range"]::-moz-range-thumb {
width: 1.35rem; height: 1.35rem; border-radius: 50%;
background: var(--taler-primary); border: 3px solid var(--white);
box-shadow: 0 0 0 1px var(--taler-primary); cursor: pointer;
}
.range-card .hint {
font-size: 0.88rem; color: #444; background: var(--primary-container);
color: var(--on-primary-container);
padding: 0.75rem 0.9rem; border-radius: var(--radius);
}
.need-list {
background: var(--taler-frame); border-left: 6px solid var(--taler-primary);
padding: 1rem 1.15rem; border-radius: 0 12px 12px 0; margin: 0 0 1rem;
}
.need-list ul { margin: 0; padding-left: 1.15rem; }
.need-list li { margin: 0.3rem 0; }
/* topic slider (horizontal chips + panel) */
.topics {
display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem;
}
.topics button {
font-family: var(--font); font-weight: 700; font-size: 0.8rem;
padding: 0.45rem 0.85rem; border-radius: 999px; cursor: pointer;
border: 1px solid #c4c6d0; background: var(--white); color: var(--taler-secondary-deep);
}
.topics button[aria-selected="true"] {
background: var(--taler-primary); color: #fff; border-color: var(--taler-primary);
}
.topic-panel {
border: 1px solid #e6e8ef; border-radius: 12px; padding: 1.1rem 1.15rem;
background: var(--white); min-height: 6.5rem;
}
.topic-panel[hidden] { display: none; }
.topic-panel h3 { margin: 0 0 0.4rem; font-size: 1rem; font-weight: 700; color: var(--taler-primary); }
.topic-panel p { margin: 0; font-size: 0.95rem; color: #333; }
.topic-panel a.btn-sm {
display: inline-block; margin-top: 0.75rem; text-decoration: none;
font-weight: 700; font-size: 0.82rem; padding: 0.45rem 0.8rem;
border-radius: var(--radius); background: var(--taler-primary); color: #fff;
}
details.faq {
border: 1px solid #e6e8ef; border-radius: 10px; padding: 0.75rem 1rem;
margin: 0.5rem 0; background: #fafbfe;
}
details.faq summary { font-weight: 700; cursor: pointer; color: var(--taler-primary); }
details.faq p { margin: 0.5rem 0 0; font-size: 0.93rem; }
footer {
background: #0a1628; color: #a8b8d0; text-align: center;
padding: 1.75rem 1rem 2.5rem; font-size: 0.85rem;
}
footer a { color: var(--taler-secondary); }
</style>
</head>
<body>
<aside class="finma" role="note" aria-label="Legal notice FINMA">
<span class="mark">FINMA</span>
Taler Operations AG operates the Taler payment system in Switzerland.
<strong>Taler Operations is not supervised by the Swiss Financial Market Supervisory Authority (FINMA).</strong>
Escrowed customer assets are not subject to deposit insurance but held in a segregated bank account.
</aside>
<div class="bar">
<a class="brand" href="/" aria-label="Taler Operations home">
<img src="assets/taler-full.svg" width="136" height="61" alt="GNU Taler" />
</a>
<nav>
<a href="#start">Start</a>
<a href="#amount">Amount</a>
<a href="#topics">More</a>
<a href="#faq">FAQ</a>
<a href="https://taler-ops.ch/en/users.html">Users</a>
<a href="https://taler-ops.ch/en/merchants.html">Merchants</a>
<a href="/CHANGES/">Hinweise</a>
</nav>
</div>
<header class="hero">
<div class="hero-inner">
<h1>Digital cash <em>as private as cash</em></h1>
<p class="lead">
Withdraw eCHF into the Taler wallet from your Swiss bank account, then pay with QR or NFC.
</p>
<a class="cta" href="https://wallet.taler.net/">Get the wallet</a>
<a class="cta line" href="#start">Slide through steps</a>
</div>
</header>
<main>
<section id="start">
<h2>3 steps</h2>
<div class="slider-block" data-slider data-index="0">
<div class="slider-head">
<span class="label">How it works</span>
<span class="counter" data-counter>1 / 3</span>
</div>
<div class="slider-viewport">
<div class="slider-track" data-track>
<article class="slide">
<span class="n">1</span>
<h3>Install the wallet</h3>
<p>Android, iOS, or browser extension from the official wallet portal.</p>
<div class="apps">
<a href="https://play.google.com/store/apps/details?id=net.taler.wallet" rel="noopener">Android</a>
<a class="sec" href="https://apps.apple.com/app/taler-wallet/id6463440117" rel="noopener">iOS</a>
<a class="sec" href="https://wallet.taler.net/" rel="noopener">All platforms</a>
</div>
</article>
<article class="slide">
<span class="n">2</span>
<h3>Withdraw digital cash</h3>
<p>Tap “Withdraw CHF”, enter an amount, confirm the bank transfer. Processing follows Swiss bank transfer times.</p>
</article>
<article class="slide">
<span class="n">3</span>
<h3>Pay</h3>
<p>Scan a merchant QR code or use NFC — confirm once. Only spend what you withdrew.</p>
</article>
</div>
</div>
<div class="slider-controls">
<button type="button" data-prev>← Prev</button>
<div class="dots" data-dots role="tablist" aria-label="Step slides"></div>
<button type="button" data-next>Next →</button>
</div>
</div>
</section>
<section id="amount">
<h2>Withdraw amount</h2>
<div class="range-card">
<div class="top">
<span>Example only — not a live withdrawal</span>
<div class="amount"><span data-chf>50</span>&nbsp;CHF</div>
</div>
<label class="visually-hidden" for="chf-range" style="position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)">Amount in CHF</label>
<input id="chf-range" type="range" min="5" max="500" step="5" value="50" data-range />
<div class="hint" data-range-hint>
Slide to pick a sample amount. In the real wallet you confirm a bank transfer for that sum; processing follows normal Swiss transfer times.
</div>
</div>
<div class="need-list" id="need">
<ul>
<li><strong>Swiss bank account</strong> with an IBAN starting with <code>CH</code></li>
<li><strong>Mobile phone number</strong> with <code>+41</code> to receive P2P payments</li>
</ul>
</div>
</section>
<section id="topics">
<h2>More</h2>
<div class="topics" role="tablist" aria-label="Topics">
<button type="button" role="tab" aria-selected="true" aria-controls="panel-users" id="tab-users" data-topic="users">Users</button>
<button type="button" role="tab" aria-selected="false" aria-controls="panel-merchants" id="tab-merchants" data-topic="merchants">Merchants</button>
<button type="button" role="tab" aria-selected="false" aria-controls="panel-map" id="tab-map" data-topic="map">Map &amp; fees</button>
</div>
<div class="topic-panel" role="tabpanel" id="panel-users" aria-labelledby="tab-users">
<h3>For users</h3>
<p>Withdraw eCHF, keep private purchases, pay in person where Taler is accepted.</p>
<a class="btn-sm" href="https://taler-ops.ch/en/users.html">User guide</a>
</div>
<div class="topic-panel" role="tabpanel" id="panel-merchants" aria-labelledby="tab-merchants" hidden>
<h3>For merchants</h3>
<p>Accept eCHF with the Taler merchant backend. Onboarding and fees are documented on production.</p>
<a class="btn-sm" href="https://taler-ops.ch/en/merchants.html">Merchant guide</a>
</div>
<div class="topic-panel" role="tabpanel" id="panel-map" aria-labelledby="tab-map" hidden>
<h3>Map &amp; fees</h3>
<p>Find places that accept eCHF, and review current fee schedules.</p>
<a class="btn-sm" href="https://taler-ops.ch/en/index.html#target-map">Open map</a>
<a class="btn-sm" href="https://taler-ops.ch/en/fees.html" style="margin-left:0.35rem;background:var(--taler-secondary-deep)">Fees</a>
</div>
</section>
<section id="faq">
<h2>FAQ</h2>
<details class="faq">
<summary>Is this supervised by FINMA?</summary>
<p>No. Taler Operations AG is <strong>not supervised by FINMA</strong>. Escrow is in a segregated bank account and is <strong>not</strong> covered by deposit insurance. See the sticky notice above.</p>
</details>
<details class="faq">
<summary>How is this like a regular wallet?</summary>
<p>You can only spend money you previously withdrew. No credit; the exchange does not learn what you bought.</p>
</details>
<details class="faq">
<summary>Where is production?</summary>
<p>Live service: <a href="https://taler-ops.ch/">taler-ops.ch</a>.</p>
</details>
</section>
</main>
<footer>
Taler Operations AG · Biel/Bienne ·
<a href="https://taler-ops.ch/">taler-ops.ch</a> ·
<a href="/CHANGES/">Hinweise</a> ·
<a href="https://docs.taler.net/design-documents/090-branding.html">DD 90</a>
</footer>
<script>
(function () {
/* step carousel */
document.querySelectorAll("[data-slider]").forEach(function (root) {
var track = root.querySelector("[data-track]");
var slides = track ? track.children : [];
var n = slides.length;
if (!n) return;
var i = 0;
var counter = root.querySelector("[data-counter]");
var dots = root.querySelector("[data-dots]");
var prev = root.querySelector("[data-prev]");
var next = root.querySelector("[data-next]");
for (var d = 0; d < n; d++) {
(function (idx) {
var b = document.createElement("button");
b.type = "button";
b.setAttribute("aria-label", "Go to step " + (idx + 1));
b.addEventListener("click", function () { go(idx); });
dots.appendChild(b);
})(d);
}
function go(idx) {
i = Math.max(0, Math.min(n - 1, idx));
track.style.transform = "translateX(-" + i * 100 + "%)";
if (counter) counter.textContent = i + 1 + " / " + n;
if (prev) prev.disabled = i === 0;
if (next) next.disabled = i === n - 1;
Array.prototype.forEach.call(dots.children, function (dot, di) {
dot.setAttribute("aria-current", di === i ? "true" : "false");
});
}
if (prev) prev.addEventListener("click", function () { go(i - 1); });
if (next) next.addEventListener("click", function () { go(i + 1); });
go(0);
});
/* amount range */
var range = document.querySelector("[data-range]");
var chf = document.querySelector("[data-chf]");
var hint = document.querySelector("[data-range-hint]");
if (range && chf) {
function syncRange() {
var v = Number(range.value);
chf.textContent = String(v);
if (hint) {
if (v <= 20) {
hint.textContent = "Small everyday amounts work well for trying the wallet first.";
} else if (v <= 100) {
hint.textContent = "Typical sample for coffee-to-groceries use. Confirm the bank transfer in the real wallet.";
} else {
hint.textContent = "Larger withdrawals still only spend what you put in — no credit. Processing follows Swiss bank times.";
}
}
}
range.addEventListener("input", syncRange);
syncRange();
}
/* topic tabs */
var tabs = document.querySelectorAll("[data-topic]");
var panels = {
users: document.getElementById("panel-users"),
merchants: document.getElementById("panel-merchants"),
map: document.getElementById("panel-map")
};
tabs.forEach(function (tab) {
tab.addEventListener("click", function () {
var key = tab.getAttribute("data-topic");
tabs.forEach(function (t) { t.setAttribute("aria-selected", t === tab ? "true" : "false"); });
Object.keys(panels).forEach(function (k) {
if (!panels[k]) return;
if (k === key) panels[k].removeAttribute("hidden");
else panels[k].setAttribute("hidden", "");
});
});
});
})();
</script>
</body>
</html>