Skip to main content
Projects

Case study 0023 min read

Louvre

Developer, then technical lead

I spent five years on Louvre.fr at Mazarine, including three as lead developer. For two years, I was the client’s direct technical contact, from scoping features through architecture decisions.

The museum’s teams could assemble some new templates from existing components without additional frontend development.

Louvre
Period
2020 — 2025
My contribution
3 years as lead developer · 2 years as direct technical contact for the client · scoping, architecture and coordination
Technologies
React / Next.js · headless Drupal · JSON Schema · Storybook · Hygen · SCSS

I joined Mazarine as an apprentice in 2020 and spent five years on Louvre.fr, including three as lead developer. For two years, I was the client’s direct technical contact for changes to the site.

Defining changes with the museum

With my contact at the museum, the Product Owner and designers, I clarified requirements, discussed interface decisions and proposed solutions that fit the available time. I then estimated and allocated the work, reviewed code and took part in acceptance testing and post-deployment checks.

The QR-code visitor trails are one example: a code beside an artwork takes the visitor to a trail on the website. I helped define the need and user experience, estimated the work and led frontend and backend implementation, including the API contract.

During the final phase, I led two frontend developers and coordinated with the backend lead. I also made occasional Drupal contributions and reviewed backend code.

Pages assembled by the museum

The redesign had started before I arrived. It used a headless architecture: the Drupal CMS managed content, while the React frontend displayed it. The API sent a tree of components that the frontend traversed to build each page.

Editorial teams could assemble pages from the available components. I developed this architecture and its tools further, notably by structuring the shared contracts between Drupal and React.

A Louvre page assembled from editorial components
Image 01

The Richelieu wing visitor trail, assembled from the site’s editorial components.

01The Richelieu wing visitor trail, assembled from the site’s editorial components.

A JSON Schema contract described the data each component expected. The same schema was used in Drupal and in the Storybook examples and tests for React. Schemas lived in the backend repository, included as a Git submodule in the frontend repository. Both teams worked from a shared version of the contract.The contract made frontend/backend expectations explicit, including for developers joining the project.

I built a Hygen generator for frontend and backend component scaffolds and their schema. Code reviews then checked the contract, conventions and component reuse. I later reused this tool on Orient Express.

Managing nested components

A dropdown could appear inside an FAQ or a side panel, itself nested inside another component. Editors configured the order and nesting in the CMS. Apart from simple elements such as text and images, components could accept children without depending on a specific page arrangement.

An open side panel on louvre.fr, containing a gallery and visitor information
Image 02

A venue opens in a side panel containing its gallery and visitor information.

02A venue opens in a side panel containing its gallery and visitor information.

This flexibility meant testing beyond the original mockup. Behaviour that worked on a simple page could fail several levels deep, particularly for keyboard navigation.

Accessibility at every level

The accessibility work was supported by an external audit from Temesis. We addressed focus management, ARIA states and situations where keyboard navigation could get stuck.

Contract component.schema.json

{ "properties": {  "type": { "enum": ["faq", "drawer", "dropdown", "button"] },  "children": { "type": "array", "items": { "$ref": "#" } }a component can contain other components} }

API

{ "type": "faq", "children": [{ "type": "drawer", "children": [{ "type": "dropdown", "children": [{ "type": "button" }]}]}]}

Front

Simplified example: the contract describes the data and nesting. Each component must manage its interactions within that structure. Hover over an element to locate it in all three views.

Each component managed its own focus and state. We checked its behaviour in isolation, then within a complete page. Most checks were manual: keyboard navigation, occasional screen-reader testing, text resizing and spacing adjustments.

When behaviour depended on the page context, the backend supplied the relevant data. This kept frontend components reusable without creating separate variants for every page.

Reusing components over time

The same components supported very different pages. A styling or accessibility fix could therefore benefit every place a component was used.

Some new templates could be assembled without additional frontend development. In Scrum estimates, their frontend effort could be zero. Configuration and validation were still needed.

One foundation for four languages

During my time on the project, the site covered French, English, Spanish and Mandarin, with around a hundred components. Storybook and the JSON Schema contracts supported component checks.

The Louvre homepage in Mandarin
Image 03

The Mandarin version: the same components, with different text requirements.

03The Mandarin version: the same components, with different text requirements.

What I take from it

This project took me from frontend development to technical leadership over several years. I connected the museum’s needs with component decisions, API contracts and the developers’ work.

The shared system helped the team extend the site while reusing existing components. It also taught me to weigh the cost of composition, which informed my work on Orient Express.

Next projectCase study 003

Orient Express

Frontend lead

orient-express.com2 min read