feat: Applies 40c3 style to website
Some checks failed
/ build (pull_request) Has been cancelled
/ accessibility (pull_request) Has been cancelled

This commit is contained in:
Vincent Mahnke 2026-11-07 10:34:09 +01:00
commit d3fc831bc5
Signed by: ViMaSter
GPG key ID: 6D787326BA7D6469

View file

@ -1,4 +1,9 @@
<nav class="main-menu{{ if not ($.Param "menuinheader") }} mx--xs layout__navigation{{ end }}" aria-label="{{ i18n "menu_title" }}">
{{- /* Nav row: the main menu, and the language switch on the right.
On small screens the theme's mobilemenu.js hides .main-menu and .header__region (it fails if
either is missing) and the mobile sheet shows both instead. */ -}}
<div class="nav-bar mx--xs layout__navigation">
<div class="nav-bar__row">
<nav class="main-menu" aria-label="{{ i18n "menu_title" }}">
<ul class="flex-inline mx--0">
{{ $currentPage := . -}}
{{ range site.Menus.main -}}
@ -6,3 +11,6 @@
{{ end -}}
</ul>
</nav>
<div class="region header__region">{{ if hugo.IsMultilingual }}{{ partial "language-selector.html" . }}{{ end }}</div>
</div>
</div>