mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-13 08:15:14 +02:00
Moves the GitHub link out of githubUrl and into the explicit links array so the navbar renders GitHub first, then Slack. Fumadocs appends githubUrl after links, which previously put Slack first. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
29 lines
768 B
TypeScript
29 lines
768 B
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: "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,
|
|
},
|
|
],
|
|
};
|