ktx/docs-site/app/layout.config.tsx
Andrey Avtomonov dc39eb7ef9
docs(site): add Products dropdown to ktx docs navbar (#267)
Surface ktx (primary) and Kaelio Platform docs via a navbar product
menu so users can switch between the two docs sites; ktx stays first.
2026-06-07 23:15:21 +02:00

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,
},
],
};