diy-template-components 0.1.13 → 0.1.14

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/build/index.es.js CHANGED
@@ -6805,7 +6805,7 @@ const SingleVideoSlide$1 = props => {
6805
6805
  className: classes.iframeSuperContainer
6806
6806
  }, /*#__PURE__*/React.createElement("div", {
6807
6807
  className: classes.videoDetails
6808
- }, data?.isPaid ? /*#__PURE__*/React.createElement("h3", {
6808
+ }, data?.isPaid && checkIfOfferIsValid() ? /*#__PURE__*/React.createElement("h3", {
6809
6809
  className: classes.bannerContainer
6810
6810
  }, data.offerPriceValidFor <= 0 ? /*#__PURE__*/React.createElement(React.Fragment, null, "Hurry up! Offer for limited period only") : /*#__PURE__*/React.createElement(React.Fragment, null, "Hurry up! Offer is left for ", data.offerPriceValidFor, " users now")) : null, /*#__PURE__*/React.createElement("h3", {
6811
6811
  ref: data?.videoTextHeading?.refSetter,
@@ -6822,8 +6822,9 @@ const SingleVideoSlide$1 = props => {
6822
6822
  }), /*#__PURE__*/React.createElement("div", null, moment(data.startDate).format('dddd, MMMM Do, h:mm:ss'))), /*#__PURE__*/React.createElement("div", {
6823
6823
  className: classes.courseDetailTag
6824
6824
  }, /*#__PURE__*/React.createElement(Icon, {
6825
- name: 'Video'
6826
- }), /*#__PURE__*/React.createElement("div", null, data.webinarLocation))), /*#__PURE__*/React.createElement("p", {
6825
+ width: "20px",
6826
+ name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
6827
+ }), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React.createElement("p", {
6827
6828
  ref: data?.videoTextContent?.refSetter,
6828
6829
  className: classes.courseDetailContent,
6829
6830
  dangerouslySetInnerHTML: {
@@ -6853,7 +6854,7 @@ const SingleVideoSlide$1 = props => {
6853
6854
  videoUrl: data.thumbnail
6854
6855
  })), /*#__PURE__*/React.createElement("div", {
6855
6856
  className: classes.bottomContainer
6856
- }, data.isPaid ? /*#__PURE__*/React.createElement("div", {
6857
+ }, data.isPaid && checkIfOfferIsValid() ? /*#__PURE__*/React.createElement("div", {
6857
6858
  className: classes.priceContainer
6858
6859
  }, /*#__PURE__*/React.createElement("div", {
6859
6860
  className: classes.offerPrice