diff --git a/docs/components/nav-mobile.tsx b/docs/components/nav-mobile.tsx index 8d2add04dd..2da2c3f44f 100644 --- a/docs/components/nav-mobile.tsx +++ b/docs/components/nav-mobile.tsx @@ -162,28 +162,40 @@ function DocsNavBarContent() { - {menu.list.map((child) => ( - - {child.group ? ( -
-
-

- {child.title} -

+ {menu.list.map((child, index) => + child.group ? ( + // Group header rendered as div (just a divider) +
+
+

{child.title}

+
- ) : ( +
+ ) : ( + // Regular menu item rendered as Link +
{child.title}
- )} - - ))} + + ), + )} diff --git a/docs/components/sidebar-content.tsx b/docs/components/sidebar-content.tsx index adecdce57d..45c27745e4 100644 --- a/docs/components/sidebar-content.tsx +++ b/docs/components/sidebar-content.tsx @@ -472,7 +472,7 @@ export const contents: Content[] = [ title: "Social Sign-On", group: true, icon: LucideAArrowDown, - href: "/", + href: "", }, { title: "Apple", @@ -1037,7 +1037,7 @@ C0.7,239.6,62.1,0.5,62.2,0.4c0,0,54,13.8,119.9,30.8S302.1,62,302.2,62c0.2,0,0.2, title: "Others", group: true, icon: () => null, - href: "/docs/authentication/others", + href: "", }, { title: "Other Social Providers", @@ -1180,7 +1180,7 @@ C0.7,239.6,62.1,0.5,62.2,0.4c0,0,54,13.8,119.9,30.8S302.1,62,302.2,62c0.2,0,0.2, { group: true, title: "Adapters", - href: "/docs/adapters/drizzle", + href: "", icon: () => , }, { @@ -1266,7 +1266,7 @@ C0.7,239.6,62.1,0.5,62.2,0.4c0,0,54,13.8,119.9,30.8S302.1,62,302.2,62c0.2,0,0.2, { group: true, title: "Others", - href: "/docs/adapters/community-adapters", + href: "", icon: () => , }, { @@ -1316,7 +1316,7 @@ C0.7,239.6,62.1,0.5,62.2,0.4c0,0,54,13.8,119.9,30.8S302.1,62,302.2,62c0.2,0,0.2, { group: true, title: "Full Stack", - href: "/docs/integrations", + href: "", icon: LucideAArrowDown, }, { @@ -1358,7 +1358,7 @@ C0.7,239.6,62.1,0.5,62.2,0.4c0,0,54,13.8,119.9,30.8S302.1,62,302.2,62c0.2,0,0.2, { group: true, title: "Backend", - href: "/docs/integrations", + href: "", icon: LucideAArrowDown, }, { @@ -1394,7 +1394,7 @@ C0.7,239.6,62.1,0.5,62.2,0.4c0,0,54,13.8,119.9,30.8S302.1,62,302.2,62c0.2,0,0.2, { group: true, title: "Mobile & Desktop", - href: "/docs/integrations", + href: "", icon: LucideAArrowDown, }, { @@ -1431,7 +1431,7 @@ C0.7,239.6,62.1,0.5,62.2,0.4c0,0,54,13.8,119.9,30.8S302.1,62,302.2,62c0.2,0,0.2, { title: "Authentication", group: true, - href: "/docs/plugins/1st-party-plugins", + href: "", icon: () => , }, @@ -1545,7 +1545,7 @@ C0.7,239.6,62.1,0.5,62.2,0.4c0,0,54,13.8,119.9,30.8S302.1,62,302.2,62c0.2,0,0.2, { title: "Authorization", group: true, - href: "/docs/plugins/1st-party-plugins", + href: "", icon: () => , }, { @@ -1615,7 +1615,7 @@ C0.7,239.6,62.1,0.5,62.2,0.4c0,0,54,13.8,119.9,30.8S302.1,62,302.2,62c0.2,0,0.2, { title: "Enterprise", group: true, - href: "/docs/plugins/1st-party-plugins", + href: "", icon: () => , }, { @@ -1660,7 +1660,7 @@ C0.7,239.6,62.1,0.5,62.2,0.4c0,0,54,13.8,119.9,30.8S302.1,62,302.2,62c0.2,0,0.2, { title: "Utility", group: true, - href: "/docs/plugins/1st-party-plugins", + href: "", icon: () => , }, { @@ -1838,7 +1838,7 @@ C0.7,239.6,62.1,0.5,62.2,0.4c0,0,54,13.8,119.9,30.8S302.1,62,302.2,62c0.2,0,0.2, { title: "3rd party", group: true, - href: "/docs/plugins/1st-party-plugins", + href: "", icon: () => , }, {