All workAndrew Cates.

Project 07 of 84

3D Sites

One private pnpm + Turborepo monorepo holding cinematic, scroll-driven Next.js 15 marketing sites, each deployed independently on Vercel and each built to turn visitors into leads.

Status
Shipped
Area
Personal Products & SaaS
Last activity
2026
Stack
  • Next.js
  • React
  • TypeScript
  • Tailwind CSS / Tailwind
  • Framer Motion
  • HTML5 Canvas
  • pnpm workspaces
  • Turborepo

Highlights

  1. Closed an arbitrary-file-read vulnerability in a Next.js frame-serving route that exposed package.json and tsconfig.json as image/jpeg under a 1-year immutable CDN cache. Replaced a denylist sanitizer with a strict filename allowlist, a single-directory lookup and a resolved-path check, and verified that traversal attempts return 404.
  2. Rebuilt two lead-capture modals as native HTML <dialog> elements opened with showModal(), adding Escape-to-close, focus containment, focus return and labelled dialog semantics. Fixed a state leak that made the signup form unreachable after one submission, verified end to end with Playwright.
  3. Added a gitleaks + trufflehog published-artifact secret-scan gate in front of a multi-app Vercel deploy workflow. Found and fixed a fleet-wide flaw where continue-on-error let real findings pass with a green job.
  4. Diagnosed a CI outage where `gh secret set --body -` had stored 14 GitHub secrets as the literal '-', using a temporary hash-compare workflow. Re-set the secrets, redeployed all 5 sites successfully, and documented the gotcha in the org's repo-standards skill.
  5. Cut redundant CI on shared self-hosted runners by path-filtering Lighthouse CI per app with a dynamically built job matrix, so each push audits only the sites it touched.
  6. Replaced each app's interactive `next lint` with the shared flat ESLint config and added a per-app `tsc --noEmit` typecheck gate wired through Turborepo and CI.
  7. Restored immutable cache headers for a 196-frame scroll sequence after a route deletion silently made every visit revalidate every frame.
  8. Wrote a 15-section CODING_STANDARDS.md and a domain GLOSSARY.md derived from the actual code, with measured inconsistency counts (e.g. 424 and 212 arbitrary hex classes in two sites) instead of aspirational rules.