Menu
Public repository / 7c20bfc03c11ad45182bbadd48707716a287085a
AkurAI-Platform / frontend/header.html
Latest change c795126f5e40d8410c2c2ed6a2cc1df0cff4fd55 - feat: Icelandic-default + IS/EN language toggle (suite-wide akurai-lang cookie) by Olafur Bui
<!doctype html>
<html lang="{{ __locale }}">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="{{ summary }}" />
<title>{{ title }}</title>
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="stylesheet" href="/styles.css" />
<!-- Named multi-theme tokens (:root[data-theme]); must come after styles.css
so the active theme's values win. -->
<link rel="stylesheet" href="/themes.css" />
<!-- Flash-guard: set the active theme before first paint. -->
<script>
(function () {
try {
var m = document.cookie.match(/(?:^|; )akurai-theme=([^;]*)/);
var t = (m ? decodeURIComponent(m[1]) : null) || localStorage.getItem("akurai-theme");
if (!t) t = matchMedia("(prefers-color-scheme: light)").matches ? "akurai-light" : "akurai";
document.documentElement.setAttribute("data-theme", t);
} catch (e) {}
})();
</script>
<script type="module" src="/theme.js"></script>
<script type="module" src="/lang.js"></script>
</head>
<body>
<header class="topbar">
<a class="brand" href="/" aria-label="{{ brand }}">
<span class="brand-mark" aria-hidden="true"><svg viewBox="0 0 32 32" fill="currentColor" role="img"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.38 3.23c1.05-2.23 4.19-2.23 5.24 0l11.05 23.62A2.91 2.91 0 0 1 27.03 31h-3.42c-1.17 0-2.22-.7-2.67-1.78l-2.05-4.93h-5.78l-2.05 4.93A2.9 2.9 0 0 1 8.39 31H4.97a2.91 2.91 0 0 1-2.64-4.15L13.38 3.23ZM16 11.17l-5.13 13.1h10.26L16 11.17Z"/><path d="M10.38 20.54h11.24a2.23 2.23 0 0 1 0 4.46H10.38a2.23 2.23 0 0 1 0-4.46Z"/></svg></span>
<span>{{ brand }}</span>
</a>
<nav class="nav-links" aria-label="Primary">
<a href="#motion">{{ t "nav.motion" }}</a>
<a href="#suite">{{ t "nav.apps" }}</a>
<a href="#why">{{ t "nav.why" }}</a>
<a href="https://github.com/olibuijr">{{ t "nav.github" }}</a>
<span data-lang-toggle></span>
<span class="theme-picker" data-theme-picker></span>
</nav>
</header>