From a04e31558b6337b48718f3764a7c2514bb80bc8a Mon Sep 17 00:00:00 2001 From: arduR-O Date: Wed, 30 Aug 2023 23:04:11 +0530 Subject: [PATCH 1/2] fix: cursor issue --- cookoff24-landing/src/pages/landing.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cookoff24-landing/src/pages/landing.js b/cookoff24-landing/src/pages/landing.js index 22052f2..10bdfa9 100644 --- a/cookoff24-landing/src/pages/landing.js +++ b/cookoff24-landing/src/pages/landing.js @@ -85,6 +85,10 @@ export default function Home() { + + + + )} From 18ed2637ebde9f086d9a6e5896a0e8901d1833db Mon Sep 17 00:00:00 2001 From: arduR-O Date: Wed, 30 Aug 2023 23:42:51 +0530 Subject: [PATCH 2/2] feat :stuff --- cookoff24-landing/src/components/Countdown.js | 6 +++--- cookoff24-landing/src/components/Prizes.js | 2 +- cookoff24-landing/src/components/Welcome.js | 2 +- cookoff24-landing/src/pages/index.js | 2 +- cookoff24-landing/src/pages/landing.js | 2 +- cookoff24-landing/src/styles/globals.css | 4 ++++ 6 files changed, 11 insertions(+), 7 deletions(-) diff --git a/cookoff24-landing/src/components/Countdown.js b/cookoff24-landing/src/components/Countdown.js index f2144c8..a93333a 100644 --- a/cookoff24-landing/src/components/Countdown.js +++ b/cookoff24-landing/src/components/Countdown.js @@ -37,13 +37,13 @@ const Countdown = () => { const interval = setInterval(calculateCountdown, 1000); return () => clearInterval(interval); - }); + },[]); return ( -
+
Countdown
diff --git a/cookoff24-landing/src/components/Prizes.js b/cookoff24-landing/src/components/Prizes.js index 36891bd..ef43609 100644 --- a/cookoff24-landing/src/components/Prizes.js +++ b/cookoff24-landing/src/components/Prizes.js @@ -9,7 +9,7 @@ const Prizes = () => { setIsHovered(hoverState); }; return ( -
+
{ console.log("isMid" + isMid); return ( -
+
{isMid && } {!isMid && }
diff --git a/cookoff24-landing/src/pages/index.js b/cookoff24-landing/src/pages/index.js index d1b987e..6c0d83f 100644 --- a/cookoff24-landing/src/pages/index.js +++ b/cookoff24-landing/src/pages/index.js @@ -107,7 +107,7 @@ const Index = () => { )} {/* main flex */}
-
Please turn off dark mode
+
Please turn off dark mode
{/* icon */}