From a7f5e5e6dd4f1e635c5a25fcb78bc7cbc657d4ec Mon Sep 17 00:00:00 2001 From: EduardZaydler <117674342+EduardZaydler@users.noreply.github.com> Date: Wed, 4 Dec 2024 23:30:00 +0700 Subject: [PATCH] start falling from header --- src/Components/SnowFall/SnowFall.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/SnowFall/SnowFall.tsx b/src/Components/SnowFall/SnowFall.tsx index 60deef72..2291aa93 100644 --- a/src/Components/SnowFall/SnowFall.tsx +++ b/src/Components/SnowFall/SnowFall.tsx @@ -17,8 +17,8 @@ export const SnowfallBackground = ({ topOffset = 0 }: { topOffset?: number }) => const createSnowflakes = (width: number, height: number) => { const snowflakes = Array.from({ length: 100 }, () => ({ x: randomNumberBetween(0, width), - y: randomNumberBetween(-height, height), - size: randomNumberBetween(2, 9), + y: randomNumberBetween(-height, 60), + size: randomNumberBetween(2, 10), speed: randomNumberBetween(1, 1.5), horizontalSpeed: randomNumberBetween(-1, 1), }));