Architecture Portfolio
An architectural designer's portfolio with uncropped photographs, 3D models that turn toward the cursor, and a browser editor he can publish from.
- Stack
- React, three.js, Cloudflare Pages and R2, Sveltia CMS

The problem
An architectural designer is judged on photographs and drawings. Jacob Lentin's work mixes buildings, interiors, plans and brand identities, and each piece has to show at its own shape. Keeping the site current was the harder half. All the content lived in one code file, so every new project, image or caption went through me.
My part
I built the site in 2024 and 2025 from Jacob's design, which stays his, with some design of my own. In 2026 I built the publishing side: a browser editor, a media pipeline, and a check that takes back a publish that would break the site.
Architecture
A React single-page app, with one JSON file per project and per page, validated at build time. A project is a list of rows, and each row is one of nine fixed layouts, so nothing typed in the editor can break the design.
Jacob edits in Sveltia CMS, served from its own origin so the public site's scripts never see its GitHub token. Saving makes a draft and a preview of the real page, and Publish merges to main. Original photographs go to a private Cloudflare R2 bucket. A GitHub Action with sharp turns each into AVIF and WebP at several sizes and writes a record of what exists, and the site builds from that record. A separate tuner sets lighting and zoom for a project's 3D models and saves to a draft. The site runs on Cloudflare Pages and R2 on a budget of zero dollars a month.
Hard parts
A blank page from too many WebGL contexts. The research centre project shows fourteen 3D tiles, each in its own canvas, and Chrome evicted the oldest contexts, blanking the page at random. Each row now has one canvas behind its grid. Every model is drawn into its own scene, scissored to its cell on every frame, and the canvas exists only within half a viewport of the screen. At most three contexts stay live on desktop.
A publish that breaks the site. The free private GitHub plan has no branch protection, so nothing can hold back a bad entry before it merges. A check runs on main after the merge. When it fails, it reverts the publish, returns it to Jacob as a draft with a comment saying what to fix, and opens an issue for me. The live site stays as it was. The check never reverts its own reverts, a merge commit or a code change, and escalates to me instead. I tested it with a deliberately broken publish.
Huge originals. Some photographs run to about 41 MB. Encoding the largest size as AVIF took over 15 minutes for a burst of 40 images on the free runner, so that size is WebP only.
Outcome
The site is live at jacoblentin.com with fourteen projects. The editor and the publish check work. Jacob has not yet published on his own, so how well the editor serves him is still untested.
Gallery
A project page with its photograph at full width. Photographs keep their own proportions. The display controls at phone size.
