import { Link } from "react-router-dom"; import AppLogoMarkup from "../components/ui/AppLogoMarkup"; import AnimatedPage from "../components/AnimatedPage"; import { useUser } from "../hooks/useUser"; import LanguageSelect from "../components/ui/LanguageSelect"; import truckAnimation from "../assets/animations/chargement-vehicules"; import Lottie from "react-lottie"; import Loading from "../components/animations/Loading"; export default function Welcome() { const { screensTranslations } = useUser(); if (!screensTranslations || !screensTranslations.welcome) return ; const currentScreenTranslations = screensTranslations.welcome; const defaultOptions = { loop: true, autoplay: true, animationData: truckAnimation, rendererSettings: { preserveAspectRatio: "xMidYMid slice", }, }; return ( {currentScreenTranslations.enter} ); }