diy-template-components 0.2.27 → 0.2.29
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 +20 -12
- package/build/index.es.js.map +1 -1
- package/build/index.js +20 -12
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -1375,6 +1375,9 @@ const useSectionStyles$9 = createUseStyles(theme => ({
|
|
|
1375
1375
|
boxSizing: 'border-box'
|
|
1376
1376
|
}
|
|
1377
1377
|
},
|
|
1378
|
+
sectionNoBranding: {
|
|
1379
|
+
paddingBottom: '0px'
|
|
1380
|
+
},
|
|
1378
1381
|
upperContainer: {
|
|
1379
1382
|
display: 'flex',
|
|
1380
1383
|
justifyContent: 'space-between',
|
|
@@ -1383,6 +1386,9 @@ const useSectionStyles$9 = createUseStyles(theme => ({
|
|
|
1383
1386
|
borderBottom: '1px solid #E1EAF6',
|
|
1384
1387
|
alignItems: 'flex-start'
|
|
1385
1388
|
},
|
|
1389
|
+
upperContainerNoBranding: {
|
|
1390
|
+
borderBottom: '0px'
|
|
1391
|
+
},
|
|
1386
1392
|
upperContainerItem1: {
|
|
1387
1393
|
width: '33%',
|
|
1388
1394
|
display: 'flex',
|
|
@@ -1528,11 +1534,10 @@ function Footer({
|
|
|
1528
1534
|
}) {
|
|
1529
1535
|
const theme = useTheme();
|
|
1530
1536
|
const classes = useSectionStyles$9();
|
|
1531
|
-
console.log(data, 'this is data');
|
|
1532
1537
|
return /*#__PURE__*/React__default["default"].createElement("footer", {
|
|
1533
|
-
className: classes.section
|
|
1538
|
+
className: data.metadata.isCpBranding ? `${classes.section}` : `${classes.section} ${classes.sectionNoBranding}`
|
|
1534
1539
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1535
|
-
className: classes.upperContainer
|
|
1540
|
+
className: data.metadata.isCpBranding ? `${classes.upperContainer}` : `${classes.upperContainer} ${classes.upperContainerNoBranding}`
|
|
1536
1541
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1537
1542
|
className: classes.upperContainerItem1
|
|
1538
1543
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
@@ -3384,7 +3389,8 @@ const useTestimonialStyles = createUseStyles(theme => {
|
|
|
3384
3389
|
color: theme?.palette?.font?.default,
|
|
3385
3390
|
margin: '10px 0 40px 10px',
|
|
3386
3391
|
overflow: 'hidden',
|
|
3387
|
-
|
|
3392
|
+
wordBreak: 'break-word',
|
|
3393
|
+
// whiteSpace: 'nowrap',
|
|
3388
3394
|
textOverflow: 'ellipsis'
|
|
3389
3395
|
},
|
|
3390
3396
|
sliderContainer: {
|
|
@@ -3467,7 +3473,8 @@ const useTestimonialStyles = createUseStyles(theme => {
|
|
|
3467
3473
|
color: theme?.palette?.font?.default,
|
|
3468
3474
|
margin: '4px 0 12px 0',
|
|
3469
3475
|
overflow: 'hidden',
|
|
3470
|
-
whiteSpace: 'nowrap',
|
|
3476
|
+
// whiteSpace: 'nowrap',
|
|
3477
|
+
wordBreak: 'break-word',
|
|
3471
3478
|
textOverflow: 'ellipsis'
|
|
3472
3479
|
},
|
|
3473
3480
|
userImageDummy: {
|
|
@@ -5353,9 +5360,9 @@ function CourseCard({
|
|
|
5353
5360
|
className: classes.courseCardPriceContainer
|
|
5354
5361
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5355
5362
|
className: classes.courseCardPrice
|
|
5356
|
-
}, '₹', card?.finalPrice), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5363
|
+
}, '₹', card?.finalPrice), card?.price !== card?.finalPrice ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5357
5364
|
className: classes.courseCardStrikePrice
|
|
5358
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", null, '₹', card?.price), ' ', discount > 0 && discount + '% OFF')), /*#__PURE__*/React__default["default"].createElement("a", {
|
|
5365
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", null, '₹', card?.price), ' ', discount > 0 && discount + '% OFF') : null), /*#__PURE__*/React__default["default"].createElement("a", {
|
|
5359
5366
|
className: classes.coursesAnchorTag,
|
|
5360
5367
|
href: isEdit ? null : card?.shareableLink
|
|
5361
5368
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -5785,7 +5792,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
5785
5792
|
marginTop: '32px'
|
|
5786
5793
|
},
|
|
5787
5794
|
leftContainer: {
|
|
5788
|
-
width: '
|
|
5795
|
+
width: '65%'
|
|
5789
5796
|
},
|
|
5790
5797
|
subtitle: {
|
|
5791
5798
|
margin: '0 0 40px 0',
|
|
@@ -6090,7 +6097,7 @@ function FormEnquiry({
|
|
|
6090
6097
|
messageValid: 1
|
|
6091
6098
|
});
|
|
6092
6099
|
}
|
|
6093
|
-
})), /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
6100
|
+
})), nodeData?.cta?.metadata?.value !== '' && /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
6094
6101
|
ref: nodeData?.cta?.refSetter,
|
|
6095
6102
|
data: btnDisabled && validData?.messageValid && validData?.emailValid && validData?.nameValid && validData?.phoneValid ? {
|
|
6096
6103
|
value: 'Submitted'
|
|
@@ -6611,10 +6618,11 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
6611
6618
|
},
|
|
6612
6619
|
courseViewContainer: {
|
|
6613
6620
|
width: '645px',
|
|
6621
|
+
height: 'fit-content',
|
|
6614
6622
|
backgroundColor: '#f4f9ff',
|
|
6615
6623
|
display: 'flex',
|
|
6616
6624
|
flexDirection: 'column',
|
|
6617
|
-
justifyContent: '
|
|
6625
|
+
justifyContent: 'start',
|
|
6618
6626
|
paddingTop: '20px',
|
|
6619
6627
|
borderRadius: '10px'
|
|
6620
6628
|
},
|
|
@@ -6662,10 +6670,10 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
6662
6670
|
courseDetailContent: {
|
|
6663
6671
|
marginTop: '16px',
|
|
6664
6672
|
fontSize: '16px',
|
|
6665
|
-
lineHeight: '24px',
|
|
6666
6673
|
wordBreak: 'break-word',
|
|
6667
6674
|
color: theme.palette.font.primary,
|
|
6668
|
-
margin: '10px 0 20px'
|
|
6675
|
+
margin: '10px 0 20px',
|
|
6676
|
+
whiteSpace: 'pre-wrap'
|
|
6669
6677
|
},
|
|
6670
6678
|
courseDetailViewFullDetails: {
|
|
6671
6679
|
cursor: 'pointer',
|