- Homepage with hero section (typewriter animation, ChatDemo, FlickeringGrid), features section, open-source section (GitHub stars), FAQ accordion, final CTA - Docs powered by fumadocs-ui with i18n (en/zh), custom top nav bar with search, GitHub link, and language switcher - Marketing content system with typed en/zh content files - Custom components: RainbowButton, ScrollNav, ChatDemo animation - Docs pages: Getting Started, Installation, Providers, MCP, Bridge, Assistant Workspace, FAQ - DownloadButton MDX component linking to GitHub Releases - Monorepo workspace config (apps/*, packages/*) - Fix FAQ accordion lint (pure CSS grid-template-rows animation, no useEffect) - Fix RainbowButton empty interface lint error Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
12 lines
313 B
TypeScript
12 lines
313 B
TypeScript
import { en } from './en';
|
|
import { zh } from './zh';
|
|
import type { MarketingContent } from './en';
|
|
|
|
const content: Record<string, MarketingContent> = { en, zh };
|
|
|
|
export function getMarketingContent(locale: string): MarketingContent {
|
|
return content[locale] ?? content.en;
|
|
}
|
|
|
|
export type { MarketingContent };
|