@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
astro 23 lines 721 Bytes
Raw
1 ---
2 /**
3 * Sidebar override: identical to Starlight's default Sidebar, but rendering
4 * entries through our `SidebarList` (which adds group-heading icons), with
5 * the mobile product switcher on top (the tab bar is desktop-only).
6 */
7 import MobileMenuFooter from "@astrojs/starlight/components/MobileMenuFooter.astro";
8 import SidebarPersister from "@astrojs/starlight/components/SidebarPersister.astro";
9 import MobileTabSwitcher from "./MobileTabSwitcher.astro";
10 import SidebarList from "./SidebarList.astro";
11
12 const { sidebar } = Astro.locals.starlightRoute;
13 ---
14
15 <MobileTabSwitcher />
16
17 <SidebarPersister>
18 <SidebarList sublist={sidebar} />
19 </SidebarPersister>
20
21 <div class="md:sl-hidden">
22 <MobileMenuFooter />
23 </div>