diy-template-components 2.0.20 → 2.0.22
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 +307 -45
- package/build/index.es.js.map +1 -1
- package/build/index.js +307 -45
- package/build/index.js.map +1 -1
- package/package.json +2 -3
package/build/index.js
CHANGED
|
@@ -1608,6 +1608,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
|
|
|
1608
1608
|
|
|
1609
1609
|
// '& img': { maxHeight: '55px' }
|
|
1610
1610
|
},
|
|
1611
|
+
|
|
1611
1612
|
upperContainerItem1Img: {
|
|
1612
1613
|
maxHeight: '55px',
|
|
1613
1614
|
paddingBottom: '84px',
|
|
@@ -2034,6 +2035,7 @@ const mobilePadding = {
|
|
|
2034
2035
|
// 24px
|
|
2035
2036
|
medium: baseFactor * 6 // 48px
|
|
2036
2037
|
};
|
|
2038
|
+
|
|
2037
2039
|
const padding = {
|
|
2038
2040
|
minute: baseFactor * 2,
|
|
2039
2041
|
// 16px
|
|
@@ -2159,28 +2161,29 @@ function NanumSquare() {
|
|
|
2159
2161
|
}
|
|
2160
2162
|
|
|
2161
2163
|
const TYPE_TO_COMPONENT_MAP$1 = {
|
|
2162
|
-
BANNER_CAROUSEL_RIGHT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2163
|
-
GRID_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2164
|
-
BANNER_CAROUSEL_CENTER: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2165
|
-
BANNER_CAROUSEL_LEFT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2166
|
-
FORM_SUBSCRIBE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2167
|
-
TEXT_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2168
|
-
VIDEO_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2169
|
-
VIDEO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2170
|
-
INFO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2171
|
-
TEXT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2172
|
-
IMAGE_GALLERY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2173
|
-
FAQ_LISTING: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2174
|
-
COURSE_CAROUSEL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2175
|
-
TEAM_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2176
|
-
TEXT_GRID: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2177
|
-
CONTACT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2178
|
-
FORM_ENQUIRY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2179
|
-
WEBINAR_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2180
|
-
COURSE_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2181
|
-
FORM_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2182
|
-
TILES_SECTION: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2183
|
-
EMAIL_DRIP_MARKET: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index; }))
|
|
2164
|
+
BANNER_CAROUSEL_RIGHT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$m; })),
|
|
2165
|
+
GRID_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$l; })),
|
|
2166
|
+
BANNER_CAROUSEL_CENTER: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$k; })),
|
|
2167
|
+
BANNER_CAROUSEL_LEFT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$j; })),
|
|
2168
|
+
FORM_SUBSCRIBE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$i; })),
|
|
2169
|
+
TEXT_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$h; })),
|
|
2170
|
+
VIDEO_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$g; })),
|
|
2171
|
+
VIDEO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$f; })),
|
|
2172
|
+
INFO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$e; })),
|
|
2173
|
+
TEXT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$d; })),
|
|
2174
|
+
IMAGE_GALLERY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$c; })),
|
|
2175
|
+
FAQ_LISTING: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$b; })),
|
|
2176
|
+
COURSE_CAROUSEL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$9; })),
|
|
2177
|
+
TEAM_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$8; })),
|
|
2178
|
+
TEXT_GRID: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$a; })),
|
|
2179
|
+
CONTACT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$7; })),
|
|
2180
|
+
FORM_ENQUIRY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$6; })),
|
|
2181
|
+
WEBINAR_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$5; })),
|
|
2182
|
+
COURSE_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$4; })),
|
|
2183
|
+
FORM_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$3; })),
|
|
2184
|
+
TILES_SECTION: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$2; })),
|
|
2185
|
+
EMAIL_DRIP_MARKET: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$1; })),
|
|
2186
|
+
ABOUT_INSTITUTE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index; }))
|
|
2184
2187
|
};
|
|
2185
2188
|
const getCompToRender$1 = type => TYPE_TO_COMPONENT_MAP$1[type] || (() => null);
|
|
2186
2189
|
const MemoisedSection$1 = /*#__PURE__*/React.memo(({
|
|
@@ -2499,6 +2502,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2499
2502
|
// }
|
|
2500
2503
|
// }
|
|
2501
2504
|
},
|
|
2505
|
+
|
|
2502
2506
|
sectionContainer: {
|
|
2503
2507
|
margin: '0 auto',
|
|
2504
2508
|
maxWidth: ({
|
|
@@ -2930,7 +2934,7 @@ function BannerCarouselRight({
|
|
|
2930
2934
|
})))));
|
|
2931
2935
|
}
|
|
2932
2936
|
|
|
2933
|
-
var index$
|
|
2937
|
+
var index$m = /*#__PURE__*/Object.freeze({
|
|
2934
2938
|
__proto__: null,
|
|
2935
2939
|
'default': BannerCarouselRight
|
|
2936
2940
|
});
|
|
@@ -3068,6 +3072,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3068
3072
|
// padding: '0'
|
|
3069
3073
|
}
|
|
3070
3074
|
},
|
|
3075
|
+
|
|
3071
3076
|
'&:nth-child(2n+1)': {
|
|
3072
3077
|
marginRight: '0',
|
|
3073
3078
|
'& $contentText': {
|
|
@@ -3077,6 +3082,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3077
3082
|
}
|
|
3078
3083
|
}
|
|
3079
3084
|
},
|
|
3085
|
+
|
|
3080
3086
|
contentNumber: {
|
|
3081
3087
|
width: '100%',
|
|
3082
3088
|
padding: '24px',
|
|
@@ -3154,7 +3160,7 @@ function List({
|
|
|
3154
3160
|
}))));
|
|
3155
3161
|
}
|
|
3156
3162
|
|
|
3157
|
-
var index$
|
|
3163
|
+
var index$l = /*#__PURE__*/Object.freeze({
|
|
3158
3164
|
__proto__: null,
|
|
3159
3165
|
'default': List
|
|
3160
3166
|
});
|
|
@@ -3448,7 +3454,7 @@ function BannerCarouselCenter({
|
|
|
3448
3454
|
}))));
|
|
3449
3455
|
}
|
|
3450
3456
|
|
|
3451
|
-
var index$
|
|
3457
|
+
var index$k = /*#__PURE__*/Object.freeze({
|
|
3452
3458
|
__proto__: null,
|
|
3453
3459
|
'default': BannerCarouselCenter
|
|
3454
3460
|
});
|
|
@@ -3469,6 +3475,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3469
3475
|
// }
|
|
3470
3476
|
// }
|
|
3471
3477
|
},
|
|
3478
|
+
|
|
3472
3479
|
sectionContainer: {
|
|
3473
3480
|
margin: '0 auto',
|
|
3474
3481
|
maxWidth: ({
|
|
@@ -3482,6 +3489,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3482
3489
|
|
|
3483
3490
|
// padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
|
|
3484
3491
|
},
|
|
3492
|
+
|
|
3485
3493
|
imageContainerDiv: {
|
|
3486
3494
|
width: '50%',
|
|
3487
3495
|
position: 'relative'
|
|
@@ -3553,6 +3561,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3553
3561
|
width: '100%'
|
|
3554
3562
|
// padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
|
|
3555
3563
|
},
|
|
3564
|
+
|
|
3556
3565
|
imageContainer: {
|
|
3557
3566
|
height: 'unset !important',
|
|
3558
3567
|
'& img': {
|
|
@@ -3677,7 +3686,7 @@ function BannerCarouselLeft({
|
|
|
3677
3686
|
})))));
|
|
3678
3687
|
}
|
|
3679
3688
|
|
|
3680
|
-
var index$
|
|
3689
|
+
var index$j = /*#__PURE__*/Object.freeze({
|
|
3681
3690
|
__proto__: null,
|
|
3682
3691
|
'default': BannerCarouselLeft
|
|
3683
3692
|
});
|
|
@@ -4073,7 +4082,7 @@ function SubscribeToNewsletter({
|
|
|
4073
4082
|
})))))));
|
|
4074
4083
|
}
|
|
4075
4084
|
|
|
4076
|
-
var index$
|
|
4085
|
+
var index$i = /*#__PURE__*/Object.freeze({
|
|
4077
4086
|
__proto__: null,
|
|
4078
4087
|
'default': SubscribeToNewsletter
|
|
4079
4088
|
});
|
|
@@ -4361,7 +4370,7 @@ function Testimonials({
|
|
|
4361
4370
|
}));
|
|
4362
4371
|
}
|
|
4363
4372
|
|
|
4364
|
-
var index$
|
|
4373
|
+
var index$h = /*#__PURE__*/Object.freeze({
|
|
4365
4374
|
__proto__: null,
|
|
4366
4375
|
'default': Testimonials
|
|
4367
4376
|
});
|
|
@@ -4559,6 +4568,7 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4559
4568
|
fontFamily: theme?.typography?.fontFamily
|
|
4560
4569
|
// boxSizing: 'border-box'
|
|
4561
4570
|
},
|
|
4571
|
+
|
|
4562
4572
|
'& h2,& h3,& p': {
|
|
4563
4573
|
marginTop: '0'
|
|
4564
4574
|
}
|
|
@@ -4583,6 +4593,7 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4583
4593
|
wordBreak: 'break-word'
|
|
4584
4594
|
// marginBottom: '8px'
|
|
4585
4595
|
},
|
|
4596
|
+
|
|
4586
4597
|
videoTestimonialTitle: {
|
|
4587
4598
|
fontSize: theme.typography.fontSize.h2,
|
|
4588
4599
|
// lineHeight: '71px',
|
|
@@ -4765,7 +4776,7 @@ function VideoTestimonial({
|
|
|
4765
4776
|
}))))));
|
|
4766
4777
|
}
|
|
4767
4778
|
|
|
4768
|
-
var index$
|
|
4779
|
+
var index$g = /*#__PURE__*/Object.freeze({
|
|
4769
4780
|
__proto__: null,
|
|
4770
4781
|
'default': VideoTestimonial
|
|
4771
4782
|
});
|
|
@@ -5001,7 +5012,7 @@ function Video({
|
|
|
5001
5012
|
}, carouselContent))));
|
|
5002
5013
|
}
|
|
5003
5014
|
|
|
5004
|
-
var index$
|
|
5015
|
+
var index$f = /*#__PURE__*/Object.freeze({
|
|
5005
5016
|
__proto__: null,
|
|
5006
5017
|
'default': Video
|
|
5007
5018
|
});
|
|
@@ -5023,6 +5034,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5023
5034
|
// }
|
|
5024
5035
|
// }
|
|
5025
5036
|
},
|
|
5037
|
+
|
|
5026
5038
|
sectionContainer: {
|
|
5027
5039
|
margin: '0 auto',
|
|
5028
5040
|
maxWidth: ({
|
|
@@ -5237,7 +5249,7 @@ function Info({
|
|
|
5237
5249
|
}, carouselContent))));
|
|
5238
5250
|
}
|
|
5239
5251
|
|
|
5240
|
-
var index$
|
|
5252
|
+
var index$e = /*#__PURE__*/Object.freeze({
|
|
5241
5253
|
__proto__: null,
|
|
5242
5254
|
'default': Info
|
|
5243
5255
|
});
|
|
@@ -5356,7 +5368,7 @@ const TextSection = ({
|
|
|
5356
5368
|
})))));
|
|
5357
5369
|
};
|
|
5358
5370
|
|
|
5359
|
-
var index$
|
|
5371
|
+
var index$d = /*#__PURE__*/Object.freeze({
|
|
5360
5372
|
__proto__: null,
|
|
5361
5373
|
'default': TextSection
|
|
5362
5374
|
});
|
|
@@ -5380,6 +5392,7 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5380
5392
|
// }
|
|
5381
5393
|
// }
|
|
5382
5394
|
},
|
|
5395
|
+
|
|
5383
5396
|
sectionContainer: {
|
|
5384
5397
|
margin: '0 auto',
|
|
5385
5398
|
maxWidth: ({
|
|
@@ -5410,6 +5423,7 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5410
5423
|
position: 'relative',
|
|
5411
5424
|
paddingBottom: '59.83%' // keeping aspect ratio 585x350
|
|
5412
5425
|
},
|
|
5426
|
+
|
|
5413
5427
|
contentRow: {
|
|
5414
5428
|
display: 'grid',
|
|
5415
5429
|
gridTemplateColumns: ({
|
|
@@ -5579,7 +5593,7 @@ function PhotoGallery({
|
|
|
5579
5593
|
}, carouselContent))));
|
|
5580
5594
|
}
|
|
5581
5595
|
|
|
5582
|
-
var index$
|
|
5596
|
+
var index$c = /*#__PURE__*/Object.freeze({
|
|
5583
5597
|
__proto__: null,
|
|
5584
5598
|
'default': PhotoGallery
|
|
5585
5599
|
});
|
|
@@ -5762,7 +5776,7 @@ const Accordion = ({
|
|
|
5762
5776
|
})));
|
|
5763
5777
|
};
|
|
5764
5778
|
|
|
5765
|
-
var index$
|
|
5779
|
+
var index$b = /*#__PURE__*/Object.freeze({
|
|
5766
5780
|
__proto__: null,
|
|
5767
5781
|
'default': FAQListing
|
|
5768
5782
|
});
|
|
@@ -5933,7 +5947,7 @@ const TextGrid = ({
|
|
|
5933
5947
|
}, carouselContent))));
|
|
5934
5948
|
};
|
|
5935
5949
|
|
|
5936
|
-
var index$
|
|
5950
|
+
var index$a = /*#__PURE__*/Object.freeze({
|
|
5937
5951
|
__proto__: null,
|
|
5938
5952
|
'default': TextGrid
|
|
5939
5953
|
});
|
|
@@ -5956,6 +5970,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5956
5970
|
// }
|
|
5957
5971
|
// }
|
|
5958
5972
|
},
|
|
5973
|
+
|
|
5959
5974
|
sectionContainer: {
|
|
5960
5975
|
margin: '0 auto',
|
|
5961
5976
|
maxWidth: ({
|
|
@@ -5988,6 +6003,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5988
6003
|
// textAlign: 'center',
|
|
5989
6004
|
// wordBreak: 'break-word'
|
|
5990
6005
|
},
|
|
6006
|
+
|
|
5991
6007
|
slickContainer: {
|
|
5992
6008
|
marginRight: '-20px'
|
|
5993
6009
|
},
|
|
@@ -6035,6 +6051,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6035
6051
|
justifyContent: 'space-between'
|
|
6036
6052
|
//alignItems: 'center',
|
|
6037
6053
|
},
|
|
6054
|
+
|
|
6038
6055
|
courseCardTags: {
|
|
6039
6056
|
display: 'flex',
|
|
6040
6057
|
justifyContent: 'flex-start',
|
|
@@ -6065,6 +6082,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6065
6082
|
// whiteSpace: 'nowrap',
|
|
6066
6083
|
// textOverflow: 'ellipsis'
|
|
6067
6084
|
},
|
|
6085
|
+
|
|
6068
6086
|
courseCardDiscount: {
|
|
6069
6087
|
display: 'flex',
|
|
6070
6088
|
justifyContent: 'flex-start',
|
|
@@ -6171,6 +6189,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6171
6189
|
// whiteSpace: 'nowrap',
|
|
6172
6190
|
// textOverflow: 'ellipsis'
|
|
6173
6191
|
},
|
|
6192
|
+
|
|
6174
6193
|
singleCard: {
|
|
6175
6194
|
margin: '6px 2px'
|
|
6176
6195
|
// width: 'calc(100% - 12px)'
|
|
@@ -6460,7 +6479,7 @@ function SimpleCardsContainer({
|
|
|
6460
6479
|
}, children);
|
|
6461
6480
|
}
|
|
6462
6481
|
|
|
6463
|
-
var index$
|
|
6482
|
+
var index$9 = /*#__PURE__*/Object.freeze({
|
|
6464
6483
|
__proto__: null,
|
|
6465
6484
|
'default': courses
|
|
6466
6485
|
});
|
|
@@ -6542,6 +6561,7 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6542
6561
|
padding: '24px'
|
|
6543
6562
|
// overflowWrap: 'break-word'
|
|
6544
6563
|
},
|
|
6564
|
+
|
|
6545
6565
|
teamDetailsHeading: {
|
|
6546
6566
|
fontSize: theme.typography.fontSize.h6,
|
|
6547
6567
|
fontWeight: theme.typography.fontWeight.bold,
|
|
@@ -6759,7 +6779,7 @@ function TeamCard({
|
|
|
6759
6779
|
}, " ", carouselContent)));
|
|
6760
6780
|
}
|
|
6761
6781
|
|
|
6762
|
-
var index$
|
|
6782
|
+
var index$8 = /*#__PURE__*/Object.freeze({
|
|
6763
6783
|
__proto__: null,
|
|
6764
6784
|
'default': TeamCard
|
|
6765
6785
|
});
|
|
@@ -6787,6 +6807,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6787
6807
|
// }
|
|
6788
6808
|
// }
|
|
6789
6809
|
},
|
|
6810
|
+
|
|
6790
6811
|
formContainer: {
|
|
6791
6812
|
margin: '0 auto',
|
|
6792
6813
|
maxWidth: ({
|
|
@@ -6823,12 +6844,14 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6823
6844
|
display: 'flex'
|
|
6824
6845
|
// alignItems: 'flex-start',
|
|
6825
6846
|
},
|
|
6847
|
+
|
|
6826
6848
|
leftContainerForm: {
|
|
6827
6849
|
width: '65%',
|
|
6828
6850
|
display: 'flex',
|
|
6829
6851
|
flexDirection: 'column'
|
|
6830
6852
|
// justifyContent: 'space-between'
|
|
6831
6853
|
},
|
|
6854
|
+
|
|
6832
6855
|
subtitle: {
|
|
6833
6856
|
// margin: '0 0 40px 0',
|
|
6834
6857
|
fontSize: theme.typography.fontSize.h5,
|
|
@@ -6896,6 +6919,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6896
6919
|
width: '100%'
|
|
6897
6920
|
// padding: '0 16ox'
|
|
6898
6921
|
},
|
|
6922
|
+
|
|
6899
6923
|
rightContainer: {
|
|
6900
6924
|
width: '100%',
|
|
6901
6925
|
padding: '0'
|
|
@@ -7180,7 +7204,7 @@ function FormEnquiry({
|
|
|
7180
7204
|
})))))));
|
|
7181
7205
|
}
|
|
7182
7206
|
|
|
7183
|
-
var index$
|
|
7207
|
+
var index$7 = /*#__PURE__*/Object.freeze({
|
|
7184
7208
|
__proto__: null,
|
|
7185
7209
|
'default': FormEnquiry
|
|
7186
7210
|
});
|
|
@@ -7208,6 +7232,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7208
7232
|
// }
|
|
7209
7233
|
// }
|
|
7210
7234
|
},
|
|
7235
|
+
|
|
7211
7236
|
contactContainer: {
|
|
7212
7237
|
width: '100%',
|
|
7213
7238
|
margin: '0 auto',
|
|
@@ -7246,6 +7271,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7246
7271
|
// justifyContent: 'space-between',
|
|
7247
7272
|
// flex: 1
|
|
7248
7273
|
},
|
|
7274
|
+
|
|
7249
7275
|
subtitle: {
|
|
7250
7276
|
// margin: '0 0 auto 0',
|
|
7251
7277
|
fontSize: theme.typography.fontSize.h6,
|
|
@@ -7602,7 +7628,7 @@ function Contact({
|
|
|
7602
7628
|
})))))));
|
|
7603
7629
|
}
|
|
7604
7630
|
|
|
7605
|
-
var index$
|
|
7631
|
+
var index$6 = /*#__PURE__*/Object.freeze({
|
|
7606
7632
|
__proto__: null,
|
|
7607
7633
|
'default': Contact
|
|
7608
7634
|
});
|
|
@@ -7690,6 +7716,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7690
7716
|
marginTop: '5%'
|
|
7691
7717
|
// padding: '0px 5% 0px 5%'
|
|
7692
7718
|
},
|
|
7719
|
+
|
|
7693
7720
|
iframe: {
|
|
7694
7721
|
position: 'absolute',
|
|
7695
7722
|
width: '100%',
|
|
@@ -8037,6 +8064,7 @@ const SingleVideoSlide$1 = props => {
|
|
|
8037
8064
|
value: data.isPaid ? buyNowText : registerNowText
|
|
8038
8065
|
// isExternal: 1
|
|
8039
8066
|
},
|
|
8067
|
+
|
|
8040
8068
|
onClick: webinarCtaClick,
|
|
8041
8069
|
type: 'primary',
|
|
8042
8070
|
size: 'medium',
|
|
@@ -8079,7 +8107,7 @@ function CoursePromotionPage$1({
|
|
|
8079
8107
|
}))));
|
|
8080
8108
|
}
|
|
8081
8109
|
|
|
8082
|
-
var index$
|
|
8110
|
+
var index$5 = /*#__PURE__*/Object.freeze({
|
|
8083
8111
|
__proto__: null,
|
|
8084
8112
|
'default': CoursePromotionPage$1
|
|
8085
8113
|
});
|
|
@@ -8105,6 +8133,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8105
8133
|
// }
|
|
8106
8134
|
// }
|
|
8107
8135
|
},
|
|
8136
|
+
|
|
8108
8137
|
sectionContainer: {
|
|
8109
8138
|
margin: '0 auto',
|
|
8110
8139
|
maxWidth: ({
|
|
@@ -8222,6 +8251,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8222
8251
|
// paddingBottom: '10px',
|
|
8223
8252
|
// paddingTop: '10px'
|
|
8224
8253
|
},
|
|
8254
|
+
|
|
8225
8255
|
bannerContainer: {
|
|
8226
8256
|
width: '100%',
|
|
8227
8257
|
background: theme?.colors?.bannerColor,
|
|
@@ -8236,6 +8266,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8236
8266
|
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
8237
8267
|
// marginBottom: '16px'
|
|
8238
8268
|
},
|
|
8269
|
+
|
|
8239
8270
|
bannerContainerText: {
|
|
8240
8271
|
transform: 'rotate(180deg)'
|
|
8241
8272
|
},
|
|
@@ -8348,6 +8379,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8348
8379
|
height: 'max-content'
|
|
8349
8380
|
// paddingRight: '10px'
|
|
8350
8381
|
},
|
|
8382
|
+
|
|
8351
8383
|
videoDetails: {
|
|
8352
8384
|
width: '100%'
|
|
8353
8385
|
},
|
|
@@ -8606,6 +8638,7 @@ const SingleVideoSlide = props => {
|
|
|
8606
8638
|
value: buyNowText
|
|
8607
8639
|
// isExternal: 1
|
|
8608
8640
|
},
|
|
8641
|
+
|
|
8609
8642
|
onClick: courseBuyNow,
|
|
8610
8643
|
type: 'primary',
|
|
8611
8644
|
size: 'medium',
|
|
@@ -8666,7 +8699,7 @@ function CoursePromotionPage({
|
|
|
8666
8699
|
}))));
|
|
8667
8700
|
}
|
|
8668
8701
|
|
|
8669
|
-
var index$
|
|
8702
|
+
var index$4 = /*#__PURE__*/Object.freeze({
|
|
8670
8703
|
__proto__: null,
|
|
8671
8704
|
'default': CoursePromotionPage
|
|
8672
8705
|
});
|
|
@@ -8710,6 +8743,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8710
8743
|
// border: '1px solid #D8E0F0',
|
|
8711
8744
|
// borderRadius: '16px'
|
|
8712
8745
|
},
|
|
8746
|
+
|
|
8713
8747
|
inputFieldLabel: {
|
|
8714
8748
|
color: theme?.colors?.lightblack,
|
|
8715
8749
|
fontSize: theme.typography.fontSize.body,
|
|
@@ -9022,6 +9056,7 @@ const FormPage = ({
|
|
|
9022
9056
|
value: countryCode === 'KR' ? '제출하기' : 'SUBMIT'
|
|
9023
9057
|
// isExternal: 1
|
|
9024
9058
|
},
|
|
9059
|
+
|
|
9025
9060
|
type: 'primary',
|
|
9026
9061
|
size: 'medium',
|
|
9027
9062
|
target: null,
|
|
@@ -9029,7 +9064,7 @@ const FormPage = ({
|
|
|
9029
9064
|
})))));
|
|
9030
9065
|
};
|
|
9031
9066
|
|
|
9032
|
-
var index$
|
|
9067
|
+
var index$3 = /*#__PURE__*/Object.freeze({
|
|
9033
9068
|
__proto__: null,
|
|
9034
9069
|
'default': FormPage
|
|
9035
9070
|
});
|
|
@@ -9177,7 +9212,7 @@ function Tiles({
|
|
|
9177
9212
|
}, TileDiv)));
|
|
9178
9213
|
}
|
|
9179
9214
|
|
|
9180
|
-
var index$
|
|
9215
|
+
var index$2 = /*#__PURE__*/Object.freeze({
|
|
9181
9216
|
__proto__: null,
|
|
9182
9217
|
'default': Tiles
|
|
9183
9218
|
});
|
|
@@ -9204,6 +9239,7 @@ const useEmailStyles = createUseStyles(theme => ({
|
|
|
9204
9239
|
height: '48px'
|
|
9205
9240
|
/* margin: 18px 0px; */
|
|
9206
9241
|
},
|
|
9242
|
+
|
|
9207
9243
|
'p-young-guru-title': {
|
|
9208
9244
|
fontFamily: theme?.typography?.fontFamily,
|
|
9209
9245
|
fontStyle: 'normal',
|
|
@@ -9231,6 +9267,7 @@ const useEmailStyles = createUseStyles(theme => ({
|
|
|
9231
9267
|
textAlign: 'center'
|
|
9232
9268
|
/* padding:35px 0 40px */
|
|
9233
9269
|
},
|
|
9270
|
+
|
|
9234
9271
|
'two-columns .column': {
|
|
9235
9272
|
width: '100%',
|
|
9236
9273
|
maxWidth: '275px',
|
|
@@ -9650,11 +9687,235 @@ function EmailDripMarket({
|
|
|
9650
9687
|
})));
|
|
9651
9688
|
}
|
|
9652
9689
|
|
|
9653
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
9690
|
+
var index$1 = /*#__PURE__*/Object.freeze({
|
|
9654
9691
|
__proto__: null,
|
|
9655
9692
|
'default': EmailDripMarket
|
|
9656
9693
|
});
|
|
9657
9694
|
|
|
9695
|
+
const useAboutInstituteStyles = createUseStyles(theme => ({
|
|
9696
|
+
aboutInstWrapper: {
|
|
9697
|
+
padding: '64px 128px',
|
|
9698
|
+
display: 'flex',
|
|
9699
|
+
justifyContent: 'center',
|
|
9700
|
+
alignItems: 'center',
|
|
9701
|
+
flexDirection: 'column'
|
|
9702
|
+
},
|
|
9703
|
+
abtoutInstText: {
|
|
9704
|
+
color: theme?.palette?.font?.secondary,
|
|
9705
|
+
fontWeight: '400',
|
|
9706
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
9707
|
+
lineHeight: '20px',
|
|
9708
|
+
textAlign: 'center',
|
|
9709
|
+
textTransform: 'uppercase',
|
|
9710
|
+
wordBreak: 'break-word'
|
|
9711
|
+
},
|
|
9712
|
+
aboutInstHeader: {
|
|
9713
|
+
fontSize: theme.typography.fontSize.h2,
|
|
9714
|
+
lineHeight: '70px',
|
|
9715
|
+
color: theme?.palette?.font?.default,
|
|
9716
|
+
marginTop: '8px',
|
|
9717
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
9718
|
+
textAlign: 'center'
|
|
9719
|
+
},
|
|
9720
|
+
imageContainer: {
|
|
9721
|
+
padding: '24px',
|
|
9722
|
+
width: '240px',
|
|
9723
|
+
height: '240px',
|
|
9724
|
+
borderRadius: '16px',
|
|
9725
|
+
border: '1px solid var(--stroke, #D8E0F0)'
|
|
9726
|
+
},
|
|
9727
|
+
image: {
|
|
9728
|
+
maxWidth: '100%',
|
|
9729
|
+
maxHeight: '100%',
|
|
9730
|
+
margin: 'auto',
|
|
9731
|
+
borderRadius: '50%'
|
|
9732
|
+
},
|
|
9733
|
+
infoContainer: {
|
|
9734
|
+
flex: 1,
|
|
9735
|
+
padding: '24px',
|
|
9736
|
+
gap: '16px',
|
|
9737
|
+
display: 'flex',
|
|
9738
|
+
flexDirection: 'column',
|
|
9739
|
+
borderRadius: '16px',
|
|
9740
|
+
background: 'var(--Blue-Tertiary, #F4F9FF)'
|
|
9741
|
+
},
|
|
9742
|
+
metaInfo: {
|
|
9743
|
+
display: 'flex'
|
|
9744
|
+
},
|
|
9745
|
+
metaInfoChild: {
|
|
9746
|
+
display: 'flex'
|
|
9747
|
+
},
|
|
9748
|
+
contentWrapper: {
|
|
9749
|
+
display: 'flex',
|
|
9750
|
+
gap: '24px'
|
|
9751
|
+
},
|
|
9752
|
+
cardWrapper: {
|
|
9753
|
+
display: 'flex',
|
|
9754
|
+
width: '100%',
|
|
9755
|
+
gap: '24px'
|
|
9756
|
+
},
|
|
9757
|
+
card: {
|
|
9758
|
+
padding: '24px',
|
|
9759
|
+
display: 'flex',
|
|
9760
|
+
justifyContent: 'space-between',
|
|
9761
|
+
borderRadius: '16px',
|
|
9762
|
+
background: 'var(--Blue-Tertiary, #F4F9FF)',
|
|
9763
|
+
width: '100%'
|
|
9764
|
+
},
|
|
9765
|
+
cardDesc: {
|
|
9766
|
+
display: 'flex',
|
|
9767
|
+
flexDirection: 'column'
|
|
9768
|
+
},
|
|
9769
|
+
// SMALL SCREEN
|
|
9770
|
+
'@media screen and (max-width: 767px)': {
|
|
9771
|
+
imageContainer: {
|
|
9772
|
+
padding: '15px',
|
|
9773
|
+
width: '150px',
|
|
9774
|
+
height: '150px',
|
|
9775
|
+
borderRadius: '10px',
|
|
9776
|
+
border: '1px solid var(--stroke, #D8E0F0)'
|
|
9777
|
+
},
|
|
9778
|
+
infoContainer: {},
|
|
9779
|
+
cardWrapper: {
|
|
9780
|
+
flexDirection: 'Column'
|
|
9781
|
+
},
|
|
9782
|
+
aboutInstWrapper: {
|
|
9783
|
+
padding: '16px 0'
|
|
9784
|
+
},
|
|
9785
|
+
aboutInstHeader: {
|
|
9786
|
+
lineHeight: '36px',
|
|
9787
|
+
color: theme?.palette?.font?.default,
|
|
9788
|
+
margin: '0px 0 12px 0',
|
|
9789
|
+
textAlign: 'center'
|
|
9790
|
+
}
|
|
9791
|
+
}
|
|
9792
|
+
}));
|
|
9793
|
+
|
|
9794
|
+
function ABOUT_INSTITUTE({
|
|
9795
|
+
sectionData,
|
|
9796
|
+
sectionIndex
|
|
9797
|
+
}) {
|
|
9798
|
+
const {
|
|
9799
|
+
layout: {
|
|
9800
|
+
containerWidth
|
|
9801
|
+
},
|
|
9802
|
+
baseURLs,
|
|
9803
|
+
isMobile,
|
|
9804
|
+
validations,
|
|
9805
|
+
isPreview,
|
|
9806
|
+
isEdit,
|
|
9807
|
+
isLandingPages,
|
|
9808
|
+
extraProps
|
|
9809
|
+
} = React.useContext(PageContext);
|
|
9810
|
+
const classes = useAboutInstituteStyles({
|
|
9811
|
+
containerWidth,
|
|
9812
|
+
isMobile
|
|
9813
|
+
});
|
|
9814
|
+
const [nodeData] = sectionData?.components;
|
|
9815
|
+
const [infoNodeData] = nodeData?.info?.components;
|
|
9816
|
+
const theme = useTheme();
|
|
9817
|
+
const ImageJSX = () => /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9818
|
+
className: classes.imageContainer
|
|
9819
|
+
}, /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
|
|
9820
|
+
className: classes.image,
|
|
9821
|
+
alt: "logo",
|
|
9822
|
+
src: nodeData.image.metadata.value
|
|
9823
|
+
}));
|
|
9824
|
+
const ContentJSX = () => /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9825
|
+
className: classes.infoContainer
|
|
9826
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9827
|
+
ref: nodeData?.your_name?.refSetter,
|
|
9828
|
+
dangerouslySetInnerHTML: {
|
|
9829
|
+
__html: infoNodeData?.your_name?.metadata?.value
|
|
9830
|
+
}
|
|
9831
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9832
|
+
className: classes.metaInfo
|
|
9833
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9834
|
+
className: classes.metaInfoChild
|
|
9835
|
+
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
9836
|
+
name: 'Location',
|
|
9837
|
+
color: theme.palette.font.primary,
|
|
9838
|
+
width: '12px'
|
|
9839
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9840
|
+
ref: nodeData?.specialisation?.refSetter,
|
|
9841
|
+
dangerouslySetInnerHTML: {
|
|
9842
|
+
__html: infoNodeData?.specialisation?.metadata?.value
|
|
9843
|
+
}
|
|
9844
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9845
|
+
className: classes.metaInfoChild
|
|
9846
|
+
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
9847
|
+
name: 'Location',
|
|
9848
|
+
color: theme.palette.font.primary,
|
|
9849
|
+
width: '12px'
|
|
9850
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9851
|
+
ref: nodeData?.qualification?.refSetter,
|
|
9852
|
+
dangerouslySetInnerHTML: {
|
|
9853
|
+
__html: infoNodeData?.qualification?.metadata?.value
|
|
9854
|
+
}
|
|
9855
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9856
|
+
className: classes.metaInfoChild
|
|
9857
|
+
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
9858
|
+
name: 'Location',
|
|
9859
|
+
color: theme.palette.font.primary,
|
|
9860
|
+
width: '12px'
|
|
9861
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9862
|
+
ref: nodeData?.experience?.refSetter,
|
|
9863
|
+
dangerouslySetInnerHTML: {
|
|
9864
|
+
__html: infoNodeData?.experience?.metadata?.value
|
|
9865
|
+
}
|
|
9866
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9867
|
+
ref: nodeData?.institute_about?.refSetter,
|
|
9868
|
+
dangerouslySetInnerHTML: {
|
|
9869
|
+
__html: infoNodeData?.institute_about?.metadata?.value
|
|
9870
|
+
}
|
|
9871
|
+
}));
|
|
9872
|
+
const HighlightJSX = () => /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9873
|
+
className: classes.cardWrapper
|
|
9874
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9875
|
+
className: classes.card
|
|
9876
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9877
|
+
className: classes.cardDesc
|
|
9878
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", null, "97"), /*#__PURE__*/React__default["default"].createElement("span", null, "Courses")), /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
9879
|
+
name: 'Location',
|
|
9880
|
+
color: theme.palette.font.primary,
|
|
9881
|
+
width: '12px'
|
|
9882
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9883
|
+
className: classes.card
|
|
9884
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9885
|
+
className: classes.cardDesc
|
|
9886
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", null, "10,0000"), /*#__PURE__*/React__default["default"].createElement("span", null, "Active Students")), /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
9887
|
+
name: 'Location',
|
|
9888
|
+
color: theme.palette.font.primary,
|
|
9889
|
+
width: '12px'
|
|
9890
|
+
})));
|
|
9891
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9892
|
+
className: classes.aboutInstWrapper
|
|
9893
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9894
|
+
className: classes.aboutInstText
|
|
9895
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
9896
|
+
ref: nodeData?.heading?.refSetter,
|
|
9897
|
+
dangerouslySetInnerHTML: {
|
|
9898
|
+
__html: nodeData?.heading?.metadata?.value
|
|
9899
|
+
}
|
|
9900
|
+
})), /*#__PURE__*/React__default["default"].createElement("h2", {
|
|
9901
|
+
className: classes.aboutInstHeader
|
|
9902
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
9903
|
+
ref: nodeData?.title?.refSetter,
|
|
9904
|
+
dangerouslySetInnerHTML: {
|
|
9905
|
+
__html: nodeData?.title?.metadata?.value
|
|
9906
|
+
}
|
|
9907
|
+
})), isMobile ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9908
|
+
className: classes.contentWrapper
|
|
9909
|
+
}, /*#__PURE__*/React__default["default"].createElement(ImageJSX, null), /*#__PURE__*/React__default["default"].createElement(HighlightJSX, null)), /*#__PURE__*/React__default["default"].createElement(ContentJSX, null)) : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9910
|
+
className: classes.contentWrapper
|
|
9911
|
+
}, /*#__PURE__*/React__default["default"].createElement(ImageJSX, null), /*#__PURE__*/React__default["default"].createElement(ContentJSX, null)), /*#__PURE__*/React__default["default"].createElement(HighlightJSX, null)));
|
|
9912
|
+
}
|
|
9913
|
+
|
|
9914
|
+
var index = /*#__PURE__*/Object.freeze({
|
|
9915
|
+
__proto__: null,
|
|
9916
|
+
'default': ABOUT_INSTITUTE
|
|
9917
|
+
});
|
|
9918
|
+
|
|
9658
9919
|
const TYPE_TO_COMPONENT_MAP = {
|
|
9659
9920
|
BANNER_CAROUSEL_RIGHT: BannerCarouselRight,
|
|
9660
9921
|
GRID_CARD: List,
|
|
@@ -9677,7 +9938,8 @@ const TYPE_TO_COMPONENT_MAP = {
|
|
|
9677
9938
|
COURSE_LANDING_PAGE: CoursePromotionPage,
|
|
9678
9939
|
FORM_LANDING_PAGE: FormPage,
|
|
9679
9940
|
TILES_SECTION: Tiles,
|
|
9680
|
-
EMAIL_DRIP_MARKET: EmailDripMarket
|
|
9941
|
+
EMAIL_DRIP_MARKET: EmailDripMarket,
|
|
9942
|
+
ABOUT_INSTITUTE
|
|
9681
9943
|
};
|
|
9682
9944
|
const getCompToRender = type => TYPE_TO_COMPONENT_MAP[type] || (() => null);
|
|
9683
9945
|
const MemoisedSection = /*#__PURE__*/React.memo(({
|