@codesinger0/shared-components 1.1.23 → 1.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -19,7 +19,7 @@ const IconGrid = ({ items = [], className = '' }) => {
|
|
|
19
19
|
const GridItem = ({ icon: Icon, text }) => (
|
|
20
20
|
<div className="flex flex-col items-center justify-center p-6 bg-gradient-to-br from-purple-50 to-indigo-50 rounded-2xl hover:shadow-lg transition-shadow duration-300">
|
|
21
21
|
<div className="w-20 h-20 mb-4 flex items-center justify-center">
|
|
22
|
-
<Icon className="w-full h-full text-
|
|
22
|
+
<Icon className="w-full h-full text-main" strokeWidth={1.5} />
|
|
23
23
|
</div>
|
|
24
24
|
<p className="text-center text-gray-800 font-medium text-lg" dir="rtl">
|
|
25
25
|
{text}
|
|
@@ -23,7 +23,7 @@ const TextListCards = ({
|
|
|
23
23
|
|
|
24
24
|
return (
|
|
25
25
|
<section className={`py-20 ${className}`} {...props}>
|
|
26
|
-
<div className="max-w-7xl mx-auto
|
|
26
|
+
<div className="max-w-7xl mx-auto">
|
|
27
27
|
{/* Header Section */}
|
|
28
28
|
{(title || subtitle) && (
|
|
29
29
|
<motion.div
|
|
@@ -39,9 +39,6 @@ const TextListCards = ({
|
|
|
39
39
|
</h2>
|
|
40
40
|
)}
|
|
41
41
|
|
|
42
|
-
{/* Decorative Line */}
|
|
43
|
-
<div className="w-20 h-1 bg-gradient-to-r from-primary to-primary-bright mx-auto mb-4"></div>
|
|
44
|
-
|
|
45
42
|
{subtitle && (
|
|
46
43
|
<p className="subtitle max-w-3xl mx-auto mt-6">
|
|
47
44
|
{subtitle}
|
|
@@ -51,7 +48,7 @@ const TextListCards = ({
|
|
|
51
48
|
)}
|
|
52
49
|
|
|
53
50
|
{/* Cards Grid */}
|
|
54
|
-
<div className="grid lg:grid-cols-3 gap-
|
|
51
|
+
<div className="grid lg:grid-cols-3 gap-6">
|
|
55
52
|
{items.map((item, index) => (
|
|
56
53
|
<motion.div
|
|
57
54
|
key={item.title || index}
|
|
@@ -61,7 +58,7 @@ const TextListCards = ({
|
|
|
61
58
|
transition={{ delay: index * 0.2 }}
|
|
62
59
|
className="h-full"
|
|
63
60
|
>
|
|
64
|
-
<div className="glass-card h-full p-
|
|
61
|
+
<div className="glass-card h-full p-6 text-center hover:scale-105 transition-all duration-300">
|
|
65
62
|
{/* Icon */}
|
|
66
63
|
{item.icon && (
|
|
67
64
|
<div className="w-16 h-16 bg-gradient-to-br from-primary to-primary-bright rounded-full flex items-center justify-center mx-auto mb-6">
|