section: projects/agentstudiocode-site
agentstudiocode .com
This website: a statically exported Next.js site with typed content, automated quality gates and security headers, deployable to any static host.
Context
A personal engineering site needs to be fast, cheap to run and safe to leave unattended. It should also demonstrate the same delivery discipline it writes about.
Problem
Typical portfolio stacks pull in a server runtime, analytics scripts and a CMS. Each adds cost, attack surface and something to patch — for content that changes a few times a month.
Approach
- Static pages only. The build produces plain HTML, CSS and JavaScript; there is no server to operate.
- Typed content. Articles and case studies are structured data rendered by one component, so no raw HTML can be injected.
- Quality gates in CI. Lint, type-check, unit tests, a production build and tests over the exported HTML (including a real-browser layout check) run on every pull request and push to main.
- No third-party scripts. Fonts are self-hosted and there is no tracking.
Architecture
Every change is checked automatically in CI. The static pages are served from a CDN edge, which also applies the security headers: content security policy, frame denial, and referrer and permissions policies.
Outcome
A site that can be rebuilt from scratch with a single command and hosted on a free static tier.