Production-oriented Next.js portfolio site with typed local content, static export, case-study routes, preserved legal routes, and deployable production checks.
Install dependencies:
pnpm installStart the development server:
pnpm devRun production checks:
pnpm checkBuild the static export:
pnpm buildThe static output is written to dist/.
Copy .env.example to .env.local for local overrides:
cp .env.example .env.localSet:
NEXT_PUBLIC_SITE_URLfor canonical, Open Graph, robots, sitemap, and JSON-LD URLs.NEXT_PUBLIC_CONTACT_EMAILfor the contact CTA shown on the portfolio.
pnpm check runs ESLint, TypeScript, next build, production export verification, case-study verification, and a local HTTP smoke test against dist/.
Before launch, src/content/legal.ts must be reviewed against the actual technical setup. The privacy page must only describe services that are actually present in the shipped site.
Current required checks:
- static Next.js export hosting
- local fonts served from
/fonts - no analytics unless added deliberately
- no external media unless added deliberately
- outbound social links only
- contact email visibility