import React from "react"; import Lottie from "lottie-react"; import { motion } from "framer-motion"; import animationDeplacement from "../../assets/animations/ecran-deplacement.json"; import { useUser } from "../../hooks/useUser"; import Loading from "../animations/Loading"; export default function MoveAround({ setNextSlide }) { 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.move_around}

{currentScreenTranslations.move_around_description}

); }