diff options
| author | Adam Soltys <[email protected]> | 2026-10-07 13:25:49 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-10-07 13:25:49 -0700 |
| commit | 39ce1ef4c04bf010c75b3431be69174d6ef2c80a (patch) | |
| tree | 36c97d8912e3c47633edc77e5f45cb39dfb2a264 /build.js | |
| parent | e3bc27dc7540fea6f8eaf5094627e28a089cf6b7 (diff) | |
| download | coinosv3-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.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |
