diff --git a/api_ref/sandbox_sync.mdx b/api_ref/sandbox_sync.mdx new file mode 100644 index 000000000..e69de29bb diff --git a/apps/web/src/components/Navigation/NavigationSubgroup.tsx b/apps/web/src/components/Navigation/NavigationSubgroup.tsx index 1d6fd1218..85f328e81 100644 --- a/apps/web/src/components/Navigation/NavigationSubgroup.tsx +++ b/apps/web/src/components/Navigation/NavigationSubgroup.tsx @@ -10,7 +10,6 @@ export function NavigationSubgroup({ subgroup }: { subgroup: NavSubgroup }) { const [isExpanded, setIsExpanded] = useState(false) const pathname = usePathname() - console.log('subgroup', subgroup) const isActive = subgroup.links.some((link) => link.href === pathname) // Automatically expand the subgroup if it's active diff --git a/apps/web/src/components/Navigation/apiRefRoutes.json b/apps/web/src/components/Navigation/apiRefRoutes.json new file mode 100644 index 000000000..47384ae10 --- /dev/null +++ b/apps/web/src/components/Navigation/apiRefRoutes.json @@ -0,0 +1,19 @@ +[ + { + "title": "References", + "links": [ + { + "title": "CLI", + "href": "/docs/api-reference/cli" + }, + { + "title": "JS-SDK", + "href": "/docs/api-reference/js-sdk" + }, + { + "title": "PYTHON-SDK", + "href": "/docs/api-reference/python-sdk" + } + ] + } +] \ No newline at end of file diff --git a/apps/web/src/components/Navigation/index.tsx b/apps/web/src/components/Navigation/index.tsx index b5578d536..d4bc1d8ed 100644 --- a/apps/web/src/components/Navigation/index.tsx +++ b/apps/web/src/components/Navigation/index.tsx @@ -7,6 +7,7 @@ import React, { useRef, useState } from 'react' import { useIsInsideMobileNavigation } from '@/components/MobileBurgerMenu' import { useSectionStore } from '@/components/SectionProvider' +import { SdkVersionSelect } from '@/components/SDKVersionSelect' import { NavigationLink } from './NavigationLink' import { NavigationSubgroup } from './NavigationSubgroup' import { @@ -118,25 +119,18 @@ function VersionedNavigationGroup({ > {group.title} - + />