'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>
  );
}
