This site — a zero-JavaScript portfolio with a paranoid test suite
Six routes under a browser visual contract at three viewports, a print pipeline that refuses a second page, and a supply chain with install scripts off and every dependency pinned.
- Astro 7
- TypeScript
- Puppeteer
- Vercel
Problem
A portfolio site is easy. A portfolio site that proves its claims about engineering discipline is not — the site itself had to be the evidence, or every claim made on it is just words.
Approach
Fully static Astro with zero client JavaScript, in a three-layer architecture — content, theme, pages — enforced by parser-based architecture tests, so a future redesign touches only the theme layer. Every check earns its keep by mutation: hide the project cards and the visual matrix goes red; make the CV print on two pages and the print contract goes red; strip the design system and the palette check names the routes it no longer reaches.
Result
Six routes checked at three viewports for visibility, overflow and keyboard focus; a print pipeline that generates the real A4 PDF and asserts its text layer field by field; content security policy locked to a no-script site; and dependencies pinned with install scripts disabled by default. The repository goes public at launch — the code is the case study.