Table of contents
↑

General principles

This website's graphical architecture is inspired by the principles of Brad Frost's Atomic Design. This method distinguishes five levels of graphic organisation:

Page
The “highest” graphical organisation level is the “page”, which corresponds to the conjunction of every other organizational elements to form a whole unit on which user experience can be measured.

Example: In this website, a “page” typically corresponds to an HTML document associated to a specific route.

Note:

At a “higher” organizational level, we could for instance consider the “website”, just as we could talk about the organization of pages inside a book. However, I consider that these organizational levels “above” that of the “page” are not “graphical”, but require other analytical frameworks.

Template
The “template” prescribes how the different elements are composed in each page.

Example: In our case, the “templates” describe principles such as the position of a navbar on top of the viewport, the presence of links in the footer, and so on. Technically, the “templates” are made possible thanks to Twig's concept of blocks, built with the {extends} instruction.

Organism
An “organism” is a graphical unit of the user interface which gathers multiple functional elements into one coherent group.

Example: the navbar on top of the page, the footer, or the “cards” design.

Molecule
A “molecule” corresponds to one functional unit of the graphical interface, which answers one specific use case.

Example: a line of a form, a button, etc.

Atom
Finally, “atoms” correspond to elementary units of the language (ie. made of a sole HTML element with no children, or with only text nodes), which can be articulated together to form “molecules”.

Example: an <input> field, which can form a molecule when combined with a <label> in a form row.

Templates

Every template for this website are divided in at least 4 main parts:

Navbar
The main navigation is fixed on top of the viewport, in order to always be accessible (except for specific clients such as printers).
Header
The page header contains three graphical organisms:
  1. a breadcrumb to locate the page in relation to the larger architecture of the site
  2. a banner with the title of the page and a short, optional description
  3. the outline linking to the main sections of the page.
Main content
The body of the page is made of multiple <article> elements. They must be identified by a <h2>–<h6> element. They can also be <section> elements. The template for each page adapts the form and content of these elements to fit the page's requirements.
Footer
The footer contains useful links and legal obligations.

These elements form a basis, from which the template of each page can be built. Titles of each article composing the page are automatically added to the outline with JavaScript.

Organisms

Navbar

The main navigation menu is divided in two sub-parts:

Brand
The website's brand with a link to the home page.
Contents
The actual menu, which contains the list of main links, but also action menus to access different translations.

The navbar can take different forms depending on the viewport's size.

  • On small screens, the actual menu is hidden by default, and will only be display when the toggle is checked on. Then, the menu will occupy the whole viewport, sticking the action menu in the bottom.
  • On larger screens, the menu is displayed on one row, with dropdown menus unfolding just below it, and the action menu right-aligned.

Example:

Breadcrumb

The breadcrumb displays links to the sections the current page belongs to. It is a succession of links with automatically added pseudo-elements to indicate the dependence relation.

Example:

Banner

A banner displays an image below some content, with a semi-transparent background to give some contrast in order to keep the content legible.

Example:

Outline

The outline contains links to the main sections of the page (ie. the <article> elements containing a <h2> title)

Example:

Cards

A card is an element with a header, a main content, and sometimes a section listing actions, which takes the form of small cards which can be placed next to each other.

Example:

Praesentium sunt et accusamus debitis ullam. Est porro facere totam et nostrum. Velit nihil suscipit perferendis quia dolor repellendus magnam. Doloremque ex deserunt explicabo optio iure qui reprehenderit. Fuga aliquam blanditiis totam qui porro illum iste.

Sed sint dignissimos omnis occaecati facere repellendus

Blanditiis atque dolore repellat.

Repudiandae vitae minus qui explicabo. Rerum maxime neque perspiciatis voluptatem est exercitationem. Ex qui quo asperiores voluptate. Excepturi tenetur fuga repudiandae hic repudiandae minus dicta aliquid. Qui sit maxime est doloremque et blanditiis et quam.

Velit et ex perferendis et sapiente dolorem. Aut ratione vero ipsum sed odit occaecati magni. Nihil voluptatem quaerat voluptatum voluptatem blanditiis consequuntur officia debitis. Occaecati eum ab omnis consectetur.

Timelines

Displays a sequence of chronologically-organized sections.

Example:
2026—2027

Harum consequatur sunt

Quae culpa

Omnis recusandae dignissimos eum aperiam quisquam earum qui. Sit eveniet facilis necessitatibus.

Dolor minima dicta delectus. Ex aperiam officia nulla at. Aut consequuntur aut voluptas et enim maiores.

Et laboriosam accusamus autem qui impedit necessitatibus. Ut suscipit sed aspernatur qui quia sunt eaque. Magni iusto non consequuntur rerum.

Amet veniam perspiciatis ut enim ipsa. Nulla possimus animi vitae veritatis aut et. Quibusdam aut repellendus nobis ab aspernatur quasi.

2025—2026

omnis nemo sunt

Omnis deserunt tempore odit exercitationem nobis

Animi provident culpa modi architecto inventore veritatis distinctio. Veritatis quia minima optio. Dolores quia quae deserunt numquam sequi qui. Placeat nulla neque sunt vero eum et sint.

Ipsa dignissimos perspiciatis sed temporibus. Ut asperiores voluptatem quis necessitatibus voluptate ipsam. Modi voluptas voluptas sint est. Vitae quia quibusdam aliquam tenetur ea nemo.

Aspernatur qui iure est nobis quos non. Doloribus rerum officia vel accusamus illo officiis vel. Doloribus omnis repudiandae non minima quae amet rerum labore. Corrupti adipisci neque reprehenderit necessitatibus nulla.

Quas ratione natus in a explicabo est. Inventore ea modi vitae necessitatibus enim enim sunt. Et repellendus voluptas aut impedit molestiae totam sequi. Ipsa ea provident hic ducimus eius.

2024—2025

Labore neque dolores doloremque beatae ratione. Fuga commodi veniam voluptate provident necessitatibus quis.

Voluptas magnam omnis et tempore aut. Tempore est libero culpa exercitationem. Dolorum consequatur fuga ipsum soluta qui officia quis. Explicabo et qui repudiandae ut possimus magnam itaque. Consequatur iste occaecati hic eveniet aliquam laboriosam.

Magni ut architecto sit vel reprehenderit culpa. Vero nostrum qui vel quae consequuntur optio. Explicabo assumenda quo vero. Veritatis ab ipsam ducimus tempora repellendus fugiat.

Voluptates ad alias facilis veniam quo. Consequatur saepe possimus est id rerum maiores. Omnis amet dolores eius.

Ut omnis voluptatem odio sed molestias et est. Consequuntur rem est velit optio rerum saepe.

Molecules

Forms

.form-row

One row of a form, which contains the actual input as well as helper elements (<label>, etc.), and which occupies the whole width of the container.

Example:
.btn

An element taking the shape of a button (whether it is a <button> or a <a> or any other interactive element).

Example: quas possimus ut praesentium
.btn.form-row
Example: ut et possimus id

Atoms