diff --git a/docs-site/app/layout.config.tsx b/docs-site/app/layout.config.tsx index 8c67315c..93b5c45b 100644 --- a/docs-site/app/layout.config.tsx +++ b/docs-site/app/layout.config.tsx @@ -1,4 +1,5 @@ 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"; @@ -7,8 +8,15 @@ export const baseOptions: BaseLayoutProps = { title: , transparentMode: "top", }, - githubUrl: "https://github.com/kaelio/ktx", links: [ + { + type: "icon", + label: "GitHub", + icon: , + text: "GitHub", + url: "https://github.com/kaelio/ktx", + external: true, + }, { type: "icon", label: "Join the KTX Slack community", diff --git a/docs-site/components/github-icon.tsx b/docs-site/components/github-icon.tsx new file mode 100644 index 00000000..aa3ec564 --- /dev/null +++ b/docs-site/components/github-icon.tsx @@ -0,0 +1,15 @@ +import type { SVGProps } from "react"; + +export function GitHubIcon(props: SVGProps) { + return ( + + ); +}