mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-22 08:38:08 +02:00
Surface ktx (primary) and Kaelio Platform docs via a navbar product menu so users can switch between the two docs sites; ktx stays first.
46 lines
1.1 KiB
TypeScript
46 lines
1.1 KiB
TypeScript
import type { BaseLayoutProps } from "fumadocs-ui/layouts/shared";
|
|
import { GitHubIcon } from "@/components/github-icon";
|
|
import { Logo } from "@/components/logo";
|
|
import { SlackIcon } from "@/components/slack-icon";
|
|
|
|
export const baseOptions: BaseLayoutProps = {
|
|
nav: {
|
|
title: Logo,
|
|
transparentMode: "top",
|
|
},
|
|
links: [
|
|
{
|
|
type: "menu",
|
|
text: "Products",
|
|
items: [
|
|
{
|
|
text: "ktx",
|
|
description: "The ktx CLI & toolkit docs",
|
|
url: "/docs",
|
|
},
|
|
{
|
|
text: "Kaelio Platform",
|
|
description: "Docs for the Kaelio platform",
|
|
url: "https://docs.kaelio.com/agent/docs",
|
|
external: true,
|
|
},
|
|
],
|
|
},
|
|
{
|
|
type: "icon",
|
|
label: "GitHub",
|
|
icon: <GitHubIcon />,
|
|
text: "GitHub",
|
|
url: "https://github.com/kaelio/ktx",
|
|
external: true,
|
|
},
|
|
{
|
|
type: "icon",
|
|
label: "Join the ktx Slack community",
|
|
icon: <SlackIcon />,
|
|
text: "Slack",
|
|
url: "https://join.slack.com/t/ktxcommunity/shared_invite/zt-3y9b44m1x-LVyNNJD5nwaZHq4XS29LMQ",
|
|
external: true,
|
|
},
|
|
],
|
|
};
|