'use client'; import { useAuth } from '@/hooks/useAuth'; import { BookOpen, Sparkles, Code2, Smile } from 'lucide-react'; const SUGGESTIONS = [ { icon: BookOpen, label: 'Summarize a topic', prompt: 'Summarize the history of samosas in 3 paragraphs.' }, { icon: Sparkles, label: 'Explain a concept', prompt: 'Explain transformers to a curious beginner.' }, { icon: Code2, label: 'Write some code', prompt: 'Write a Python function that reverses a linked list.' }, { icon: Smile, label: 'Tell me a joke', prompt: 'Tell me a joke about chai.' }, ]; export default function EmptyState({ onPick }: { onPick: (prompt: string) => void }) { const { user } = useAuth(); const firstName = (user?.name ?? 'friend').split(' ')[0]; return (

Hello, {firstName}.

What shall we cook today — a doubt, a recipe, a code snippet, or a fresh idea?

{/* Pill chips — pick a starter */}
{SUGGESTIONS.map(({ icon: Icon, label, prompt }) => ( ))}
); }