"use client" import { motion } from "framer-motion" interface GatoMascotaProps { mood?: "happy" | "thinking" | "celebrate" | "coach" message?: string size?: "sm" | "md" | "lg" } const moods = { happy: { emoji: "😺", animation: { y: [0, -5, 0] }, transition: { repeat: Infinity, duration: 2 }, }, thinking: { emoji: "🤔", animation: { rotate: [0, -10, 10, 0] }, transition: { repeat: Infinity, duration: 1.5 }, }, celebrate: { emoji: "🎉", animation: { scale: [1, 1.2, 1] }, transition: { repeat: Infinity, duration: 0.8 }, }, coach: { emoji: "🐱", animation: { y: 0 }, transition: { duration: 0 }, }, } export function GatoMascota({ mood = "happy", message, size = "md" }: GatoMascotaProps) { const config = moods[mood] const sizeClass = size === "sm" ? "text-3xl" : size === "lg" ? "text-7xl" : "text-5xl" return (
{config.emoji} {message && (

{message}

)}
) } export default GatoMascota