diy-template-components 2.0.88 → 2.0.89
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 +10 -50
- package/build/index.es.js.map +1 -1
- package/build/index.js +10 -50
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -240,7 +240,8 @@ const useSectionStyles$a = createUseStyles(theme => ({
|
|
|
240
240
|
},
|
|
241
241
|
rightNav: {
|
|
242
242
|
marginRight: '120px',
|
|
243
|
-
display: 'flex'
|
|
243
|
+
display: 'flex',
|
|
244
|
+
alignItems: "center"
|
|
244
245
|
},
|
|
245
246
|
priceBox: {
|
|
246
247
|
marginRight: '16px'
|
|
@@ -281,7 +282,8 @@ const useSectionStyles$a = createUseStyles(theme => ({
|
|
|
281
282
|
BottomSheetPriceContainer: {
|
|
282
283
|
display: 'flex',
|
|
283
284
|
justifyContent: 'space-between',
|
|
284
|
-
padding: '16px 16px 24px'
|
|
285
|
+
padding: '16px 16px 24px',
|
|
286
|
+
alignItems: "center"
|
|
285
287
|
},
|
|
286
288
|
BottomSheetOfferContainer: {
|
|
287
289
|
padding: '12px 0 ',
|
|
@@ -1508,7 +1510,6 @@ function DesktopHeader({
|
|
|
1508
1510
|
value: 'BUY NOW'
|
|
1509
1511
|
// isExternal: 1
|
|
1510
1512
|
},
|
|
1511
|
-
|
|
1512
1513
|
onClick: extraProps?.courseBuyNow,
|
|
1513
1514
|
type: 'primary',
|
|
1514
1515
|
size: 'small',
|
|
@@ -1524,7 +1525,6 @@ function DesktopHeader({
|
|
|
1524
1525
|
value: 'BUY NOW'
|
|
1525
1526
|
// isExternal: 1
|
|
1526
1527
|
},
|
|
1527
|
-
|
|
1528
1528
|
onClick: extraProps?.courseBuyNow,
|
|
1529
1529
|
type: 'primary',
|
|
1530
1530
|
size: 'medium',
|
|
@@ -1534,7 +1534,6 @@ function DesktopHeader({
|
|
|
1534
1534
|
// styling={isMobile ? { margin: '0 40px' } : {}}
|
|
1535
1535
|
});
|
|
1536
1536
|
};
|
|
1537
|
-
|
|
1538
1537
|
return /*#__PURE__*/React.createElement("nav", {
|
|
1539
1538
|
className: classes.section
|
|
1540
1539
|
}, !(header?.websiteLogo === DEFAULT_HEADER_IMAGE_LP && isCustomWebsite) ? /*#__PURE__*/React.createElement("div", {
|
|
@@ -1683,10 +1682,12 @@ function MobileHeader({
|
|
|
1683
1682
|
if (!header?.effectivePrice) {
|
|
1684
1683
|
return null;
|
|
1685
1684
|
}
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1685
|
+
const body = navEl?.current?.ownerDocument?.body;
|
|
1686
|
+
console.log("body", body);
|
|
1687
|
+
console.log("body 1", document?.getElementsByClassName(classes.section)?.closest('body'));
|
|
1688
|
+
if (body) {
|
|
1689
|
+
body.style.marginBottom = '130px';
|
|
1690
|
+
}
|
|
1690
1691
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
1691
1692
|
className: classes.BottomSheetContainer
|
|
1692
1693
|
}, OfferDetailsJSX(), /*#__PURE__*/React.createElement("div", {
|
|
@@ -1710,7 +1711,6 @@ function MobileHeader({
|
|
|
1710
1711
|
value: 'BUY NOW'
|
|
1711
1712
|
// isExternal: 1
|
|
1712
1713
|
},
|
|
1713
|
-
|
|
1714
1714
|
onClick: extraProps?.courseBuyNow,
|
|
1715
1715
|
type: 'primary',
|
|
1716
1716
|
size: 'medium',
|
|
@@ -1720,7 +1720,6 @@ function MobileHeader({
|
|
|
1720
1720
|
// styling={isMobile ? { margin: '0 40px' } : {}}
|
|
1721
1721
|
}))));
|
|
1722
1722
|
};
|
|
1723
|
-
|
|
1724
1723
|
if (isTutorWebsite) {
|
|
1725
1724
|
if (isAndroidDelisted && apkURL) {
|
|
1726
1725
|
downloadLink = /*#__PURE__*/React.createElement(Button, {
|
|
@@ -1913,7 +1912,6 @@ const useSectionStyles$9 = createUseStyles(theme => ({
|
|
|
1913
1912
|
|
|
1914
1913
|
// '& img': { maxHeight: '55px' }
|
|
1915
1914
|
},
|
|
1916
|
-
|
|
1917
1915
|
upperContainerItem1Img: {
|
|
1918
1916
|
maxHeight: '55px',
|
|
1919
1917
|
paddingBottom: '84px',
|
|
@@ -2354,7 +2352,6 @@ const mobilePadding = {
|
|
|
2354
2352
|
// 24px
|
|
2355
2353
|
medium: baseFactor * 6 // 48px
|
|
2356
2354
|
};
|
|
2357
|
-
|
|
2358
2355
|
const padding = {
|
|
2359
2356
|
minute: baseFactor * 2,
|
|
2360
2357
|
// 16px
|
|
@@ -2824,7 +2821,6 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2824
2821
|
// }
|
|
2825
2822
|
// }
|
|
2826
2823
|
},
|
|
2827
|
-
|
|
2828
2824
|
sectionContainer: {
|
|
2829
2825
|
margin: '0 auto',
|
|
2830
2826
|
maxWidth: ({
|
|
@@ -3394,7 +3390,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3394
3390
|
// padding: '0'
|
|
3395
3391
|
}
|
|
3396
3392
|
},
|
|
3397
|
-
|
|
3398
3393
|
'&:nth-child(2n+1)': {
|
|
3399
3394
|
marginRight: '0',
|
|
3400
3395
|
'& $contentText': {
|
|
@@ -3404,7 +3399,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3404
3399
|
}
|
|
3405
3400
|
}
|
|
3406
3401
|
},
|
|
3407
|
-
|
|
3408
3402
|
contentNumber: {
|
|
3409
3403
|
width: '100%',
|
|
3410
3404
|
padding: '24px',
|
|
@@ -3811,7 +3805,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3811
3805
|
// }
|
|
3812
3806
|
// }
|
|
3813
3807
|
},
|
|
3814
|
-
|
|
3815
3808
|
sectionContainer: {
|
|
3816
3809
|
margin: '0 auto',
|
|
3817
3810
|
maxWidth: ({
|
|
@@ -3825,7 +3818,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3825
3818
|
|
|
3826
3819
|
// padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
|
|
3827
3820
|
},
|
|
3828
|
-
|
|
3829
3821
|
imageContainerDiv: {
|
|
3830
3822
|
width: '50%',
|
|
3831
3823
|
position: 'relative'
|
|
@@ -3897,7 +3889,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3897
3889
|
width: '100%'
|
|
3898
3890
|
// padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
|
|
3899
3891
|
},
|
|
3900
|
-
|
|
3901
3892
|
imageContainer: {
|
|
3902
3893
|
height: 'unset !important',
|
|
3903
3894
|
'& img': {
|
|
@@ -4904,7 +4895,6 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4904
4895
|
fontFamily: theme?.typography?.fontFamily
|
|
4905
4896
|
// boxSizing: 'border-box'
|
|
4906
4897
|
},
|
|
4907
|
-
|
|
4908
4898
|
'& h2,& h3,& p': {
|
|
4909
4899
|
marginTop: '0'
|
|
4910
4900
|
}
|
|
@@ -4929,7 +4919,6 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4929
4919
|
wordBreak: 'break-word'
|
|
4930
4920
|
// marginBottom: '8px'
|
|
4931
4921
|
},
|
|
4932
|
-
|
|
4933
4922
|
videoTestimonialTitle: {
|
|
4934
4923
|
fontSize: theme.typography.fontSize.h2,
|
|
4935
4924
|
// lineHeight: '71px',
|
|
@@ -5370,7 +5359,6 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5370
5359
|
// }
|
|
5371
5360
|
// }
|
|
5372
5361
|
},
|
|
5373
|
-
|
|
5374
5362
|
sectionContainer: {
|
|
5375
5363
|
margin: '0 auto',
|
|
5376
5364
|
maxWidth: ({
|
|
@@ -5728,7 +5716,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5728
5716
|
// }
|
|
5729
5717
|
// }
|
|
5730
5718
|
},
|
|
5731
|
-
|
|
5732
5719
|
sectionContainer: {
|
|
5733
5720
|
margin: '0 auto',
|
|
5734
5721
|
maxWidth: ({
|
|
@@ -5759,7 +5746,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5759
5746
|
position: 'relative',
|
|
5760
5747
|
paddingBottom: '59.83%' // keeping aspect ratio 585x350
|
|
5761
5748
|
},
|
|
5762
|
-
|
|
5763
5749
|
contentRow: {
|
|
5764
5750
|
display: 'grid',
|
|
5765
5751
|
gridTemplateColumns: ({
|
|
@@ -6306,7 +6292,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6306
6292
|
// }
|
|
6307
6293
|
// }
|
|
6308
6294
|
},
|
|
6309
|
-
|
|
6310
6295
|
sectionContainer: {
|
|
6311
6296
|
margin: '0 auto',
|
|
6312
6297
|
maxWidth: ({
|
|
@@ -6339,7 +6324,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6339
6324
|
// textAlign: 'center',
|
|
6340
6325
|
// wordBreak: 'break-word'
|
|
6341
6326
|
},
|
|
6342
|
-
|
|
6343
6327
|
slickContainer: {
|
|
6344
6328
|
marginRight: '-20px'
|
|
6345
6329
|
},
|
|
@@ -6387,7 +6371,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6387
6371
|
justifyContent: 'space-between'
|
|
6388
6372
|
//alignItems: 'center',
|
|
6389
6373
|
},
|
|
6390
|
-
|
|
6391
6374
|
courseCardTags: {
|
|
6392
6375
|
display: 'flex',
|
|
6393
6376
|
justifyContent: 'flex-start',
|
|
@@ -6418,7 +6401,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6418
6401
|
// whiteSpace: 'nowrap',
|
|
6419
6402
|
// textOverflow: 'ellipsis'
|
|
6420
6403
|
},
|
|
6421
|
-
|
|
6422
6404
|
courseCardDiscount: {
|
|
6423
6405
|
display: 'flex',
|
|
6424
6406
|
justifyContent: 'flex-start',
|
|
@@ -6525,7 +6507,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6525
6507
|
// whiteSpace: 'nowrap',
|
|
6526
6508
|
// textOverflow: 'ellipsis'
|
|
6527
6509
|
},
|
|
6528
|
-
|
|
6529
6510
|
singleCard: {
|
|
6530
6511
|
margin: '6px 2px'
|
|
6531
6512
|
// width: 'calc(100% - 12px)'
|
|
@@ -6873,7 +6854,6 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6873
6854
|
// gridTemplateColumns: ({ slidesToShow } = {}) =>
|
|
6874
6855
|
// `repeat(${slidesToShow},minmax(0, 1fr))`
|
|
6875
6856
|
},
|
|
6876
|
-
|
|
6877
6857
|
singleSlideContainer: {
|
|
6878
6858
|
backgroundColor: theme?.palette?.background?.default,
|
|
6879
6859
|
margin: '20px 0',
|
|
@@ -6899,7 +6879,6 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6899
6879
|
padding: '24px'
|
|
6900
6880
|
// overflowWrap: 'break-word'
|
|
6901
6881
|
},
|
|
6902
|
-
|
|
6903
6882
|
teamDetailsHeading: {
|
|
6904
6883
|
fontSize: theme.typography.fontSize.h6,
|
|
6905
6884
|
fontWeight: theme.typography.fontWeight.bold,
|
|
@@ -7162,7 +7141,6 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
7162
7141
|
// }
|
|
7163
7142
|
// }
|
|
7164
7143
|
},
|
|
7165
|
-
|
|
7166
7144
|
formContainer: {
|
|
7167
7145
|
margin: '0 auto',
|
|
7168
7146
|
maxWidth: ({
|
|
@@ -7199,14 +7177,12 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
7199
7177
|
display: 'flex'
|
|
7200
7178
|
// alignItems: 'flex-start',
|
|
7201
7179
|
},
|
|
7202
|
-
|
|
7203
7180
|
leftContainerForm: {
|
|
7204
7181
|
width: '65%',
|
|
7205
7182
|
display: 'flex',
|
|
7206
7183
|
flexDirection: 'column'
|
|
7207
7184
|
// justifyContent: 'space-between'
|
|
7208
7185
|
},
|
|
7209
|
-
|
|
7210
7186
|
subtitle: {
|
|
7211
7187
|
// margin: '0 0 40px 0',
|
|
7212
7188
|
fontSize: theme.typography.fontSize.h5,
|
|
@@ -7274,7 +7250,6 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
7274
7250
|
width: '100%'
|
|
7275
7251
|
// padding: '0 16ox'
|
|
7276
7252
|
},
|
|
7277
|
-
|
|
7278
7253
|
rightContainer: {
|
|
7279
7254
|
width: '100%',
|
|
7280
7255
|
padding: '0'
|
|
@@ -7587,7 +7562,6 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7587
7562
|
// }
|
|
7588
7563
|
// }
|
|
7589
7564
|
},
|
|
7590
|
-
|
|
7591
7565
|
contactContainer: {
|
|
7592
7566
|
width: '100%',
|
|
7593
7567
|
margin: '0 auto',
|
|
@@ -7626,7 +7600,6 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7626
7600
|
// justifyContent: 'space-between',
|
|
7627
7601
|
// flex: 1
|
|
7628
7602
|
},
|
|
7629
|
-
|
|
7630
7603
|
subtitle: {
|
|
7631
7604
|
// margin: '0 0 auto 0',
|
|
7632
7605
|
fontSize: theme.typography.fontSize.h6,
|
|
@@ -8071,7 +8044,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
8071
8044
|
marginTop: '5%'
|
|
8072
8045
|
// padding: '0px 5% 0px 5%'
|
|
8073
8046
|
},
|
|
8074
|
-
|
|
8075
8047
|
iframe: {
|
|
8076
8048
|
position: 'absolute',
|
|
8077
8049
|
width: '100%',
|
|
@@ -8419,7 +8391,6 @@ const SingleVideoSlide$1 = props => {
|
|
|
8419
8391
|
value: data.isPaid ? buyNowText : registerNowText
|
|
8420
8392
|
// isExternal: 1
|
|
8421
8393
|
},
|
|
8422
|
-
|
|
8423
8394
|
onClick: webinarCtaClick,
|
|
8424
8395
|
type: 'primary',
|
|
8425
8396
|
size: 'medium',
|
|
@@ -8488,7 +8459,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8488
8459
|
// }
|
|
8489
8460
|
// }
|
|
8490
8461
|
},
|
|
8491
|
-
|
|
8492
8462
|
sectionContainer: {
|
|
8493
8463
|
margin: '0 auto',
|
|
8494
8464
|
maxWidth: ({
|
|
@@ -8606,7 +8576,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8606
8576
|
// paddingBottom: '10px',
|
|
8607
8577
|
// paddingTop: '10px'
|
|
8608
8578
|
},
|
|
8609
|
-
|
|
8610
8579
|
bannerContainer: {
|
|
8611
8580
|
width: '100%',
|
|
8612
8581
|
background: theme?.colors?.bannerColor,
|
|
@@ -8621,7 +8590,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8621
8590
|
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
8622
8591
|
// marginBottom: '16px'
|
|
8623
8592
|
},
|
|
8624
|
-
|
|
8625
8593
|
bannerContainerText: {
|
|
8626
8594
|
transform: 'rotate(180deg)'
|
|
8627
8595
|
},
|
|
@@ -8734,7 +8702,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8734
8702
|
height: 'max-content'
|
|
8735
8703
|
// paddingRight: '10px'
|
|
8736
8704
|
},
|
|
8737
|
-
|
|
8738
8705
|
videoDetails: {
|
|
8739
8706
|
width: '100%'
|
|
8740
8707
|
},
|
|
@@ -8993,7 +8960,6 @@ const SingleVideoSlide = props => {
|
|
|
8993
8960
|
value: buyNowText
|
|
8994
8961
|
// isExternal: 1
|
|
8995
8962
|
},
|
|
8996
|
-
|
|
8997
8963
|
onClick: courseBuyNow,
|
|
8998
8964
|
type: 'primary',
|
|
8999
8965
|
size: 'medium',
|
|
@@ -9098,7 +9064,6 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
9098
9064
|
// border: '1px solid #D8E0F0',
|
|
9099
9065
|
// borderRadius: '16px'
|
|
9100
9066
|
},
|
|
9101
|
-
|
|
9102
9067
|
inputFieldLabel: {
|
|
9103
9068
|
color: theme?.colors?.lightblack,
|
|
9104
9069
|
fontSize: theme.typography.fontSize.body,
|
|
@@ -9411,7 +9376,6 @@ const FormPage = ({
|
|
|
9411
9376
|
value: countryCode === 'KR' ? '제출하기' : 'SUBMIT'
|
|
9412
9377
|
// isExternal: 1
|
|
9413
9378
|
},
|
|
9414
|
-
|
|
9415
9379
|
type: 'primary',
|
|
9416
9380
|
size: 'medium',
|
|
9417
9381
|
target: null,
|
|
@@ -9594,7 +9558,6 @@ const useEmailStyles = createUseStyles(theme => ({
|
|
|
9594
9558
|
height: '48px'
|
|
9595
9559
|
/* margin: 18px 0px; */
|
|
9596
9560
|
},
|
|
9597
|
-
|
|
9598
9561
|
'p-young-guru-title': {
|
|
9599
9562
|
fontFamily: theme?.typography?.fontFamily,
|
|
9600
9563
|
fontStyle: 'normal',
|
|
@@ -9622,7 +9585,6 @@ const useEmailStyles = createUseStyles(theme => ({
|
|
|
9622
9585
|
textAlign: 'center'
|
|
9623
9586
|
/* padding:35px 0 40px */
|
|
9624
9587
|
},
|
|
9625
|
-
|
|
9626
9588
|
'two-columns .column': {
|
|
9627
9589
|
width: '100%',
|
|
9628
9590
|
maxWidth: '275px',
|
|
@@ -10092,7 +10054,6 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
|
|
|
10092
10054
|
// borderRadius: '16px',
|
|
10093
10055
|
// border: '1px solid var(--stroke, #D8E0F0)',
|
|
10094
10056
|
},
|
|
10095
|
-
|
|
10096
10057
|
image: {
|
|
10097
10058
|
width: '100%',
|
|
10098
10059
|
height: '100%',
|
|
@@ -10571,7 +10532,6 @@ const TimerAndCall = ({
|
|
|
10571
10532
|
value: nodeData.timerButton.metadata.value
|
|
10572
10533
|
// isExternal: 1
|
|
10573
10534
|
},
|
|
10574
|
-
|
|
10575
10535
|
onClick: extraProps?.courseBuyNow,
|
|
10576
10536
|
type: 'primary',
|
|
10577
10537
|
size: 'medium',
|