diy-template-components 2.0.66 → 2.0.67

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
@@ -10102,7 +10102,7 @@ const useTimerCallPageStyles = createUseStyles(theme => ({
10102
10102
  },
10103
10103
  timerAndCallContainer: {
10104
10104
  padding: '72px',
10105
- background: theme?.colors?.background3,
10105
+ background: '#F4F9FF',
10106
10106
  borderRadius: '8px',
10107
10107
  boxShadow: '0px 4px 10px rgba(0, 0, 0, 0.16)'
10108
10108
  },
@@ -10116,7 +10116,8 @@ const useTimerCallPageStyles = createUseStyles(theme => ({
10116
10116
  title: {
10117
10117
  fontWeight: '700',
10118
10118
  fontSize: '40px',
10119
- textAlign: 'center'
10119
+ textAlign: 'center',
10120
+ lineHeight: '45px'
10120
10121
  },
10121
10122
  offerWrapper: {
10122
10123
  display: 'flex',
@@ -10226,7 +10227,7 @@ const TimerAndCall = ({
10226
10227
  dangerouslySetInnerHTML: {
10227
10228
  __html: nodeData?.title?.metadata?.value
10228
10229
  }
10229
- })) : null, /*#__PURE__*/React.createElement(Button, {
10230
+ })) : null, nodeData?.timerButton?.metadata?.value ? /*#__PURE__*/React.createElement(Button, {
10230
10231
  style: {
10231
10232
  width: '100%',
10232
10233
  fontWeight: '700',
@@ -10235,18 +10236,18 @@ const TimerAndCall = ({
10235
10236
  data: {
10236
10237
  // link: 'headerData?.loginCtaLink',
10237
10238
  // isLink: 1,
10238
- value: 'Buy Now today for ₹1,000'
10239
+ value: nodeData.timerButton.metadata.value
10239
10240
  // isExternal: 1
10240
10241
  },
10241
10242
 
10242
- onClick: () => {},
10243
+ onClick: extraProps?.courseBuyNow,
10243
10244
  type: 'primary',
10244
10245
  size: 'medium',
10245
10246
  target: null,
10246
10247
  name: "button",
10247
10248
  rel: null
10248
10249
  // styling={isMobile ? { margin: '0 40px' } : {}}
10249
- }))));
10250
+ }) : null)));
10250
10251
  };
10251
10252
 
10252
10253
  var index = /*#__PURE__*/Object.freeze({