T48a Docs · Frame: a Docs tab, /docs/ and /docs/$page/, Markdown guides with a rail, an on-this-page list, previous and next and code blocks; full Rust samples are compiled examples shown as text

This commit is contained in:
ZacharyZhang-NY committed 2026-10-01 11:40:50 -04:00
1 parent 6253e4f2d2
commit a52241667f
12 files changed
+305 -6

No files matched your search

+4 -1
View File
@@ -20,9 +20,12 @@ function Header() {
<Link to="/components/" className="link" activeProps={{ "aria-current": "page" }}>
Components
</Link>
<Link to="/docs/" className="link" activeProps={{ "aria-current": "page" }}>
Docs
</Link>
</nav>
<div className="end">
<button className="tool" aria-label={sound ? "Sound off" : "Sound on"} aria-pressed={sound} onClick={() => setSound(!sound)}>
<button className="tool sound" aria-label={sound ? "Sound off" : "Sound on"} aria-pressed={sound} onClick={() => setSound(!sound)}>
<Icon name={sound ? "Sound" : "VolumeCross"} />
</button>
<button className="tool" aria-label={dark ? "Light mode" : "Dark mode"} onClick={() => setMode(dark ? "light" : "dark")}>