Youssef Jedidi
← All work

Atelier Dada · client project · live

A lighting studio’s website in three languages, and the tools its team uses to run it

Role
Full-Stack Developer & Web Designer, contract
Stack
Next.js · Sanity · Vercel
Live
atelierdada.com

I moved the studio’s archive into Sanity and rebuilt the site in Next.js in English, French and Arabic, with the tools its team publishes with. It’s live.

This site was designed and developed with care, precision and sensitivity by Youssef Jedidi. A work guided by the intelligence of gesture, generosity of commitment, and deep respect for the spirit of Atelier dada.

Atelier Dada, announcing the new site

The live site: the homepage, the menu, projects as a grid and on a map, and a project page. Photography and lighting design belong to the studio.

An editor, in Sanity Studiothe studio’s own teamwrites in one languageasks for a translation draft →02presses Publish & Deploy →03Sanity contentone document per projectEnglish, French and ArabicThe public siteNext.js on Vercelonly affected pages refresh →03A visitorphone or desktop, any languagebrowses or searches →05asks about a project →04
Figure 1. One editor publishing, one visitor reading. I built both sides. Each arrow label jumps to the part that explains that step.

01 · December 2025

Moving the studio’s archive into Sanity

The old site was a client-rendered Angular app. I imported its projects, news and press into Sanity and rebuilt the pages to render on the server, keeping old URLs working.

The English archive lists 126 projects, 147 news posts and 57 media entries.

02 · December–January

Translations that can’t undo an edit

Editors can have a model draft a missing language. It’s slow, so a colleague may save a fix in the meantime, and the stale draft would quietly erase it.

Editor Aadds ArabicThe draftone documentEditor Bfixes a typotimeAsk for Arabicfrom the Frenchr12model drafts, server checksfields · structure · languageSave a French fixwhile A waitsr13Review itnothing saved yetapply to r12?refused: the draft is now r13A is asked to try againRetry from r13then applyr14r14: Arabic added,B’s fix keptPublish/ar, right-to-left

Overview

Two editors work on the same project. A asks for an Arabic draft; while the model works, B saves a correction. It plays through why B’s correction survives; pick a step to stop on it.

  1. r12

    Ask for a draft

    Editor A asks for Arabic, from the French.

  2. The model drafts, the server checks

    Only the translatable fields go to the model (Gemini, with a fallback). The answer is checked for the right fields, structure and language before anyone sees it.

  3. r13

    A colleague edits

    Meanwhile Editor B fixes a French typo.

  4. Review

    A reads the Arabic draft in a dialog. Nothing has been written yet.

  5. r13 ≠ r12

    Old draft refused

    The draft is r13, not r12, so A’s write is refused. B’s fix stays.

  6. r14

    Retry succeeds

    A retries from r13: r14 keeps both changes.

  7. Publish

    Publishing stays a separate step. The Arabic page renders right-to-left, with its own type and navigation.

Figure 2. A translation can’t undo a colleague’s edit. Names and revision numbers are illustrative. Unit tests cover the apply rules (163 passing in the recorded run). I didn’t measure translation quality or how often editors use it.

03 · January–November

Publishing a change without a redeploy

A Publish & Deploy button replaced a background webhook, so editors see when a change is live. The hard case is a rename, which must update every page that links to the project, in every language.

STUDIORename, then Publish & DeployCourtyard → Courtyard at nightwaits for the published revisionTHE SITE’S REFRESH ROUTEWhat shows this project?single-use request,checked and used onceTHE PROJECT, UNDER BOTH NAMES/work/courtyardold name: now returns 404ENFRAR/work/courtyard-at-nightnew name: rendered freshENFRARPAGES THAT SHOW ITWork archivegrid, map and filtersENFRARHarbour Lightsits “next project” card points hereENFRARSitemapone file, every languageall languagesAFTERWARDS, IN THE BACKGROUNDSearch indexmarked stale, then rebuiltENFRARNOT TOUCHED · STAYS CACHEDOther projectsNewsMediaAboutServicesProject names are invented.Nothing is redeployed.

Courtyard → Courtyard at nightRename · single-use refresh

  • /work/courtyard404
  • /work/courtyard-at-nightENFRAR
  • Work archiveENFRAR
  • Harbour Lights’ next cardENFRAR
  • Sitemapall
  • Search index, rebuilt afterENFRAR

Stays cached: other projects, news, media, About, services. Names are invented; nothing is redeployed.

Figure 3. Which pages a rename touches. The project under both names and every page that shows it are regenerated in English, French and Arabic; search catches up in the background so the editor isn’t kept waiting. A replayed refresh request does nothing.

Test fixture · Next.js’s real cache · October 2026

Before the fix5 of 50
After50 of 50

passedfailed: a page that should have changed came back stalefailed: stale page

  • 21 Shared pages: 7 routes × 3 languages
  • 9 Page metadata: 3 content types × 3 languages
  • 6 Shared layout: 3 languages × 2 routes
  • 6 Pages already cached before the change
  • 2 Old and new URL of the changed page
  • 1 Sitemap names and language alternates
  • 5 Controls that pass with or without the fix

Hosted site · one test project, renamed then deleted · November 20, 2026Hosted site · November 20, 2026

StageOld URLNew URLHome, archive, sitemap and a neighbouring project link toPages link to
Published200404the old URL
Renamed404200the new URL
Deleted404404neither

Each URL was requested in English, French and Arabic. 200 means the page is live; 404 means it doesn’t exist, which is correct for that stage. All 50 requests, including a check before publishing and a repeat after the delete, came back as expected.All 50 requests (EN, FR, AR) came back as expected.

Figure 4. How I checked it. Top: paired tests against the installed Next.js cache, with the CMS mocked. Bottom: the same test project on the hosted site, from publish to rename to delete. Both runs are recorded in the repository; neither touched real content. Both runs are recorded in the repository; neither touched real content.

04 · The visitor’s side

Asking about a project

A visitor asking about a project shouldn’t have to describe it again, so the contact form arrives with the project filled in.

/en/work/courtyard-at-nightCourtyard at nightLighting design · photography · creditsAsk about this project →/en/contactContact the studioProjectCourtyard at nightNameEmailMessageSendSame language on both pages.Both are plain links: they workbefore JavaScript loads.

Same language on both pages. Plain links: they work before JavaScript loads.

Figure 5. The project follows the visitor into the form. On send, the server checks every field again, screens out automated submissions and rate-limits before passing the message to Resend. Wireframes, not the studio’s design. No real message was sent to check this, and no inquiry numbers are claimed. Wireframes, not the studio’s design.

05 · February–November 2026

After launch

The biggest fix: search returned only the first 10 items of each type. It now finds everything, still with one CMS query per language.

CMS queries per language
1 → 1
English search index
5 KB → 514 KB
Figure 6. Search went from 10 items per type to all of them. Search still takes one query per language; the cost is the larger index. Measured on synthetic content. Measured on synthetic content.
Services page
Sections, FAQ and SEO fields the editors own in Studio.
Tests
Playwright in real browsers, including with JavaScript off.
Search engines
Per-language links, structured data and a sitemap.

The source is private; the studio owns its designs, photography and text.

Links