@@ -11,22 +11,21 @@ interface ProductCardProps {
1111
1212export const ProductCard : React . FC < ProductCardProps > = ( {
1313 title = "MifosX" ,
14- subtitle = "Subtitle" ,
1514 description = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor" ,
1615 onDemoClick = ( ) => console . log ( 'Demo clicked' )
1716} ) => {
1817 return (
19- < div className = "bg-white rounded-xl overflow-hidden w-80 border border-gray-200 transition-all duration-300 hover:shadow-2xl hover:shadow-purple -200 hover:-translate-y-0.15" >
20- < div className = "bg-purple -50 px-6 py-4" >
18+ < div className = "bg-white rounded-xl overflow-hidden w-80 border border-gray-200 transition-all duration-300 hover:shadow-xl hover:shadow-blue -200 hover:-translate-y-0.15" >
19+ < div className = "bg-blue -50 px-6 py-4" >
2120 < div className = "flex items-center" >
22- < div className = "w-8 h-8 bg-purple -200 rounded-lg flex items-center justify-center mr-3" >
23- < span className = "text-purple -700 font-semibold text-sm" > A</ span >
21+ < div className = "w-8 h-8 bg-blue -200 rounded-lg flex items-center justify-center mr-3" >
22+ < span className = "text-blue -700 font-semibold text-sm" > A</ span >
2423 </ div >
2524 < h3 className = "text-lg font-semibold text-gray-800" > { title } </ h3 >
2625 </ div >
2726 </ div >
2827
29- < div className = "bg-purple -50 px-6 pb-8" >
28+ < div className = "bg-blue -50 px-6 pb-8" >
3029 < div className = "flex justify-center items-center space-x-4" >
3130 < div className = "w-0 h-0 border-l-[20px] border-r-[20px] border-b-[24px] border-l-transparent border-r-transparent border-b-gray-400" > </ div >
3231
@@ -36,7 +35,7 @@ export const ProductCard: React.FC<ProductCardProps> = ({
3635 < div className = "absolute -bottom-1 left-1/2 transform -translate-x-1/2 w-2 h-2 bg-gray-400" > </ div >
3736 < div className = "absolute -left-1 top-1/2 transform -translate-y-1/2 w-2 h-2 bg-gray-400" > </ div >
3837 < div className = "absolute -right-1 top-1/2 transform -translate-y-1/2 w-2 h-2 bg-gray-400" > </ div >
39- < div className = "absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-3 h-3 bg-purple -50 rounded-full" > </ div >
38+ < div className = "absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-3 h-3 bg-blue -50 rounded-full" > </ div >
4039 </ div >
4140 </ div >
4241
@@ -47,7 +46,6 @@ export const ProductCard: React.FC<ProductCardProps> = ({
4746 < div className = "px-6 py-6 bg-white" >
4847 < div className = "mb-4" >
4948 < h4 className = "text-base font-semibold text-gray-900 mb-1" > About</ h4 >
50- < p className = "text-sm text-gray-500" > { subtitle } </ p >
5149 </ div >
5250
5351 < p className = "text-sm text-gray-700 leading-relaxed mb-6" >
@@ -57,7 +55,7 @@ export const ProductCard: React.FC<ProductCardProps> = ({
5755 < div className = "flex justify-end" >
5856 < Button
5957 onClick = { onDemoClick }
60- className = "bg-purple -400 hover:bg-purple -500 text-white text-sm px-6 py-2.5 rounded-full font-medium transition-colors duration-200 shadow-sm hover:shadow-md cursor-pointer"
58+ className = "bg-blue -400 hover:bg-blue -500 text-white text-sm px-6 py-2.5 rounded-full font-medium transition-colors duration-200 shadow-sm hover:shadow-md cursor-pointer"
6159 >
6260 Demo
6361 </ Button >
0 commit comments