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 */
7import MobileMenuFooter from "@astrojs/starlight/components/MobileMenuFooter.astro";
8import SidebarPersister from "@astrojs/starlight/components/SidebarPersister.astro";
9import MobileTabSwitcher from "./MobileTabSwitcher.astro";
10import SidebarList from "./SidebarList.astro";
11
12const { 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>