"use client" import { useEffect, useState } from "react" import { useHistory } from "react-router-dom" import manImage from "../assets/man.svg" // Reverted to original import export default function Welcome() { const history = useHistory() const [animationPhase, setAnimationPhase] = useState(0) useEffect(() => { const timer1 = setTimeout(() => setAnimationPhase(1), 500) const timer2 = setTimeout(() => setAnimationPhase(2), 1500) const timer3 = setTimeout(() => setAnimationPhase(3), 2500) // const timer4 = setTimeout(() => history.push("/login"), 4000) // Uncomment if you want auto-redirect return () => { clearTimeout(timer1) clearTimeout(timer2) clearTimeout(timer3) // clearTimeout(timer4) } }, [history]) return (
Man illustration {/* Uncomment and update path for emblemImage if needed */} {/* Emblem */}
{/* Floating particles */}
{/* Main Content */}
{/* App Name */}
= 1 ? "opacity-100 translate-y-0" : "opacity-0 translate-y-8" }`} >

Реабилитация

Восстановление через движение

{/* Loading indicator */}
= 1 ? "opacity-100" : "opacity-0" }`} >

Загрузка...

) }