Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

feat(docs): update docs layout navigation

Andrej Acevskifad9207a0808
diff --git a/apps/docs/app/docs/layout.tsx b/apps/docs/app/docs/layout.tsx
index 82d005d0a..33ef096b1 100644
--- a/apps/docs/app/docs/layout.tsx
+++ b/apps/docs/app/docs/layout.tsx
@@ -1,4 +1,5 @@
import { DocsLayout, type DocsLayoutProps } from "fumadocs-ui/layouts/docs";
+import { Book, Terminal } from "lucide-react";
import type { Metadata } from "next";
import Script from "next/script";
import type { ReactNode } from "react";
@@ -70,7 +71,23 @@ export default function Layout({ children }: { children: ReactNode }) {
<DocsLayout
{...docsOptions}
containerProps={{ className: "bg-background" }}
- sidebar={{ className: "bg-sidebar" }}
+ sidebar={{
+ className: "bg-sidebar",
+ tabs: [
+ {
+ title: "Core",
+ url: "/docs/core",
+ description: "The core for Kaneo",
+ icon: <Book className="size-full" />,
+ },
+ {
+ title: "API",
+ url: "/docs/api",
+ description: "The API for Kaneo",
+ icon: <Terminal className="size-full" />,
+ },
+ ],
+ }}
>
<Script
defer