@codesinger0/shared-components 1.1.80 → 1.1.82
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.
package/dist/components/Hero.jsx
CHANGED
|
@@ -106,7 +106,7 @@ const Hero = ({
|
|
|
106
106
|
{secondaryButtonLabel && onSecondaryClick && (
|
|
107
107
|
<button
|
|
108
108
|
onClick={onSecondaryClick}
|
|
109
|
-
className="px-6 py-
|
|
109
|
+
className="px-6 py-3 border-2 border-primary text-primary bg-main font-normal hover:bg-primary hover:text-primary-dark transition-all duration-300 shadow-lg"
|
|
110
110
|
>
|
|
111
111
|
{secondaryButtonLabel}
|
|
112
112
|
</button>
|
|
@@ -42,6 +42,7 @@ const OrderForm = ({
|
|
|
42
42
|
addToast, // Inject toast function
|
|
43
43
|
cartItems,
|
|
44
44
|
totalPrice,
|
|
45
|
+
businessName,
|
|
45
46
|
paymentLinkCreationURL,
|
|
46
47
|
scrollContainerRef
|
|
47
48
|
}) => {
|
|
@@ -137,6 +138,7 @@ const OrderForm = ({
|
|
|
137
138
|
|
|
138
139
|
// Map cart items to products data format
|
|
139
140
|
const productsData = orderData.items.map((item) => ({
|
|
141
|
+
businessName,
|
|
140
142
|
catalogNumber: item.id,
|
|
141
143
|
name: item.name,
|
|
142
144
|
price: isUserClubMember ? item.price * (1 - clubDiscountPercentage / 100) : item.price,
|
|
@@ -162,6 +164,7 @@ const OrderForm = ({
|
|
|
162
164
|
'Content-Type': 'application/json'
|
|
163
165
|
},
|
|
164
166
|
body: JSON.stringify({
|
|
167
|
+
businessName: 'confectioneryShop',
|
|
165
168
|
operation: 'createPaymentLink',
|
|
166
169
|
customerName: orderData.customerName,
|
|
167
170
|
customerPhone: orderData.customerPhone,
|