From 55c88ffdf6941fe590d1f6a508fd20cfe669291f Mon Sep 17 00:00:00 2001 From: Ananta Krishnan B Date: Wed, 7 Aug 2024 13:13:42 +0530 Subject: [PATCH 1/3] chore: made timer partially responsive --- src/components/timer/Timer.tsx | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/components/timer/Timer.tsx b/src/components/timer/Timer.tsx index 676a2f8..82928f6 100644 --- a/src/components/timer/Timer.tsx +++ b/src/components/timer/Timer.tsx @@ -26,39 +26,39 @@ const Timer = () => { }, []); return ( -
-
-
-
+
+
+
+
-

+

{days < 10 ? "0" + days : days}

- DAYS + DAYS
-
+
-

+

{hours < 10 ? "0" + hours : hours}

- HOURS + HOURS
-
+
-

+

{minutes < 10 ? "0" + minutes : minutes}

- MINUTES + MINUTES
-
+
-

+

{seconds < 10 ? "0" + seconds : seconds}

- SECONDS + SECONDS
From 55be19c09e7cc637b9a6a89dc74a484351a20224 Mon Sep 17 00:00:00 2001 From: Ananta Krishnan B Date: Wed, 7 Aug 2024 13:18:08 +0530 Subject: [PATCH 2/3] chore: made the with smaller for better responsiveness --- src/components/timer/Timer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/timer/Timer.tsx b/src/components/timer/Timer.tsx index 82928f6..4b4e1c2 100644 --- a/src/components/timer/Timer.tsx +++ b/src/components/timer/Timer.tsx @@ -26,7 +26,7 @@ const Timer = () => { }, []); return ( -
+
From 7b7c2340ce72d216889d23149f550827ee57d7d1 Mon Sep 17 00:00:00 2001 From: Ananta Krishnan B Date: Thu, 8 Aug 2024 12:07:47 +0530 Subject: [PATCH 3/3] chore: made responsive timer into a 2x2 grid --- src/components/timer/Timer.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/timer/Timer.tsx b/src/components/timer/Timer.tsx index 4b4e1c2..0670024 100644 --- a/src/components/timer/Timer.tsx +++ b/src/components/timer/Timer.tsx @@ -26,9 +26,9 @@ const Timer = () => { }, []); return ( -
+
-
+