diy-template-components 2.0.104 → 2.0.106
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 +2 -45
- package/build/index.es.js.map +1 -1
- package/build/index.js +2 -45
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -1530,7 +1530,6 @@ function DesktopHeader({
|
|
|
1530
1530
|
value: 'BUY NOW'
|
|
1531
1531
|
// isExternal: 1
|
|
1532
1532
|
},
|
|
1533
|
-
|
|
1534
1533
|
onClick: extraProps?.courseBuyNow,
|
|
1535
1534
|
type: 'primary',
|
|
1536
1535
|
size: 'small',
|
|
@@ -1546,7 +1545,6 @@ function DesktopHeader({
|
|
|
1546
1545
|
value: 'BUY NOW'
|
|
1547
1546
|
// isExternal: 1
|
|
1548
1547
|
},
|
|
1549
|
-
|
|
1550
1548
|
onClick: extraProps?.courseBuyNow,
|
|
1551
1549
|
type: 'primary',
|
|
1552
1550
|
size: 'medium',
|
|
@@ -1556,7 +1554,6 @@ function DesktopHeader({
|
|
|
1556
1554
|
// styling={isMobile ? { margin: '0 40px' } : {}}
|
|
1557
1555
|
});
|
|
1558
1556
|
};
|
|
1559
|
-
|
|
1560
1557
|
return /*#__PURE__*/React.createElement("nav", {
|
|
1561
1558
|
className: classes.section
|
|
1562
1559
|
}, !(header?.websiteLogo === DEFAULT_HEADER_IMAGE_LP && isCustomWebsite) ? /*#__PURE__*/React.createElement("div", {
|
|
@@ -1765,7 +1762,6 @@ function MobileHeader({
|
|
|
1765
1762
|
value: 'BUY NOW'
|
|
1766
1763
|
// isExternal: 1
|
|
1767
1764
|
},
|
|
1768
|
-
|
|
1769
1765
|
onClick: extraProps?.courseBuyNow,
|
|
1770
1766
|
type: 'primary',
|
|
1771
1767
|
size: 'medium',
|
|
@@ -1775,7 +1771,6 @@ function MobileHeader({
|
|
|
1775
1771
|
// styling={isMobile ? { margin: '0 40px' } : {}}
|
|
1776
1772
|
}))));
|
|
1777
1773
|
};
|
|
1778
|
-
|
|
1779
1774
|
if (isTutorWebsite) {
|
|
1780
1775
|
if (isAndroidDelisted && apkURL) {
|
|
1781
1776
|
downloadLink = /*#__PURE__*/React.createElement(Button, {
|
|
@@ -1968,7 +1963,6 @@ const useSectionStyles$9 = createUseStyles(theme => ({
|
|
|
1968
1963
|
|
|
1969
1964
|
// '& img': { maxHeight: '55px' }
|
|
1970
1965
|
},
|
|
1971
|
-
|
|
1972
1966
|
upperContainerItem1Img: {
|
|
1973
1967
|
maxHeight: '55px',
|
|
1974
1968
|
paddingBottom: '84px',
|
|
@@ -2415,7 +2409,6 @@ const mobilePadding = {
|
|
|
2415
2409
|
// 24px
|
|
2416
2410
|
medium: baseFactor * 6 // 48px
|
|
2417
2411
|
};
|
|
2418
|
-
|
|
2419
2412
|
const padding = {
|
|
2420
2413
|
minute: baseFactor * 2,
|
|
2421
2414
|
// 16px
|
|
@@ -2885,7 +2878,6 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2885
2878
|
// }
|
|
2886
2879
|
// }
|
|
2887
2880
|
},
|
|
2888
|
-
|
|
2889
2881
|
sectionContainer: {
|
|
2890
2882
|
margin: '0 auto',
|
|
2891
2883
|
maxWidth: ({
|
|
@@ -3467,7 +3459,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3467
3459
|
// padding: '0'
|
|
3468
3460
|
}
|
|
3469
3461
|
},
|
|
3470
|
-
|
|
3471
3462
|
'&:nth-child(2n+1)': {
|
|
3472
3463
|
marginRight: '0',
|
|
3473
3464
|
'& $contentText': {
|
|
@@ -3477,7 +3468,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3477
3468
|
}
|
|
3478
3469
|
}
|
|
3479
3470
|
},
|
|
3480
|
-
|
|
3481
3471
|
contentNumber: {
|
|
3482
3472
|
width: '100%',
|
|
3483
3473
|
padding: '24px',
|
|
@@ -3884,7 +3874,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3884
3874
|
// }
|
|
3885
3875
|
// }
|
|
3886
3876
|
},
|
|
3887
|
-
|
|
3888
3877
|
sectionContainer: {
|
|
3889
3878
|
margin: '0 auto',
|
|
3890
3879
|
maxWidth: ({
|
|
@@ -3898,7 +3887,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3898
3887
|
|
|
3899
3888
|
// padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
|
|
3900
3889
|
},
|
|
3901
|
-
|
|
3902
3890
|
imageContainerDiv: {
|
|
3903
3891
|
width: '50%',
|
|
3904
3892
|
position: 'relative'
|
|
@@ -3970,7 +3958,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3970
3958
|
width: '100%'
|
|
3971
3959
|
// padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
|
|
3972
3960
|
},
|
|
3973
|
-
|
|
3974
3961
|
imageContainer: {
|
|
3975
3962
|
height: 'unset !important',
|
|
3976
3963
|
'& img': {
|
|
@@ -4989,7 +4976,6 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4989
4976
|
fontFamily: theme?.typography?.fontFamily
|
|
4990
4977
|
// boxSizing: 'border-box'
|
|
4991
4978
|
},
|
|
4992
|
-
|
|
4993
4979
|
'& h2,& h3,& p': {
|
|
4994
4980
|
marginTop: '0'
|
|
4995
4981
|
}
|
|
@@ -5014,7 +5000,6 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
5014
5000
|
wordBreak: 'break-word'
|
|
5015
5001
|
// marginBottom: '8px'
|
|
5016
5002
|
},
|
|
5017
|
-
|
|
5018
5003
|
videoTestimonialTitle: {
|
|
5019
5004
|
fontSize: theme.typography.fontSize.h2,
|
|
5020
5005
|
// lineHeight: '71px',
|
|
@@ -5455,7 +5440,6 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5455
5440
|
// }
|
|
5456
5441
|
// }
|
|
5457
5442
|
},
|
|
5458
|
-
|
|
5459
5443
|
sectionContainer: {
|
|
5460
5444
|
margin: '0 auto',
|
|
5461
5445
|
maxWidth: ({
|
|
@@ -5813,7 +5797,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5813
5797
|
// }
|
|
5814
5798
|
// }
|
|
5815
5799
|
},
|
|
5816
|
-
|
|
5817
5800
|
sectionContainer: {
|
|
5818
5801
|
margin: '0 auto',
|
|
5819
5802
|
maxWidth: ({
|
|
@@ -5844,7 +5827,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5844
5827
|
position: 'relative',
|
|
5845
5828
|
paddingBottom: '59.83%' // keeping aspect ratio 585x350
|
|
5846
5829
|
},
|
|
5847
|
-
|
|
5848
5830
|
contentRow: {
|
|
5849
5831
|
display: 'grid',
|
|
5850
5832
|
gridTemplateColumns: ({
|
|
@@ -6391,7 +6373,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6391
6373
|
// }
|
|
6392
6374
|
// }
|
|
6393
6375
|
},
|
|
6394
|
-
|
|
6395
6376
|
sectionContainer: {
|
|
6396
6377
|
margin: '0 auto',
|
|
6397
6378
|
maxWidth: ({
|
|
@@ -6424,7 +6405,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6424
6405
|
// textAlign: 'center',
|
|
6425
6406
|
// wordBreak: 'break-word'
|
|
6426
6407
|
},
|
|
6427
|
-
|
|
6428
6408
|
slickContainer: {
|
|
6429
6409
|
marginRight: '-20px'
|
|
6430
6410
|
},
|
|
@@ -6472,7 +6452,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6472
6452
|
justifyContent: 'space-between'
|
|
6473
6453
|
//alignItems: 'center',
|
|
6474
6454
|
},
|
|
6475
|
-
|
|
6476
6455
|
courseCardTags: {
|
|
6477
6456
|
display: 'flex',
|
|
6478
6457
|
justifyContent: 'flex-start',
|
|
@@ -6503,7 +6482,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6503
6482
|
// whiteSpace: 'nowrap',
|
|
6504
6483
|
// textOverflow: 'ellipsis'
|
|
6505
6484
|
},
|
|
6506
|
-
|
|
6507
6485
|
courseCardDiscount: {
|
|
6508
6486
|
display: 'flex',
|
|
6509
6487
|
justifyContent: 'flex-start',
|
|
@@ -6610,7 +6588,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6610
6588
|
// whiteSpace: 'nowrap',
|
|
6611
6589
|
// textOverflow: 'ellipsis'
|
|
6612
6590
|
},
|
|
6613
|
-
|
|
6614
6591
|
singleCard: {
|
|
6615
6592
|
margin: '6px 2px'
|
|
6616
6593
|
// width: 'calc(100% - 12px)'
|
|
@@ -6811,8 +6788,9 @@ function courses({
|
|
|
6811
6788
|
};
|
|
6812
6789
|
useEffect(() => {
|
|
6813
6790
|
const placeholders = nodeData?.cardCarousel?.metadata?.placeholders;
|
|
6791
|
+
console.log('placeholders', placeholders, isMasterTemplate);
|
|
6814
6792
|
// For Master template Preview: Show placeholder images. If placeholder doesn't come from backend, show shimmer.
|
|
6815
|
-
if (isMasterTemplate) {
|
|
6793
|
+
if (isMasterTemplate && false) {
|
|
6816
6794
|
if (placeholders && placeholders.length) {
|
|
6817
6795
|
setShowShimmer(false);
|
|
6818
6796
|
setFallbackImages(placeholders);
|
|
@@ -6958,7 +6936,6 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6958
6936
|
// gridTemplateColumns: ({ slidesToShow } = {}) =>
|
|
6959
6937
|
// `repeat(${slidesToShow},minmax(0, 1fr))`
|
|
6960
6938
|
},
|
|
6961
|
-
|
|
6962
6939
|
singleSlideContainer: {
|
|
6963
6940
|
backgroundColor: theme?.palette?.background?.default,
|
|
6964
6941
|
margin: '20px 0',
|
|
@@ -6984,7 +6961,6 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6984
6961
|
padding: '24px'
|
|
6985
6962
|
// overflowWrap: 'break-word'
|
|
6986
6963
|
},
|
|
6987
|
-
|
|
6988
6964
|
teamDetailsHeading: {
|
|
6989
6965
|
fontSize: theme.typography.fontSize.h6,
|
|
6990
6966
|
fontWeight: theme.typography.fontWeight.bold,
|
|
@@ -7247,7 +7223,6 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
7247
7223
|
// }
|
|
7248
7224
|
// }
|
|
7249
7225
|
},
|
|
7250
|
-
|
|
7251
7226
|
formContainer: {
|
|
7252
7227
|
margin: '0 auto',
|
|
7253
7228
|
maxWidth: ({
|
|
@@ -7284,14 +7259,12 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
7284
7259
|
display: 'flex'
|
|
7285
7260
|
// alignItems: 'flex-start',
|
|
7286
7261
|
},
|
|
7287
|
-
|
|
7288
7262
|
leftContainerForm: {
|
|
7289
7263
|
width: '65%',
|
|
7290
7264
|
display: 'flex',
|
|
7291
7265
|
flexDirection: 'column'
|
|
7292
7266
|
// justifyContent: 'space-between'
|
|
7293
7267
|
},
|
|
7294
|
-
|
|
7295
7268
|
subtitle: {
|
|
7296
7269
|
// margin: '0 0 40px 0',
|
|
7297
7270
|
fontSize: theme.typography.fontSize.h5,
|
|
@@ -7359,7 +7332,6 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
7359
7332
|
width: '100%'
|
|
7360
7333
|
// padding: '0 16ox'
|
|
7361
7334
|
},
|
|
7362
|
-
|
|
7363
7335
|
rightContainer: {
|
|
7364
7336
|
width: '100%',
|
|
7365
7337
|
padding: '0'
|
|
@@ -7672,7 +7644,6 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7672
7644
|
// }
|
|
7673
7645
|
// }
|
|
7674
7646
|
},
|
|
7675
|
-
|
|
7676
7647
|
contactContainer: {
|
|
7677
7648
|
width: '100%',
|
|
7678
7649
|
margin: '0 auto',
|
|
@@ -7711,7 +7682,6 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7711
7682
|
// justifyContent: 'space-between',
|
|
7712
7683
|
// flex: 1
|
|
7713
7684
|
},
|
|
7714
|
-
|
|
7715
7685
|
subtitle: {
|
|
7716
7686
|
// margin: '0 0 auto 0',
|
|
7717
7687
|
fontSize: theme.typography.fontSize.h6,
|
|
@@ -8156,7 +8126,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
8156
8126
|
marginTop: '5%'
|
|
8157
8127
|
// padding: '0px 5% 0px 5%'
|
|
8158
8128
|
},
|
|
8159
|
-
|
|
8160
8129
|
iframe: {
|
|
8161
8130
|
position: 'absolute',
|
|
8162
8131
|
width: '100%',
|
|
@@ -8504,7 +8473,6 @@ const SingleVideoSlide$1 = props => {
|
|
|
8504
8473
|
value: data.isPaid ? buyNowText : registerNowText
|
|
8505
8474
|
// isExternal: 1
|
|
8506
8475
|
},
|
|
8507
|
-
|
|
8508
8476
|
onClick: webinarCtaClick,
|
|
8509
8477
|
type: 'primary',
|
|
8510
8478
|
size: 'medium',
|
|
@@ -8573,7 +8541,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8573
8541
|
// }
|
|
8574
8542
|
// }
|
|
8575
8543
|
},
|
|
8576
|
-
|
|
8577
8544
|
sectionContainer: {
|
|
8578
8545
|
margin: '0 auto',
|
|
8579
8546
|
maxWidth: ({
|
|
@@ -8691,7 +8658,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8691
8658
|
// paddingBottom: '10px',
|
|
8692
8659
|
// paddingTop: '10px'
|
|
8693
8660
|
},
|
|
8694
|
-
|
|
8695
8661
|
bannerContainer: {
|
|
8696
8662
|
width: '100%',
|
|
8697
8663
|
background: theme?.colors?.bannerColor,
|
|
@@ -8706,7 +8672,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8706
8672
|
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
8707
8673
|
// marginBottom: '16px'
|
|
8708
8674
|
},
|
|
8709
|
-
|
|
8710
8675
|
bannerContainerText: {
|
|
8711
8676
|
transform: 'rotate(180deg)'
|
|
8712
8677
|
},
|
|
@@ -8819,7 +8784,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8819
8784
|
height: 'max-content'
|
|
8820
8785
|
// paddingRight: '10px'
|
|
8821
8786
|
},
|
|
8822
|
-
|
|
8823
8787
|
videoDetails: {
|
|
8824
8788
|
width: '100%'
|
|
8825
8789
|
},
|
|
@@ -9078,7 +9042,6 @@ const SingleVideoSlide = props => {
|
|
|
9078
9042
|
value: buyNowText
|
|
9079
9043
|
// isExternal: 1
|
|
9080
9044
|
},
|
|
9081
|
-
|
|
9082
9045
|
onClick: courseBuyNow,
|
|
9083
9046
|
type: 'primary',
|
|
9084
9047
|
size: 'medium',
|
|
@@ -9183,7 +9146,6 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
9183
9146
|
// border: '1px solid #D8E0F0',
|
|
9184
9147
|
// borderRadius: '16px'
|
|
9185
9148
|
},
|
|
9186
|
-
|
|
9187
9149
|
inputFieldLabel: {
|
|
9188
9150
|
color: theme?.colors?.lightblack,
|
|
9189
9151
|
fontSize: theme.typography.fontSize.body,
|
|
@@ -9496,7 +9458,6 @@ const FormPage = ({
|
|
|
9496
9458
|
value: countryCode === 'KR' ? '제출하기' : 'SUBMIT'
|
|
9497
9459
|
// isExternal: 1
|
|
9498
9460
|
},
|
|
9499
|
-
|
|
9500
9461
|
type: 'primary',
|
|
9501
9462
|
size: 'medium',
|
|
9502
9463
|
target: null,
|
|
@@ -9679,7 +9640,6 @@ const useEmailStyles = createUseStyles(theme => ({
|
|
|
9679
9640
|
height: '48px'
|
|
9680
9641
|
/* margin: 18px 0px; */
|
|
9681
9642
|
},
|
|
9682
|
-
|
|
9683
9643
|
'p-young-guru-title': {
|
|
9684
9644
|
fontFamily: theme?.typography?.fontFamily,
|
|
9685
9645
|
fontStyle: 'normal',
|
|
@@ -9707,7 +9667,6 @@ const useEmailStyles = createUseStyles(theme => ({
|
|
|
9707
9667
|
textAlign: 'center'
|
|
9708
9668
|
/* padding:35px 0 40px */
|
|
9709
9669
|
},
|
|
9710
|
-
|
|
9711
9670
|
'two-columns .column': {
|
|
9712
9671
|
width: '100%',
|
|
9713
9672
|
maxWidth: '275px',
|
|
@@ -10177,7 +10136,6 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
|
|
|
10177
10136
|
// borderRadius: '16px',
|
|
10178
10137
|
// border: '1px solid var(--stroke, #D8E0F0)',
|
|
10179
10138
|
},
|
|
10180
|
-
|
|
10181
10139
|
image: {
|
|
10182
10140
|
width: '100%',
|
|
10183
10141
|
height: '100%',
|
|
@@ -10656,7 +10614,6 @@ const TimerAndCall = ({
|
|
|
10656
10614
|
value: nodeData.timerButton.metadata.value
|
|
10657
10615
|
// isExternal: 1
|
|
10658
10616
|
},
|
|
10659
|
-
|
|
10660
10617
|
onClick: extraProps?.courseBuyNow,
|
|
10661
10618
|
type: 'primary',
|
|
10662
10619
|
size: 'medium',
|