Skip to content

an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions

site: one wall tier + support-first download modal

Chaitanya Giri5fe4791747e9
diff --git a/docs/index.html b/docs/index.html
index 33fbefcd..a409963a 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -216,29 +216,100 @@
.featured-badges { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.featured-badges img { height: 34px; width: auto; display: block; border-radius: 6px; }
- /* download dropdown */
- .dl { position: relative; display: inline-block; }
- .dl-caret { margin-left: 2px; font-size: 0.75em; }
- .dl-menu {
- position: absolute; top: calc(100% + 8px); left: 0; z-index: 60;
- min-width: 280px; display: none; overflow: hidden;
+ /* download modal — the support ask lives between the click and the platform
+ choice; a small skip link keeps the download genuinely ungated */
+ .smb {
+ position: fixed; inset: 0; z-index: 90;
+ display: none; align-items: center; justify-content: center; padding: 20px;
+ background: rgba(5,7,12,0.55); backdrop-filter: blur(6px);
+ }
+ .smb.open { display: flex; }
+ .smodal {
+ position: relative; width: min(480px, 100%);
+ max-height: calc(100dvh - 40px); overflow-y: auto;
background: var(--surface); border: 1px solid var(--border-strong);
- border-radius: var(--radius-sm); box-shadow: var(--shadow-soft);
+ border-radius: var(--radius); box-shadow: var(--shadow-soft);
+ padding: 30px 26px 26px; text-align: center;
+ animation: sm-in 220ms ease;
+ }
+ @keyframes sm-in { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }
+ .sm-close {
+ position: absolute; top: 10px; right: 10px; width: 30px; height: 30px;
+ border-radius: 8px; border: 1px solid var(--border-strong);
+ background: var(--surface); color: var(--muted);
+ font-size: 0.9rem; line-height: 1; cursor: pointer;
+ }
+ .sm-close:hover { color: var(--ink); border-color: var(--accent-line); }
+ .sm-kicker {
+ font-family: var(--font-mono); font-weight: 600; font-size: 0.66rem;
+ letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
+ display: block; margin-bottom: 10px;
+ }
+ .smodal h3 { font-size: 1.22rem; margin-bottom: 8px; }
+ .smodal p { color: var(--muted); font-size: 0.9rem; max-width: 380px; margin: 0 auto; }
+ .smodal p a { color: var(--ink); }
+ .sm-step { display: none; }
+ .sm-step.on { display: block; }
+ .sm-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; align-items: center; }
+ .sm-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
+ .sm-skip {
+ background: none; border: 0; cursor: pointer; padding: 4px;
+ font-family: var(--font-mono); font-size: 0.76rem; color: var(--faint);
+ text-decoration: underline; text-underline-offset: 3px;
}
- .dl-menu.right { left: auto; right: 0; }
- .dl.open .dl-menu { display: block; }
- .dl-menu a {
+ .sm-skip:hover { color: var(--muted); }
+ /* live brass plaque preview — same recipe as docs/wall.html */
+ .sm-plaque {
+ margin: 20px auto 4px; max-width: 300px; border-radius: 8px;
+ padding: 20px 16px 16px; text-align: center; color: #3A2B10;
+ background-image:
+ radial-gradient(circle at 11px 11px, #6B5320 2.2px, #F4E2A1 2.8px, transparent 4.2px),
+ radial-gradient(circle at calc(100% - 11px) 11px, #6B5320 2.2px, #F4E2A1 2.8px, transparent 4.2px),
+ radial-gradient(circle at 11px calc(100% - 11px), #6B5320 2.2px, #F4E2A1 2.8px, transparent 4.2px),
+ radial-gradient(circle at calc(100% - 11px) calc(100% - 11px), #6B5320 2.2px, #F4E2A1 2.8px, transparent 4.2px),
+ linear-gradient(160deg, #EED28A 0%, #D9B75F 38%, #BC9440 62%, #E3C377 100%);
+ border: 1px solid rgba(96,70,22,0.6);
+ box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), inset 0 -2px 5px rgba(96,70,22,0.35), 0 6px 16px rgba(0,0,0,0.26);
+ }
+ .sm-plaque .no {
+ font-family: var(--font-mono); font-weight: 700; font-size: 0.58rem;
+ letter-spacing: 0.18em; text-transform: uppercase; color: #6B5320;
+ text-shadow: 0 1px 0 rgba(255,255,255,0.35);
+ }
+ .sm-plaque .nm {
+ display: block; margin-top: 6px; min-height: 1.25em;
+ font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
+ letter-spacing: 0.02em; text-transform: uppercase; color: #40300F;
+ text-shadow: 0 1px 0 rgba(255,255,255,0.4); overflow-wrap: anywhere;
+ }
+ .sm-name { margin-top: 16px; }
+ .sm-name input {
+ width: 100%; max-width: 320px; padding: 11px 14px; text-align: center;
+ border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
+ background: var(--bg-2); color: var(--ink);
+ font-family: var(--font-body); font-size: 0.95rem;
+ }
+ .sm-name input:focus { outline: 2px solid var(--accent-line); border-color: transparent; }
+ .sm-note {
+ display: block; margin-top: 12px;
+ font-family: var(--font-mono); font-size: 0.72rem; line-height: 1.7; color: var(--faint);
+ }
+ .sm-note b { color: var(--accent); font-weight: 600; }
+ /* platform list inside the modal */
+ .sm-dl { margin-top: 18px; text-align: left; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); overflow: hidden; }
+ .sm-dl a {
display: flex; gap: 12px; align-items: center;
padding: 12px 14px; text-decoration: none;
border-bottom: 1px solid var(--border);
}
- .dl-menu a:last-child { border-bottom: 0; }
- .dl-menu a:hover { background: var(--surface-2); }
+ .sm-dl a:last-child { border-bottom: 0; }
+ .sm-dl a:hover { background: var(--surface-2); }
.dl-ic { font-size: 1.25rem; }
.dl-txt { display: flex; flex-direction: column; line-height: 1.3; }
.dl-txt b { font-size: 0.93rem; }
.dl-txt b em { font-style: normal; color: var(--accent); font-size: 0.78rem; }
.dl-txt span { font-size: 0.78rem; color: var(--faint); }
+ #smConfetti { position: fixed; inset: 0; z-index: 95; pointer-events: none; }
/* ------- nav ------- */
nav {
@@ -553,8 +624,6 @@
.pg-label small { font-family: var(--font-body); font-weight: 400; font-size: 0.82rem; letter-spacing: 0; color: var(--faint); }
.plans2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: stretch; flex: 1; }
.plan > .btn { margin-top: auto; align-self: stretch; text-align: center; justify-content: center; }
- .plan > .dl { margin-top: auto; display: block; }
- .plan > .dl > .btn { width: 100%; text-align: center; justify-content: center; }
.pgroup > .seat-box { margin: -2px 4px 16px; }
/* seat slider */
.seat-box { display: grid; gap: 6px; margin: 2px 0 4px; }
@@ -597,19 +666,6 @@
.support-strip .ss-cta { flex-direction: row; flex-wrap: wrap; }
}
- /* quiet card revealed under a Download button after the click (post-value ask) */
- .post-dl-card {
- margin-top: 12px;
- border: 1px dashed var(--accent-line); border-radius: var(--radius-sm);
- background: var(--accent-soft);
- padding: 10px 14px;
- font-size: 0.86rem; color: var(--muted);
- max-width: 480px;
- animation: pdc-in 320ms ease;
- }
- .post-dl-card a { color: var(--ink); font-weight: 600; }
- @keyframes pdc-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
-
/* ------- security ------- */
.sec-dark { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-dark .lead { color: var(--muted); }
@@ -1551,20 +1607,18 @@
</div>
</div>
</div>
- <!-- TODO(razorpay): swap both data-support hrefs for the dedicated Razorpay
- Payment Page URLs (with the "Name for the Founders' Wall" field) once
- created in the dashboard. Interim: amount-prefilled patron links. -->
+ <!-- The name reaches the wall through the Razorpay checkout's Message box —
+ no server. Interim amount-prefilled patron link until a dedicated
+ Payment Page exists. -->
<div class="support-strip rv" id="support">
<div>
<span class="ss-label">FOR THE PROJECT <small>keep it free for everyone</small></span>
<h3>Founding Supporter — your name on the Wall</h3>
- <p>₹8,800 (~$100), one time. A permanent brass plaque on the
- <a href="/wall.html">Founders' Wall</a>, a ⭐ in the repo, and early access
- to pre-release builds. Munder Difflin stays free for everyone.</p>
- <span class="fine">or ₹1,800 (~$20) — <a data-support="supporter" href="https://razorpay.me/@munderdifflinfund/1800" target="_blank" rel="noopener">buy the team a coffee</a></span>
+ <p>₹1,800 (~$20), one time. A permanent brass plaque on the
+ <a href="/wall.html">Founders' Wall</a>. Munder Difflin stays free for everyone.</p>
</div>
<div class="ss-cta">
- <a class="btn primary" data-support="founding" href="https://razorpay.me/@munderdifflinfund/8800" target="_blank" rel="noopener">Claim your plaque</a>
+ <a class="btn primary" data-support="wall" href="https://razorpay.me/@munderdifflinfund/1800" target="_blank" rel="noopener">Claim your plaque</a>
<a class="btn ghost" href="/wall.html">See the Wall →</a>
</div>
</div>
@@ -1652,6 +1706,73 @@
</div>
</footer>
+<!-- ══════════════ DOWNLOAD / SUPPORT MODAL ══════════════
+ Opens on every Download click. The ask comes first, but the download is
+ never gated — "download without paying" is always one click away.
+ The wall name travels inside the Razorpay checkout's Message box (static
+ site, no server): we copy it to the clipboard and tell the payer to paste. -->
+<div class="smb" id="smBackdrop" role="dialog" aria-modal="true" aria-labelledby="smTitle">
+ <div class="smodal">
+ <button class="sm-close" id="smClose" aria-label="Close">✕</button>
+
+ <div class="sm-step on" data-step="ask">
+ <span class="sm-kicker">BEFORE YOU DOWNLOAD</span>
+ <h3 id="smTitle">Munder Difflin is free. The wall keeps it that way.</h3>
+ <p>A one-time ₹1,800 (~$20) puts your name on a brass plaque on the
+ <a href="/wall.html" target="_blank">Founders' Wall</a> — and keeps MD free
+ for everyone, forever.</p>
+ <div class="sm-plaque" aria-hidden="true"><span class="no">FOUNDING SUPPORTER</span><span class="nm">Your name</span></div>
+ <div class="sm-actions">
+ <button class="btn primary" id="smWall">Get on the wall — ₹1,800 (~$20)</button>
+ <button class="sm-skip" id="smFree">download without paying ↓</button>
+ </div>
+ </div>
+
+ <div class="sm-step" data-step="name">
+ <span class="sm-kicker">THE PLAQUE</span>
+ <h3>What should it say?</h3>
+ <div class="sm-plaque"><span class="no">FOUNDING SUPPORTER</span><span class="nm" id="smPreview">Your name</span></div>
+ <div class="sm-name"><input id="smName" type="text" maxlength="40" placeholder="Your name" autocomplete="name" /></div>
+ <span class="sm-note">Razorpay opens next. <b>Paste your name into the “Message” box</b> there —
+ that's how it reaches the wall. No accounts, no servers.</span>
+ <div class="sm-actions">
+ <button class="btn primary" id="smPay">Copy name &amp; pay on Razorpay</button>
+ <button class="sm-skip" id="smAnon">support anonymously instead</button>
+ </div>
+ </div>
+
+ <div class="sm-step" data-step="pay">
+ <span class="sm-kicker">ONE LAST STEP</span>
+ <h3>Finish up in the Razorpay tab.</h3>
+ <p>Paste your name into the <b>Message</b> box before you pay — then come
+ back here.</p>
+ <div class="sm-actions">
+ <button class="btn primary" id="smPaid">I've paid 🎉</button>
+ <button class="sm-skip" id="smSkipToFree">just take me to the download</button>
+ </div>
+ </div>
+
+ <div class="sm-step" data-step="done">
+ <span class="sm-kicker">WELCOME TO THE WALL</span>
+ <h3 id="smDoneTitle">You kept the lights on.</h3>
+ <p>Your plaque is being engraved — it appears on the
+ <a href="/wall.html" target="_blank">Founders' Wall</a> within 24 hours.</p>
+ <div class="sm-plaque"><span class="no">FOUNDING SUPPORTER</span><span class="nm" id="smPreviewDone">Anonymous</span></div>
+ <div class="sm-dl" id="smDlDone"></div>
+ </div>
+
+ <div class="sm-step" data-step="free">
+ <span class="sm-kicker">DOWNLOAD</span>
+ <h3>Pick your platform.</h3>
+ <div class="sm-dl" id="smDlFree"></div>
+ <div class="sm-actions">
+ <button class="sm-skip" id="smBackToWall">…or get on the wall for ₹1,800 (~$20)</button>
+ </div>
+ </div>
+ </div>
+</div>
+<canvas id="smConfetti" aria-hidden="true"></canvas>
+
<script>
/* ── live floor simulation + employee ID card ─────────────────────────────
Sprites are procedurally drawn ports of the app's cast recipes
@@ -2598,109 +2719,159 @@
}, 2000);
})();
- // download picker — pick macOS / Windows / Linux, click starts the download
+ // download / support modal — every Download button opens it. The ask comes
+ // first; "download without paying" keeps the download genuinely ungated.
(function () {
var REPO = 'chaitanyagiri/munder-difflin';
var REL = '0.4.3'; // fallback version; live links are resolved from the GitHub API below
var BASE = 'https://github.com/' + REPO + '/releases/latest/download/';
+ // TODO(razorpay): swap for the dedicated Payment Page URL once created.
+ var PAY_URL = 'https://razorpay.me/@munderdifflinfund/1800';
var PLATFORMS = [
- { key: 'mac', icon: '🍎', os: 'macOS', sub: 'Universal · Apple Silicon + Intel', match: 'mac-universal.dmg', file: 'Munder-Difflin-' + REL + '-mac-universal.dmg' },
- { key: 'win', icon: '🪟', os: 'Windows', sub: '64-bit installer (.exe)', match: 'win-x64-setup.exe', file: 'Munder-Difflin-' + REL + '-win-x64-setup.exe' },
- { key: 'linux', icon: '🐧', os: 'Linux', sub: 'AppImage · x86_64', match: 'linux-x86_64.AppImage', file: 'Munder-Difflin-' + REL + '-linux-x86_64.AppImage' }
+ { key: 'mac', icon: '\ud83c\udf4e', os: 'macOS', sub: 'Universal \u00b7 Apple Silicon + Intel', match: 'mac-universal.dmg', file: 'Munder-Difflin-' + REL + '-mac-universal.dmg' },
+ { key: 'win', icon: '\ud83e\ude9f', os: 'Windows', sub: '64-bit installer (.exe)', match: 'win-x64-setup.exe', file: 'Munder-Difflin-' + REL + '-win-x64-setup.exe' },
+ { key: 'linux', icon: '\ud83d\udc27', os: 'Linux', sub: 'AppImage \u00b7 x86_64', match: 'linux-x86_64.AppImage', file: 'Munder-Difflin-' + REL + '-linux-x86_64.AppImage' }
];
var ua = navigator.userAgent;
var cur = /Windows/.test(ua) ? 'win'
: (/Mac|iPhone|iPad/.test(ua) ? 'mac'
: (/Linux|Android|X11/.test(ua) ? 'linux' : null));
- var triggers = document.querySelectorAll('[data-download]');
- if (!triggers.length) return;
-
- triggers.forEach(function (t) {
- var wrap = document.createElement('span');
- wrap.className = 'dl';
- t.parentNode.insertBefore(wrap, t);
- wrap.appendChild(t);
- t.insertAdjacentHTML('beforeend', '<span class="dl-caret" aria-hidden="true">▾</span>');
- t.setAttribute('aria-haspopup', 'true');
- t.setAttribute('aria-expanded', 'false');
-
- var menu = document.createElement('div');
- menu.className = 'dl-menu' + (t.getAttribute('data-align') === 'right' ? ' right' : '');
- menu.setAttribute('role', 'menu');
+ var backdrop = document.getElementById('smBackdrop');
+ if (!backdrop) return;
+ var modal = backdrop.querySelector('.smodal');
+
+ function ph(ev, props) { try { if (window.posthog) window.posthog.capture(ev, props); } catch (e) {} }
+
+ function buildList(el) {
+ if (!el) return;
PLATFORMS.forEach(function (p) {
var a = document.createElement('a');
a.href = BASE + p.file;
a.setAttribute('download', '');
- a.setAttribute('role', 'menuitem');
a.dataset.key = p.key;
a.innerHTML = '<span class="dl-ic">' + p.icon + '</span>' +
- '<span class="dl-txt"><b>' + p.os + (p.key === cur ? ' <em>· your OS</em>' : '') +
+ '<span class="dl-txt"><b>' + p.os + (p.key === cur ? ' <em>\u00b7 your OS</em>' : '') +
'</b><span>' + p.sub + '</span></span>';
- menu.appendChild(a);
- });
- wrap.appendChild(menu);
-
- t.addEventListener('click', function (e) {
- e.preventDefault();
- var isOpen = wrap.classList.contains('open');
- document.querySelectorAll('.dl.open').forEach(function (d) {
- d.classList.remove('open');
- var trg = d.querySelector('[data-download]'); if (trg) trg.setAttribute('aria-expanded', 'false');
- });
- if (!isOpen) { wrap.classList.add('open'); t.setAttribute('aria-expanded', 'true'); }
+ el.appendChild(a);
});
- menu.addEventListener('click', function (e) {
- if (e.target.closest('a')) {
- wrap.classList.remove('open'); t.setAttribute('aria-expanded', 'false');
- showSupportCard(wrap);
- }
+ }
+ buildList(document.getElementById('smDlDone'));
+ buildList(document.getElementById('smDlFree'));
+
+ function step(name) {
+ modal.querySelectorAll('.sm-step').forEach(function (s) {
+ s.classList.toggle('on', s.getAttribute('data-step') === name);
});
+ modal.scrollTop = 0;
+ }
+ function openModal(startStep) {
+ step(startStep || 'ask');
+ backdrop.classList.add('open');
+ document.body.style.overflow = 'hidden';
+ ph('support_viewed', { surface: 'download_modal' });
+ }
+ function closeModal() {
+ backdrop.classList.remove('open');
+ document.body.style.overflow = '';
+ }
+
+ // every Download button opens the modal instead of dropping a menu
+ document.querySelectorAll('[data-download]').forEach(function (t) {
+ t.addEventListener('click', function (e) { e.preventDefault(); openModal('ask'); });
});
+ // the pricing-strip CTA jumps straight to the name step
+ var stripCta = document.querySelector('#support a[data-support="wall"]');
+ if (stripCta) stripCta.addEventListener('click', function (e) { e.preventDefault(); openModal('name'); });
- // post-value ask: once a download actually starts, a quiet card appears
- // under that button — never before the click, never blocking anything.
- var supportCardShown = false;
- function showSupportCard(dlWrap) {
- if (supportCardShown) return;
- supportCardShown = true;
- var card = document.createElement('div');
- card.className = 'post-dl-card';
- var lead = document.createElement('span');
- lead.textContent = 'MD is free forever. ';
- var mid = document.createElement('span');
- mid.textContent = 'Founding supporters fund it ';
- var link = document.createElement('a');
- link.href = '/wall.html';
- link.setAttribute('data-support', 'wall');
- link.textContent = '→ see the Founders’ Wall';
- card.appendChild(lead); card.appendChild(mid); card.appendChild(link);
- var anchor = dlWrap.closest('.btn-row') || dlWrap;
- anchor.parentNode.insertBefore(card, anchor.nextSibling);
- // honest count: only claim a number if the wall actually has names
- fetch('/wall-data.json', { cache: 'no-cache' })
- .then(function (r) { return r.ok ? r.json() : null; })
- .then(function (d) {
- if (Array.isArray(d) && d.length > 0) {
- mid.textContent = d.length + (d.length === 1 ? ' founding supporter funds it ' : ' founding supporters fund it ');
- }
- })
- .catch(function () {});
+ document.getElementById('smClose').addEventListener('click', closeModal);
+ backdrop.addEventListener('click', function (e) { if (e.target === backdrop) closeModal(); });
+ document.addEventListener('keydown', function (e) {
+ if (e.key === 'Escape' && backdrop.classList.contains('open')) closeModal();
+ });
+
+ // live plaque preview
+ var nameInput = document.getElementById('smName');
+ var preview = document.getElementById('smPreview');
+ var previewDone = document.getElementById('smPreviewDone');
+ nameInput.addEventListener('input', function () {
+ preview.textContent = nameInput.value.trim() || 'Your name';
+ });
+
+ document.getElementById('smWall').addEventListener('click', function () { step('name'); nameInput.focus(); });
+ document.getElementById('smBackToWall').addEventListener('click', function () { step('name'); nameInput.focus(); });
+ document.getElementById('smFree').addEventListener('click', function () {
+ step('free');
+ ph('support_clicked', { tier: 'skip', surface: 'download_modal' });
+ });
+ document.getElementById('smSkipToFree').addEventListener('click', function () { step('free'); });
+
+ function goPay() {
+ ph('support_clicked', { tier: 'wall', surface: 'download_modal' });
+ window.open(PAY_URL, '_blank', 'noopener');
+ step('pay');
}
+ document.getElementById('smPay').addEventListener('click', function () {
+ var v = nameInput.value.trim();
+ if (v && navigator.clipboard) { try { navigator.clipboard.writeText(v); } catch (e) {} }
+ goPay();
+ });
+ document.getElementById('smAnon').addEventListener('click', goPay);
+
+ // self-reported — a static site can't verify a payment made in another tab
+ document.getElementById('smPaid').addEventListener('click', function () {
+ var v = nameInput.value.trim();
+ document.getElementById('smDoneTitle').textContent = v ? ('Thank you, ' + v + '.') : 'You kept the lights on.';
+ previewDone.textContent = v || 'Anonymous';
+ step('done');
+ confetti();
+ ph('support_paid', { surface: 'download_modal' });
+ });
- document.addEventListener('click', function (e) {
- if (!e.target.closest('.dl')) {
- document.querySelectorAll('.dl.open').forEach(function (d) {
- d.classList.remove('open');
- var trg = d.querySelector('[data-download]'); if (trg) trg.setAttribute('aria-expanded', 'false');
+ // celebration — brand-gold canvas confetti, no library, ~3s, honors
+ // prefers-reduced-motion
+ function confetti() {
+ if (window.matchMedia && window.matchMedia('(prefers-reduced-motion: reduce)').matches) return;
+ var cv = document.getElementById('smConfetti');
+ if (!cv || !cv.getContext) return;
+ var ctx = cv.getContext('2d');
+ var W = cv.width = window.innerWidth;
+ var H = cv.height = window.innerHeight;
+ var COLORS = ['#FFD165', '#FFCA54', '#E5A00D', '#FFE08F', '#FFFFFF', '#C9A24E'];
+ var parts = [];
+ for (var i = 0; i < 170; i++) {
+ parts.push({
+ x: W / 2 + (Math.random() - 0.5) * W * 0.35,
+ y: H * 0.4,
+ vx: (Math.random() - 0.5) * 15,
+ vy: -7 - Math.random() * 9,
+ w: 5 + Math.random() * 6,
+ h: 8 + Math.random() * 8,
+ rot: Math.random() * Math.PI,
+ vr: (Math.random() - 0.5) * 0.3,
+ c: COLORS[(Math.random() * COLORS.length) | 0]
});
}
- });
- document.addEventListener('keydown', function (e) {
- if (e.key === 'Escape') document.querySelectorAll('.dl.open').forEach(function (d) { d.classList.remove('open'); });
- });
+ var t0 = null;
+ function frame(ts) {
+ if (t0 === null) t0 = ts;
+ var el = ts - t0;
+ ctx.clearRect(0, 0, W, H);
+ parts.forEach(function (p) {
+ p.vy += 0.26; p.x += p.vx; p.y += p.vy; p.vx *= 0.99; p.rot += p.vr;
+ ctx.save(); ctx.translate(p.x, p.y); ctx.rotate(p.rot);
+ ctx.globalAlpha = Math.max(0, 1 - el / 3000);
+ ctx.fillStyle = p.c;
+ ctx.fillRect(-p.w / 2, -p.h / 2, p.w, p.h);
+ ctx.restore();
+ });
+ if (el < 3200) requestAnimationFrame(frame);
+ else ctx.clearRect(0, 0, W, H);
+ }
+ requestAnimationFrame(frame);
+ }
- // upgrade every menu link to the real latest-release asset URLs so they
+ // upgrade the platform links to the real latest-release asset URLs so they
// never 404 after a version bump (graceful fallback to the hardcoded links).
try {
fetch('https://api.github.com/repos/' + REPO + '/releases/latest')
@@ -2710,7 +2881,7 @@
PLATFORMS.forEach(function (p) {
var asset = rel.assets.find(function (a) { return a.name.indexOf(p.match) !== -1; });
if (!asset) return;
- document.querySelectorAll('.dl-menu a[data-key="' + p.key + '"]').forEach(function (el) {
+ document.querySelectorAll('.sm-dl a[data-key="' + p.key + '"]').forEach(function (el) {
el.href = asset.browser_download_url;
});
});
diff --git a/docs/wall.html b/docs/wall.html
index 91dc3345..2357c669 100644
--- a/docs/wall.html
+++ b/docs/wall.html
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>The Founders' Wall — Munder Difflin</title>
-<meta name="description" content="The Founding Supporters who keep Munder Difflin free and open source for everyone. One brass plaque each, ₹8,800 (~$100), one time." />
+<meta name="description" content="The Founding Supporters who keep Munder Difflin free and open source for everyone. One brass plaque each, ₹1,800 (~$20), one time." />
<link rel="canonical" href="https://munderdiffl.in/wall.html" />
<link rel="icon" type="image/svg+xml" href="./logo.svg" />
<link rel="icon" type="image/png" sizes="32x32" href="./favicon-32.png" />
@@ -318,20 +318,19 @@
<div class="wrap">
<div class="join-card">
<h2>Put your name on the wall.</h2>
- <span class="price">₹8,800 (~$100) · ONE TIME</span>
- <p>A permanent engraved plaque on this wall, a ⭐ entry in the repo's
- SUPPORTERS list, and early access to pre-release builds — a week before
- everyone else. Munder Difflin stays free for everyone.</p>
+ <span class="price">₹1,800 (~$20) · ONE TIME</span>
+ <p>A permanent engraved plaque on this wall. Munder Difflin stays free
+ for everyone — this is what keeps it that way.</p>
<div class="btn-row">
- <!-- TODO(razorpay): replace both hrefs with the dedicated Razorpay
- Payment Page URLs (with the "Name for the Founders' Wall" field)
- once created in the dashboard. Interim: amount-prefilled patron links. -->
- <a class="btn primary lg" data-support="founding" href="https://razorpay.me/@munderdifflinfund/8800" target="_blank" rel="noopener">Become a Founding Supporter</a>
+ <!-- TODO(razorpay): swap for the dedicated Payment Page URL once
+ created in the dashboard. Interim: amount-prefilled patron link. -->
+ <a class="btn primary lg" data-support="wall" href="https://razorpay.me/@munderdifflinfund/1800" target="_blank" rel="noopener">Get on the wall</a>
</div>
- <span class="fine">Just want to say thanks? <a data-support="supporter" href="https://razorpay.me/@munderdifflinfund/1800" target="_blank" rel="noopener">₹1,800 (~$20) — buy the team a coffee</a> and get listed in SUPPORTERS.md.</span>
+ <span class="fine">Type the name you want engraved into the <b>Message</b> box on the
+ Razorpay page — it appears here within 24 hours. Leave it blank to support anonymously.</span>
</div>
- <p class="legal">Founding Supporter is a one-time purchase of a recognition service —
- a permanent listing on this page and early-access membership — not a donation.
+ <p class="legal">A wall listing is a one-time purchase of a recognition service —
+ a permanent listing on this page — not a donation.
Payments are processed by Razorpay. Prices are in INR; the USD figure is approximate.
Questions? <a href="mailto:[email protected]">[email protected]</a></p>
</div>
@@ -378,9 +377,9 @@
function openSlot(n) {
var a = document.createElement('a');
a.className = 'plaque open-slot';
- a.href = 'https://razorpay.me/@munderdifflinfund/8800'; // TODO(razorpay): Payment Page URL
+ a.href = 'https://razorpay.me/@munderdifflinfund/1800'; // TODO(razorpay): Payment Page URL
a.target = '_blank'; a.rel = 'noopener';
- a.setAttribute('data-support', 'founding');
+ a.setAttribute('data-support', 'wall');
var no = document.createElement('span'); no.className = 'no';
no.textContent = 'PLAQUE Nº ' + pad3(n) + ' · OPEN';
var nm = document.createElement('span'); nm.className = 'nm';