diff --git a/apps/v4/app/(app)/docs/[[...slug]]/page.tsx b/apps/v4/app/(app)/docs/[[...slug]]/page.tsx index a921a40821..f16f7c980f 100644 --- a/apps/v4/app/(app)/docs/[[...slug]]/page.tsx +++ b/apps/v4/app/(app)/docs/[[...slug]]/page.tsx @@ -1,13 +1,18 @@ import Link from "next/link" import { notFound } from "next/navigation" import { mdxComponents } from "@/mdx-components" -import { IconArrowLeft, IconArrowRight } from "@tabler/icons-react" +import { + IconArrowLeft, + IconArrowRight, + IconArrowUpRight, +} from "@tabler/icons-react" import { findNeighbour } from "fumadocs-core/server" import { source } from "@/lib/source" -import { absoluteUrl } from "@/lib/utils" +import { absoluteUrl, cn } from "@/lib/utils" import { DocsTableOfContents } from "@/components/docs-toc" import { OpenInV0Cta } from "@/components/open-in-v0-cta" +import { Badge } from "@/registry/new-york-v4/ui/badge" import { Button } from "@/registry/new-york-v4/ui/button" export const revalidate = false @@ -80,6 +85,9 @@ export default async function Page(props: { const MDX = doc.body const neighbours = await findNeighbour(source.pageTree, page.url) + // @ts-expect-error - revisit fumadocs types. + const links = doc.links + return (