@codesinger0/shared-components 1.1.22 → 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}
|
|
@@ -37,7 +37,7 @@ const IconGrid = ({ items = [], className = '' }) => {
|
|
|
37
37
|
</div>
|
|
38
38
|
|
|
39
39
|
{/* Desktop: Smart grid */}
|
|
40
|
-
<div className="hidden md:block space-y-4 mt-20">
|
|
40
|
+
<div className="hidden md:block space-y-4 mt-20 mb-20">
|
|
41
41
|
{/* Top row */}
|
|
42
42
|
<div
|
|
43
43
|
className="grid gap-4 mb-4"
|
|
@@ -5,6 +5,7 @@ const QAAccordion = ({
|
|
|
5
5
|
title = "שאלות נפוצות",
|
|
6
6
|
subtitle = "מענה לשאלות הנפוצות ביותר",
|
|
7
7
|
qaItems = [],
|
|
8
|
+
onClickCta = () => {},
|
|
8
9
|
className = ""
|
|
9
10
|
}) => {
|
|
10
11
|
const [openIndex, setOpenIndex] = useState(null);
|
|
@@ -65,7 +66,6 @@ const QAAccordion = ({
|
|
|
65
66
|
}
|
|
66
67
|
];
|
|
67
68
|
|
|
68
|
-
|
|
69
69
|
const items = qaItems.length > 0 ? qaItems : defaultQAItems;
|
|
70
70
|
|
|
71
71
|
return (
|
|
@@ -187,7 +187,7 @@ const QAAccordion = ({
|
|
|
187
187
|
<p className="content-text mb-4">
|
|
188
188
|
לא מצאתם את התשובה שחיפשתם?
|
|
189
189
|
</p>
|
|
190
|
-
<button className="btn-primary">
|
|
190
|
+
<button className="btn-primary" onClick={onClickCta}>
|
|
191
191
|
צרו קשר
|
|
192
192
|
</button>
|
|
193
193
|
</div>
|
|
@@ -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">
|