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.js
CHANGED
|
@@ -342,7 +342,7 @@ var NavBar7 = function NavBar7(props) {
|
|
|
342
342
|
src: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.logoUrl,
|
|
343
343
|
alt: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName
|
|
344
344
|
}), /*#__PURE__*/React__default.createElement("h3", {
|
|
345
|
-
className: "text-xl md:text-2xl
|
|
345
|
+
className: "text-xl md:text-2xl text-primary font-fredoka text-wrap line-clamp-2 leading-tight"
|
|
346
346
|
}, shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName)), /*#__PURE__*/React__default.createElement("div", {
|
|
347
347
|
className: "hidden lg:flex flex-1 items-center gap-4"
|
|
348
348
|
}, 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) {
|
|
@@ -355,7 +355,7 @@ var NavBar7 = function NavBar7(props) {
|
|
|
355
355
|
}, (item === null || item === void 0 ? void 0 : item.name) === (route === null || route === void 0 ? void 0 : route.name) ? /*#__PURE__*/React__default.createElement("div", {
|
|
356
356
|
className: "whitespace-nowrap py-1 border-b text-textHeading border-textHeading"
|
|
357
357
|
}, item === null || item === void 0 ? void 0 : item.label) : /*#__PURE__*/React__default.createElement("div", {
|
|
358
|
-
className: "py-1 text-textBody"
|
|
358
|
+
className: "py-1 whitespace-nowrap text-textBody"
|
|
359
359
|
}, item === null || item === void 0 ? void 0 : item.label));
|
|
360
360
|
})), cart(), userInfo ?
|
|
361
361
|
/*#__PURE__*/
|
|
@@ -404,7 +404,7 @@ var NavBar7 = function NavBar7(props) {
|
|
|
404
404
|
src: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.logoUrl,
|
|
405
405
|
alt: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName
|
|
406
406
|
}), /*#__PURE__*/React__default.createElement("h3", {
|
|
407
|
-
className: "text-xl md:text-2xl font-
|
|
407
|
+
className: "text-xl md:text-2xl font-fredoka text-wrap text-primary line-clamp-2"
|
|
408
408
|
}, shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName)), cart(), /*#__PURE__*/React__default.createElement("button", {
|
|
409
409
|
type: "button",
|
|
410
410
|
onClick: function onClick() {
|
|
@@ -635,7 +635,7 @@ var NavBar1 = function NavBar1(props) {
|
|
|
635
635
|
src: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.logoUrl,
|
|
636
636
|
alt: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName
|
|
637
637
|
}), /*#__PURE__*/React__default.createElement("h3", {
|
|
638
|
-
className: "text-xl md:text-2xl
|
|
638
|
+
className: "text-xl md:text-2xl text-wrap font-fredoka text-primary"
|
|
639
639
|
}, shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName)), /*#__PURE__*/React__default.createElement("div", {
|
|
640
640
|
className: "hidden lg:flex flex-1 items-center gap-4"
|
|
641
641
|
}, 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) {
|
|
@@ -695,7 +695,7 @@ var NavBar1 = function NavBar1(props) {
|
|
|
695
695
|
src: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.logoUrl,
|
|
696
696
|
alt: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName
|
|
697
697
|
}), /*#__PURE__*/React__default.createElement("h3", {
|
|
698
|
-
className: "text-xl md:text-2xl font-
|
|
698
|
+
className: "text-xl md:text-2xl font-fredoka text-wrap text-primary"
|
|
699
699
|
}, shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName)), cart(), /*#__PURE__*/React__default.createElement("button", {
|
|
700
700
|
type: "button",
|
|
701
701
|
onClick: function onClick() {
|
|
@@ -12714,7 +12714,9 @@ var Contact1 = function Contact1(props) {
|
|
|
12714
12714
|
shopConfig = props.shopConfig,
|
|
12715
12715
|
data = props.data,
|
|
12716
12716
|
_props$SectionTitle = props.SectionTitle,
|
|
12717
|
-
SectionTitle = _props$SectionTitle === void 0 ? null : _props$SectionTitle
|
|
12717
|
+
SectionTitle = _props$SectionTitle === void 0 ? null : _props$SectionTitle,
|
|
12718
|
+
_props$Link = props.Link,
|
|
12719
|
+
Link = _props$Link === void 0 ? null : _props$Link;
|
|
12718
12720
|
var sectionData = data === null || data === void 0 ? void 0 : data.data;
|
|
12719
12721
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
12720
12722
|
className: "" + SECTION_DEFAULT_CLASS
|
|
@@ -12733,17 +12735,23 @@ var Contact1 = function Contact1(props) {
|
|
|
12733
12735
|
}, /*#__PURE__*/React__default.createElement(si.SiZalo, {
|
|
12734
12736
|
size: 40,
|
|
12735
12737
|
className: "p-2 text-textButton bg-primary"
|
|
12736
|
-
}), /*#__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(
|
|
12737
|
-
|
|
12738
|
+
}), /*#__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, {
|
|
12739
|
+
Link: Link,
|
|
12740
|
+
className: "flex items-center gap-2 rounded-lg overflow-hidden bg-white mt-6",
|
|
12741
|
+
href: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopFacebookPage,
|
|
12742
|
+
target: "_blank"
|
|
12738
12743
|
}, /*#__PURE__*/React__default.createElement(fa.FaFacebookF, {
|
|
12739
12744
|
size: 40,
|
|
12740
12745
|
className: "p-2 text-textButton bg-primary"
|
|
12741
|
-
}), /*#__PURE__*/React__default.createElement("div", null,
|
|
12742
|
-
|
|
12746
|
+
}), /*#__PURE__*/React__default.createElement("div", null, "Facebook")) : null, shopConfig !== null && shopConfig !== void 0 && shopConfig.shopMessenger ? /*#__PURE__*/React__default.createElement(LinkToPage, {
|
|
12747
|
+
Link: Link,
|
|
12748
|
+
className: "flex items-center gap-2 rounded-lg overflow-hidden bg-white mt-6",
|
|
12749
|
+
href: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopMessenger,
|
|
12750
|
+
target: "_blank"
|
|
12743
12751
|
}, /*#__PURE__*/React__default.createElement(fa.FaFacebookMessenger, {
|
|
12744
12752
|
size: 40,
|
|
12745
12753
|
className: "p-2 text-textButton bg-primary"
|
|
12746
|
-
}), /*#__PURE__*/React__default.createElement("div", null,
|
|
12754
|
+
}), /*#__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", {
|
|
12747
12755
|
src: sectionData === null || sectionData === void 0 ? void 0 : (_sectionData$2 = sectionData[0]) === null || _sectionData$2 === void 0 ? void 0 : _sectionData$2.srcImage,
|
|
12748
12756
|
className: "w-full rounded-xl border-white border-8 shadow-lg"
|
|
12749
12757
|
}) : null));
|
|
@@ -14004,14 +14012,14 @@ var ShopHighlights6 = function ShopHighlights6(props) {
|
|
|
14004
14012
|
className: "flex flex-col items-center text-center md:px-3 lg:px-6 gap-3",
|
|
14005
14013
|
key: "kdf-" + index
|
|
14006
14014
|
}, item !== null && item !== void 0 && item.svgImage ? /*#__PURE__*/React__default.createElement("div", {
|
|
14007
|
-
className: "text-primary w-16 h-16
|
|
14015
|
+
className: "text-primary w-16 h-16",
|
|
14008
14016
|
dangerouslySetInnerHTML: {
|
|
14009
14017
|
__html: configSvg(item === null || item === void 0 ? void 0 : item.svgImage)
|
|
14010
14018
|
}
|
|
14011
14019
|
}) : /*#__PURE__*/React__default.createElement("img", {
|
|
14012
14020
|
src: item === null || item === void 0 ? void 0 : item.srcImage,
|
|
14013
14021
|
alt: "logo",
|
|
14014
|
-
className: "w-16 h-16
|
|
14022
|
+
className: "w-16 h-16"
|
|
14015
14023
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
14016
14024
|
className: " w-44 h-0.5 rounded-full bg-primary"
|
|
14017
14025
|
}), /*#__PURE__*/React__default.createElement("div", {
|