aboutsummaryrefslogtreecommitdiffstats
path: root/build.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-07 13:25:49 -0700
committerAdam Soltys <[email protected]>2026-10-07 13:25:49 -0700
commit39ce1ef4c04bf010c75b3431be69174d6ef2c80a (patch)
tree36c97d8912e3c47633edc77e5f45cb39dfb2a264 /build.js
parente3bc27dc7540fea6f8eaf5094627e28a089cf6b7 (diff)
downloadcoinosv3-39ce1ef4c04bf010c75b3431be69174d6ef2c80a.tar.gz
coinosv3-39ce1ef4c04bf010c75b3431be69174d6ef2c80a.zip
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
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'build.js')
-rw-r--r--build.js3
1 files changed, 2 insertions, 1 deletions
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);