Navigation & layout - Replace per-page hardcoded nav/footer with shared nav.js (client-side injection) - Add nginx reverse proxy back to docker-compose for clean localhost routing - Rename /color-picker/ to /color/ across nav, directory, and references eStore admin - Add variation hiding controls (mirrors existing modifier hiding) - Add delivery rate editor (base fee + per-mile per tier, persisted to data/) - Fix all missing BASE prefix on fetch calls (admin PATCH/DELETE, availability, slots, colors) - Mount estore/data/ as a Docker volume so admin config survives rebuilds Booking & calendar - Set pickup calendar events to TRANSPARENT (free) so they don't block delivery slots - Skip CANCELLED events in busy-time calculation - Re-check slot availability at checkout before charging (409 on conflict) Phone & email validation - Auto-format phone as (XXX) XXX-XXXX as user types - Require exactly 10 digits; tighten email regex Confirmation emails (store alert + customer) - Full item detail per line: name, price, add-ons, colors, note - Charges breakdown: subtotal, delivery fee, tax, total - Delivery window: simplified M/D/YY h:mm – h:mm AM/PM format - .ics calendar attachment on customer confirmation Delivery rates - Extract configurable rates to delivery-rates.ts (server-only, no fs in client bundle) - calcDelivery() accepts optional rates param; delivery-quote route passes configured rates Content - Change all "40+ latex colors" references to "70+" Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 lines
756 B
Plaintext
17 lines
756 B
Plaintext
# ── Root .env (fallback for Docker Compose < v2.24) ───────────────────────────
|
|
#
|
|
# Docker Compose v2.24+ reads build env_file directly from estore/.env — you
|
|
# should not need this file at all on a modern install.
|
|
#
|
|
# If your Compose is older and the shop shows "Online payment is not
|
|
# configured", copy the four NEXT_PUBLIC_* lines from estore/.env into this
|
|
# file so Compose can bake them into the Next.js build:
|
|
#
|
|
# NEXT_PUBLIC_SQUARE_APP_ID=
|
|
# NEXT_PUBLIC_SQUARE_LOCATION_ID=
|
|
# NEXT_PUBLIC_SQUARE_ENVIRONMENT=production
|
|
# NEXT_PUBLIC_SITE_URL=https://shop.beachpartyballoons.com
|
|
#
|
|
# All other secrets (access tokens, passwords, etc.) belong only in estore/.env
|
|
# — never put them here.
|