docs: fix download button + other fixes (#8032)

- Fix text of download button
- Small fix to styling on small devies
- Fix mobile sidebar items using incorrect base url
This commit is contained in:
Shahed Nasser
2024-07-09 12:36:02 +00:00
committed by GitHub
parent b6fd82e31e
commit 4c89f91caf
13 changed files with 100 additions and 46 deletions
+5 -2
View File
@@ -1,5 +1,5 @@
import { ArrowUpRightOnBox } from "@medusajs/icons"
import { NavbarItem, getNavbarItems, mobileSidebarItemsV1 } from "docs-ui"
import { NavbarItem, getMobileSidebarItems, getNavbarItems } from "docs-ui"
import { SidebarSectionItemsType } from "types"
import { siteConfig } from "./site"
@@ -280,6 +280,9 @@ export const docsConfig: DocsConfig = {
],
},
],
mobile: mobileSidebarItemsV1,
mobile: getMobileSidebarItems({
baseUrl: siteConfig.baseUrl,
version: "v1",
}),
},
}