diff --git a/docs-site/app/layout.config.tsx b/docs-site/app/layout.config.tsx index ae3bf27b..8c67315c 100644 --- a/docs-site/app/layout.config.tsx +++ b/docs-site/app/layout.config.tsx @@ -1,5 +1,6 @@ import type { BaseLayoutProps } from "fumadocs-ui/layouts/shared"; import { Logo } from "@/components/logo"; +import { SlackIcon } from "@/components/slack-icon"; export const baseOptions: BaseLayoutProps = { nav: { @@ -7,4 +8,14 @@ export const baseOptions: BaseLayoutProps = { transparentMode: "top", }, githubUrl: "https://github.com/kaelio/ktx", + links: [ + { + type: "icon", + label: "Join the KTX Slack community", + icon: , + text: "Slack", + url: "https://join.slack.com/t/ktxcommunity/shared_invite/zt-3y9b44m1x-LVyNNJD5nwaZHq4XS29LMQ", + external: true, + }, + ], }; diff --git a/docs-site/components/slack-icon.tsx b/docs-site/components/slack-icon.tsx new file mode 100644 index 00000000..2a78f581 --- /dev/null +++ b/docs-site/components/slack-icon.tsx @@ -0,0 +1,29 @@ +import type { SVGProps } from "react"; + +export function SlackIcon(props: SVGProps) { + return ( + + ); +}