UI touch ups
Some checks failed
ci / site (push) Has been cancelled
publish-image / publish (push) Has been cancelled

This commit is contained in:
2026-02-10 23:06:52 -05:00
parent 07d8787972
commit 439b886a1b
23 changed files with 412 additions and 9 deletions

View File

@@ -16,6 +16,7 @@ const siteUrl = (cfg.siteUrl || "http://localhost:4321").replace(/\/$/, "");
const canonicalUrl = `${siteUrl}${canonicalPath.startsWith("/") ? canonicalPath : `/${canonicalPath}`}`;
const assetSuffix = cfg.assetVersion ? `?v=${encodeURIComponent(cfg.assetVersion)}` : "";
const bodyClass = cfg.enableNavHoverLine ? "nav-hover-line-enabled" : "";
---
<!doctype html>
@@ -131,11 +132,22 @@ const assetSuffix = cfg.assetVersion ? `?v=${encodeURIComponent(cfg.assetVersion
) : null
}
</head>
<body>
<body class={bodyClass}>
<a class="skip-link" href="#main-content">Skip to content</a>
<header class="site-header">
<a
class="brand"
class="brand-logo-link"
href="/"
aria-label="Home"
data-umami-event="click"
data-umami-event-target_id="nav.logo"
data-umami-event-placement="nav"
data-umami-event-target_url="/"
>
<img class="brand-logo" src="/favicon.png" alt="" width="28" height="28" decoding="async" />
</a>
<a
class="brand title-hover-line"
href="/"
data-umami-event="click"
data-umami-event-target_id="nav.brand"
@@ -157,6 +169,7 @@ const assetSuffix = cfg.assetVersion ? `?v=${encodeURIComponent(cfg.assetVersion
<nav class="nav" id="primary-nav" data-open="false">
<a
class="title-hover-line"
href="/videos"
data-umami-event="click"
data-umami-event-target_id="nav.videos"
@@ -166,6 +179,7 @@ const assetSuffix = cfg.assetVersion ? `?v=${encodeURIComponent(cfg.assetVersion
Videos
</a>
<a
class="title-hover-line"
href="/podcast"
data-umami-event="click"
data-umami-event-target_id="nav.podcast"
@@ -175,6 +189,7 @@ const assetSuffix = cfg.assetVersion ? `?v=${encodeURIComponent(cfg.assetVersion
Podcast
</a>
<a
class="title-hover-line"
href="/blog"
data-umami-event="click"
data-umami-event-target_id="nav.blog"