"use client"; import { ROUTES } from "@/lib/routes-config"; import SubLink from "./sublink"; import { usePathname } from "next/navigation"; export default function DocsMenu({ isSheet = false }) { const pathname = usePathname(); if (!pathname.startsWith("/docs")) return null; return (