s-platform-landing-section 0.1.7 → 0.1.8

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.
@@ -1,4 +1,5 @@
1
1
  import React__default, { useState, useEffect, useRef, createElement, forwardRef, useImperativeHandle } from 'react';
2
+ import { useSelector } from 'react-redux';
2
3
  import { FaPhone, FaChevronLeft, FaChevronRight, FaArrowLeft, FaArrowRight as FaArrowRight$1, FaFacebookSquare, FaFacebookMessenger } from 'react-icons/fa';
3
4
  import { IoLocationOutline } from 'react-icons/io5';
4
5
  import { PiHandbagSimpleLight } from 'react-icons/pi';
@@ -109,7 +110,9 @@ var Button = function Button(props) {
109
110
  _props$style = props.style,
110
111
  style = _props$style === void 0 ? {} : _props$style,
111
112
  _props$shopConfigStyl = props.shopConfigStyle,
112
- shopConfigStyle = _props$shopConfigStyl === void 0 ? {} : _props$shopConfigStyl;
113
+ shopConfigStyle = _props$shopConfigStyl === void 0 ? {} : _props$shopConfigStyl,
114
+ _props$onClick = props.onClick,
115
+ onClick = _props$onClick === void 0 ? function () {} : _props$onClick;
113
116
  var _className = "text-white font-medium rounded-lg text-sm px-4 py-2.5 " + ((shopConfigStyle === null || shopConfigStyle === void 0 ? void 0 : shopConfigStyle.buttonClass) || "") + " " + className;
114
117
  var _style = _extends({
115
118
  backgroundColor: shopConfigStyle === null || shopConfigStyle === void 0 ? void 0 : (_shopConfigStyle$colo = shopConfigStyle.color) === null || _shopConfigStyle$colo === void 0 ? void 0 : _shopConfigStyle$colo.primary
@@ -117,7 +120,8 @@ var Button = function Button(props) {
117
120
  return /*#__PURE__*/React__default.createElement("button", {
118
121
  type: "button",
119
122
  className: _className,
120
- style: _style
123
+ style: _style,
124
+ onClick: onClick
121
125
  }, label);
122
126
  };
123
127
 
@@ -126,6 +130,9 @@ var Hero10 = function Hero10(props) {
126
130
  var shopConfigStyle = props.shopConfigStyle,
127
131
  data = props.data;
128
132
  var sectionData = data === null || data === void 0 ? void 0 : data.data;
133
+ var count = useSelector(function (state) {
134
+ return state.counter.value;
135
+ });
129
136
  return /*#__PURE__*/React__default.createElement("div", {
130
137
  className: "relative w-full bg-cover bg-center bg-no-repeat ",
131
138
  style: {
@@ -6680,7 +6687,6 @@ var Features1 = function Features1(props) {
6680
6687
  textBody = _shopConfigStyle$colo4 === void 0 ? "#000" : _shopConfigStyle$colo4,
6681
6688
  _shopConfigStyle$colo5 = _shopConfigStyle$colo.background,
6682
6689
  background = _shopConfigStyle$colo5 === void 0 ? "#fff" : _shopConfigStyle$colo5;
6683
- console.log("Features1 data", data);
6684
6690
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
6685
6691
  className: "relative w-full py-12 px-4 xl:px-20",
6686
6692
  style: {