From 0e3926c7408288fb4182f339f34707578609ff6b Mon Sep 17 00:00:00 2001 From: Araozu Date: Tue, 7 May 2024 18:31:50 -0500 Subject: [PATCH] Add animation to cards in homepage --- src/components/Card.tsx | 4 ++-- src/pages/Index.tsx | 18 ++++-------------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/src/components/Card.tsx b/src/components/Card.tsx index ff37435..5e9de2c 100644 --- a/src/components/Card.tsx +++ b/src/components/Card.tsx @@ -35,14 +35,14 @@ export function Card(props: {value: number}) { } return ( -
{cardValue} {icon} -
+ ); } diff --git a/src/pages/Index.tsx b/src/pages/Index.tsx index b288ba0..231fdd5 100644 --- a/src/pages/Index.tsx +++ b/src/pages/Index.tsx @@ -92,27 +92,17 @@ export function Index() { Go to game rules -
-
-
+
+
-
+
-
+
-
- - - - - - - -
); }