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.js CHANGED
@@ -1546,7 +1546,6 @@ function DesktopHeader({
1546
1546
  value: 'BUY NOW'
1547
1547
  // isExternal: 1
1548
1548
  },
1549
-
1550
1549
  onClick: extraProps?.courseBuyNow,
1551
1550
  type: 'primary',
1552
1551
  size: 'small',
@@ -1562,7 +1561,6 @@ function DesktopHeader({
1562
1561
  value: 'BUY NOW'
1563
1562
  // isExternal: 1
1564
1563
  },
1565
-
1566
1564
  onClick: extraProps?.courseBuyNow,
1567
1565
  type: 'primary',
1568
1566
  size: 'medium',
@@ -1572,7 +1570,6 @@ function DesktopHeader({
1572
1570
  // styling={isMobile ? { margin: '0 40px' } : {}}
1573
1571
  });
1574
1572
  };
1575
-
1576
1573
  return /*#__PURE__*/React__default["default"].createElement("nav", {
1577
1574
  className: classes.section
1578
1575
  }, !(header?.websiteLogo === DEFAULT_HEADER_IMAGE_LP && isCustomWebsite) ? /*#__PURE__*/React__default["default"].createElement("div", {
@@ -1781,7 +1778,6 @@ function MobileHeader({
1781
1778
  value: 'BUY NOW'
1782
1779
  // isExternal: 1
1783
1780
  },
1784
-
1785
1781
  onClick: extraProps?.courseBuyNow,
1786
1782
  type: 'primary',
1787
1783
  size: 'medium',
@@ -1791,7 +1787,6 @@ function MobileHeader({
1791
1787
  // styling={isMobile ? { margin: '0 40px' } : {}}
1792
1788
  }))));
1793
1789
  };
1794
-
1795
1790
  if (isTutorWebsite) {
1796
1791
  if (isAndroidDelisted && apkURL) {
1797
1792
  downloadLink = /*#__PURE__*/React__default["default"].createElement(Button, {
@@ -1984,7 +1979,6 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1984
1979
 
1985
1980
  // '& img': { maxHeight: '55px' }
1986
1981
  },
1987
-
1988
1982
  upperContainerItem1Img: {
1989
1983
  maxHeight: '55px',
1990
1984
  paddingBottom: '84px',
@@ -2431,7 +2425,6 @@ const mobilePadding = {
2431
2425
  // 24px
2432
2426
  medium: baseFactor * 6 // 48px
2433
2427
  };
2434
-
2435
2428
  const padding = {
2436
2429
  minute: baseFactor * 2,
2437
2430
  // 16px
@@ -2901,7 +2894,6 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2901
2894
  // }
2902
2895
  // }
2903
2896
  },
2904
-
2905
2897
  sectionContainer: {
2906
2898
  margin: '0 auto',
2907
2899
  maxWidth: ({
@@ -3483,7 +3475,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
3483
3475
  // padding: '0'
3484
3476
  }
3485
3477
  },
3486
-
3487
3478
  '&:nth-child(2n+1)': {
3488
3479
  marginRight: '0',
3489
3480
  '& $contentText': {
@@ -3493,7 +3484,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
3493
3484
  }
3494
3485
  }
3495
3486
  },
3496
-
3497
3487
  contentNumber: {
3498
3488
  width: '100%',
3499
3489
  padding: '24px',
@@ -3900,7 +3890,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
3900
3890
  // }
3901
3891
  // }
3902
3892
  },
3903
-
3904
3893
  sectionContainer: {
3905
3894
  margin: '0 auto',
3906
3895
  maxWidth: ({
@@ -3914,7 +3903,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
3914
3903
 
3915
3904
  // padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
3916
3905
  },
3917
-
3918
3906
  imageContainerDiv: {
3919
3907
  width: '50%',
3920
3908
  position: 'relative'
@@ -3986,7 +3974,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
3986
3974
  width: '100%'
3987
3975
  // padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
3988
3976
  },
3989
-
3990
3977
  imageContainer: {
3991
3978
  height: 'unset !important',
3992
3979
  '& img': {
@@ -5005,7 +4992,6 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
5005
4992
  fontFamily: theme?.typography?.fontFamily
5006
4993
  // boxSizing: 'border-box'
5007
4994
  },
5008
-
5009
4995
  '& h2,& h3,& p': {
5010
4996
  marginTop: '0'
5011
4997
  }
@@ -5030,7 +5016,6 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
5030
5016
  wordBreak: 'break-word'
5031
5017
  // marginBottom: '8px'
5032
5018
  },
5033
-
5034
5019
  videoTestimonialTitle: {
5035
5020
  fontSize: theme.typography.fontSize.h2,
5036
5021
  // lineHeight: '71px',
@@ -5471,7 +5456,6 @@ const useSectionStyles$3 = createUseStyles(theme => ({
5471
5456
  // }
5472
5457
  // }
5473
5458
  },
5474
-
5475
5459
  sectionContainer: {
5476
5460
  margin: '0 auto',
5477
5461
  maxWidth: ({
@@ -5829,7 +5813,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5829
5813
  // }
5830
5814
  // }
5831
5815
  },
5832
-
5833
5816
  sectionContainer: {
5834
5817
  margin: '0 auto',
5835
5818
  maxWidth: ({
@@ -5860,7 +5843,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5860
5843
  position: 'relative',
5861
5844
  paddingBottom: '59.83%' // keeping aspect ratio 585x350
5862
5845
  },
5863
-
5864
5846
  contentRow: {
5865
5847
  display: 'grid',
5866
5848
  gridTemplateColumns: ({
@@ -6407,7 +6389,6 @@ const useCourseStyles = createUseStyles(theme => {
6407
6389
  // }
6408
6390
  // }
6409
6391
  },
6410
-
6411
6392
  sectionContainer: {
6412
6393
  margin: '0 auto',
6413
6394
  maxWidth: ({
@@ -6440,7 +6421,6 @@ const useCourseStyles = createUseStyles(theme => {
6440
6421
  // textAlign: 'center',
6441
6422
  // wordBreak: 'break-word'
6442
6423
  },
6443
-
6444
6424
  slickContainer: {
6445
6425
  marginRight: '-20px'
6446
6426
  },
@@ -6488,7 +6468,6 @@ const useCourseStyles = createUseStyles(theme => {
6488
6468
  justifyContent: 'space-between'
6489
6469
  //alignItems: 'center',
6490
6470
  },
6491
-
6492
6471
  courseCardTags: {
6493
6472
  display: 'flex',
6494
6473
  justifyContent: 'flex-start',
@@ -6519,7 +6498,6 @@ const useCourseStyles = createUseStyles(theme => {
6519
6498
  // whiteSpace: 'nowrap',
6520
6499
  // textOverflow: 'ellipsis'
6521
6500
  },
6522
-
6523
6501
  courseCardDiscount: {
6524
6502
  display: 'flex',
6525
6503
  justifyContent: 'flex-start',
@@ -6626,7 +6604,6 @@ const useCourseStyles = createUseStyles(theme => {
6626
6604
  // whiteSpace: 'nowrap',
6627
6605
  // textOverflow: 'ellipsis'
6628
6606
  },
6629
-
6630
6607
  singleCard: {
6631
6608
  margin: '6px 2px'
6632
6609
  // width: 'calc(100% - 12px)'
@@ -6828,7 +6805,7 @@ function courses({
6828
6805
  React.useEffect(() => {
6829
6806
  const placeholders = nodeData?.cardCarousel?.metadata?.placeholders;
6830
6807
  // For Master template Preview: Show placeholder images. If placeholder doesn't come from backend, show shimmer.
6831
- if (isMasterTemplate) {
6808
+ if (isMasterTemplate && false) {
6832
6809
  if (placeholders && placeholders.length) {
6833
6810
  setShowShimmer(false);
6834
6811
  setFallbackImages(placeholders);
@@ -6974,7 +6951,6 @@ const useTeamStyles = createUseStyles(theme => {
6974
6951
  // gridTemplateColumns: ({ slidesToShow } = {}) =>
6975
6952
  // `repeat(${slidesToShow},minmax(0, 1fr))`
6976
6953
  },
6977
-
6978
6954
  singleSlideContainer: {
6979
6955
  backgroundColor: theme?.palette?.background?.default,
6980
6956
  margin: '20px 0',
@@ -7000,7 +6976,6 @@ const useTeamStyles = createUseStyles(theme => {
7000
6976
  padding: '24px'
7001
6977
  // overflowWrap: 'break-word'
7002
6978
  },
7003
-
7004
6979
  teamDetailsHeading: {
7005
6980
  fontSize: theme.typography.fontSize.h6,
7006
6981
  fontWeight: theme.typography.fontWeight.bold,
@@ -7263,7 +7238,6 @@ const useSectionStyles$1 = createUseStyles(theme => ({
7263
7238
  // }
7264
7239
  // }
7265
7240
  },
7266
-
7267
7241
  formContainer: {
7268
7242
  margin: '0 auto',
7269
7243
  maxWidth: ({
@@ -7300,14 +7274,12 @@ const useSectionStyles$1 = createUseStyles(theme => ({
7300
7274
  display: 'flex'
7301
7275
  // alignItems: 'flex-start',
7302
7276
  },
7303
-
7304
7277
  leftContainerForm: {
7305
7278
  width: '65%',
7306
7279
  display: 'flex',
7307
7280
  flexDirection: 'column'
7308
7281
  // justifyContent: 'space-between'
7309
7282
  },
7310
-
7311
7283
  subtitle: {
7312
7284
  // margin: '0 0 40px 0',
7313
7285
  fontSize: theme.typography.fontSize.h5,
@@ -7375,7 +7347,6 @@ const useSectionStyles$1 = createUseStyles(theme => ({
7375
7347
  width: '100%'
7376
7348
  // padding: '0 16ox'
7377
7349
  },
7378
-
7379
7350
  rightContainer: {
7380
7351
  width: '100%',
7381
7352
  padding: '0'
@@ -7688,7 +7659,6 @@ const useSectionStyles = createUseStyles(theme => ({
7688
7659
  // }
7689
7660
  // }
7690
7661
  },
7691
-
7692
7662
  contactContainer: {
7693
7663
  width: '100%',
7694
7664
  margin: '0 auto',
@@ -7727,7 +7697,6 @@ const useSectionStyles = createUseStyles(theme => ({
7727
7697
  // justifyContent: 'space-between',
7728
7698
  // flex: 1
7729
7699
  },
7730
-
7731
7700
  subtitle: {
7732
7701
  // margin: '0 0 auto 0',
7733
7702
  fontSize: theme.typography.fontSize.h6,
@@ -8172,7 +8141,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
8172
8141
  marginTop: '5%'
8173
8142
  // padding: '0px 5% 0px 5%'
8174
8143
  },
8175
-
8176
8144
  iframe: {
8177
8145
  position: 'absolute',
8178
8146
  width: '100%',
@@ -8520,7 +8488,6 @@ const SingleVideoSlide$1 = props => {
8520
8488
  value: data.isPaid ? buyNowText : registerNowText
8521
8489
  // isExternal: 1
8522
8490
  },
8523
-
8524
8491
  onClick: webinarCtaClick,
8525
8492
  type: 'primary',
8526
8493
  size: 'medium',
@@ -8589,7 +8556,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
8589
8556
  // }
8590
8557
  // }
8591
8558
  },
8592
-
8593
8559
  sectionContainer: {
8594
8560
  margin: '0 auto',
8595
8561
  maxWidth: ({
@@ -8707,7 +8673,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
8707
8673
  // paddingBottom: '10px',
8708
8674
  // paddingTop: '10px'
8709
8675
  },
8710
-
8711
8676
  bannerContainer: {
8712
8677
  width: '100%',
8713
8678
  background: theme?.colors?.bannerColor,
@@ -8722,7 +8687,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
8722
8687
  clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
8723
8688
  // marginBottom: '16px'
8724
8689
  },
8725
-
8726
8690
  bannerContainerText: {
8727
8691
  transform: 'rotate(180deg)'
8728
8692
  },
@@ -8835,7 +8799,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
8835
8799
  height: 'max-content'
8836
8800
  // paddingRight: '10px'
8837
8801
  },
8838
-
8839
8802
  videoDetails: {
8840
8803
  width: '100%'
8841
8804
  },
@@ -9094,7 +9057,6 @@ const SingleVideoSlide = props => {
9094
9057
  value: buyNowText
9095
9058
  // isExternal: 1
9096
9059
  },
9097
-
9098
9060
  onClick: courseBuyNow,
9099
9061
  type: 'primary',
9100
9062
  size: 'medium',
@@ -9199,7 +9161,6 @@ const useFormPageStyles = createUseStyles(theme => ({
9199
9161
  // border: '1px solid #D8E0F0',
9200
9162
  // borderRadius: '16px'
9201
9163
  },
9202
-
9203
9164
  inputFieldLabel: {
9204
9165
  color: theme?.colors?.lightblack,
9205
9166
  fontSize: theme.typography.fontSize.body,
@@ -9512,7 +9473,6 @@ const FormPage = ({
9512
9473
  value: countryCode === 'KR' ? '제출하기' : 'SUBMIT'
9513
9474
  // isExternal: 1
9514
9475
  },
9515
-
9516
9476
  type: 'primary',
9517
9477
  size: 'medium',
9518
9478
  target: null,
@@ -9695,7 +9655,6 @@ const useEmailStyles = createUseStyles(theme => ({
9695
9655
  height: '48px'
9696
9656
  /* margin: 18px 0px; */
9697
9657
  },
9698
-
9699
9658
  'p-young-guru-title': {
9700
9659
  fontFamily: theme?.typography?.fontFamily,
9701
9660
  fontStyle: 'normal',
@@ -9723,7 +9682,6 @@ const useEmailStyles = createUseStyles(theme => ({
9723
9682
  textAlign: 'center'
9724
9683
  /* padding:35px 0 40px */
9725
9684
  },
9726
-
9727
9685
  'two-columns .column': {
9728
9686
  width: '100%',
9729
9687
  maxWidth: '275px',
@@ -10193,7 +10151,6 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
10193
10151
  // borderRadius: '16px',
10194
10152
  // border: '1px solid var(--stroke, #D8E0F0)',
10195
10153
  },
10196
-
10197
10154
  image: {
10198
10155
  width: '100%',
10199
10156
  height: '100%',
@@ -10672,7 +10629,6 @@ const TimerAndCall = ({
10672
10629
  value: nodeData.timerButton.metadata.value
10673
10630
  // isExternal: 1
10674
10631
  },
10675
-
10676
10632
  onClick: extraProps?.courseBuyNow,
10677
10633
  type: 'primary',
10678
10634
  size: 'medium',