From 39ce1ef4c04bf010c75b3431be69174d6ef2c80a Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 7 Oct 2026 13:25:49 -0700 Subject: Setup wizard: a cover behind the avatar — twelve nature covers (self-hosted, Unsplash) cycled with arrows or a swipe, or upload your own; untouched, each pubkey gets its own default, published as the kind-0 banner beside the punk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- build.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build.js') diff --git a/build.js b/build.js index da51245..b09e47d 100644 --- a/build.js +++ b/build.js @@ -519,7 +519,8 @@ if (import.meta.main) { // what a punk published as someone's nostr picture should be, but the // circles the app draws are 18-64px and shouldn't pay for the rest. const { readdirSync } = await import('node:fs'); - for (const d of ['punks', 'punks-sm']) + // ...and the default profile covers, full size and the wizard's preview copies + for (const d of ['punks', 'punks-sm', 'covers', 'covers-sm']) for (const f of readdirSync('static/' + d)) await Bun.write(`dist/${d}/${f}`, Bun.file(`static/${d}/${f}`)); const kb = (Buffer.byteLength(html) / 1024).toFixed(0); -- cgit v1.2.3