diy-template-components 4.0.4 → 4.0.5
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 +133 -100
- package/build/index.es.js.map +1 -1
- package/build/index.js +133 -100
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -21,6 +21,19 @@ var Countdown__default = /*#__PURE__*/_interopDefaultLegacy(Countdown);
|
|
|
21
21
|
var koreanLocale__default = /*#__PURE__*/_interopDefaultLegacy(koreanLocale);
|
|
22
22
|
var ReactDOMServer__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOMServer);
|
|
23
23
|
|
|
24
|
+
function insertStyle(css) {
|
|
25
|
+
if (!css || typeof window === 'undefined') {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
const style = document.createElement('style');
|
|
29
|
+
style.setAttribute('type', 'text/css');
|
|
30
|
+
style.innerHTML = css;
|
|
31
|
+
document.head.appendChild(style);
|
|
32
|
+
return css;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
insertStyle("/* Brush stroke underline - for rich text content (color via --brush-color inline style) */\n.brush-stroke {\n position: relative;\n display: inline-block;\n white-space: pre-wrap;\n}\n\n.brush-stroke::after {\n content: \"\";\n position: absolute;\n top: 90%;\n left: 0;\n height: 0.5em;\n width: 100%;\n z-index: -1;\n border: solid var(--brush-width, 0.15em) var(--brush-color, #FFFFFF);\n border-color: var(--brush-color, #FFFFFF) transparent transparent transparent;\n border-radius: 100%;\n}\n\n/* Font size classes for rich text editor - Desktop (default) */\n.font-size-extra-small {\n font-size: 12px;\n line-height: 16px;\n}\n\n.font-size-small {\n font-size: 16px;\n line-height: 20px;\n}\n\n.font-size-medium {\n font-size: 20px;\n line-height: 24px;\n}\n\n.font-size-large {\n font-size: 24px;\n line-height: 28px;\n}\n\n.font-size-very-large {\n font-size: 32px;\n line-height: 36px;\n}\n\n.font-size-extra-large {\n font-size: 56px;\n line-height: 64px;\n}\n\n.font-size-huge {\n font-size: 72px;\n line-height: 80px;\n}\n\n/* Font size classes - Mobile */\n@media (max-width: 768px) {\n .font-size-extra-small {\n font-size: 10px;\n line-height: 14px;\n }\n .font-size-small {\n font-size: 14px;\n line-height: 18px;\n }\n .font-size-medium {\n font-size: 16px;\n line-height: 20px;\n }\n .font-size-large {\n font-size: 18px;\n line-height: 20px;\n }\n .font-size-very-large {\n font-size: 24px;\n line-height: 36px;\n }\n .font-size-extra-large {\n font-size: 40px;\n line-height: 48px;\n }\n .font-size-huge {\n font-size: 56px;\n line-height: 64px;\n }\n}");
|
|
36
|
+
|
|
24
37
|
function _extends() {
|
|
25
38
|
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
26
39
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -560,7 +573,7 @@ function useLinkBuilder(data) {
|
|
|
560
573
|
basePath,
|
|
561
574
|
isMasterTemplate
|
|
562
575
|
} = React.useContext(PageContext);
|
|
563
|
-
if (isEdit || !data.isLink) {
|
|
576
|
+
if (!data || isEdit || !data.isLink) {
|
|
564
577
|
return null;
|
|
565
578
|
}
|
|
566
579
|
if (data?.isExistingLink === false) {
|
|
@@ -580,7 +593,7 @@ function useLinkBuilder(data) {
|
|
|
580
593
|
}
|
|
581
594
|
const {
|
|
582
595
|
pageId
|
|
583
|
-
} = navList
|
|
596
|
+
} = navList?.find(el => el.slug === data?.link) || {};
|
|
584
597
|
return `//${basePath}?templateId=${templateId}&pageId=${pageId}${isMasterTemplate ? '&mld=true' : ''}`;
|
|
585
598
|
}
|
|
586
599
|
|
|
@@ -2297,11 +2310,6 @@ function Footer({
|
|
|
2297
2310
|
}, "\xA9\uFE0F Leaverage Consultants Private Limited") : null);
|
|
2298
2311
|
}
|
|
2299
2312
|
|
|
2300
|
-
const borderRadius = {
|
|
2301
|
-
small: 4,
|
|
2302
|
-
regular: 8,
|
|
2303
|
-
large: 12
|
|
2304
|
-
};
|
|
2305
2313
|
const generateShadows = palette => ({
|
|
2306
2314
|
primary: `0 2px 8px ${palette.shadow.primary}`,
|
|
2307
2315
|
secondary: `0 4px 10px ${palette.shadow.secondary}`
|
|
@@ -2458,7 +2466,41 @@ const fontWeight = {
|
|
|
2458
2466
|
superBold: 900
|
|
2459
2467
|
};
|
|
2460
2468
|
|
|
2461
|
-
|
|
2469
|
+
const getBorderRadius = roundness => {
|
|
2470
|
+
const mapping = {
|
|
2471
|
+
sharp: {
|
|
2472
|
+
small: 0,
|
|
2473
|
+
regular: 0,
|
|
2474
|
+
large: 0
|
|
2475
|
+
},
|
|
2476
|
+
soft: {
|
|
2477
|
+
small: 8,
|
|
2478
|
+
regular: 8,
|
|
2479
|
+
large: 8
|
|
2480
|
+
},
|
|
2481
|
+
rounded: {
|
|
2482
|
+
small: 16,
|
|
2483
|
+
regular: 16,
|
|
2484
|
+
large: 16
|
|
2485
|
+
},
|
|
2486
|
+
'extra-round': {
|
|
2487
|
+
small: 24,
|
|
2488
|
+
regular: 24,
|
|
2489
|
+
large: 24
|
|
2490
|
+
},
|
|
2491
|
+
pill: {
|
|
2492
|
+
small: 9999,
|
|
2493
|
+
regular: 9999,
|
|
2494
|
+
large: 9999
|
|
2495
|
+
}
|
|
2496
|
+
};
|
|
2497
|
+
return mapping[roundness] || {
|
|
2498
|
+
small: 16,
|
|
2499
|
+
regular: 16,
|
|
2500
|
+
large: 16
|
|
2501
|
+
};
|
|
2502
|
+
};
|
|
2503
|
+
function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile, roundness = 'rounded') {
|
|
2462
2504
|
const palette = palettes[colorTheme] || palettes['blue'];
|
|
2463
2505
|
const typography = {
|
|
2464
2506
|
fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
|
|
@@ -2466,7 +2508,7 @@ function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
|
|
|
2466
2508
|
fontWeight
|
|
2467
2509
|
};
|
|
2468
2510
|
const shape = {
|
|
2469
|
-
borderRadius
|
|
2511
|
+
borderRadius: getBorderRadius(roundness)
|
|
2470
2512
|
};
|
|
2471
2513
|
return {
|
|
2472
2514
|
palette,
|
|
@@ -2533,17 +2575,6 @@ function NanumSquare() {
|
|
|
2533
2575
|
return null;
|
|
2534
2576
|
}
|
|
2535
2577
|
|
|
2536
|
-
function insertStyle(css) {
|
|
2537
|
-
if (!css || typeof window === 'undefined') {
|
|
2538
|
-
return;
|
|
2539
|
-
}
|
|
2540
|
-
const style = document.createElement('style');
|
|
2541
|
-
style.setAttribute('type', 'text/css');
|
|
2542
|
-
style.innerHTML = css;
|
|
2543
|
-
document.head.appendChild(style);
|
|
2544
|
-
return css;
|
|
2545
|
-
}
|
|
2546
|
-
|
|
2547
2578
|
insertStyle("@charset \"UTF-8\";\n/* Wrapper: no height/min-height – height comes only from section content, not from HOC */\n.sectionBackgroundWrapper {\n position: relative;\n width: 100%;\n overflow: hidden;\n}\n\n/* Section root transparent so background (image/color/gradient/video) shows through */\n.sectionBackgroundWrapper > .sectionBackgroundContent > * {\n background: transparent !important;\n}\n\n/* Video: absolute so it does not affect wrapper height; height follows section */\n.sectionBackgroundVideo {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n object-fit: cover;\n z-index: 0;\n pointer-events: none;\n}\n\n/* YouTube embed: cover background, no UI interaction, minimal branding via URL params */\n.sectionBackgroundYoutube {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 100vw;\n min-width: 100%;\n min-height: 100%;\n height: 56.25vw; /* 16:9 */\n min-height: 100vh;\n transform: translate(-50%, -50%);\n border: none;\n z-index: 0;\n pointer-events: none;\n}\n\n@media (min-aspect-ratio: 16/9) {\n .sectionBackgroundYoutube {\n width: 177.78vh;\n height: 100vh;\n min-width: 100%;\n min-height: 100%;\n }\n}\n/* Blur overlay: frosted glass so content stays readable over video/image/gradient */\n.sectionBackgroundBlur {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 1;\n pointer-events: none;\n backdrop-filter: blur(2px);\n -webkit-backdrop-filter: blur(2px);\n /* background: rgba(255, 255, 255, 0.08); */\n}\n\n/* Content wrapper: above blur so component items are clear */\n.sectionBackgroundContent {\n position: relative;\n z-index: 2;\n}\n\n/* Background layer: fills wrapper only (absolute), does not affect wrapper height */\n.sectionBackgroundLayer {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 0;\n pointer-events: none;\n}\n\n.sectionBackgroundLayer.sectionBackgroundImage {\n background-size: cover;\n background-position: center;\n background-repeat: no-repeat;\n}");
|
|
2548
2579
|
|
|
2549
2580
|
/**
|
|
@@ -2844,7 +2875,8 @@ function SectionRenderer$1({
|
|
|
2844
2875
|
|
|
2845
2876
|
const defaultTheme = {
|
|
2846
2877
|
color: 'blue',
|
|
2847
|
-
font: 'rubik'
|
|
2878
|
+
font: 'rubik',
|
|
2879
|
+
roundness: 'rounded'
|
|
2848
2880
|
};
|
|
2849
2881
|
const defaultLayout = {
|
|
2850
2882
|
containerWidth: 1440
|
|
@@ -2918,7 +2950,7 @@ const allColors = {
|
|
|
2918
2950
|
tertiaryskyblue: '#F2FCFF'
|
|
2919
2951
|
};
|
|
2920
2952
|
|
|
2921
|
-
const generateTheme = (theme = 'blue', fontFamily = 'Arial', isMobile) => {
|
|
2953
|
+
const generateTheme = (theme = 'blue', fontFamily = 'Arial', isMobile, roundness = 'rounded') => {
|
|
2922
2954
|
let themeColor = theme.split('-');
|
|
2923
2955
|
let color, gradient, darkMode;
|
|
2924
2956
|
if (themeColor.length === 1) {
|
|
@@ -3019,7 +3051,7 @@ const generateTheme = (theme = 'blue', fontFamily = 'Arial', isMobile) => {
|
|
|
3019
3051
|
margin: isMobile ? mobileMargin : margin
|
|
3020
3052
|
};
|
|
3021
3053
|
return {
|
|
3022
|
-
...getTheme(theme),
|
|
3054
|
+
...getTheme(theme, fontFamily, isMobile, roundness),
|
|
3023
3055
|
typography,
|
|
3024
3056
|
spacing,
|
|
3025
3057
|
colors
|
|
@@ -3031,7 +3063,8 @@ function PageRenderer$1({
|
|
|
3031
3063
|
metadata: {
|
|
3032
3064
|
theme: {
|
|
3033
3065
|
color = defaultTheme.color,
|
|
3034
|
-
font = defaultTheme.font
|
|
3066
|
+
font = defaultTheme.font,
|
|
3067
|
+
roundness = defaultTheme.roundness
|
|
3035
3068
|
} = defaultTheme,
|
|
3036
3069
|
layout = defaultLayout
|
|
3037
3070
|
} = defaultMetadata,
|
|
@@ -3083,7 +3116,7 @@ function PageRenderer$1({
|
|
|
3083
3116
|
countryCode,
|
|
3084
3117
|
currencySymbol
|
|
3085
3118
|
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
|
|
3086
|
-
const theme = React.useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
3119
|
+
const theme = React.useMemo(() => generateTheme(color, font, context.isMobile, roundness), [color, font, context.isMobile, roundness]);
|
|
3087
3120
|
const Wrapper = SectionWrapper || React.Fragment;
|
|
3088
3121
|
return /*#__PURE__*/React__default["default"].createElement(ThemeProvider, {
|
|
3089
3122
|
theme: theme
|
|
@@ -3560,9 +3593,9 @@ function BannerCarouselRight({
|
|
|
3560
3593
|
});
|
|
3561
3594
|
const [{
|
|
3562
3595
|
bannerCarousel
|
|
3563
|
-
}] = sectionData
|
|
3564
|
-
const Wrapper = bannerCarousel
|
|
3565
|
-
const wrapperProps = bannerCarousel
|
|
3596
|
+
}] = sectionData?.components;
|
|
3597
|
+
const Wrapper = bannerCarousel?.components?.length > 1 ? Carousel : React.Fragment;
|
|
3598
|
+
const wrapperProps = bannerCarousel?.components?.length > 1 ? {
|
|
3566
3599
|
buttonContainerClass: classes.absoluteButtonsBannerRight,
|
|
3567
3600
|
inverted: false
|
|
3568
3601
|
} : {};
|
|
@@ -3570,7 +3603,7 @@ function BannerCarouselRight({
|
|
|
3570
3603
|
className: classes.bannerCarouselRightSection
|
|
3571
3604
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3572
3605
|
className: classes.sectionContainer
|
|
3573
|
-
}, /*#__PURE__*/React__default["default"].createElement(Wrapper, wrapperProps, bannerCarousel
|
|
3606
|
+
}, /*#__PURE__*/React__default["default"].createElement(Wrapper, wrapperProps, bannerCarousel?.components?.map((node, idx) => /*#__PURE__*/React__default["default"].createElement(Section$5, {
|
|
3574
3607
|
nodeData: node,
|
|
3575
3608
|
key: idx /* or some other unique property */,
|
|
3576
3609
|
sectionIndex: sectionIndex,
|
|
@@ -3579,8 +3612,8 @@ function BannerCarouselRight({
|
|
|
3579
3612
|
}
|
|
3580
3613
|
|
|
3581
3614
|
var index$t = /*#__PURE__*/Object.freeze({
|
|
3582
|
-
|
|
3583
|
-
|
|
3615
|
+
__proto__: null,
|
|
3616
|
+
'default': BannerCarouselRight
|
|
3584
3617
|
});
|
|
3585
3618
|
|
|
3586
3619
|
const useSectionStyles$8 = createUseStyles(theme => ({
|
|
@@ -3803,8 +3836,8 @@ function List({
|
|
|
3803
3836
|
}
|
|
3804
3837
|
|
|
3805
3838
|
var index$s = /*#__PURE__*/Object.freeze({
|
|
3806
|
-
|
|
3807
|
-
|
|
3839
|
+
__proto__: null,
|
|
3840
|
+
'default': List
|
|
3808
3841
|
});
|
|
3809
3842
|
|
|
3810
3843
|
const useSectionStyles$7 = createUseStyles(theme => {
|
|
@@ -4093,15 +4126,15 @@ function BannerCarouselCenter({
|
|
|
4093
4126
|
});
|
|
4094
4127
|
const [{
|
|
4095
4128
|
bannerCarousel
|
|
4096
|
-
}] = sectionData
|
|
4097
|
-
const Wrapper = bannerCarousel
|
|
4098
|
-
const wrapperProps = bannerCarousel
|
|
4129
|
+
}] = sectionData?.components;
|
|
4130
|
+
const Wrapper = bannerCarousel?.components?.length > 1 ? Carousel : React.Fragment;
|
|
4131
|
+
const wrapperProps = bannerCarousel?.components?.length > 1 ? {
|
|
4099
4132
|
buttonContainerClass: classes.absoluteButtons,
|
|
4100
4133
|
inverted: true
|
|
4101
4134
|
} : {};
|
|
4102
4135
|
return /*#__PURE__*/React__default["default"].createElement("section", {
|
|
4103
4136
|
className: classes.bannerCarouselCenterSection
|
|
4104
|
-
}, /*#__PURE__*/React__default["default"].createElement(Wrapper, wrapperProps, bannerCarousel
|
|
4137
|
+
}, /*#__PURE__*/React__default["default"].createElement(Wrapper, wrapperProps, bannerCarousel?.components?.map((node, idx) => /*#__PURE__*/React__default["default"].createElement(Section$4, {
|
|
4105
4138
|
nodeData: node,
|
|
4106
4139
|
isCustomWebsite: isCustomWebsite,
|
|
4107
4140
|
key: idx /* or some other unique property */,
|
|
@@ -4111,8 +4144,8 @@ function BannerCarouselCenter({
|
|
|
4111
4144
|
}
|
|
4112
4145
|
|
|
4113
4146
|
var index$r = /*#__PURE__*/Object.freeze({
|
|
4114
|
-
|
|
4115
|
-
|
|
4147
|
+
__proto__: null,
|
|
4148
|
+
'default': BannerCarouselCenter
|
|
4116
4149
|
});
|
|
4117
4150
|
|
|
4118
4151
|
const useSectionStyles$6 = createUseStyles(theme => {
|
|
@@ -4406,8 +4439,8 @@ function BannerCarouselCenterv2({
|
|
|
4406
4439
|
}
|
|
4407
4440
|
|
|
4408
4441
|
var index$q = /*#__PURE__*/Object.freeze({
|
|
4409
|
-
|
|
4410
|
-
|
|
4442
|
+
__proto__: null,
|
|
4443
|
+
'default': BannerCarouselCenterv2
|
|
4411
4444
|
});
|
|
4412
4445
|
|
|
4413
4446
|
const useSectionStyles$5 = createUseStyles(theme => {
|
|
@@ -4632,13 +4665,13 @@ function BannerCarouselLeft({
|
|
|
4632
4665
|
});
|
|
4633
4666
|
const [{
|
|
4634
4667
|
bannerCarousel
|
|
4635
|
-
}] = sectionData
|
|
4636
|
-
const Wrapper = bannerCarousel
|
|
4668
|
+
}] = sectionData?.components;
|
|
4669
|
+
const Wrapper = bannerCarousel?.components?.length > 1 ? Carousel : React.Fragment;
|
|
4637
4670
|
return /*#__PURE__*/React__default["default"].createElement("section", {
|
|
4638
4671
|
className: classes.section
|
|
4639
4672
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4640
4673
|
className: classes.sectionContainer
|
|
4641
|
-
}, /*#__PURE__*/React__default["default"].createElement(Wrapper, null, bannerCarousel
|
|
4674
|
+
}, /*#__PURE__*/React__default["default"].createElement(Wrapper, null, bannerCarousel?.components?.map((node, idx) => /*#__PURE__*/React__default["default"].createElement(Section$2, {
|
|
4642
4675
|
nodeData: node,
|
|
4643
4676
|
key: idx /* or some other unique property */,
|
|
4644
4677
|
sectionIndex: sectionIndex,
|
|
@@ -4647,8 +4680,8 @@ function BannerCarouselLeft({
|
|
|
4647
4680
|
}
|
|
4648
4681
|
|
|
4649
4682
|
var index$p = /*#__PURE__*/Object.freeze({
|
|
4650
|
-
|
|
4651
|
-
|
|
4683
|
+
__proto__: null,
|
|
4684
|
+
'default': BannerCarouselLeft
|
|
4652
4685
|
});
|
|
4653
4686
|
|
|
4654
4687
|
const useSectionStyles$4 = createUseStyles(theme => ({
|
|
@@ -5043,8 +5076,8 @@ function SubscribeToNewsletter({
|
|
|
5043
5076
|
}
|
|
5044
5077
|
|
|
5045
5078
|
var index$o = /*#__PURE__*/Object.freeze({
|
|
5046
|
-
|
|
5047
|
-
|
|
5079
|
+
__proto__: null,
|
|
5080
|
+
'default': SubscribeToNewsletter
|
|
5048
5081
|
});
|
|
5049
5082
|
|
|
5050
5083
|
const useTestimonialStyles = createUseStyles(theme => ({
|
|
@@ -5331,8 +5364,8 @@ function Testimonials({
|
|
|
5331
5364
|
}
|
|
5332
5365
|
|
|
5333
5366
|
var index$n = /*#__PURE__*/Object.freeze({
|
|
5334
|
-
|
|
5335
|
-
|
|
5367
|
+
__proto__: null,
|
|
5368
|
+
'default': Testimonials
|
|
5336
5369
|
});
|
|
5337
5370
|
|
|
5338
5371
|
const loaderStyle = theme => ({
|
|
@@ -5735,8 +5768,8 @@ function VideoTestimonial({
|
|
|
5735
5768
|
}
|
|
5736
5769
|
|
|
5737
5770
|
var index$m = /*#__PURE__*/Object.freeze({
|
|
5738
|
-
|
|
5739
|
-
|
|
5771
|
+
__proto__: null,
|
|
5772
|
+
'default': VideoTestimonial
|
|
5740
5773
|
});
|
|
5741
5774
|
|
|
5742
5775
|
const useVideoStyles = createUseStyles(theme => {
|
|
@@ -5971,8 +6004,8 @@ function Video({
|
|
|
5971
6004
|
}
|
|
5972
6005
|
|
|
5973
6006
|
var index$l = /*#__PURE__*/Object.freeze({
|
|
5974
|
-
|
|
5975
|
-
|
|
6007
|
+
__proto__: null,
|
|
6008
|
+
'default': Video
|
|
5976
6009
|
});
|
|
5977
6010
|
|
|
5978
6011
|
const useSectionStyles$3 = createUseStyles(theme => ({
|
|
@@ -6207,8 +6240,8 @@ function Info({
|
|
|
6207
6240
|
}
|
|
6208
6241
|
|
|
6209
6242
|
var index$k = /*#__PURE__*/Object.freeze({
|
|
6210
|
-
|
|
6211
|
-
|
|
6243
|
+
__proto__: null,
|
|
6244
|
+
'default': Info
|
|
6212
6245
|
});
|
|
6213
6246
|
|
|
6214
6247
|
const useSectionStyles$2 = createUseStyles(theme => ({
|
|
@@ -6326,8 +6359,8 @@ const TextSection = ({
|
|
|
6326
6359
|
};
|
|
6327
6360
|
|
|
6328
6361
|
var index$j = /*#__PURE__*/Object.freeze({
|
|
6329
|
-
|
|
6330
|
-
|
|
6362
|
+
__proto__: null,
|
|
6363
|
+
'default': TextSection
|
|
6331
6364
|
});
|
|
6332
6365
|
|
|
6333
6366
|
const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
@@ -6549,8 +6582,8 @@ function PhotoGallery({
|
|
|
6549
6582
|
}
|
|
6550
6583
|
|
|
6551
6584
|
var index$i = /*#__PURE__*/Object.freeze({
|
|
6552
|
-
|
|
6553
|
-
|
|
6585
|
+
__proto__: null,
|
|
6586
|
+
'default': PhotoGallery
|
|
6554
6587
|
});
|
|
6555
6588
|
|
|
6556
6589
|
const useFaqListStyles = createUseStyles(theme => ({
|
|
@@ -6732,8 +6765,8 @@ const Accordion = ({
|
|
|
6732
6765
|
};
|
|
6733
6766
|
|
|
6734
6767
|
var index$h = /*#__PURE__*/Object.freeze({
|
|
6735
|
-
|
|
6736
|
-
|
|
6768
|
+
__proto__: null,
|
|
6769
|
+
'default': FAQListing
|
|
6737
6770
|
});
|
|
6738
6771
|
|
|
6739
6772
|
const useTextGridStyles = createUseStyles(theme => ({
|
|
@@ -6903,8 +6936,8 @@ const TextGrid = ({
|
|
|
6903
6936
|
};
|
|
6904
6937
|
|
|
6905
6938
|
var index$g = /*#__PURE__*/Object.freeze({
|
|
6906
|
-
|
|
6907
|
-
|
|
6939
|
+
__proto__: null,
|
|
6940
|
+
'default': TextGrid
|
|
6908
6941
|
});
|
|
6909
6942
|
|
|
6910
6943
|
const useCourseStyles = createUseStyles(theme => {
|
|
@@ -8187,8 +8220,8 @@ function SimpleCardsContainer({
|
|
|
8187
8220
|
}
|
|
8188
8221
|
|
|
8189
8222
|
var index$f = /*#__PURE__*/Object.freeze({
|
|
8190
|
-
|
|
8191
|
-
|
|
8223
|
+
__proto__: null,
|
|
8224
|
+
'default': courses
|
|
8192
8225
|
});
|
|
8193
8226
|
|
|
8194
8227
|
const useTeamStyles = createUseStyles(theme => {
|
|
@@ -8505,8 +8538,8 @@ function TeamCard({
|
|
|
8505
8538
|
}
|
|
8506
8539
|
|
|
8507
8540
|
var index$e = /*#__PURE__*/Object.freeze({
|
|
8508
|
-
|
|
8509
|
-
|
|
8541
|
+
__proto__: null,
|
|
8542
|
+
'default': TeamCard
|
|
8510
8543
|
});
|
|
8511
8544
|
|
|
8512
8545
|
const useSectionStyles$1 = createUseStyles(theme => ({
|
|
@@ -8926,8 +8959,8 @@ function FormEnquiry({
|
|
|
8926
8959
|
}
|
|
8927
8960
|
|
|
8928
8961
|
var index$d = /*#__PURE__*/Object.freeze({
|
|
8929
|
-
|
|
8930
|
-
|
|
8962
|
+
__proto__: null,
|
|
8963
|
+
'default': FormEnquiry
|
|
8931
8964
|
});
|
|
8932
8965
|
|
|
8933
8966
|
const useSectionStyles = createUseStyles(theme => ({
|
|
@@ -9348,8 +9381,8 @@ function Contact({
|
|
|
9348
9381
|
}
|
|
9349
9382
|
|
|
9350
9383
|
var index$c = /*#__PURE__*/Object.freeze({
|
|
9351
|
-
|
|
9352
|
-
|
|
9384
|
+
__proto__: null,
|
|
9385
|
+
'default': Contact
|
|
9353
9386
|
});
|
|
9354
9387
|
|
|
9355
9388
|
const useWebinarPromotionPage = createUseStyles(theme => {
|
|
@@ -9825,12 +9858,11 @@ function CoursePromotionPage$1({
|
|
|
9825
9858
|
}
|
|
9826
9859
|
|
|
9827
9860
|
var index$b = /*#__PURE__*/Object.freeze({
|
|
9828
|
-
|
|
9829
|
-
|
|
9861
|
+
__proto__: null,
|
|
9862
|
+
'default': CoursePromotionPage$1
|
|
9830
9863
|
});
|
|
9831
9864
|
|
|
9832
9865
|
const useCoursePromotionPage$1 = createUseStyles(theme => {
|
|
9833
|
-
console.log(theme, 'themere');
|
|
9834
9866
|
return {
|
|
9835
9867
|
courseSuperContainer: {
|
|
9836
9868
|
display: 'flex',
|
|
@@ -10412,8 +10444,8 @@ function CoursePromotionPage({
|
|
|
10412
10444
|
}
|
|
10413
10445
|
|
|
10414
10446
|
var index$a = /*#__PURE__*/Object.freeze({
|
|
10415
|
-
|
|
10416
|
-
|
|
10447
|
+
__proto__: null,
|
|
10448
|
+
'default': CoursePromotionPage
|
|
10417
10449
|
});
|
|
10418
10450
|
|
|
10419
10451
|
const useFormPageStyles = createUseStyles(theme => ({
|
|
@@ -10775,8 +10807,8 @@ const FormPage = ({
|
|
|
10775
10807
|
};
|
|
10776
10808
|
|
|
10777
10809
|
var index$9 = /*#__PURE__*/Object.freeze({
|
|
10778
|
-
|
|
10779
|
-
|
|
10810
|
+
__proto__: null,
|
|
10811
|
+
'default': FormPage
|
|
10780
10812
|
});
|
|
10781
10813
|
|
|
10782
10814
|
const useTilesStyles = createUseStyles(theme => {
|
|
@@ -10923,8 +10955,8 @@ function Tiles({
|
|
|
10923
10955
|
}
|
|
10924
10956
|
|
|
10925
10957
|
var index$8 = /*#__PURE__*/Object.freeze({
|
|
10926
|
-
|
|
10927
|
-
|
|
10958
|
+
__proto__: null,
|
|
10959
|
+
'default': Tiles
|
|
10928
10960
|
});
|
|
10929
10961
|
|
|
10930
10962
|
const useEmailStyles = createUseStyles(theme => ({
|
|
@@ -11396,8 +11428,8 @@ function EmailDripMarket({
|
|
|
11396
11428
|
}
|
|
11397
11429
|
|
|
11398
11430
|
var index$7 = /*#__PURE__*/Object.freeze({
|
|
11399
|
-
|
|
11400
|
-
|
|
11431
|
+
__proto__: null,
|
|
11432
|
+
'default': EmailDripMarket
|
|
11401
11433
|
});
|
|
11402
11434
|
|
|
11403
11435
|
const useAboutInstituteStyles = createUseStyles(theme => ({
|
|
@@ -11764,8 +11796,8 @@ function ABOUT_INSTITUTE({
|
|
|
11764
11796
|
}
|
|
11765
11797
|
|
|
11766
11798
|
var index$6 = /*#__PURE__*/Object.freeze({
|
|
11767
|
-
|
|
11768
|
-
|
|
11799
|
+
__proto__: null,
|
|
11800
|
+
'default': ABOUT_INSTITUTE
|
|
11769
11801
|
});
|
|
11770
11802
|
|
|
11771
11803
|
const useCounterSectionStyles = createUseStyles(theme => {
|
|
@@ -11911,8 +11943,8 @@ function CounterSection({
|
|
|
11911
11943
|
}
|
|
11912
11944
|
|
|
11913
11945
|
var index$5 = /*#__PURE__*/Object.freeze({
|
|
11914
|
-
|
|
11915
|
-
|
|
11946
|
+
__proto__: null,
|
|
11947
|
+
'default': CounterSection
|
|
11916
11948
|
});
|
|
11917
11949
|
|
|
11918
11950
|
const BREAKPOINTS = {
|
|
@@ -12279,9 +12311,9 @@ function StickyCta({
|
|
|
12279
12311
|
}
|
|
12280
12312
|
|
|
12281
12313
|
var index$4 = /*#__PURE__*/Object.freeze({
|
|
12282
|
-
|
|
12283
|
-
|
|
12284
|
-
|
|
12314
|
+
__proto__: null,
|
|
12315
|
+
'default': StickyCta,
|
|
12316
|
+
WhatsAppIcon: WhatsAppIcon
|
|
12285
12317
|
});
|
|
12286
12318
|
|
|
12287
12319
|
/**
|
|
@@ -12442,8 +12474,8 @@ function CustomHtmlRender({
|
|
|
12442
12474
|
}
|
|
12443
12475
|
|
|
12444
12476
|
var index$3 = /*#__PURE__*/Object.freeze({
|
|
12445
|
-
|
|
12446
|
-
|
|
12477
|
+
__proto__: null,
|
|
12478
|
+
'default': CustomHtmlRender
|
|
12447
12479
|
});
|
|
12448
12480
|
|
|
12449
12481
|
const useTimerCallPageStyles = createUseStyles(theme => ({
|
|
@@ -12612,8 +12644,8 @@ const TimerAndCall = ({
|
|
|
12612
12644
|
};
|
|
12613
12645
|
|
|
12614
12646
|
var index$2 = /*#__PURE__*/Object.freeze({
|
|
12615
|
-
|
|
12616
|
-
|
|
12647
|
+
__proto__: null,
|
|
12648
|
+
'default': TimerAndCall
|
|
12617
12649
|
});
|
|
12618
12650
|
|
|
12619
12651
|
const TYPE_TO_COMPONENT_MAP = {
|
|
@@ -12688,7 +12720,8 @@ function PageRenderer({
|
|
|
12688
12720
|
metadata: {
|
|
12689
12721
|
theme: {
|
|
12690
12722
|
color = defaultTheme.color,
|
|
12691
|
-
font = defaultTheme.font
|
|
12723
|
+
font = defaultTheme.font,
|
|
12724
|
+
roundness = defaultTheme.roundness
|
|
12692
12725
|
} = defaultTheme,
|
|
12693
12726
|
layout = defaultLayout
|
|
12694
12727
|
} = defaultMetadata,
|
|
@@ -12739,7 +12772,7 @@ function PageRenderer({
|
|
|
12739
12772
|
countryCode,
|
|
12740
12773
|
currencySymbol
|
|
12741
12774
|
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
|
|
12742
|
-
const theme = React.useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
12775
|
+
const theme = React.useMemo(() => generateTheme(color, font, context.isMobile, roundness), [color, font, context.isMobile, roundness]);
|
|
12743
12776
|
const Wrapper = SectionWrapper || React.Fragment;
|
|
12744
12777
|
return /*#__PURE__*/React__default["default"].createElement(ThemeProvider, {
|
|
12745
12778
|
theme: theme
|
|
@@ -13049,8 +13082,8 @@ function VideoWorkshopPromotion({
|
|
|
13049
13082
|
}
|
|
13050
13083
|
|
|
13051
13084
|
var index$1 = /*#__PURE__*/Object.freeze({
|
|
13052
|
-
|
|
13053
|
-
|
|
13085
|
+
__proto__: null,
|
|
13086
|
+
'default': VideoWorkshopPromotion
|
|
13054
13087
|
});
|
|
13055
13088
|
|
|
13056
13089
|
const useCoursePromotionPage = createUseStyles(theme => {
|
|
@@ -13682,8 +13715,8 @@ function CoursePromotionPagev2({
|
|
|
13682
13715
|
}
|
|
13683
13716
|
|
|
13684
13717
|
var index = /*#__PURE__*/Object.freeze({
|
|
13685
|
-
|
|
13686
|
-
|
|
13718
|
+
__proto__: null,
|
|
13719
|
+
'default': CoursePromotionPagev2
|
|
13687
13720
|
});
|
|
13688
13721
|
|
|
13689
13722
|
exports.Icon = Icon;
|