docs: added UI link to navigation bar (#4796)

This commit is contained in:
Shahed Nasser
2023-08-17 19:50:10 +03:00
committed by GitHub
parent 3ad2136888
commit 75881a2cfe
2 changed files with 8 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ const Navbar = () => {
label="Admin API"
activeValue="admin"
/>
<NavbarLink href="https://docs.medusajs.com/ui" label="UI" />
</div>
</div>
<div className="hidden min-w-0 flex-1 items-center justify-end gap-0.5 lg:flex">

View File

@@ -101,6 +101,13 @@ const config = {
target: "_blank",
position: "left",
},
{
href: `${process.env.API_URL}/ui`,
label: "UI",
prependBaseUrlToHref: true,
target: "_blank",
position: "left",
},
{
type: "search",
position: "right",