How this site is built.
This site is a static Astro build. Every page is rendered to HTML ahead of time, the styles are hand-written CSS on top of a small set of design tokens, and the few interactive pieces are plain TypeScript modules with no UI framework. Each page works without JavaScript, and every animation respects the reduced motion setting.
Stack
The site uses Astro 6 with TypeScript in strict mode. Fonts are Inter and
JetBrains Mono, self-hosted through Fontsource, and the icons are Lucide. Moving
between pages uses Astro's client router and the View Transitions API, and the
scripts start on its astro:page-load event so they work after both a
full load and a client-side navigation.
Build time
Anything that does not need to change while you are reading is computed during the build. The box at the top of this page runs the same contour code in your browser, so you can generate new terrain with it.
Climbing ticks
The biography fetches my Mountain Project tick feed during the build with a ten-second timeout. If the feed is down, the build continues and the page leaves the list out. The grade chart is counted from the same data.
Forex chart
A seeded random generator produces the same ninety candles on every build, and the moving average and crossing markers are calculated and written out as plain SVG.
Topographic lines
The contour lines behind the homepage come from seeded fractal noise traced with marching squares, chained into paths, simplified, and smoothed. The result is served as a separate SVG file so the page HTML stays small.
App media
The Daybourne screenshots and clips come from that app’s Playwright capture suite. I cropped them with ffmpeg and trimmed the blank lead-in from each clip.
JavaScript
These are the only scripts on the site. Each one starts from markup that already works, and each one stops its timers and observers when you navigate away.
| Piece | Where | What it does |
|---|---|---|
| Resume timeline | /resume | Fills the rail beside the experience section as you scroll, lights each employer, and fades roles in once. |
| Command menu | Every page | Opens with ⌘K or Ctrl+K and searches pages, sections, and contact links with a small subsequence matcher. |
| Biography stage | /biography | Shows one chapter at a time with a timeline rail, remembers the last chapter, and grows the climbing grade chart into view. |
| Daybourne tour | /portfolio | Auto-advances through features, plays each clip only while it is on screen, and stops when you pick a tab. |
| Candle replay | /portfolio | Adds a class that starts CSS animations on a chart that was already rendered to SVG at build time. |
| Zone Recovery simulator | /portfolio | Generates a price path, simulates the order ladder, and animates it with requestAnimationFrame. |
| Architecture walkthroughs | /portfolio/daybourne | Moves a packet along the SVG edges of the selected request path and highlights each step. |
Motion
The case study sections use CSS scroll-driven animations, so the browser ties them to the scroll position without any JavaScript, and browsers that do not support them show the finished page. The resume timeline uses a short script instead, because it needs to behave the same in every browser. With reduced motion turned on, the tour stops auto-advancing and shows video controls, the charts render in their final state, and the background contours stay still.
Hosting
GitHub Actions builds the site and deploys it to GitHub Pages on every push to the main branch. A scheduled build also runs once a week, so the climbing data stays current when nothing else has changed.