Skip to content

About

Personal developer portfolio

Topics

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

516 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elizabethannstein.com

Editorial-first developer portfolio with an opt-in 3D galaxy showcase and an in-progress bioluminescent-city visualization. Built with Next.js 16, React 19, and React Three Fiber. Live at elizabethannstein.com.

CI Lighthouse Deploy License

What it does

The content site (/, /work, /work/[slug], /about, /contact, /privacy) is editorial-primary: a fine-print-magazine-style design language (see .impeccable.md's 2026-08-18 direction change), not a 3D scene. It ships a live-status homepage (LiveSystemsIndex, checking flagship deploys client-side so pings never block first paint), a curated /work case-study index, a Galaxy Guide AI assistant (MiniMax), an Arcjet-protected contact API, full Playwright E2E coverage across 7 browser profiles, visual regression snapshots, weekly Claude-driven maintenance, Lighthouse CI, and Sentry telemetry.

Two opt-in showcase routes carry the 3D work:

  • /explore - the original galaxy showcase: 88 projects across 6 themed galaxies, rendered as planets in a WebGL/WebGPU scene you fly through, with cinematic camera moves.
  • /city - an in-progress bioluminescent-city visualization grown from sanitized dev-fleet data (see docs/superpowers/ROADMAP-creative-tracks.md for phase status).

Stack

Layer Tech
Framework Next.js ^16.3 (App Router, src/ layout, proxy.ts for /api/*), React ^19.2
Language TypeScript 7.0 strict
Styling Tailwind CSS v4; src/styles/editorial.css for content pages
3D / WebGL three.js ^0.186, React Three Fiber ^9, @react-three/drei, @react-three/postprocessing, @react-three/rapier (physics), postprocessing, WebGPU canvas with WebGL fallback
Animation GSAP ^3.15, Framer Motion ^13, Theatre.js (@theatre/core) for /explore cinematics
State Zustand ^5, nuqs (URL state)
Email Resend (contact form)
AI MiniMax (Galaxy Guide assistant - server-only key)
Abuse protection Arcjet (/api/*)
Observability Sentry, Vercel Analytics, Speed Insights
Testing Vitest, Playwright (smoke, visual, 7 browser/device projects)
Tooling Biome, lefthook, lighthouse CI, r3f-perf, stats-gl, Leva (dev controls)
Hosting Vercel

Architecture

flowchart LR
  V[Visitor] --> N[Next.js App Router]
  N -->|RSC pages| W[/, /work, /about, /contact, /privacy]
  N -->|opt-in 3D| E[/explore]
  N -->|opt-in 3D| C[/city]
  E -->|hydrate| CV[WebGPU/WebGL Canvas]
  CV --> RF[React Three Fiber Scene]
  RF --> G[GalaxyScene · Planets · Camera]
  RF --> TH[Theatre.js cinematics]
  N -->|Server Action| CT[/api/contact -> Resend]
  N -->|Server Action| AI[/api/chat -> MiniMax]
  CT -.->|guard| AJ[Arcjet]
  AI -.->|guard| AJ
  N --> S[Sentry, Vercel Analytics]
Loading

3D scene components live in src/components/3d/ (galaxies, planets, post-processing, physics, cinematic camera, bioluminescent-city).

Quickstart

git clone [email protected]:forbiddenlink/elizabethannstein.git
cd elizabethannstein
pnpm install
cp .env.example .env.local       # all vars are optional for local dev
pnpm dev                          # http://localhost:3000

Node: >=20.19 <21, >=22.12 <23, or >=23.2 (engines in package.json).

Hardware: WebGL2-capable GPU for /explore and /city. WebGPU canvas auto-detects support and falls back to WebGL. The rest of the site has no GPU requirement.

Environment variables

Variable Required? What it's for
NEXT_PUBLIC_SITE_URL Prod Canonical URL for sitemap, OG metadata
NEXT_PUBLIC_GA_ID Optional Google Analytics
NEXT_PUBLIC_SENTRY_DSN Optional Client error reporting
MINMAX_API_KEY Optional Server-only - Galaxy Guide AI
RESEND_API_KEY Optional Contact form delivery
CONTACT_FORWARD_TO Optional Override contact form recipient
ARCJET_KEY Recommended (prod) Abuse protection on /api/*
PLAYWRIGHT_PORT, BASE_URL Local E2E Defaults to :3100
ANALYZE Optional true runs the bundle analyzer
ARGOS_TOKEN CI only Uploads Playwright screenshots to Argos for visual review (playwright.config.ts). Lives in GitHub Actions secrets, passed to the smoke job in e2e-smoke.yml; when unset, the upload is skipped and CI stays green

See .env.example for inline notes.

Common commands

pnpm dev                       # next dev --webpack
pnpm build                     # production build
pnpm test                      # vitest
pnpm test:e2e                  # playwright (all projects)
pnpm test:e2e:smoke            # smoke project only
pnpm test:e2e:ci               # 7-project matrix (incl. mobile-chrome/safari)
pnpm test:e2e:visual           # visual regression snapshots
pnpm analyze                   # ANALYZE=true next build
pnpm screenshots               # capture project thumbnails via scripts/capture-screenshots.ts
pnpm city:snapshot             # regenerate the /city sanitized data snapshot
pnpm biome:check               # lint + format
pnpm lint                      # tsc --noEmit
pnpm lint:slop                 # oxlint anti-slop rules on src/
pnpm qa:setup                  # preflight, frozen install, Playwright chromium

CI (e2e-smoke.yml) runs pnpm build then the smoke project on every PR; the full 7-project matrix (test:e2e:ci) runs on demand via update-snapshots.yml. Weekly Claude PR review and maintenance workflows are wired in .github/workflows/.

Project structure

src/
├── app/                 # Routes: /, /about, /contact, /privacy, /work, /work/[slug],
│                        #   /explore, /city, /health, /api/*
├── components/
│   ├── 3d/              # R3F components (galaxies, planets, FX, physics, city, cinematics)
│   ├── home/             # Editorial homepage (LiveSystemsIndex)
│   ├── projects/         # Project cards, case study UI
│   ├── work/             # /work index UI
│   └── ui/               # Shared primitives
├── hooks/, lib/, styles/, __tests__/
└── proxy.ts             # Next.js 16 proxy (was middleware.ts)
public/
├── images/              # Project thumbnails (.webp)
├── screenshots/         # Captured site screenshots
├── testimonials/
└── resume/              # elizabeth-stein-resume.pdf

Roadmap

  • Editorial-primary redesign of /, /work, /about, /contact, /privacy (.impeccable.md, 2026-08-18)
  • Proof layer (src/lib/proofLayer.ts) - unified hero, 3D scene curation, /work proof catalog
  • Full Playwright 7-browser CI matrix
  • WebGPU canvas with WebGL fallback
  • Lighthouse CI workflow
  • Bioluminescent city Phase 0 (look spike) and Phase 2 (beauty); the roadmap doc docs/superpowers/ROADMAP-creative-tracks.md is a frozen 2026-08-16 snapshot
  • Bioluminescent city Phase 1 (sanitizer gate and committed fleet snapshot, pnpm city:snapshot)
  • Bioluminescent city Phase 3 (interactivity) - camera polish has landed; the rest is open. /city stays out of the sitemap while in progress
  • Deep case studies for flagship projects (CRC, TimeSlip, Specter, HireReady, AutomaDocs)
  • WebGPU "lite FX" performance mode (postprocessing blocks full WebGPU today)

License

MIT - see LICENSE.

About

Personal developer portfolio

Topics

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages