s-platform-landing-section 0.1.28 → 0.1.29
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/index.js +21 -13
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +21 -13
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -339,7 +339,7 @@ var NavBar7 = function NavBar7(props) {
|
|
|
339
339
|
src: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.logoUrl,
|
|
340
340
|
alt: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName
|
|
341
341
|
}), /*#__PURE__*/React__default.createElement("h3", {
|
|
342
|
-
className: "text-xl md:text-2xl
|
|
342
|
+
className: "text-xl md:text-2xl text-primary font-fredoka text-wrap line-clamp-2 leading-tight"
|
|
343
343
|
}, shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName)), /*#__PURE__*/React__default.createElement("div", {
|
|
344
344
|
className: "hidden lg:flex flex-1 items-center gap-4"
|
|
345
345
|
}, shopConfigStyle === null || shopConfigStyle === void 0 ? void 0 : (_shopConfigStyle$navB = shopConfigStyle.navBarMenus) === null || _shopConfigStyle$navB === void 0 ? void 0 : (_shopConfigStyle$navB2 = _shopConfigStyle$navB.filter(function (e) {
|
|
@@ -352,7 +352,7 @@ var NavBar7 = function NavBar7(props) {
|
|
|
352
352
|
}, (item === null || item === void 0 ? void 0 : item.name) === (route === null || route === void 0 ? void 0 : route.name) ? /*#__PURE__*/React__default.createElement("div", {
|
|
353
353
|
className: "whitespace-nowrap py-1 border-b text-textHeading border-textHeading"
|
|
354
354
|
}, item === null || item === void 0 ? void 0 : item.label) : /*#__PURE__*/React__default.createElement("div", {
|
|
355
|
-
className: "py-1 text-textBody"
|
|
355
|
+
className: "py-1 whitespace-nowrap text-textBody"
|
|
356
356
|
}, item === null || item === void 0 ? void 0 : item.label));
|
|
357
357
|
})), cart(), userInfo ?
|
|
358
358
|
/*#__PURE__*/
|
|
@@ -401,7 +401,7 @@ var NavBar7 = function NavBar7(props) {
|
|
|
401
401
|
src: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.logoUrl,
|
|
402
402
|
alt: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName
|
|
403
403
|
}), /*#__PURE__*/React__default.createElement("h3", {
|
|
404
|
-
className: "text-xl md:text-2xl font-
|
|
404
|
+
className: "text-xl md:text-2xl font-fredoka text-wrap text-primary line-clamp-2"
|
|
405
405
|
}, shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName)), cart(), /*#__PURE__*/React__default.createElement("button", {
|
|
406
406
|
type: "button",
|
|
407
407
|
onClick: function onClick() {
|
|
@@ -632,7 +632,7 @@ var NavBar1 = function NavBar1(props) {
|
|
|
632
632
|
src: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.logoUrl,
|
|
633
633
|
alt: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName
|
|
634
634
|
}), /*#__PURE__*/React__default.createElement("h3", {
|
|
635
|
-
className: "text-xl md:text-2xl
|
|
635
|
+
className: "text-xl md:text-2xl text-wrap font-fredoka text-primary"
|
|
636
636
|
}, shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName)), /*#__PURE__*/React__default.createElement("div", {
|
|
637
637
|
className: "hidden lg:flex flex-1 items-center gap-4"
|
|
638
638
|
}, shopConfigStyle === null || shopConfigStyle === void 0 ? void 0 : (_shopConfigStyle$navB = shopConfigStyle.navBarMenus) === null || _shopConfigStyle$navB === void 0 ? void 0 : (_shopConfigStyle$navB2 = _shopConfigStyle$navB.filter(function (e) {
|
|
@@ -692,7 +692,7 @@ var NavBar1 = function NavBar1(props) {
|
|
|
692
692
|
src: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.logoUrl,
|
|
693
693
|
alt: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName
|
|
694
694
|
}), /*#__PURE__*/React__default.createElement("h3", {
|
|
695
|
-
className: "text-xl md:text-2xl font-
|
|
695
|
+
className: "text-xl md:text-2xl font-fredoka text-wrap text-primary"
|
|
696
696
|
}, shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName)), cart(), /*#__PURE__*/React__default.createElement("button", {
|
|
697
697
|
type: "button",
|
|
698
698
|
onClick: function onClick() {
|
|
@@ -12711,7 +12711,9 @@ var Contact1 = function Contact1(props) {
|
|
|
12711
12711
|
shopConfig = props.shopConfig,
|
|
12712
12712
|
data = props.data,
|
|
12713
12713
|
_props$SectionTitle = props.SectionTitle,
|
|
12714
|
-
SectionTitle = _props$SectionTitle === void 0 ? null : _props$SectionTitle
|
|
12714
|
+
SectionTitle = _props$SectionTitle === void 0 ? null : _props$SectionTitle,
|
|
12715
|
+
_props$Link = props.Link,
|
|
12716
|
+
Link = _props$Link === void 0 ? null : _props$Link;
|
|
12715
12717
|
var sectionData = data === null || data === void 0 ? void 0 : data.data;
|
|
12716
12718
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
12717
12719
|
className: "" + SECTION_DEFAULT_CLASS
|
|
@@ -12730,17 +12732,23 @@ var Contact1 = function Contact1(props) {
|
|
|
12730
12732
|
}, /*#__PURE__*/React__default.createElement(SiZalo, {
|
|
12731
12733
|
size: 40,
|
|
12732
12734
|
className: "p-2 text-textButton bg-primary"
|
|
12733
|
-
}), /*#__PURE__*/React__default.createElement("div", null, "Zalo: ", shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopZalo)) : null, shopConfig !== null && shopConfig !== void 0 && shopConfig.shopFacebookPage ? /*#__PURE__*/React__default.createElement(
|
|
12734
|
-
|
|
12735
|
+
}), /*#__PURE__*/React__default.createElement("div", null, "Zalo: ", shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopZalo)) : null, shopConfig !== null && shopConfig !== void 0 && shopConfig.shopFacebookPage ? /*#__PURE__*/React__default.createElement(LinkToPage, {
|
|
12736
|
+
Link: Link,
|
|
12737
|
+
className: "flex items-center gap-2 rounded-lg overflow-hidden bg-white mt-6",
|
|
12738
|
+
href: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopFacebookPage,
|
|
12739
|
+
target: "_blank"
|
|
12735
12740
|
}, /*#__PURE__*/React__default.createElement(FaFacebookF, {
|
|
12736
12741
|
size: 40,
|
|
12737
12742
|
className: "p-2 text-textButton bg-primary"
|
|
12738
|
-
}), /*#__PURE__*/React__default.createElement("div", null,
|
|
12739
|
-
|
|
12743
|
+
}), /*#__PURE__*/React__default.createElement("div", null, "Facebook")) : null, shopConfig !== null && shopConfig !== void 0 && shopConfig.shopMessenger ? /*#__PURE__*/React__default.createElement(LinkToPage, {
|
|
12744
|
+
Link: Link,
|
|
12745
|
+
className: "flex items-center gap-2 rounded-lg overflow-hidden bg-white mt-6",
|
|
12746
|
+
href: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopMessenger,
|
|
12747
|
+
target: "_blank"
|
|
12740
12748
|
}, /*#__PURE__*/React__default.createElement(FaFacebookMessenger, {
|
|
12741
12749
|
size: 40,
|
|
12742
12750
|
className: "p-2 text-textButton bg-primary"
|
|
12743
|
-
}), /*#__PURE__*/React__default.createElement("div", null,
|
|
12751
|
+
}), /*#__PURE__*/React__default.createElement("div", null, "Messenger")) : null), sectionData !== null && sectionData !== void 0 && (_sectionData$ = sectionData[0]) !== null && _sectionData$ !== void 0 && _sectionData$.srcImage ? /*#__PURE__*/React__default.createElement("img", {
|
|
12744
12752
|
src: sectionData === null || sectionData === void 0 ? void 0 : (_sectionData$2 = sectionData[0]) === null || _sectionData$2 === void 0 ? void 0 : _sectionData$2.srcImage,
|
|
12745
12753
|
className: "w-full rounded-xl border-white border-8 shadow-lg"
|
|
12746
12754
|
}) : null));
|
|
@@ -14001,14 +14009,14 @@ var ShopHighlights6 = function ShopHighlights6(props) {
|
|
|
14001
14009
|
className: "flex flex-col items-center text-center md:px-3 lg:px-6 gap-3",
|
|
14002
14010
|
key: "kdf-" + index
|
|
14003
14011
|
}, item !== null && item !== void 0 && item.svgImage ? /*#__PURE__*/React__default.createElement("div", {
|
|
14004
|
-
className: "text-primary w-16 h-16
|
|
14012
|
+
className: "text-primary w-16 h-16",
|
|
14005
14013
|
dangerouslySetInnerHTML: {
|
|
14006
14014
|
__html: configSvg(item === null || item === void 0 ? void 0 : item.svgImage)
|
|
14007
14015
|
}
|
|
14008
14016
|
}) : /*#__PURE__*/React__default.createElement("img", {
|
|
14009
14017
|
src: item === null || item === void 0 ? void 0 : item.srcImage,
|
|
14010
14018
|
alt: "logo",
|
|
14011
|
-
className: "w-16 h-16
|
|
14019
|
+
className: "w-16 h-16"
|
|
14012
14020
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
14013
14021
|
className: " w-44 h-0.5 rounded-full bg-primary"
|
|
14014
14022
|
}), /*#__PURE__*/React__default.createElement("div", {
|