--- // Custom navigation component to add Products and API Reference links // This overrides the default Starlight Header component import Search from '@astrojs/starlight/components/Search.astro'; import ThemeSelect from '@astrojs/starlight/components/ThemeSelect.astro'; import { Icon } from '@astrojs/starlight/components'; // Determine if we're on a docs page based on the current path const currentPath = Astro.url.pathname; const isDocsPage = currentPath.startsWith('/jan/') || currentPath.startsWith('/mobile/') || currentPath.startsWith('/server/') || currentPath.startsWith('/local-server/') || currentPath === '/' || currentPath === '/index' || currentPath === '/docs' || currentPath === '/docs/'; ---