@codesinger0/shared-components 1.1.54 → 1.1.56
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.
|
@@ -33,7 +33,7 @@ const DualTextCard = ({
|
|
|
33
33
|
{/* Background Section with Text Content */}
|
|
34
34
|
<div className={cardClass + " relative"} style={{ minHeight: '48vh', overflow: 'visible' }}>
|
|
35
35
|
<div className="max-w-7xl mx-auto px-6 py-16">
|
|
36
|
-
<div className="grid grid-cols-1 lg:grid-cols-2 gap-12 items-
|
|
36
|
+
<div className="grid grid-cols-1 lg:grid-cols-2 gap-12 items-start">
|
|
37
37
|
|
|
38
38
|
{/* First Text Block */}
|
|
39
39
|
<motion.div
|
|
@@ -46,7 +46,7 @@ const DualTextCard = ({
|
|
|
46
46
|
>
|
|
47
47
|
<h2 className={titleClass}>{title1}</h2>
|
|
48
48
|
<h3 className={subtitleClass}>{subtitle1}</h3>
|
|
49
|
-
<p className={contentClass + " max-w-md mx-auto lg:mx-0"}>{text1}</p>
|
|
49
|
+
<p className={contentClass + " max-w-md mx-auto lg:mx-0"} style={{ whiteSpace: 'pre-line' }}>{text1}</p>
|
|
50
50
|
</motion.div>
|
|
51
51
|
|
|
52
52
|
{/* Second Text Block */}
|
|
@@ -60,7 +60,7 @@ const DualTextCard = ({
|
|
|
60
60
|
>
|
|
61
61
|
<h2 className={titleClass}>{title2}</h2>
|
|
62
62
|
<h3 className={subtitleClass}>{subtitle2}</h3>
|
|
63
|
-
<p className={contentClass + " max-w-md mx-auto lg:mx-0"}>{text2}</p>
|
|
63
|
+
<p className={contentClass + " max-w-md mx-auto lg:mx-0"} style={{ whiteSpace: 'pre-line' }}>{text2}</p>
|
|
64
64
|
</motion.div>
|
|
65
65
|
|
|
66
66
|
</div>
|
|
@@ -79,7 +79,7 @@ const LargeItemCard = ({
|
|
|
79
79
|
{/* Price Section */}
|
|
80
80
|
{price && (
|
|
81
81
|
<div className="text-center lg:text-right mt-4">
|
|
82
|
-
{discountPrice && discountPrice < price ? (
|
|
82
|
+
{(discountPrice ?? null) !== null && discountPrice < price ? (
|
|
83
83
|
<div className="space-y-1">
|
|
84
84
|
<div className="flex items-center justify-center lg:justify-start gap-2">
|
|
85
85
|
<span className={"text-2xl font-bold " + priceClass}>
|