"use client" import { useEffect, useState } from "react" import { useRouter } from "next/navigation" import { GatoMascota } from "@/components/child/gato-mascota" import AudioUnlock from "@/components/child/audio-unlock" const SEBASTIAN_KEY = "edueasy_child_sebastian" const activities = [ { id: "sumas", label: "Sumas avanzadas", icon: "➕", description: "Sumas de 2 y 3 dígitos" }, { id: "historia", label: "Historia argentina", icon: "🇦🇷", description: "Personajes y eventos" }, { id: "banderas", label: "Banderas", icon: "🚩", description: "Provincias y símbolos" }, { id: "logros", label: "Mis logros", icon: "⭐", color: "bg-warning" }, { id: "pairing", label: "iPad nuevo", icon: "🔗", color: "bg-secondary" }, ] export default function SebastianHome() { const router = useRouter() const [audioReady, setAudioReady] = useState(false) const [paired, setPaired] = useState(false) useEffect(() => { setPaired(!!localStorage.getItem(SEBASTIAN_KEY)) }, []) if (!audioReady) { return setAudioReady(true)} /> } return (
{!paired ? (

Todavía no estás conectado. Pedile a mamá que te empareje.

) : (
{activities.map((a) => ( ))}
)}
) }