diff --git a/src/src/components/SiteBrand.astro b/src/src/components/SiteBrand.astro
index be45894..4a0343e 100644
--- a/src/src/components/SiteBrand.astro
+++ b/src/src/components/SiteBrand.astro
@@ -12,26 +12,24 @@ const { iconOnly = false } = Astro.props;
{
- iconOnly ? (
+ iconOnly ?
- ) : (
-
- )
}
-
\ No newline at end of file
+
diff --git a/src/src/components/SiteHeader.astro b/src/src/components/SiteHeader.astro
index eabc3e3..0926790 100644
--- a/src/src/components/SiteHeader.astro
+++ b/src/src/components/SiteHeader.astro
@@ -6,15 +6,18 @@ import SiteNav from '~/components/SiteNav.astro';
import { SITE } from '~/lib/site';
interface Props {
- /** True on documentation pages where the Starlight sidebar provides mobile nav. */
+ /** True on documentation pages where Starlight renders its own sidebar toggle
+ * (for the doc tree). The site-level nav toggle below is independent of that
+ * and always renders, since it links to top-level sections (Projects,
+ * Documentation, Releases, About) rather than the current doc's sidebar. */
hasSidebar: boolean;
}
-const { hasSidebar } = Astro.props;
+const { hasSidebar: _hasSidebar } = Astro.props;
const currentPath = Astro.url.pathname;
---
-
-
-{
- hasSidebar ? null : (
-
-
-