diy-template-components 2.0.104 → 2.0.105
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 +1 -45
- package/build/index.es.js.map +1 -1
- package/build/index.js +1 -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)'
|
|
@@ -6812,7 +6789,7 @@ function courses({
|
|
|
6812
6789
|
useEffect(() => {
|
|
6813
6790
|
const placeholders = nodeData?.cardCarousel?.metadata?.placeholders;
|
|
6814
6791
|
// For Master template Preview: Show placeholder images. If placeholder doesn't come from backend, show shimmer.
|
|
6815
|
-
if (isMasterTemplate) {
|
|
6792
|
+
if (isMasterTemplate && false) {
|
|
6816
6793
|
if (placeholders && placeholders.length) {
|
|
6817
6794
|
setShowShimmer(false);
|
|
6818
6795
|
setFallbackImages(placeholders);
|
|
@@ -6958,7 +6935,6 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6958
6935
|
// gridTemplateColumns: ({ slidesToShow } = {}) =>
|
|
6959
6936
|
// `repeat(${slidesToShow},minmax(0, 1fr))`
|
|
6960
6937
|
},
|
|
6961
|
-
|
|
6962
6938
|
singleSlideContainer: {
|
|
6963
6939
|
backgroundColor: theme?.palette?.background?.default,
|
|
6964
6940
|
margin: '20px 0',
|
|
@@ -6984,7 +6960,6 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6984
6960
|
padding: '24px'
|
|
6985
6961
|
// overflowWrap: 'break-word'
|
|
6986
6962
|
},
|
|
6987
|
-
|
|
6988
6963
|
teamDetailsHeading: {
|
|
6989
6964
|
fontSize: theme.typography.fontSize.h6,
|
|
6990
6965
|
fontWeight: theme.typography.fontWeight.bold,
|
|
@@ -7247,7 +7222,6 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
7247
7222
|
// }
|
|
7248
7223
|
// }
|
|
7249
7224
|
},
|
|
7250
|
-
|
|
7251
7225
|
formContainer: {
|
|
7252
7226
|
margin: '0 auto',
|
|
7253
7227
|
maxWidth: ({
|
|
@@ -7284,14 +7258,12 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
7284
7258
|
display: 'flex'
|
|
7285
7259
|
// alignItems: 'flex-start',
|
|
7286
7260
|
},
|
|
7287
|
-
|
|
7288
7261
|
leftContainerForm: {
|
|
7289
7262
|
width: '65%',
|
|
7290
7263
|
display: 'flex',
|
|
7291
7264
|
flexDirection: 'column'
|
|
7292
7265
|
// justifyContent: 'space-between'
|
|
7293
7266
|
},
|
|
7294
|
-
|
|
7295
7267
|
subtitle: {
|
|
7296
7268
|
// margin: '0 0 40px 0',
|
|
7297
7269
|
fontSize: theme.typography.fontSize.h5,
|
|
@@ -7359,7 +7331,6 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
7359
7331
|
width: '100%'
|
|
7360
7332
|
// padding: '0 16ox'
|
|
7361
7333
|
},
|
|
7362
|
-
|
|
7363
7334
|
rightContainer: {
|
|
7364
7335
|
width: '100%',
|
|
7365
7336
|
padding: '0'
|
|
@@ -7672,7 +7643,6 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7672
7643
|
// }
|
|
7673
7644
|
// }
|
|
7674
7645
|
},
|
|
7675
|
-
|
|
7676
7646
|
contactContainer: {
|
|
7677
7647
|
width: '100%',
|
|
7678
7648
|
margin: '0 auto',
|
|
@@ -7711,7 +7681,6 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7711
7681
|
// justifyContent: 'space-between',
|
|
7712
7682
|
// flex: 1
|
|
7713
7683
|
},
|
|
7714
|
-
|
|
7715
7684
|
subtitle: {
|
|
7716
7685
|
// margin: '0 0 auto 0',
|
|
7717
7686
|
fontSize: theme.typography.fontSize.h6,
|
|
@@ -8156,7 +8125,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
8156
8125
|
marginTop: '5%'
|
|
8157
8126
|
// padding: '0px 5% 0px 5%'
|
|
8158
8127
|
},
|
|
8159
|
-
|
|
8160
8128
|
iframe: {
|
|
8161
8129
|
position: 'absolute',
|
|
8162
8130
|
width: '100%',
|
|
@@ -8504,7 +8472,6 @@ const SingleVideoSlide$1 = props => {
|
|
|
8504
8472
|
value: data.isPaid ? buyNowText : registerNowText
|
|
8505
8473
|
// isExternal: 1
|
|
8506
8474
|
},
|
|
8507
|
-
|
|
8508
8475
|
onClick: webinarCtaClick,
|
|
8509
8476
|
type: 'primary',
|
|
8510
8477
|
size: 'medium',
|
|
@@ -8573,7 +8540,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8573
8540
|
// }
|
|
8574
8541
|
// }
|
|
8575
8542
|
},
|
|
8576
|
-
|
|
8577
8543
|
sectionContainer: {
|
|
8578
8544
|
margin: '0 auto',
|
|
8579
8545
|
maxWidth: ({
|
|
@@ -8691,7 +8657,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8691
8657
|
// paddingBottom: '10px',
|
|
8692
8658
|
// paddingTop: '10px'
|
|
8693
8659
|
},
|
|
8694
|
-
|
|
8695
8660
|
bannerContainer: {
|
|
8696
8661
|
width: '100%',
|
|
8697
8662
|
background: theme?.colors?.bannerColor,
|
|
@@ -8706,7 +8671,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8706
8671
|
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
8707
8672
|
// marginBottom: '16px'
|
|
8708
8673
|
},
|
|
8709
|
-
|
|
8710
8674
|
bannerContainerText: {
|
|
8711
8675
|
transform: 'rotate(180deg)'
|
|
8712
8676
|
},
|
|
@@ -8819,7 +8783,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8819
8783
|
height: 'max-content'
|
|
8820
8784
|
// paddingRight: '10px'
|
|
8821
8785
|
},
|
|
8822
|
-
|
|
8823
8786
|
videoDetails: {
|
|
8824
8787
|
width: '100%'
|
|
8825
8788
|
},
|
|
@@ -9078,7 +9041,6 @@ const SingleVideoSlide = props => {
|
|
|
9078
9041
|
value: buyNowText
|
|
9079
9042
|
// isExternal: 1
|
|
9080
9043
|
},
|
|
9081
|
-
|
|
9082
9044
|
onClick: courseBuyNow,
|
|
9083
9045
|
type: 'primary',
|
|
9084
9046
|
size: 'medium',
|
|
@@ -9183,7 +9145,6 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
9183
9145
|
// border: '1px solid #D8E0F0',
|
|
9184
9146
|
// borderRadius: '16px'
|
|
9185
9147
|
},
|
|
9186
|
-
|
|
9187
9148
|
inputFieldLabel: {
|
|
9188
9149
|
color: theme?.colors?.lightblack,
|
|
9189
9150
|
fontSize: theme.typography.fontSize.body,
|
|
@@ -9496,7 +9457,6 @@ const FormPage = ({
|
|
|
9496
9457
|
value: countryCode === 'KR' ? '제출하기' : 'SUBMIT'
|
|
9497
9458
|
// isExternal: 1
|
|
9498
9459
|
},
|
|
9499
|
-
|
|
9500
9460
|
type: 'primary',
|
|
9501
9461
|
size: 'medium',
|
|
9502
9462
|
target: null,
|
|
@@ -9679,7 +9639,6 @@ const useEmailStyles = createUseStyles(theme => ({
|
|
|
9679
9639
|
height: '48px'
|
|
9680
9640
|
/* margin: 18px 0px; */
|
|
9681
9641
|
},
|
|
9682
|
-
|
|
9683
9642
|
'p-young-guru-title': {
|
|
9684
9643
|
fontFamily: theme?.typography?.fontFamily,
|
|
9685
9644
|
fontStyle: 'normal',
|
|
@@ -9707,7 +9666,6 @@ const useEmailStyles = createUseStyles(theme => ({
|
|
|
9707
9666
|
textAlign: 'center'
|
|
9708
9667
|
/* padding:35px 0 40px */
|
|
9709
9668
|
},
|
|
9710
|
-
|
|
9711
9669
|
'two-columns .column': {
|
|
9712
9670
|
width: '100%',
|
|
9713
9671
|
maxWidth: '275px',
|
|
@@ -10177,7 +10135,6 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
|
|
|
10177
10135
|
// borderRadius: '16px',
|
|
10178
10136
|
// border: '1px solid var(--stroke, #D8E0F0)',
|
|
10179
10137
|
},
|
|
10180
|
-
|
|
10181
10138
|
image: {
|
|
10182
10139
|
width: '100%',
|
|
10183
10140
|
height: '100%',
|
|
@@ -10656,7 +10613,6 @@ const TimerAndCall = ({
|
|
|
10656
10613
|
value: nodeData.timerButton.metadata.value
|
|
10657
10614
|
// isExternal: 1
|
|
10658
10615
|
},
|
|
10659
|
-
|
|
10660
10616
|
onClick: extraProps?.courseBuyNow,
|
|
10661
10617
|
type: 'primary',
|
|
10662
10618
|
size: 'medium',
|