diy-template-components 0.2.27 → 0.2.28
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 +18 -11
- package/build/index.es.js.map +1 -1
- package/build/index.js +18 -11
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -1360,6 +1360,9 @@ const useSectionStyles$9 = createUseStyles(theme => ({
|
|
|
1360
1360
|
boxSizing: 'border-box'
|
|
1361
1361
|
}
|
|
1362
1362
|
},
|
|
1363
|
+
sectionNoBranding: {
|
|
1364
|
+
paddingBottom: '0px'
|
|
1365
|
+
},
|
|
1363
1366
|
upperContainer: {
|
|
1364
1367
|
display: 'flex',
|
|
1365
1368
|
justifyContent: 'space-between',
|
|
@@ -1368,6 +1371,9 @@ const useSectionStyles$9 = createUseStyles(theme => ({
|
|
|
1368
1371
|
borderBottom: '1px solid #E1EAF6',
|
|
1369
1372
|
alignItems: 'flex-start'
|
|
1370
1373
|
},
|
|
1374
|
+
upperContainerNoBranding: {
|
|
1375
|
+
borderBottom: '0px'
|
|
1376
|
+
},
|
|
1371
1377
|
upperContainerItem1: {
|
|
1372
1378
|
width: '33%',
|
|
1373
1379
|
display: 'flex',
|
|
@@ -1513,11 +1519,10 @@ function Footer({
|
|
|
1513
1519
|
}) {
|
|
1514
1520
|
const theme = useTheme();
|
|
1515
1521
|
const classes = useSectionStyles$9();
|
|
1516
|
-
console.log(data, 'this is data');
|
|
1517
1522
|
return /*#__PURE__*/React.createElement("footer", {
|
|
1518
|
-
className: classes.section
|
|
1523
|
+
className: data.metadata.isCpBranding ? `${classes.section}` : `${classes.section} ${classes.sectionNoBranding}`
|
|
1519
1524
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1520
|
-
className: classes.upperContainer
|
|
1525
|
+
className: data.metadata.isCpBranding ? `${classes.upperContainer}` : `${classes.upperContainer} ${classes.upperContainerNoBranding}`
|
|
1521
1526
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1522
1527
|
className: classes.upperContainerItem1
|
|
1523
1528
|
}, /*#__PURE__*/React.createElement("img", {
|
|
@@ -3369,7 +3374,8 @@ const useTestimonialStyles = createUseStyles(theme => {
|
|
|
3369
3374
|
color: theme?.palette?.font?.default,
|
|
3370
3375
|
margin: '10px 0 40px 10px',
|
|
3371
3376
|
overflow: 'hidden',
|
|
3372
|
-
|
|
3377
|
+
wordBreak: 'break-word',
|
|
3378
|
+
// whiteSpace: 'nowrap',
|
|
3373
3379
|
textOverflow: 'ellipsis'
|
|
3374
3380
|
},
|
|
3375
3381
|
sliderContainer: {
|
|
@@ -3452,7 +3458,8 @@ const useTestimonialStyles = createUseStyles(theme => {
|
|
|
3452
3458
|
color: theme?.palette?.font?.default,
|
|
3453
3459
|
margin: '4px 0 12px 0',
|
|
3454
3460
|
overflow: 'hidden',
|
|
3455
|
-
whiteSpace: 'nowrap',
|
|
3461
|
+
// whiteSpace: 'nowrap',
|
|
3462
|
+
wordBreak: 'break-word',
|
|
3456
3463
|
textOverflow: 'ellipsis'
|
|
3457
3464
|
},
|
|
3458
3465
|
userImageDummy: {
|
|
@@ -5338,9 +5345,9 @@ function CourseCard({
|
|
|
5338
5345
|
className: classes.courseCardPriceContainer
|
|
5339
5346
|
}, /*#__PURE__*/React.createElement("div", {
|
|
5340
5347
|
className: classes.courseCardPrice
|
|
5341
|
-
}, '₹', card?.finalPrice), /*#__PURE__*/React.createElement("div", {
|
|
5348
|
+
}, '₹', card?.finalPrice), card?.price !== card?.finalPrice ? /*#__PURE__*/React.createElement("div", {
|
|
5342
5349
|
className: classes.courseCardStrikePrice
|
|
5343
|
-
}, /*#__PURE__*/React.createElement("span", null, '₹', card?.price), ' ', discount > 0 && discount + '% OFF')), /*#__PURE__*/React.createElement("a", {
|
|
5350
|
+
}, /*#__PURE__*/React.createElement("span", null, '₹', card?.price), ' ', discount > 0 && discount + '% OFF') : null), /*#__PURE__*/React.createElement("a", {
|
|
5344
5351
|
className: classes.coursesAnchorTag,
|
|
5345
5352
|
href: isEdit ? null : card?.shareableLink
|
|
5346
5353
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -5770,7 +5777,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
5770
5777
|
marginTop: '32px'
|
|
5771
5778
|
},
|
|
5772
5779
|
leftContainer: {
|
|
5773
|
-
width: '
|
|
5780
|
+
width: '65%'
|
|
5774
5781
|
},
|
|
5775
5782
|
subtitle: {
|
|
5776
5783
|
margin: '0 0 40px 0',
|
|
@@ -6075,7 +6082,7 @@ function FormEnquiry({
|
|
|
6075
6082
|
messageValid: 1
|
|
6076
6083
|
});
|
|
6077
6084
|
}
|
|
6078
|
-
})), /*#__PURE__*/React.createElement(Button, {
|
|
6085
|
+
})), nodeData?.cta?.metadata?.value !== '' && /*#__PURE__*/React.createElement(Button, {
|
|
6079
6086
|
ref: nodeData?.cta?.refSetter,
|
|
6080
6087
|
data: btnDisabled && validData?.messageValid && validData?.emailValid && validData?.nameValid && validData?.phoneValid ? {
|
|
6081
6088
|
value: 'Submitted'
|
|
@@ -6647,10 +6654,10 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
6647
6654
|
courseDetailContent: {
|
|
6648
6655
|
marginTop: '16px',
|
|
6649
6656
|
fontSize: '16px',
|
|
6650
|
-
lineHeight: '24px',
|
|
6651
6657
|
wordBreak: 'break-word',
|
|
6652
6658
|
color: theme.palette.font.primary,
|
|
6653
|
-
margin: '10px 0 20px'
|
|
6659
|
+
margin: '10px 0 20px',
|
|
6660
|
+
whiteSpace: 'pre-wrap'
|
|
6654
6661
|
},
|
|
6655
6662
|
courseDetailViewFullDetails: {
|
|
6656
6663
|
cursor: 'pointer',
|