Elio Darras
FreelanceIn production

Atelier Nicoletti · Architecte, Annecy

An architecture studio's website, rebuilt in three weeks

www.archinicoletti.fr
The real site, loaded inside the frame.

Role

Freelance

Webflow had unpublished the old site and the domain was returning a 404. Rather than go back to Webflow, I rebuilt the whole thing in Astro. 57 projects, 509 photos recovered and captioned by script, 140 static pages, and a content contract that breaks the build before a mistake can reach a visitor.

What's inside

  • Astro 5 as a static site, four dependencies, a 48 KB home page answering in 0.2 s.
  • Content as versioned JSON under contract: an unknown category, a missing photo or an extra caption breaks the build.
  • 884 images saved from Webflow's CDN, 493 photos re-matched by perceptual hash, 509 captions.
  • Page transitions, native lightbox, a consent banner that genuinely controls trackers.
  • Art direction drawn from the site sign and the letterhead.
  • DNS switch without a second of e-mail downtime, 29 redirects from the old addresses.

In detail

01Why it exists

The showcase site of the Atelier d'Architecture Michel Nicoletti, in Annecy, with 57 projects and 509 photos. On 24 August 2026, Webflow unpublished the old site, expired plan or refused payment, and the domain returned a 404 for eleven days. Rather than go back to Webflow, I rebuilt everything, 50 commits in three weeks.

Nothing was lost. The old CMS content, 63 projects, and its 884 images were saved into the repository before anything else.

02Technology and content

Astro 5 as a static site. The build computes 140 HTML pages once and for all, with no database and no application server, and only four dependencies, Astro, Sharp and two fonts. The output is 3 CSS files, 1 JavaScript file, and a 48 KB home page that answers in 0.2 seconds.

Each project is a JSON file versioned in git, under a content contract that breaks the build when it's violated. An invalid JSON, an unknown category, a missing photo or a caption count that doesn't match the photo count, and the deployment fails. A content error cannot reach visitors.

One ordering function is used everywhere, the architect's rank, else the date, else alphabetical order. No two pages can sort differently.

03The scripts that built the content

Five Python programs built the content and remain replayable. A harvest fetched the 884 images from Webflow's CDN before it vanished, and an ingestion turned the old CMS export into JSON files, deciding which photo series to keep.

The cleverest part is the matching. The architect had named his photos for search engines, and the Webflow upload had renamed them, erasing everything. The script finds each photo's original by image content, a perceptual hash compared only within the project's folder. 493 photos out of 493, with no approximation. A hand-written dictionary then turns those names into 509 readable captions.

A post-build sweep walks the 140 pages, follows 1,220 internal links, and refuses to pass if it finds a dead link or a page missing from the sitemap.

04Mechanics, art direction, SEO

Page transitions without a reload, where a card's photo turns into the project page's photo. A lightbox built on the native dialog element. A consent banner that genuinely controls the only two things that could set a tracker, analytics and YouTube videos, so zero requests to Google before consent.

Everything comes from the site sign and the letterhead. The red is extracted from the Illustrator swatch under the ICC profile, the frosted brown always stays a texture, the "truncated M" is vectorised in 658 bytes, and Josefin Sans and Inter are self-hosted.

The 509 photos produce 3,485 derived images at build time, in several WebP widths, served with a one-year cache, and Astro keeps the file name in the URL. Canonical URLs, descriptive alt texts, structured data, a 73-address sitemap, and 29 permanent redirects, with all 63 old addresses checked one by one.

Hosted on Vercel from a private GitHub repository. DNS stayed at OVH, only two records changed, and the architect's e-mail never went down for a second.