import { NotebookPen, Search, Server, SquareSlash } from 'lucide-react'; import React from 'react'; import { t } from '../../lang/helpers'; interface HelloInfoProps { onNavigate: (tab: 'commands' | 'custom-mode' | 'mcp' | 'search') => void; } const HelloInfo: React.FC = ({ onNavigate }) => { const navigationItems = [ { label: '语义搜索', description: '使用 RAG 在笔记库中进行语义搜索', icon: , action: () => onNavigate('search'), }, { label: t('chat.navigation.commands'), description: t('chat.navigation.commandsDesc'), icon: , action: () => onNavigate('commands'), }, { label: t('chat.navigation.customMode'), description: t('chat.navigation.customModeDesc'), icon: , action: () => onNavigate('custom-mode'), }, { label: t('chat.navigation.mcp'), description: t('chat.navigation.mcpDesc'), icon: , action: () => onNavigate('mcp'), } ]; return (
{/*

{t('chat.welcome.title')}

{t('chat.welcome.subtitle')}

*/}
{navigationItems.map((item, index) => (
{item.icon}
{item.label}
{item.description}
))}
); }; export default HelloInfo;