feat: redesign site header — accent bar, DM Serif title, sticky, active nav

This commit is contained in:
2026-06-18 14:19:58 +02:00
parent 49f60a873a
commit c33dc2ca56
2 changed files with 59 additions and 5 deletions
@@ -12,11 +12,11 @@
</head>
<body class="{% if page.template == 'map' %}map-page{% endif %}">
<header class="site-header">
<a class="site-title" href="{{ base_url_absolute }}">{{ site.title }}</a>
<nav class="site-nav">
<a href="{{ base_url_absolute }}/tracker">Journal</a>
<a href="{{ base_url_absolute }}/map">Map</a>
<a href="{{ base_url_absolute }}/stats">Stats</a>
<a class="site-title" href="{{ base_url_absolute }}">into the east</a>
<nav class="site-nav" aria-label="Main navigation">
<a href="{{ base_url_absolute }}/tracker"{% if page.url starts with '/tracker' or page.template == 'entry' %} aria-current="page"{% endif %}>Journal</a>
<a href="{{ base_url_absolute }}/map"{% if page.url starts with '/map' %} aria-current="page"{% endif %}>Map</a>
<a href="{{ base_url_absolute }}/stats"{% if page.url starts with '/stats' %} aria-current="page"{% endif %}>Stats</a>
</nav>
</header>
<main class="site-main">