mirror of
https://github.com/vercel/chat.git
synced 2026-09-14 18:32:29 +08:00
1d0295f996
- Upgrade `@vercel/geistdocs` to 1.15.5 - New navbar flyout menu style + nav items in flyout menu are rendered server-side to be in the html for crawlers (as requested by Malte) - Homepage section titles use Geist sans heading tokens (new vercel.com style) | **New flyout menu** | **Improved docs mobile layout** | | ------------- | ------------- | | <video src="https://github.com/user-attachments/assets/7baf37d9-7a87-4853-91fb-6c3febf974cb" /> | <img width="499" height="747" alt="image" src="https://github.com/user-attachments/assets/b48a955e-0e15-4e03-ada2-fbc52c2fdcb7" /> | **Preview:** https://chat-git-chore-geistdocs-1155.vercel.sh/
41 lines
706 B
TypeScript
41 lines
706 B
TypeScript
import { defineConfig } from "@vercel/geistdocs/config";
|
|
import {
|
|
agent,
|
|
basePath,
|
|
github,
|
|
Logo,
|
|
nav,
|
|
prompt,
|
|
siteId,
|
|
suggestions,
|
|
title,
|
|
translations,
|
|
} from "@/geistdocs";
|
|
|
|
export const config = defineConfig({
|
|
title,
|
|
agent,
|
|
defaultLanguage: "en",
|
|
logo: <Logo />,
|
|
github,
|
|
nav,
|
|
// This is the Chat SDK site, so hide Chat SDK from the OSS flyout.
|
|
navbarActiveProduct: "chat-sdk",
|
|
basePath,
|
|
siteId,
|
|
translations,
|
|
content: [
|
|
{ id: "docs", label: "Docs", dir: "content/docs", route: "/docs" },
|
|
{
|
|
id: "adapters",
|
|
label: "Adapters",
|
|
dir: "content/adapters",
|
|
route: "/adapters",
|
|
},
|
|
],
|
|
ai: {
|
|
prompt,
|
|
suggestions,
|
|
},
|
|
});
|