Menus
Editors manage the header and footer menus in the admin.
What it does
The site has a main menu in the header and a footer menu, and editors can create more under Menus. An item has a label per language and links to a page, to an address (a path, https://, mailto: or tel:) or to nothing, in which case it is a heading for its sub-items, shown as a dropdown in the header. An item that links a page follows it: if the slug changes, the link does too. A page that is unpublished or not translated into the current language has no URL there, so its item is left out in that language. Items can also be hidden by hand or opened in a new tab.
A menu is one tree for every language: the items, their order and their links are shared, and only the labels are translated. That keeps the languages in step: an item added once shows in all of them. When one language needs a different menu, with other items or another order, create a menu with the language added to its handle (main-es next to main): that language shows it instead, and the others keep the shared one. Deleting it brings the shared menu back.
See it in the demo
This site’s own menus are the example. Features links a page and has a dropdown; Examples is a heading with sub-items, and Missing translation disappears from it in Catalan. The footer ends with mailto: and tel: links. Dropdowns open on hover or keyboard focus on wide screens and stack on small ones.
For developers
It is the src/plugins/menus plugin; templates render a menu by its handle. MENU_HANDLES and MENU_MAX_DEPTH set which menus exist and how deep they go. Only site managers and admins can change menus. The header renders main and the footer footer; findMenu (src/lib/menus.ts) looks for the language's own menu first (main-es) and falls back to the shared one, for any template that renders a menu. See the README section "Menus".
One block, every feature page
This strip is a reusable block: written once and placed at the end of every feature page. Edit it under Reusable blocks and all of them change.