fix: clean page transitions and navigation a11y

This commit is contained in:
OpenCode Worker
2026-06-03 11:09:57 -05:00
parent 72f2e88673
commit 2a9a3f6550
5 changed files with 29 additions and 16 deletions

View File

@@ -58,7 +58,7 @@ export function TableOfContents() {
if (headings.length === 0) return null;
return (
<nav className="lg:sticky lg:top-[var(--header-height)]">
<nav aria-label="Table of contents" className="lg:sticky lg:top-[var(--header-height)]">
<h4 className="font-sans text-xs font-semibold uppercase tracking-wider text-ink-soft mb-3">
On this page
</h4>