feat: Puente Mayúscula-Minúscula + TTS SpeechSynthesis + E2E fixes

This commit is contained in:
renato97
2026-07-21 15:31:46 -03:00
commit fa8e0c58ce
120 changed files with 16013 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
"use client"
import { useEffect, useState } from "react"
import AudioUnlock from "@/components/child/audio-unlock"
export default function ChildLayout({
children,
}: {
children: React.ReactNode
}) {
const [audioReady, setAudioReady] = useState(false)
useEffect(() => {
document.body.style.overscrollBehavior = "none"
}, [])
if (!audioReady) {
return <AudioUnlock onUnlock={() => setAudioReady(true)} />
}
return (
<div className="min-h-dvh bg-background flex flex-col">
{children}
</div>
)
}