So Good — Interactive Lookbook (Vercel package)
So Good — Interactive Lookbook (Vercel package)
This folder is a ready-to-deploy static site. It needs no build step, no framework and no npm install. index.html sits at the root.
index.html entry page
styles.css all styles (Ivory edition)
data.js catalogue, prices, image manifest, demo payment settings
assets/site.js the whole app (lookbook, product spreads, bag, checkout, order page, owner panel)
img/ all product, merch, sticker and logo images (webp + svg + png icons)
fonts/ Cormorant Garamond, Cormorant Garamond Italic, Manrope
fonts-embedded.css used only when index.html is opened straight from disk
vercel.json caching headers for img/ and fonts/
Deploy on Vercel
The Vercel dashboard does not accept a .zip upload. Unzip first, then use one of the two ways below.
Option A: Vercel CLI (fastest)
# inside the unzipped folder (the one that contains index.html)
npx vercel # first time: log in, accept the defaults
npx vercel --prod # publish to the production URL
Option B: GitHub → Vercel
- Create a new GitHub repository and upload the contents of this folder.
index.htmlmust be at the repo root, not inside a sub-folder. - In vercel.com go to Add New → Project and import the repository.
- Use these settings:
- Framework Preset:
Other - Root Directory:
./ - Build Command: leave empty, or turn the override on and leave it blank
- Output Directory:
.(or leave empty) - Install Command: leave empty
- Framework Preset:
- Click Deploy.
If Vercel says "invalid"
- Uploaded the .zip itself: unzip it first.
index.htmlinside a sub-folder: set Root Directory to that folder, or move the files up.- A framework preset is selected (Next.js, Vite…): switch to Other.
- A Build Command is set: clear it. There is nothing to build.
- Using v0 (Vercel's AI chat): v0 does not import zip projects. Use Option A or B instead.
What works on this deployment
Links use #/… (for example /#/product/fig-amber?colour=ivory), so no rewrite rules are needed.
Everything in the presentation and shopping journey works:
- chapters, PageUp/PageDown, the chapter index
- product spreads with colour switching
- mood finder, offers, coming soon, merch
- bag and checkout
- a demo order, the InstaPay demo, the owner email preview (
/#/dev/mail) - the owner panel (
/#/owner, keydemo-owner)
This package is a demo store. Orders, stock and emails are simulated in the visitor's own browser and saved only there. No real order reaches the owner.
To take real orders, deploy the full Node.js version (so-good-lookbook.zip, see its DEPLOY.md). It needs a host with a persistent disk, such as Render, Railway or a VPS. Vercel's serverless functions can't keep the SQLite order database.
Editing content
Prices, products, stock and InstaPay details live in data.js, which is generated. Edit content/store.config.mjs in the full project and run node tools/build_static.mjs. That rebuilds this folder (dist-static/). It copies this README and vercel.json in automatically; redeploy that folder.