The site you're on. It's built to be read quickly: one column, one accent color, and projects listed as an index rather than cards.
The sunglasses
The photo in the header reacts to the theme: switching to light mode plays a clip of me putting sunglasses on, and switching back plays me taking them off.
It started as two transparent WebM videos, which looked right in Chrome but showed a black box and the wrong pose on iPhones: Safari can't display transparent WebM, and seeking a video to its last frame wasn't reliable there. Now each clip is a flipbook of about 25 transparent WebP frames drawn onto a canvas at 24fps, which works the same in every browser.
The resting pose is a plain image picked by the theme's CSS class, so it's correct on first paint before any JavaScript runs. The frames (about 460KB per clip) download right after the page loads. If someone toggles before they're ready, the pose swaps within 0.6 seconds instead of making them wait, and the next toggle animates.
How it's built
- Next.js 16 App Router. The homepage regenerates hourly to pick up my public GitHub repos; project pages are static.
- MDX case studies. Each project is a Markdown file with frontmatter, rendered at build time.
- Theme tokens. Colors are CSS variables (paper, ink, muted, rule, accent) exposed to Tailwind v4, so dark mode is one set of overrides instead of
dark:classes everywhere. - Small touches. A command menu (Ctrl/⌘ K), a project screenshot that follows the cursor on hover, and the current time in Manila in the footer.
- Contact form on Netlify Forms, with a honeypot field for spam.