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.js CHANGED
@@ -10118,7 +10118,7 @@ const useTimerCallPageStyles = createUseStyles(theme => ({
10118
10118
  },
10119
10119
  timerAndCallContainer: {
10120
10120
  padding: '72px',
10121
- background: theme?.colors?.background3,
10121
+ background: '#F4F9FF',
10122
10122
  borderRadius: '8px',
10123
10123
  boxShadow: '0px 4px 10px rgba(0, 0, 0, 0.16)'
10124
10124
  },
@@ -10132,7 +10132,8 @@ const useTimerCallPageStyles = createUseStyles(theme => ({
10132
10132
  title: {
10133
10133
  fontWeight: '700',
10134
10134
  fontSize: '40px',
10135
- textAlign: 'center'
10135
+ textAlign: 'center',
10136
+ lineHeight: '45px'
10136
10137
  },
10137
10138
  offerWrapper: {
10138
10139
  display: 'flex',
@@ -10242,7 +10243,7 @@ const TimerAndCall = ({
10242
10243
  dangerouslySetInnerHTML: {
10243
10244
  __html: nodeData?.title?.metadata?.value
10244
10245
  }
10245
- })) : null, /*#__PURE__*/React__default["default"].createElement(Button, {
10246
+ })) : null, nodeData?.timerButton?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement(Button, {
10246
10247
  style: {
10247
10248
  width: '100%',
10248
10249
  fontWeight: '700',
@@ -10251,18 +10252,18 @@ const TimerAndCall = ({
10251
10252
  data: {
10252
10253
  // link: 'headerData?.loginCtaLink',
10253
10254
  // isLink: 1,
10254
- value: 'Buy Now today for ₹1,000'
10255
+ value: nodeData.timerButton.metadata.value
10255
10256
  // isExternal: 1
10256
10257
  },
10257
10258
 
10258
- onClick: () => {},
10259
+ onClick: extraProps?.courseBuyNow,
10259
10260
  type: 'primary',
10260
10261
  size: 'medium',
10261
10262
  target: null,
10262
10263
  name: "button",
10263
10264
  rel: null
10264
10265
  // styling={isMobile ? { margin: '0 40px' } : {}}
10265
- }))));
10266
+ }) : null)));
10266
10267
  };
10267
10268
 
10268
10269
  var index = /*#__PURE__*/Object.freeze({