s-platform-landing-section 0.1.19 → 0.1.20

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 CHANGED
@@ -348,9 +348,9 @@ var NavBar7 = function NavBar7(props) {
348
348
  }, /*#__PURE__*/React__default.createElement(Button, {
349
349
  label: "Đăng nhập",
350
350
  shopConfigStyle: shopConfigStyle
351
- })), /*#__PURE__*/React__default.createElement(LinkToPage, {
352
- Link: Link,
353
- href: "/account"
351
+ })), /*#__PURE__*/React__default.createElement("a", {
352
+ href: "https://sodofin.vn/account",
353
+ target: "_blank"
354
354
  }, /*#__PURE__*/React__default.createElement(Button, {
355
355
  label: "Đăng ký",
356
356
  shopConfigStyle: shopConfigStyle,
@@ -566,9 +566,9 @@ var NavBar1 = function NavBar1(props) {
566
566
  }, /*#__PURE__*/React__default.createElement(Button, {
567
567
  label: "Đăng nhập",
568
568
  shopConfigStyle: shopConfigStyle
569
- })), /*#__PURE__*/React__default.createElement(LinkToPage, {
570
- Link: Link,
571
- href: "/account"
569
+ })), /*#__PURE__*/React__default.createElement("a", {
570
+ href: "https://sodofin.vn/account",
571
+ target: "_blank"
572
572
  }, /*#__PURE__*/React__default.createElement(Button, {
573
573
  label: "Đăng ký",
574
574
  shopConfigStyle: shopConfigStyle,
@@ -9641,11 +9641,14 @@ var ProductList7 = function ProductList7(props) {
9641
9641
  key: index,
9642
9642
  product: product === null || product === void 0 ? void 0 : product.productInfo
9643
9643
  });
9644
- })), /*#__PURE__*/React__default.createElement(Button, {
9644
+ })), (products === null || products === void 0 ? void 0 : products.length) > 0 ? /*#__PURE__*/React__default.createElement(LinkToPage, {
9645
+ href: "/products",
9646
+ Link: Link
9647
+ }, /*#__PURE__*/React__default.createElement(Button, {
9645
9648
  label: "Xem tất cả",
9646
9649
  shopConfigStyle: shopConfigStyle,
9647
9650
  className: "mt-12"
9648
- })), /*#__PURE__*/React__default.createElement(Dash, {
9651
+ })) : null), /*#__PURE__*/React__default.createElement(Dash, {
9649
9652
  color: secondary
9650
9653
  }));
9651
9654
  };
@@ -12812,7 +12815,7 @@ var ShopHighlights2 = function ShopHighlights2(props) {
12812
12815
  className: "flex flex-col items-center text-center lg:px-3 gap-3",
12813
12816
  key: "kdf-" + index
12814
12817
  }, item !== null && item !== void 0 && item.svgImage ? /*#__PURE__*/React__default.createElement("div", {
12815
- className: "w-12 text-primary w-16 h-16 rounded-full",
12818
+ className: "bg-primary p-3 text-textButton w-16 h-16 rounded-full",
12816
12819
  dangerouslySetInnerHTML: {
12817
12820
  __html: configSvg(item === null || item === void 0 ? void 0 : item.svgImage)
12818
12821
  }
@@ -12841,7 +12844,7 @@ var ShopHighlights5 = function ShopHighlights5(props) {
12841
12844
  className: "flex flex-col items-center text-center md:px-3 lg:px-6 gap-3",
12842
12845
  key: "kdf-" + index
12843
12846
  }, item !== null && item !== void 0 && item.svgImage ? /*#__PURE__*/React__default.createElement("div", {
12844
- className: "w-16 h-16 rounded-full text-primary ",
12847
+ className: "w-16 h-16 rounded-full bg-primary p-3 text-textButton ",
12845
12848
  dangerouslySetInnerHTML: {
12846
12849
  __html: configSvg(item === null || item === void 0 ? void 0 : item.svgImage)
12847
12850
  }
@@ -12869,7 +12872,7 @@ var ShopHighlights6 = function ShopHighlights6(props) {
12869
12872
  className: "flex flex-col items-center text-center md:px-3 lg:px-6 gap-3",
12870
12873
  key: "kdf-" + index
12871
12874
  }, item !== null && item !== void 0 && item.svgImage ? /*#__PURE__*/React__default.createElement("div", {
12872
- className: "text-primary w-16 h-16 rounded-full",
12875
+ className: "text-primary w-16 h-16 p-3 text-textButton rounded-full",
12873
12876
  dangerouslySetInnerHTML: {
12874
12877
  __html: configSvg(item === null || item === void 0 ? void 0 : item.svgImage)
12875
12878
  }
@@ -12921,7 +12924,7 @@ var ShopHighlights7 = function ShopHighlights7(props) {
12921
12924
  }), /*#__PURE__*/React__default.createElement("div", {
12922
12925
  className: "absolute w-24 h-16 rounded-2xl -right-2 -top-2 z-0 bg-secondary"
12923
12926
  }), it !== null && it !== void 0 && it.svgImage ? /*#__PURE__*/React__default.createElement("div", {
12924
- className: "w-12 text-primary h-16 w-16 z-20 m-auto"
12927
+ className: "w-12 text-textButton h-16 w-16 z-20 m-auto"
12925
12928
  }, /*#__PURE__*/React__default.createElement("div", {
12926
12929
  dangerouslySetInnerHTML: {
12927
12930
  __html: configSvg(it === null || it === void 0 ? void 0 : it.svgImage)