~ $ cat colophon.md
How this site is built
A portfolio is a project too, so I built and tested this one the way I would a product.
- React 19
- TypeScript
- Vite
- Tailwind CSS
- shadcn/ui
- Playwright
- axe-core
Stack
React 19 and TypeScript, bundled with Vite, with React Router for every page. Tailwind CSS and shadcn/ui provide the components, styled with one set of light and dark colour tokens. The hand-written CSS covers only what utilities cannot express: the colour tokens themselves, keyframe animations, the resume’s print layout, and the reduced-motion rules. The animated background behind the page titles is a small canvas script.
Every page is real HTML
At build time every route (home, the work and writeup pages, About, Contact, the lab, the resume, and this page) is rendered to static HTML, then React attaches to it in the browser. “Prerendered” just means the page arrives already written out, not assembled afterwards. Pages load with content before any JavaScript runs, each has its own title, description, canonical URL, and share image, and search engines and link previews see the full text.
Tested like a product
Playwright drives a real browser through the built, prerendered site on desktop and phone sizes: the project filters, case-study and writeup pages, the contact form, the resume, the theme switch, the phone menu, and the absence of horizontal scrolling. Each run also scans pages with axe-core (an automatic accessibility checker) in both themes and fails on any accessibility violation. ESLint, Prettier, and a size budget for the main JavaScript file check the code itself.
Accessibility
Keyboard focus is always visible, controls are at least 44 pixels tall on touch screens, and the site respects reduced motion and the increased-contrast setting. Colour pairs are checked for WCAG AA contrast (the common accessibility standard) in both themes. Features that need a mouse, such as inspect mode, are left out on touch screens instead of shown broken.
Performance
Each page loads only its own JavaScript: pages are split into separate chunks, and the prerendered HTML preloads exactly the chunk it needs, then fetches the rest in the background so navigating is instant. Heavier pieces load only when needed: the search dialog and the phone menu the first time you open them, and the animated background once the browser is idle (on phones it draws one still frame instead of animating). One hashed stylesheet is cached once and reused on every page. Fonts are self-hosted, subset to Latin, and the three used above the fold are preloaded. Screenshots carry their real width and height to avoid layout shift (content jumping around as the page loads), and phones get a smaller copy of each image.
Honest content
Every claim in a case study points to code you can open. Command-line projects show sessions recorded from the real program, and code excerpts are copied from the linked repositories.
My code is on GitHub, so you can check what is described here.
See my GitHub