diy-template-components 2.0.101 → 2.0.103
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 +54 -4
- package/build/index.es.js.map +1 -1
- package/build/index.js +54 -4
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -1530,6 +1530,7 @@ function DesktopHeader({
|
|
|
1530
1530
|
value: 'BUY NOW'
|
|
1531
1531
|
// isExternal: 1
|
|
1532
1532
|
},
|
|
1533
|
+
|
|
1533
1534
|
onClick: extraProps?.courseBuyNow,
|
|
1534
1535
|
type: 'primary',
|
|
1535
1536
|
size: 'small',
|
|
@@ -1545,6 +1546,7 @@ function DesktopHeader({
|
|
|
1545
1546
|
value: 'BUY NOW'
|
|
1546
1547
|
// isExternal: 1
|
|
1547
1548
|
},
|
|
1549
|
+
|
|
1548
1550
|
onClick: extraProps?.courseBuyNow,
|
|
1549
1551
|
type: 'primary',
|
|
1550
1552
|
size: 'medium',
|
|
@@ -1554,6 +1556,7 @@ function DesktopHeader({
|
|
|
1554
1556
|
// styling={isMobile ? { margin: '0 40px' } : {}}
|
|
1555
1557
|
});
|
|
1556
1558
|
};
|
|
1559
|
+
|
|
1557
1560
|
return /*#__PURE__*/React.createElement("nav", {
|
|
1558
1561
|
className: classes.section
|
|
1559
1562
|
}, !(header?.websiteLogo === DEFAULT_HEADER_IMAGE_LP && isCustomWebsite) ? /*#__PURE__*/React.createElement("div", {
|
|
@@ -1762,6 +1765,7 @@ function MobileHeader({
|
|
|
1762
1765
|
value: 'BUY NOW'
|
|
1763
1766
|
// isExternal: 1
|
|
1764
1767
|
},
|
|
1768
|
+
|
|
1765
1769
|
onClick: extraProps?.courseBuyNow,
|
|
1766
1770
|
type: 'primary',
|
|
1767
1771
|
size: 'medium',
|
|
@@ -1771,6 +1775,7 @@ function MobileHeader({
|
|
|
1771
1775
|
// styling={isMobile ? { margin: '0 40px' } : {}}
|
|
1772
1776
|
}))));
|
|
1773
1777
|
};
|
|
1778
|
+
|
|
1774
1779
|
if (isTutorWebsite) {
|
|
1775
1780
|
if (isAndroidDelisted && apkURL) {
|
|
1776
1781
|
downloadLink = /*#__PURE__*/React.createElement(Button, {
|
|
@@ -1963,6 +1968,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
|
|
|
1963
1968
|
|
|
1964
1969
|
// '& img': { maxHeight: '55px' }
|
|
1965
1970
|
},
|
|
1971
|
+
|
|
1966
1972
|
upperContainerItem1Img: {
|
|
1967
1973
|
maxHeight: '55px',
|
|
1968
1974
|
paddingBottom: '84px',
|
|
@@ -2288,7 +2294,13 @@ function Footer({
|
|
|
2288
2294
|
alignSelf: 'start',
|
|
2289
2295
|
marginBottom: '10px'
|
|
2290
2296
|
}
|
|
2291
|
-
}, "\xA9 Bhushan Ramchandra Gawarepatil") : null
|
|
2297
|
+
}, "\xA9 Bhushan Ramchandra Gawarepatil") : null, orgId === 374619 || extraProps?.org_id === 374619 ? /*#__PURE__*/React.createElement("div", {
|
|
2298
|
+
style: {
|
|
2299
|
+
display: 'flex',
|
|
2300
|
+
alignSelf: 'start',
|
|
2301
|
+
marginBottom: '10px'
|
|
2302
|
+
}
|
|
2303
|
+
}, "\xA9\uFE0F LEAVERAGE CONSULTANTS PRIVATE LIMITED") : null);
|
|
2292
2304
|
}
|
|
2293
2305
|
|
|
2294
2306
|
const borderRadius = {
|
|
@@ -2403,6 +2415,7 @@ const mobilePadding = {
|
|
|
2403
2415
|
// 24px
|
|
2404
2416
|
medium: baseFactor * 6 // 48px
|
|
2405
2417
|
};
|
|
2418
|
+
|
|
2406
2419
|
const padding = {
|
|
2407
2420
|
minute: baseFactor * 2,
|
|
2408
2421
|
// 16px
|
|
@@ -2872,6 +2885,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2872
2885
|
// }
|
|
2873
2886
|
// }
|
|
2874
2887
|
},
|
|
2888
|
+
|
|
2875
2889
|
sectionContainer: {
|
|
2876
2890
|
margin: '0 auto',
|
|
2877
2891
|
maxWidth: ({
|
|
@@ -2974,9 +2988,9 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2974
2988
|
imageContainer: {
|
|
2975
2989
|
height: 'undefined',
|
|
2976
2990
|
width: '100%',
|
|
2977
|
-
paddingBottom: ({
|
|
2978
|
-
|
|
2979
|
-
|
|
2991
|
+
// paddingBottom: ({ isCustomWebsite }) =>
|
|
2992
|
+
// isCustomWebsite ? '100%' : 'unset'
|
|
2993
|
+
aspectRatio: "4/3"
|
|
2980
2994
|
}
|
|
2981
2995
|
}
|
|
2982
2996
|
}));
|
|
@@ -3453,6 +3467,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3453
3467
|
// padding: '0'
|
|
3454
3468
|
}
|
|
3455
3469
|
},
|
|
3470
|
+
|
|
3456
3471
|
'&:nth-child(2n+1)': {
|
|
3457
3472
|
marginRight: '0',
|
|
3458
3473
|
'& $contentText': {
|
|
@@ -3462,6 +3477,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3462
3477
|
}
|
|
3463
3478
|
}
|
|
3464
3479
|
},
|
|
3480
|
+
|
|
3465
3481
|
contentNumber: {
|
|
3466
3482
|
width: '100%',
|
|
3467
3483
|
padding: '24px',
|
|
@@ -3868,6 +3884,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3868
3884
|
// }
|
|
3869
3885
|
// }
|
|
3870
3886
|
},
|
|
3887
|
+
|
|
3871
3888
|
sectionContainer: {
|
|
3872
3889
|
margin: '0 auto',
|
|
3873
3890
|
maxWidth: ({
|
|
@@ -3881,6 +3898,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3881
3898
|
|
|
3882
3899
|
// padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
|
|
3883
3900
|
},
|
|
3901
|
+
|
|
3884
3902
|
imageContainerDiv: {
|
|
3885
3903
|
width: '50%',
|
|
3886
3904
|
position: 'relative'
|
|
@@ -3952,6 +3970,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3952
3970
|
width: '100%'
|
|
3953
3971
|
// padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
|
|
3954
3972
|
},
|
|
3973
|
+
|
|
3955
3974
|
imageContainer: {
|
|
3956
3975
|
height: 'unset !important',
|
|
3957
3976
|
'& img': {
|
|
@@ -4970,6 +4989,7 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4970
4989
|
fontFamily: theme?.typography?.fontFamily
|
|
4971
4990
|
// boxSizing: 'border-box'
|
|
4972
4991
|
},
|
|
4992
|
+
|
|
4973
4993
|
'& h2,& h3,& p': {
|
|
4974
4994
|
marginTop: '0'
|
|
4975
4995
|
}
|
|
@@ -4994,6 +5014,7 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4994
5014
|
wordBreak: 'break-word'
|
|
4995
5015
|
// marginBottom: '8px'
|
|
4996
5016
|
},
|
|
5017
|
+
|
|
4997
5018
|
videoTestimonialTitle: {
|
|
4998
5019
|
fontSize: theme.typography.fontSize.h2,
|
|
4999
5020
|
// lineHeight: '71px',
|
|
@@ -5434,6 +5455,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5434
5455
|
// }
|
|
5435
5456
|
// }
|
|
5436
5457
|
},
|
|
5458
|
+
|
|
5437
5459
|
sectionContainer: {
|
|
5438
5460
|
margin: '0 auto',
|
|
5439
5461
|
maxWidth: ({
|
|
@@ -5791,6 +5813,7 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5791
5813
|
// }
|
|
5792
5814
|
// }
|
|
5793
5815
|
},
|
|
5816
|
+
|
|
5794
5817
|
sectionContainer: {
|
|
5795
5818
|
margin: '0 auto',
|
|
5796
5819
|
maxWidth: ({
|
|
@@ -5821,6 +5844,7 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5821
5844
|
position: 'relative',
|
|
5822
5845
|
paddingBottom: '59.83%' // keeping aspect ratio 585x350
|
|
5823
5846
|
},
|
|
5847
|
+
|
|
5824
5848
|
contentRow: {
|
|
5825
5849
|
display: 'grid',
|
|
5826
5850
|
gridTemplateColumns: ({
|
|
@@ -6367,6 +6391,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6367
6391
|
// }
|
|
6368
6392
|
// }
|
|
6369
6393
|
},
|
|
6394
|
+
|
|
6370
6395
|
sectionContainer: {
|
|
6371
6396
|
margin: '0 auto',
|
|
6372
6397
|
maxWidth: ({
|
|
@@ -6399,6 +6424,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6399
6424
|
// textAlign: 'center',
|
|
6400
6425
|
// wordBreak: 'break-word'
|
|
6401
6426
|
},
|
|
6427
|
+
|
|
6402
6428
|
slickContainer: {
|
|
6403
6429
|
marginRight: '-20px'
|
|
6404
6430
|
},
|
|
@@ -6446,6 +6472,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6446
6472
|
justifyContent: 'space-between'
|
|
6447
6473
|
//alignItems: 'center',
|
|
6448
6474
|
},
|
|
6475
|
+
|
|
6449
6476
|
courseCardTags: {
|
|
6450
6477
|
display: 'flex',
|
|
6451
6478
|
justifyContent: 'flex-start',
|
|
@@ -6476,6 +6503,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6476
6503
|
// whiteSpace: 'nowrap',
|
|
6477
6504
|
// textOverflow: 'ellipsis'
|
|
6478
6505
|
},
|
|
6506
|
+
|
|
6479
6507
|
courseCardDiscount: {
|
|
6480
6508
|
display: 'flex',
|
|
6481
6509
|
justifyContent: 'flex-start',
|
|
@@ -6582,6 +6610,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6582
6610
|
// whiteSpace: 'nowrap',
|
|
6583
6611
|
// textOverflow: 'ellipsis'
|
|
6584
6612
|
},
|
|
6613
|
+
|
|
6585
6614
|
singleCard: {
|
|
6586
6615
|
margin: '6px 2px'
|
|
6587
6616
|
// width: 'calc(100% - 12px)'
|
|
@@ -6929,6 +6958,7 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6929
6958
|
// gridTemplateColumns: ({ slidesToShow } = {}) =>
|
|
6930
6959
|
// `repeat(${slidesToShow},minmax(0, 1fr))`
|
|
6931
6960
|
},
|
|
6961
|
+
|
|
6932
6962
|
singleSlideContainer: {
|
|
6933
6963
|
backgroundColor: theme?.palette?.background?.default,
|
|
6934
6964
|
margin: '20px 0',
|
|
@@ -6954,6 +6984,7 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6954
6984
|
padding: '24px'
|
|
6955
6985
|
// overflowWrap: 'break-word'
|
|
6956
6986
|
},
|
|
6987
|
+
|
|
6957
6988
|
teamDetailsHeading: {
|
|
6958
6989
|
fontSize: theme.typography.fontSize.h6,
|
|
6959
6990
|
fontWeight: theme.typography.fontWeight.bold,
|
|
@@ -7216,6 +7247,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
7216
7247
|
// }
|
|
7217
7248
|
// }
|
|
7218
7249
|
},
|
|
7250
|
+
|
|
7219
7251
|
formContainer: {
|
|
7220
7252
|
margin: '0 auto',
|
|
7221
7253
|
maxWidth: ({
|
|
@@ -7252,12 +7284,14 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
7252
7284
|
display: 'flex'
|
|
7253
7285
|
// alignItems: 'flex-start',
|
|
7254
7286
|
},
|
|
7287
|
+
|
|
7255
7288
|
leftContainerForm: {
|
|
7256
7289
|
width: '65%',
|
|
7257
7290
|
display: 'flex',
|
|
7258
7291
|
flexDirection: 'column'
|
|
7259
7292
|
// justifyContent: 'space-between'
|
|
7260
7293
|
},
|
|
7294
|
+
|
|
7261
7295
|
subtitle: {
|
|
7262
7296
|
// margin: '0 0 40px 0',
|
|
7263
7297
|
fontSize: theme.typography.fontSize.h5,
|
|
@@ -7325,6 +7359,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
7325
7359
|
width: '100%'
|
|
7326
7360
|
// padding: '0 16ox'
|
|
7327
7361
|
},
|
|
7362
|
+
|
|
7328
7363
|
rightContainer: {
|
|
7329
7364
|
width: '100%',
|
|
7330
7365
|
padding: '0'
|
|
@@ -7637,6 +7672,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7637
7672
|
// }
|
|
7638
7673
|
// }
|
|
7639
7674
|
},
|
|
7675
|
+
|
|
7640
7676
|
contactContainer: {
|
|
7641
7677
|
width: '100%',
|
|
7642
7678
|
margin: '0 auto',
|
|
@@ -7675,6 +7711,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7675
7711
|
// justifyContent: 'space-between',
|
|
7676
7712
|
// flex: 1
|
|
7677
7713
|
},
|
|
7714
|
+
|
|
7678
7715
|
subtitle: {
|
|
7679
7716
|
// margin: '0 0 auto 0',
|
|
7680
7717
|
fontSize: theme.typography.fontSize.h6,
|
|
@@ -8119,6 +8156,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
8119
8156
|
marginTop: '5%'
|
|
8120
8157
|
// padding: '0px 5% 0px 5%'
|
|
8121
8158
|
},
|
|
8159
|
+
|
|
8122
8160
|
iframe: {
|
|
8123
8161
|
position: 'absolute',
|
|
8124
8162
|
width: '100%',
|
|
@@ -8466,6 +8504,7 @@ const SingleVideoSlide$1 = props => {
|
|
|
8466
8504
|
value: data.isPaid ? buyNowText : registerNowText
|
|
8467
8505
|
// isExternal: 1
|
|
8468
8506
|
},
|
|
8507
|
+
|
|
8469
8508
|
onClick: webinarCtaClick,
|
|
8470
8509
|
type: 'primary',
|
|
8471
8510
|
size: 'medium',
|
|
@@ -8534,6 +8573,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8534
8573
|
// }
|
|
8535
8574
|
// }
|
|
8536
8575
|
},
|
|
8576
|
+
|
|
8537
8577
|
sectionContainer: {
|
|
8538
8578
|
margin: '0 auto',
|
|
8539
8579
|
maxWidth: ({
|
|
@@ -8651,6 +8691,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8651
8691
|
// paddingBottom: '10px',
|
|
8652
8692
|
// paddingTop: '10px'
|
|
8653
8693
|
},
|
|
8694
|
+
|
|
8654
8695
|
bannerContainer: {
|
|
8655
8696
|
width: '100%',
|
|
8656
8697
|
background: theme?.colors?.bannerColor,
|
|
@@ -8665,6 +8706,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8665
8706
|
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
8666
8707
|
// marginBottom: '16px'
|
|
8667
8708
|
},
|
|
8709
|
+
|
|
8668
8710
|
bannerContainerText: {
|
|
8669
8711
|
transform: 'rotate(180deg)'
|
|
8670
8712
|
},
|
|
@@ -8777,6 +8819,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8777
8819
|
height: 'max-content'
|
|
8778
8820
|
// paddingRight: '10px'
|
|
8779
8821
|
},
|
|
8822
|
+
|
|
8780
8823
|
videoDetails: {
|
|
8781
8824
|
width: '100%'
|
|
8782
8825
|
},
|
|
@@ -9035,6 +9078,7 @@ const SingleVideoSlide = props => {
|
|
|
9035
9078
|
value: buyNowText
|
|
9036
9079
|
// isExternal: 1
|
|
9037
9080
|
},
|
|
9081
|
+
|
|
9038
9082
|
onClick: courseBuyNow,
|
|
9039
9083
|
type: 'primary',
|
|
9040
9084
|
size: 'medium',
|
|
@@ -9139,6 +9183,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
9139
9183
|
// border: '1px solid #D8E0F0',
|
|
9140
9184
|
// borderRadius: '16px'
|
|
9141
9185
|
},
|
|
9186
|
+
|
|
9142
9187
|
inputFieldLabel: {
|
|
9143
9188
|
color: theme?.colors?.lightblack,
|
|
9144
9189
|
fontSize: theme.typography.fontSize.body,
|
|
@@ -9451,6 +9496,7 @@ const FormPage = ({
|
|
|
9451
9496
|
value: countryCode === 'KR' ? '제출하기' : 'SUBMIT'
|
|
9452
9497
|
// isExternal: 1
|
|
9453
9498
|
},
|
|
9499
|
+
|
|
9454
9500
|
type: 'primary',
|
|
9455
9501
|
size: 'medium',
|
|
9456
9502
|
target: null,
|
|
@@ -9633,6 +9679,7 @@ const useEmailStyles = createUseStyles(theme => ({
|
|
|
9633
9679
|
height: '48px'
|
|
9634
9680
|
/* margin: 18px 0px; */
|
|
9635
9681
|
},
|
|
9682
|
+
|
|
9636
9683
|
'p-young-guru-title': {
|
|
9637
9684
|
fontFamily: theme?.typography?.fontFamily,
|
|
9638
9685
|
fontStyle: 'normal',
|
|
@@ -9660,6 +9707,7 @@ const useEmailStyles = createUseStyles(theme => ({
|
|
|
9660
9707
|
textAlign: 'center'
|
|
9661
9708
|
/* padding:35px 0 40px */
|
|
9662
9709
|
},
|
|
9710
|
+
|
|
9663
9711
|
'two-columns .column': {
|
|
9664
9712
|
width: '100%',
|
|
9665
9713
|
maxWidth: '275px',
|
|
@@ -10129,6 +10177,7 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
|
|
|
10129
10177
|
// borderRadius: '16px',
|
|
10130
10178
|
// border: '1px solid var(--stroke, #D8E0F0)',
|
|
10131
10179
|
},
|
|
10180
|
+
|
|
10132
10181
|
image: {
|
|
10133
10182
|
width: '100%',
|
|
10134
10183
|
height: '100%',
|
|
@@ -10607,6 +10656,7 @@ const TimerAndCall = ({
|
|
|
10607
10656
|
value: nodeData.timerButton.metadata.value
|
|
10608
10657
|
// isExternal: 1
|
|
10609
10658
|
},
|
|
10659
|
+
|
|
10610
10660
|
onClick: extraProps?.courseBuyNow,
|
|
10611
10661
|
type: 'primary',
|
|
10612
10662
|
size: 'medium',
|