Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.

Commit 29d4ac8

Browse files
authored
Add docs dropdown to header
1 parent 85590af commit 29d4ac8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ts/components/header.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { Link } from 'ts/components/documentation/shared/link';
77
import { Button } from 'ts/components/button';
88
// import { DropdownProducts } from 'ts/components/dropdowns/dropdown_products';
99
// import { DropdownResources } from 'ts/components/dropdowns/dropdown_resources';
10+
import { DropdownResources } from 'ts/components/dropdowns/dropdown_docs';
1011
import { Hamburger } from 'ts/components/hamburger';
1112
import { Logo } from 'ts/components/logo';
1213
import { MobileNav } from 'ts/components/mobile_nav';
@@ -41,7 +42,8 @@ const navItems: NavItemProps[] = [
4142
{
4243
id: 'docs',
4344
text: 'Developers',
44-
url: WebsitePaths.Docs,
45+
dropdownComponent: DropdownDocs,
46+
dropdownWidth: 270,
4547
},
4648
{
4749
id: 'zrx',

0 commit comments

Comments
 (0)