// ======================================== // Help Page // ======================================== // Help documentation and guides with link to full documentation import { HelpCircle, Book, Video, MessageCircle, ExternalLink, Workflow, FolderKanban, Terminal, FileText, ArrowRight, Search, Code, Layers, } from 'lucide-react'; import { Link } from 'react-router-dom'; import { useIntl } from 'react-intl'; import { Card } from '@/components/ui/Card'; import { Button } from '@/components/ui/Button'; interface HelpSection { i18nKey: string; descriptionI18nKey: string; headingI18nKey?: string; icon: React.ElementType; link?: string; isExternal?: boolean; badge?: string; } interface HelpSectionConfig { i18nKey: string; descriptionKey: string; headingKey?: string; icon: React.ElementType; link?: string; isExternal?: boolean; badge?: string; } const helpSectionsConfig: HelpSectionConfig[] = [ { i18nKey: 'home.help.gettingStarted.title', descriptionKey: 'home.help.gettingStarted.description', headingKey: 'home.help.gettingStarted.heading', icon: Book, link: '/docs/overview', isExternal: false, badge: 'Docs', }, { i18nKey: 'home.help.orchestratorGuide.title', descriptionKey: 'home.help.orchestratorGuide.description', icon: Workflow, link: '/docs/workflows/introduction', isExternal: false, badge: 'Docs', }, { i18nKey: 'home.help.commands.title', descriptionKey: 'home.help.commands.description', icon: Terminal, link: '/docs/commands', isExternal: false, badge: 'Docs', }, { i18nKey: 'home.help.sessionsManagement.title', descriptionKey: 'home.help.sessionsManagement.description', icon: FolderKanban, link: '/sessions', }, ]; export function HelpPage() { const { formatMessage } = useIntl(); // Build help sections with i18n const helpSections: HelpSection[] = helpSectionsConfig.map(section => ({ ...section, descriptionI18nKey: section.descriptionKey, headingI18nKey: section.headingKey, })); return (
{formatMessage({ id: 'help.description' })}
{formatMessage({ id: section.descriptionI18nKey })}
{formatMessage({ id: 'help.commandsOverview.description' })}
{formatMessage({ id: 'help.workflowsOverview.description' })}
Level 1-5 Workflows
{formatMessage({ id: 'help.quickStart.description' })}
{formatMessage({ id: 'help.searchDocs.description' })}
{formatMessage({ id: 'help.support.description' })}