From e234e3451eb05f7c38532da4fb726bbca4facb40 Mon Sep 17 00:00:00 2001 From: Rohan Date: Thu, 9 Jan 2025 13:20:14 +0530 Subject: [PATCH 1/2] Hey! i have added a hovering effect for cards in venue.js file in first link tag just after return statement by using tailwind css. --- components/Venue/venue.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/Venue/venue.js b/components/Venue/venue.js index bc24eb5d..6c14bfdc 100644 --- a/components/Venue/venue.js +++ b/components/Venue/venue.js @@ -29,14 +29,14 @@ function Venue({ className, city }) { return (
-
+ className='relative w-[300px] h-[400px] sm:w-[250px] sm:h-[350px] card-bg rounded-md bg-[image:var(--image-url)] flex items-center justify-center p-4 cursor-pointer m-2 hover:shadow-[0_4px_20px_10px_rgba(0,0,0,0.3)] hover:scale-105 transition-all duration-300 ease-in-out'> +
{city.cfp?
cfp is open
:null}
@@ -45,8 +45,8 @@ function Venue({ className, city }) {
{city.name=='Online'?{city.name} {city.country}:{city.country}, {city.name}}
-
-
{city.date}
+
+
{city.date}
{eventStatus}
From 960583f298a077c7993756f232698f94b866bfd9 Mon Sep 17 00:00:00 2001 From: Rohan Date: Thu, 9 Jan 2025 13:26:18 +0530 Subject: [PATCH 2/2] feat: add hover effect in the card components in venue.js file --- components/Venue/venue.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Venue/venue.js b/components/Venue/venue.js index 6c14bfdc..3102cf23 100644 --- a/components/Venue/venue.js +++ b/components/Venue/venue.js @@ -29,7 +29,7 @@ function Venue({ className, city }) { return (
+ className='relative w-[300px] h-[400px] sm:w-[250px] sm:h-[350px] card-bg rounded-md bg-[image:var(--image-url)] flex items-center justify-center p-4 cursor-pointer m-2 hover:shadow-[0_4px_20px_10px_rgba(0,0,0,0.3)] hover:scale-105 transition-all duration-350 ease-in-out'>
{city.cfp?
cfp is open
:null}