"use client"; import { motion, useReducedMotion } from "motion/react"; import { AGENT_FEATURE_CARDS, AGENT_WELCOME } from "./playground-content"; import { AgentSphere } from "./agent-sphere"; import { agentCardVariant, agentEase, agentFadeUp, agentStaggerContainer, } from "./agent-motion"; import { FeatureCardIcon } from "./agent-thread"; import { cn } from "@/lib/utils"; import { type } from "@/lib/typography"; interface ChatEmptyStateProps { onSelectStarter: (id: string, prompt: string) => void; disabled?: boolean; className?: string; } export function ChatEmptyState({ onSelectStarter, disabled = false, className, }: ChatEmptyStateProps) { const reduceMotion = useReducedMotion(); return ( {AGENT_WELCOME.greeting} {AGENT_WELCOME.subtitle} {AGENT_FEATURE_CARDS.map((card) => ( onSelectStarter(card.id, card.prompt)} whileHover={ reduceMotion ? undefined : { y: -3, scale: 1.015, transition: { duration: 0.22, ease: agentEase } } } whileTap={ reduceMotion ? undefined : { scale: 0.97, transition: { duration: 0.14 } } } className={cn( "group rounded-2xl border bg-card p-4 text-start shadow-sm", "hover:border-primary/30 hover:shadow-md disabled:opacity-50", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring" )} >

{card.title}

{card.description}

))}
); }