claude-code-cchui/src/components/features/Welcome.tsx
gaoziman c2a48986b4 feat(features): 添加核心功能组件
- ModelSelector: 模型选择下拉框组件
- ToolsDropdown: 工具管理下拉框组件
- MessageBubble: 聊天消息气泡组件
- QuickActions: 快捷操作按钮组件
- Welcome: 欢迎页问候组件
- ChatInput: 聊天输入框组件,集成模型选择和工具管理
2025-12-17 22:54:26 +08:00

26 lines
581 B
TypeScript

'use client';
import { AILogo } from '@/components/ui/AILogo';
import { cn } from '@/lib/utils';
interface WelcomeProps {
greeting: string;
className?: string;
}
export function Welcome({ greeting, className }: WelcomeProps) {
return (
<div className={cn('text-center animate-fade-in', className)}>
{/* 装饰图标 */}
<div className="flex justify-center mb-6">
<AILogo size={48} />
</div>
{/* 问候语 */}
<h1 className="text-4xl font-normal text-[var(--color-text-primary)]">
{greeting}
</h1>
</div>
);
}