From 695ba59912f343bf6085268edd30a01da9361a20 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Thu, 17 Apr 2025 17:45:23 +0200 Subject: [PATCH] add doc navigation page --- web/app/docs/layout.tsx | 7 ++- web/components/DocSidebar.tsx | 2 +- web/components/ui/doc-navigation.tsx | 88 ++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+), 2 deletions(-) create mode 100644 web/components/ui/doc-navigation.tsx diff --git a/web/app/docs/layout.tsx b/web/app/docs/layout.tsx index 1da0de0..a3b6328 100644 --- a/web/app/docs/layout.tsx +++ b/web/app/docs/layout.tsx @@ -1,6 +1,7 @@ import type React from "react" import DocSidebar from "@/components/DocSidebar" import Footer from "@/components/footer" +import { DocNavigation } from "@/components/ui/doc-navigation" export default function DocsLayout({ children }: { children: React.ReactNode }) { return ( @@ -8,10 +9,14 @@ export default function DocsLayout({ children }: { children: React.ReactNode })
-
{children}
+
+ {children} + +