@@ -529,7 +529,7 @@ const PracticeTab: React.FC<PracticeTabProps> = ({
529529 </ motion . select >
530530 </ div >
531531 < motion . div
532- className = "rounded-xl border border-gray-200 bg-gradient-to-r from-gray- 100 to-slate-100 px-6 py-3 text-sm font-bold text-gray -800 shadow-lg dark:border-gray-600 dark:from-gray-700 dark:to-slate-700 dark: text-gray-200 "
532+ className = "rounded-xl bg-blue- 100 px-6 py-3 text-sm font-bold text-blue -800 shadow-lg dark:bg-blue-900/30 dark:text-blue-300 "
533533 whileHover = { { scale : 1.05 } }
534534 >
535535 < span className = "font-black text-blue-600 dark:text-blue-400" >
@@ -626,7 +626,7 @@ const PracticeTab: React.FC<PracticeTabProps> = ({
626626 { question . difficulty }
627627 </ motion . span >
628628 < motion . div
629- className = "rounded-full border border-gray-200 bg-gradient-to-r from-gray- 100 to-slate-100 px-3 py-2 text-xs font-bold text-gray-500 shadow-lg dark:border-gray-600 dark:from-gray-700 dark:to-slate-700 dark: text-gray-400 "
629+ className = "rounded-full bg-blue- 100 px-3 py-2 text-xs font-bold text-blue-800 shadow-lg dark:bg-blue-900/30 dark:text-blue-300 "
630630 whileHover = { { scale : 1.05 } }
631631 >
632632 ~{ question . estimatedTime } min
@@ -664,7 +664,7 @@ const PracticeTab: React.FC<PracticeTabProps> = ({
664664 { question . category && (
665665 < div className = "mb-6 flex items-center space-x-3" >
666666 < span className = "text-lg text-gray-400" > 📂</ span >
667- < span className = "rounded-full bg-gray -100 px-3 py-1 text-sm font-bold text-gray -800 dark:bg-gray-700 dark:text-gray-200 " >
667+ < span className = "rounded-full bg-blue -100 px-3 py-1 text-sm font-bold text-blue -800 dark:bg-blue-900/30 dark:text-blue-300 " >
668668 { question . category }
669669 </ span >
670670 </ div >
@@ -1012,7 +1012,7 @@ const PracticeTab: React.FC<PracticeTabProps> = ({
10121012 </ div >
10131013
10141014 < motion . div
1015- className = "rounded-3xl border-2 border-gray -200/50 bg-gradient-to-br from-gray -50 via-slate -50 to-gray-100 p-10 shadow-2xl backdrop-blur-sm dark:border-gray-600/50 dark:from-gray-800 dark:via-slate-800 dark:to-gray-700 "
1015+ className = "rounded-3xl border-2 border-indigo -200 bg-gradient-to-br from-indigo -50 via-purple -50 to-pink-50 p-10 shadow-2xl backdrop-blur-sm dark:border-indigo-700 dark:from-indigo-900/20 dark:via-purple-900/20 dark:to-pink-900/20 "
10161016 variants = { fadeIn }
10171017 >
10181018 < motion . h3
@@ -1052,13 +1052,21 @@ const PracticeTab: React.FC<PracticeTabProps> = ({
10521052 ] . map ( ( feature , index ) => (
10531053 < motion . div
10541054 key = { index }
1055- className = "group rounded-2xl border-2 border-gray-200/50 bg-white/80 p-8 text-center shadow-xl backdrop-blur-sm transition-all duration-500 hover:shadow-2xl dark:border-gray-700/50 dark:bg-gray-800/80 "
1055+ className = "group rounded-2xl border-2 border-gray-200/50 bg-white/90 p-8 text-center shadow-xl backdrop-blur-sm transition-all duration-500 hover:shadow-2xl dark:border-gray-700/50 dark:bg-gray-800/90 "
10561056 whileHover = { { scale : 1.05 , y : - 5 } }
10571057 variants = { scaleIn }
10581058 custom = { index }
10591059 >
10601060 < motion . div
1061- className = { `h-20 w-20 bg-gradient-to-br from-${ feature . color } -100 to-${ feature . color } -200 dark:from-${ feature . color } -900/40 dark:to-${ feature . color } -800/50 mx-auto mb-6 flex items-center justify-center rounded-2xl border shadow-lg border-${ feature . color } -200 dark:border-${ feature . color } -700 transition-transform duration-300 group-hover:scale-110` }
1061+ className = { `mx-auto mb-6 flex h-20 w-20 items-center justify-center rounded-2xl shadow-lg transition-transform duration-300 group-hover:scale-110 ${
1062+ feature . color === "blue"
1063+ ? "border-2 border-blue-200 bg-gradient-to-br from-blue-100 to-blue-200 dark:border-blue-700 dark:from-blue-900/40 dark:to-blue-800/50"
1064+ : feature . color === "green"
1065+ ? "border-2 border-green-200 bg-gradient-to-br from-green-100 to-green-200 dark:border-green-700 dark:from-green-900/40 dark:to-green-800/50"
1066+ : feature . color === "purple"
1067+ ? "border-2 border-purple-200 bg-gradient-to-br from-purple-100 to-purple-200 dark:border-purple-700 dark:from-purple-900/40 dark:to-purple-800/50"
1068+ : "border-2 border-orange-200 bg-gradient-to-br from-orange-100 to-orange-200 dark:border-orange-700 dark:from-orange-900/40 dark:to-orange-800/50"
1069+ } `}
10621070 whileHover = { { rotate : [ 0 , - 10 , 10 , 0 ] } }
10631071 transition = { { duration : 0.5 } }
10641072 >
0 commit comments