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: add documentation links to home layout with icons

Andrej Acevski6c1a350fe388
diff --git a/apps/docs/app/(home)/layout.tsx b/apps/docs/app/(home)/layout.tsx
index 10a69e21d..46012065b 100644
--- a/apps/docs/app/(home)/layout.tsx
+++ b/apps/docs/app/(home)/layout.tsx
@@ -1,5 +1,6 @@
import { baseOptions } from "@/app/layout.config";
import { HomeLayout } from "fumadocs-ui/layouts/home";
+import { Book, Server } from "lucide-react";
import type { Metadata } from "next";
import Script from "next/script";
import type { ReactNode } from "react";
@@ -51,6 +52,23 @@ export default function Layout({ children }: { children: ReactNode }) {
<HomeLayout
{...baseOptions}
links={[
+ {
+ type: "menu",
+ on: "menu",
+ text: "Documentation",
+ items: [
+ {
+ text: "Getting Started",
+ url: "/docs",
+ icon: <Book />,
+ },
+ {
+ text: "Deployments",
+ url: "/docs/deployments/nginx",
+ icon: <Server />,
+ },
+ ],
+ },
{
type: "icon",
url: "https://github.com/usekaneo/kaneo",