Skip to content

Commit f0a2a83

Browse files
committed
Remove changes to TryCard.tsx
1 parent 9b638cb commit f0a2a83

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/components/TryCard.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,22 +78,22 @@ export const TryCard: React.FC<TryCardProps> = ({
7878
<div className="bg-white dark:bg-gray-800 rounded-xl sm:rounded-2xl md:rounded-3xl shadow-[rgba(13,_38,_76,_0.19)_0px_9px_20px] hover:shadow-[rgba(13,_38,_76,_0.25)_0px_12px_28px] transition-all duration-500 overflow-hidden mx-auto w-full group h-full border border-transparent dark:border-gray-700">
7979
<div className="p-4 sm:p-5 md:p-6 flex flex-col h-full">
8080
{/* Content Section */}
81-
<div className="flex-1 flex flex-col space-y-2 sm:space-y-3">
81+
<div className="flex-1 flex flex-col space-y-3 sm:space-y-4">
8282
{/* Header */}
83-
<div className="space-y-1 sm:space-y-2 text-center w-full h-20 sm:h-24 flex flex-col justify-center">
84-
<h2 className="text-sm sm:text-base md:text-lg font-black text-gray-800 dark:text-transparent leading-snug bg-gradient-to-br from-gray-900 via-gray-800 to-gray-600 dark:from-gray-100 dark:via-gray-200 dark:to-gray-400 bg-clip-text group-hover:scale-[1.02] transition-transform duration-500 line-clamp-3">
83+
<div className="space-y-2 flex-1/4 sm:space-y-3 text-center w-full">
84+
<h2 className="text-lg sm:text-xl font-black text-gray-800 dark:text-transparent leading-tight bg-gradient-to-br from-gray-900 via-gray-800 to-gray-600 dark:from-gray-100 dark:via-gray-200 dark:to-gray-400 bg-clip-text group-hover:scale-[1.02] transition-transform duration-500">
8585
{title}
8686
</h2>
87-
<p className="text-gray-500 dark:text-gray-400 text-xs sm:text-sm leading-snug mx-auto font-medium tracking-wide line-clamp-2">
87+
<p className="text-gray-500 dark:text-gray-400 text-xs sm:text-sm leading-relaxed mx-auto font-medium tracking-wide">
8888
{description}
8989
</p>
9090
</div>
9191

9292
{/* Buttons */}
93-
<div className="space-y-1.5 sm:space-y-2 flex flex-col items-center pt-1 sm:pt-2">
93+
<div className="space-y-2 sm:space-y-2.5 flex flex-col items-center pt-1 sm:pt-3">
9494
<a
9595
href={tryNowHref}
96-
className={`w-full text-white font-bold px-3 sm:px-4 md:px-5 py-1.5 sm:py-2 md:py-2.5 rounded-xl sm:rounded-2xl
96+
className={`w-full text-white font-bold px-3 sm:px-4 md:px-5 py-2 sm:py-2.5 md:py-3 rounded-xl sm:rounded-2xl
9797
transition-all duration-500 hover:scale-[1.02] hover:shadow-lg
9898
active:scale-95 text-xs sm:text-sm backdrop-blur-sm relative overflow-hidden
9999
${gradientClass || 'bg-gradient-to-br from-blue-600 via-blue-700 to-blue-800'}
@@ -105,7 +105,7 @@ export const TryCard: React.FC<TryCardProps> = ({
105105
</a>
106106
<Link
107107
to={learnMoreHref}
108-
className="w-full bg-gray-50/80 dark:bg-gray-700/80 backdrop-blur-sm border-[1.5px] border-gray-100 dark:border-gray-600 rounded-xl sm:rounded-2xl px-3 sm:px-4 md:px-5 py-1.5 sm:py-2 md:py-2.5
108+
className="w-full bg-gray-50/80 dark:bg-gray-700/80 backdrop-blur-sm border-[1.5px] border-gray-100 dark:border-gray-600 rounded-xl sm:rounded-2xl px-3 sm:px-4 md:px-5 py-2 sm:py-2.5 md:py-3
109109
font-bold transition-all duration-500 hover:scale-[1.02]
110110
hover:bg-gray-100/80 hover:border-gray-200 dark:hover:bg-gray-600/80 dark:hover:border-gray-500 text-gray-700 dark:text-gray-200 text-xs sm:text-sm
111111
active:scale-95 relative overflow-hidden
@@ -118,12 +118,12 @@ export const TryCard: React.FC<TryCardProps> = ({
118118
</div>
119119

120120
{/* Image Section */}
121-
<div className="-mx-4 sm:-mx-5 md:-mx-6 -mb-4 sm:-mb-5 md:-mb-6 mt-2 sm:mt-3 md:mt-4 relative overflow-hidden">
122-
<div className="absolute inset-0 bg-gradient-to-b from-white via-white/50 to-transparent dark:from-gray-800 dark:via-gray-800/50 h-6 sm:h-8 md:h-10 z-10" />
121+
<div className="-mx-4 sm:-mx-5 md:-mx-6 -mb-4 sm:-mb-5 md:-mb-6 mt-4 sm:mt-5 md:mt-6 relative overflow-hidden">
122+
<div className="absolute inset-0 bg-gradient-to-b from-white via-white/50 to-transparent dark:from-gray-800 dark:via-gray-800/50 h-8 sm:h-10 md:h-12 z-10" />
123123
<img
124124
src={imagePath}
125125
alt={title}
126-
className="w-full h-28 sm:h-32 md:h-40 object-cover transform transition-all duration-700
126+
className="w-full h-36 sm:h-40 md:h-48 object-cover transform transition-all duration-700
127127
group-hover:scale-110 group-hover:rotate-1"
128128
/>
129129
<div className="absolute inset-0 bg-gradient-to-t from-black/20 to-transparent" />

0 commit comments

Comments
 (0)