mirror of
https://github.com/vercel/chat.git
synced 2026-09-14 18:32:29 +08:00
3adfe48755
Replace the inline Chat SDK wordmark SVG in geistdocs.tsx with <LogoChatSdk /> so the navbar and other Logo consumers share the same source of truth. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
62 lines
1.4 KiB
TypeScript
62 lines
1.4 KiB
TypeScript
import { LogoChatSdk } from "@/components/geistcn-fallbacks/geistcn-assets/logos/logo-chat-sdk";
|
|
|
|
export const Logo = () => <LogoChatSdk height={22} />;
|
|
|
|
export const github = {
|
|
owner: "vercel",
|
|
repo: "chat",
|
|
};
|
|
|
|
export const nav = [
|
|
{
|
|
label: "Docs",
|
|
href: "/docs",
|
|
},
|
|
{
|
|
label: "Adapters",
|
|
href: "/adapters",
|
|
},
|
|
{
|
|
label: "Resources",
|
|
href: "/resources",
|
|
},
|
|
{
|
|
label: "Guides",
|
|
href: "/docs/guides/slack-nextjs",
|
|
},
|
|
{
|
|
label: "API",
|
|
href: "/docs/api",
|
|
},
|
|
{
|
|
label: "Source",
|
|
href: `https://github.com/${github.owner}/${github.repo}/`,
|
|
},
|
|
];
|
|
|
|
export const suggestions = [
|
|
"What platforms does Chat SDK support?",
|
|
"How do I set up a Slack bot with Next.js?",
|
|
"How do I send cards and interactive messages?",
|
|
"How do I stream AI responses in real-time?",
|
|
];
|
|
|
|
export const title = "Chat SDK Documentation";
|
|
|
|
export const prompt =
|
|
"You are a helpful assistant specializing in answering questions about Chat SDK, a unified SDK for building chat bots across Slack, Microsoft Teams, Google Chat, Discord, and more.";
|
|
|
|
export const translations = {
|
|
en: {
|
|
displayName: "English",
|
|
},
|
|
};
|
|
|
|
export const basePath: string | undefined = undefined;
|
|
|
|
/**
|
|
* Unique identifier for this site, used in markdown request tracking analytics.
|
|
* Each site using geistdocs should set this to a unique value (e.g. "ai-sdk-docs", "next-docs").
|
|
*/
|
|
export const siteId: string | undefined = 'chat-sdk';
|