Skip to content

Commit a80c1d2

Browse files
Restore package index link
1 parent d26d30a commit a80c1d2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/components/Navigation.res

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ module MobileNav = {
4646
{React.string("Community")}
4747
</Link>
4848
</li>
49+
<li className=base>
50+
<Link href="/packages" className={linkOrActiveLink(~target="/packages", ~route)}>
51+
{React.string("Packages")}
52+
</Link>
53+
</li>
4954
<li className=base>
5055
<a href=Constants.xHref rel="noopener noreferrer" className=extLink>
5156
{React.string("X")}
@@ -115,16 +120,24 @@ let make = (~fixed=true, ~isOverlayOpen: bool, ~setOverlayOpen: (bool => bool) =
115120
className={"hidden xs:block " ++ linkOrActiveLink(~target="/try", ~route)}>
116121
{React.string("Playground")}
117122
</Link>
123+
118124
<Link
119125
href="/blog"
120126
className={"hidden xs:block " ++ linkOrActiveLinkSubroute(~target="/blog", ~route)}>
121127
{React.string("Blog")}
122128
</Link>
129+
123130
<Link
124131
href="/community/overview"
125132
className={"hidden xs:block " ++ linkOrActiveLink(~target="/community", ~route)}>
126133
{React.string("Community")}
127134
</Link>
135+
136+
<Link
137+
href="/packages"
138+
className={"hidden xs:block " ++ linkOrActiveLink(~target="/packages", ~route)}>
139+
{React.string("Packages")}
140+
</Link>
128141
</div>
129142
<div className="md:flex flex items-center text-gray-60">
130143
<Search />

0 commit comments

Comments
 (0)