From 76f79f05240b7ce43e83c9c2e7a5ec6649148138 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Mon, 22 Jun 2026 21:58:46 +0000 Subject: [PATCH] Bob AI: Update splash screen with clear button and realistic waves --- src/pages/HomePage/sections/Splash.tsx | 46 ++++++++++++++------------ 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/src/pages/HomePage/sections/Splash.tsx b/src/pages/HomePage/sections/Splash.tsx index 711585e..e786daa 100644 --- a/src/pages/HomePage/sections/Splash.tsx +++ b/src/pages/HomePage/sections/Splash.tsx @@ -22,22 +22,17 @@ export default function SplashSection() { setIsSplashing(true); setTimeout(() => { setIsVisible(false); - }, 1500); + }, 2000); }; - const droplets = Array.from({ length: 40 }).map((_, i) => { - const angle = (i / 40) * Math.PI * 2; - const distance = 200 + Math.random() * 300; - const tx = Math.cos(angle) * distance; - const ty = Math.sin(angle) * distance; - const scale = 0.5 + Math.random() * 1.5; - return { tx, ty, scale, delay: Math.random() * 0.15 }; + const waves = Array.from({ length: 3 }).map((_, i) => { + return { scale: 2 + i * 2, delay: i * 0.2 }; }); return (

@@ -47,35 +42,42 @@ export default function SplashSection() {
{/* Expanding Water Splash Background */}
- {/* Droplets */} - {isSplashing && droplets.map((d, i) => ( + {/* Photorealistic Waves */} + {isSplashing && waves.map((w, i) => ( ))} -- 2.49.1