import { useState } from "react"; const STEPS = [ { emoji: "🗣️", title: "Welcome to Vaakify!", text: "This is a fun place to practice saying words with a friend by your side. Let's see how it works!", }, { emoji: "🤖", title: "Pick a friend", text: "You picked a character friend to practice with — you can always switch to a different one from the side menu.", }, { emoji: "👂", title: "Listen first", text: "Your friend will say the word out loud. You can listen as many times as you like — even slowly!", }, { emoji: "🎤", title: "Now you try!", text: "Tap the microphone and say the word yourself. Don't worry about getting it perfect — just give it a try!", }, { emoji: "⭐", title: "See how you did", text: "Your friend will cheer you on and show you your score. Every try helps you get better!", }, { emoji: "💪", title: "Extra practice", text: "If a sound needs a bit more work, we'll do some extra practice together to help you master it.", }, ]; export default function Tutorial({ onClose, darkMode }) { const [step, setStep] = useState(0); const isLast = step === STEPS.length - 1; const current = STEPS[step]; return (
{current.text}