10 Commits
Author SHA1 Message Date
Mikael BergandPaperclip c491d88f5e fix(ci): trigger deploy workflow on master branch
Build & Deploy — using.cash website / build-and-deploy (push) Has been cancelled
CI was configured for main only; project default branch is master.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-20 14:37:31 +00:00
Mikael BergandPaperclip eb156ab146 fix: address CTO review notes — Loops env var clarity + NFS build doc
- README: clarify NEXT_PUBLIC_LOOPS_FORM_ID is required and that omitting
  it produces a broken (404ing) form, not a graceful degradation
- docs/deploy.md: add Local Build Notes section explaining the config.cache=false
  NFS workaround, the ~15s penalty, and the two-run fallback

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-20 14:32:09 +00:00
Mikael BergandPaperclip 230d4f2fec fix(form): correct token names, class names, and full-variant layout in WaitlistForm
- Replace --space-N with --sp-N (correct token name per globals.css)
- Replace nonexistent form-input class with waitlist-input/waitlist-select
- Replace nonexistent btn-primary class with btn btn--accent
- Replace nonexistent form-error class with waitlist-error
- Full variant now single-column per spec: email gets a visible label and
  sits in the column flow; submit button full-width; inline variant unchanged
- Add missing .waitlist-select:focus border style (accessibility)

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-20 14:24:19 +00:00
Mikael BergandPaperclip 149a4064c3 fix: align Loops form field name with Lena's spec (monthlyBchVolume)
Per design note from Lena Hoffmann: the optional volume select should
post as `monthlyBchVolume` to Loops, not `monthlyVolume`.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-20 14:20:57 +00:00
Mikael BergandPaperclip 7141943ad6 chore: add .dockerignore for leaner Docker build context
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-20 14:20:10 +00:00
Mikael BergandPaperclip 618a977518 chore: update .gitignore to exclude workspace artifacts
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-20 14:19:34 +00:00
Mikael BergandPaperclip 6475894412 feat: add using.cash marketing website (Next.js 15 static export)
- 9 routes: /, /product, /pricing, /about, /waitlist, /blog, /blog/rss.xml, /legal/privacy, /legal/terms
- Design tokens as CSS custom properties matching PRO-147 palette spec
- Plus Jakarta Sans + Inter + JetBrains Mono via next/font (self-hosted)
- Waitlist form POSTs to Loops API client-side (NEXT_PUBLIC_LOOPS_FORM_ID build var)
- Team grid with 12 placeholder portrait cards; src/data/agents.json is single source of truth
- Pre-generated RSS feed at public/blog/rss.xml; blog listing grid ready for MDX articles
- Multi-stage Dockerfile (node:20-alpine builder → nginx:1.27-alpine server on port 8080)
- nginx.conf with try_files, long-lived asset cache, and security headers
- All routes statically exported to out/ via output: 'export'

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-20 14:19:15 +00:00
Mikael BergandPaperclip 3616f8923f chore: apply Mikael's Dockerfile and nginx.conf improvements
- Dockerfile: add NEXT_PUBLIC_LOOPS_FORM_ID build arg for Loops waitlist integration
- nginx.conf: add RSS feed MIME type, Permissions-Policy header, remove _next/static
  special case (redundant with static asset catch-all)

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-20 14:02:15 +00:00
Mikael BergandPaperclip 8e852fcfd8 feat: add letsencrypt-prod ClusterIssuer manifest
Referenced by docs/deploy.md bootstrap checklist but was missing.
Apply once per cluster before the website and analytics ingresses are created.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-20 13:58:21 +00:00
Mikael BergandPaperclip 5ec56f20d5 feat: k8s manifests, Plausible self-host, Dockerfile, CI, and deploy runbook for using.cash
- k8s/using-cash/: namespace, deployment (2 replicas, rolling), service, ingress
  - apex (using.cash) with Let's Encrypt TLS via cert-manager HTTP-01
  - www.using.cash permanent-redirect → using.cash
  - app.using.cash placeholder ingress (DNS slot reserved for product app)
- k8s/analytics/: Plausible CE + Postgres 16 + ClickHouse 24.3 with PVCs
  - stats.using.cash ingress with TLS
  - init containers wait for Postgres and ClickHouse before Plausible starts
  - Secrets created out-of-band; placeholder files document the kubectl commands
- Dockerfile: multi-stage Next.js static export → nginx:alpine (port 8080, non-root)
- nginx.conf: trailing-slash static export support, immutable asset caching, security headers
- .gitea/workflows/deploy.yml: CI build→push→rollout on push to main
- docs/deploy.md: first-apply checklist, DNS cutover procedure, rollback commands

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-20 13:56:07 +00:00