-
Активная реабилитация
-
75% завершено
+
+ {/* Profile Information */}
+
+
+
Личная информация
+
+
+
+
+ alex_petrov
-
+
+
+
+ 15 марта 2024
+ {/* Medical Information */}
+
+
+
Медицинская информация
+
+
+
+
+
+ Повреждение передней крестообразной связки левого колена. Получена во время игры в футбол 12 февраля
+ 2024 года. Проведена артроскопическая операция 20 февраля 2024 года.
+
+
+
+
+
+
+ Доктор Иванов И.И.
+
+
+
+
+
+
+ Активная реабилитация
+ 75% завершено
+
+
+
+
+
+
+
+ {/* Logout Button */}
+
+
+
+
-
-
-
-
- {/* Logout Button */}
-
-
-
-
-
)
}
diff --git a/src/pages/Welcome.tsx b/src/pages/Welcome.tsx
index ffc9518..6962a16 100644
--- a/src/pages/Welcome.tsx
+++ b/src/pages/Welcome.tsx
@@ -48,15 +48,15 @@ export default function Welcome() {
-const router = useIonRouter()
+ const router = useIonRouter()
- useEffect(() => {
- const timer = setTimeout(() => {
- router.push("/home", "forward")
- }, 5000) // Задержка 3 секунды
+ useEffect(() => {
+ const timer = setTimeout(() => {
+ router.push("/home", "forward")
+ }, 5000) // Задержка 3 секунды
- return () => clearTimeout(timer)
- }, [router])
+ return () => clearTimeout(timer)
+ }, [router])
return (
@@ -154,6 +154,7 @@ const router = useIonRouter()
{/* Левая рука (смотрит вниз) - THIS IS THE TOSSING ARM AFTER MIRRORING */}
{/* Wrapped in a new group for counter-rotation */}
+
= 3 ? 'tossing-arm-counter-rotate' : ''}`}>
+
{/* Правая рука (волнообразная вверх) - This arm will remain static after growth */}
= 2 ? 'limb-grow-active' : ''}`} /* Apply active class when phase 2 starts */
/>
+
{/* Ball - now a separate div for absolute positioning */}
{
- 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 (
-
-

- {/* Uncomment and update path for emblemImage if needed */}
- {/*

*/}
-
- {/* Floating particles */}
-
- {/* Main Content */}
-
-
- {/* App Name */}
-
= 1 ? "opacity-100 translate-y-0" : "opacity-0 translate-y-8"
- }`}
- >
-
Реабилитация
-
Восстановление через движение
-
- {/* Loading indicator */}
-
= 1 ? "opacity-100" : "opacity-0"
- }`}
- >
-
-
Загрузка...
-
-
-
-
-
- )
-}