@@ -119,8 +123,8 @@ const Exercise: React.FC = () => {
onClick={() => setIsPlaying(!isPlaying)}
className={
isPlaying
- ? "w-20 h-20 bg-transparent backdrop-blur-xl rounded-full flex items-center justify-center shadow-2xl transition-all duration-300 transform hover:scale-110 border border-cyan-50"
- : "rounded-full bg-orange-400 w-20 h-20 flex items-center justify-center"
+ ? "w-20 h-20 bg-transparent backdrop-blur-xl rounded-full flex items-center justify-center shadow-2xl transition-all duration-300 transform hover:scale-110 border border-cyan-50 opacity-40"
+ : "rounded-full w-20 h-20 flex items-center justify-center backdrop-blur-xl opacity-70"
}
>
{isPlaying ?
:
}
@@ -194,7 +198,7 @@ const Exercise: React.FC = () => {
>
) : (
<>
-
Начать
+
Начать
>
)}
diff --git a/src/pages/Welcome.tsx b/src/pages/Welcome.tsx
index 6962a16..2cb4a4e 100644
--- a/src/pages/Welcome.tsx
+++ b/src/pages/Welcome.tsx
@@ -1,7 +1,7 @@
"use client"
import { useEffect, useState } from "react"
-import { useIonRouter } from '@ionic/react';
+// import { useIonRouter } from '@ionic/react';
export default function Welcome() {
const [animationPhase, setAnimationPhase] = useState(0)
@@ -48,27 +48,22 @@ 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 (
{/* Background and particles */}
- {/* Floating particles */}
-
+
{/* SVG with animated figure */}
{/* Subtitle - appears with opacity transition in phase 4 */}
= 4 ? 'opacity-100' : 'opacity-0'}`}>