import React from "react"; import Lottie from "lottie-react"; import { motion } from "framer-motion"; import animationPoints from "../../assets/animations/ecran-deroulement.json"; import Loading from "../animations/Loading"; import { useUser } from "../../hooks/useUser"; export default function Walkthrough({ setNextSlide, setPreviousSlide }) { const { screensTranslations } = useUser(); if (!screensTranslations || !screensTranslations.tutorial) return ; const currentScreenTranslations = screensTranslations.tutorial; const uiTranslations = screensTranslations.ui; const animationParameters = { initial: { x: "100%", opacity: 0 }, animate: { x: "0%", opacity: 1 }, exit: { x: "-100%", opacity: 0 }, }; return (

{currentScreenTranslations.how_to_play}

{currentScreenTranslations.walkthrough}

{currentScreenTranslations.walkthrough_description}

); }