diy-template-components 2.0.87 → 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 +554 -105
- package/build/index.es.js.map +1 -1
- package/build/index.js +554 -105
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -226,6 +226,78 @@ const useSectionStyles$a = createUseStyles(theme => ({
|
|
|
226
226
|
justifyContent: 'center',
|
|
227
227
|
width: '10%'
|
|
228
228
|
},
|
|
229
|
+
offerPrice: {
|
|
230
|
+
fontSize: theme.typography.fontSize.h4,
|
|
231
|
+
fontWeight: '700'
|
|
232
|
+
},
|
|
233
|
+
originalPrice: {
|
|
234
|
+
textDecoration: 'line-through',
|
|
235
|
+
color: 'rgba(51, 51, 51, 0.6)'
|
|
236
|
+
},
|
|
237
|
+
offerDiscount: {
|
|
238
|
+
color: '#08BD80',
|
|
239
|
+
fontWeight: '600'
|
|
240
|
+
},
|
|
241
|
+
rightNav: {
|
|
242
|
+
marginRight: '120px',
|
|
243
|
+
display: 'flex',
|
|
244
|
+
alignItems: "center"
|
|
245
|
+
},
|
|
246
|
+
priceBox: {
|
|
247
|
+
marginRight: '16px'
|
|
248
|
+
},
|
|
249
|
+
offerBox: {
|
|
250
|
+
marginRight: '24px',
|
|
251
|
+
display: 'flex',
|
|
252
|
+
flexDirection: 'column',
|
|
253
|
+
backgroundColor: 'rgba(244, 249, 253, 1)',
|
|
254
|
+
justifyContent: 'space-between',
|
|
255
|
+
borderRadius: '8px'
|
|
256
|
+
},
|
|
257
|
+
offerBoxText: {
|
|
258
|
+
color: 'rgba(51, 51, 51, 0.6)',
|
|
259
|
+
fontWeight: '600',
|
|
260
|
+
fontSize: '10px',
|
|
261
|
+
padding: '3px 12px 3px, 12px',
|
|
262
|
+
padding: '4px',
|
|
263
|
+
textAlign: 'center',
|
|
264
|
+
marginTop: '4px'
|
|
265
|
+
},
|
|
266
|
+
offerBoxCountDown: {
|
|
267
|
+
backgroundColor: 'rgba(235, 87, 87, 0.1)',
|
|
268
|
+
border: '0px 1px 1px 1px',
|
|
269
|
+
borderRadius: '8px',
|
|
270
|
+
color: '#EB5757',
|
|
271
|
+
fontSize: '16px',
|
|
272
|
+
fontWeight: '700',
|
|
273
|
+
padding: '6px 16px'
|
|
274
|
+
},
|
|
275
|
+
BottomSheetContainer: {
|
|
276
|
+
display: 'flex',
|
|
277
|
+
flexDirection: 'column',
|
|
278
|
+
borderTop: '1px solid #e5e5e5',
|
|
279
|
+
background: '#021927',
|
|
280
|
+
color: '#FFFFFF'
|
|
281
|
+
},
|
|
282
|
+
BottomSheetPriceContainer: {
|
|
283
|
+
display: 'flex',
|
|
284
|
+
justifyContent: 'space-between',
|
|
285
|
+
padding: '16px 16px 24px',
|
|
286
|
+
alignItems: "center"
|
|
287
|
+
},
|
|
288
|
+
BottomSheetOfferContainer: {
|
|
289
|
+
padding: '12px 0 ',
|
|
290
|
+
padding: '16px 16px 24px',
|
|
291
|
+
border: '1px solid rgba(0, 0, 0, 1)'
|
|
292
|
+
},
|
|
293
|
+
offerBottom: {
|
|
294
|
+
display: 'flex',
|
|
295
|
+
justifyContent: 'space-between'
|
|
296
|
+
},
|
|
297
|
+
smallText: {
|
|
298
|
+
fontWeight: '400',
|
|
299
|
+
fontSize: '8px'
|
|
300
|
+
},
|
|
229
301
|
'@media screen and (max-width: 767px)': {
|
|
230
302
|
optionsContainer: {
|
|
231
303
|
flexDirection: 'column',
|
|
@@ -261,6 +333,24 @@ const useSectionStyles$a = createUseStyles(theme => ({
|
|
|
261
333
|
borderBottom: '1px solid #F3F3F3',
|
|
262
334
|
width: '100%'
|
|
263
335
|
}
|
|
336
|
+
},
|
|
337
|
+
offerPrice: {
|
|
338
|
+
color: '#FFFFFF',
|
|
339
|
+
fontSize: '18px'
|
|
340
|
+
},
|
|
341
|
+
offerDiscount: {
|
|
342
|
+
color: 'rgba(8, 189, 128, 1)'
|
|
343
|
+
},
|
|
344
|
+
originalPrice: {
|
|
345
|
+
color: '#FFFFFF',
|
|
346
|
+
textDecoration: 'line-through'
|
|
347
|
+
},
|
|
348
|
+
BottomSheetContainer: {
|
|
349
|
+
position: 'fixed',
|
|
350
|
+
bottom: 0,
|
|
351
|
+
left: 0,
|
|
352
|
+
width: '100%',
|
|
353
|
+
zIndex: '9999'
|
|
264
354
|
}
|
|
265
355
|
},
|
|
266
356
|
mobileAppNameClass: {
|
|
@@ -1305,7 +1395,8 @@ function DesktopHeader({
|
|
|
1305
1395
|
navData,
|
|
1306
1396
|
isTutorWebsite,
|
|
1307
1397
|
isLandingPage = false,
|
|
1308
|
-
onDownloadAppTriggered
|
|
1398
|
+
onDownloadAppTriggered,
|
|
1399
|
+
extraProps
|
|
1309
1400
|
}) {
|
|
1310
1401
|
const {
|
|
1311
1402
|
isFixed = true
|
|
@@ -1342,6 +1433,107 @@ function DesktopHeader({
|
|
|
1342
1433
|
|
|
1343
1434
|
// console.log(header, 'sakshat header desktop');
|
|
1344
1435
|
|
|
1436
|
+
const renderer = ({
|
|
1437
|
+
days,
|
|
1438
|
+
hours,
|
|
1439
|
+
minutes,
|
|
1440
|
+
seconds
|
|
1441
|
+
}) => {
|
|
1442
|
+
if (days === 0 && hours < 24) {
|
|
1443
|
+
return /*#__PURE__*/React.createElement("span", null, hours, "h : ", minutes, "m : ", seconds, "s");
|
|
1444
|
+
} else {
|
|
1445
|
+
let given = moment(header.endDate);
|
|
1446
|
+
let current = moment().startOf('day');
|
|
1447
|
+
return /*#__PURE__*/React.createElement("span", null, Math.floor(moment.duration(given.diff(current)).asDays()), " ", 'Days');
|
|
1448
|
+
}
|
|
1449
|
+
};
|
|
1450
|
+
const checkIfOfferIsValid = (endDate = null) => moment().diff(moment(endDate || 0)) < 0;
|
|
1451
|
+
const checkForShowDiscount = (endDate = null, offerPriceValidFor = null, discount = 0) => {
|
|
1452
|
+
let conversions = extraProps?.conversions || 0;
|
|
1453
|
+
if (endDate === null || checkIfOfferIsValid()) {
|
|
1454
|
+
if (discount > 0 && offerPriceValidFor === null) {
|
|
1455
|
+
return true;
|
|
1456
|
+
} else if (discount > 0 && offerPriceValidFor !== null && offerPriceValidFor - conversions <= 0) {
|
|
1457
|
+
return false;
|
|
1458
|
+
}
|
|
1459
|
+
} else if (offerPriceValidFor >= null && discount) {
|
|
1460
|
+
if (offerPriceValidFor <= conversions) {
|
|
1461
|
+
return false;
|
|
1462
|
+
}
|
|
1463
|
+
if (offerPriceValidFor - conversions < 0) {
|
|
1464
|
+
return false;
|
|
1465
|
+
} else {
|
|
1466
|
+
return true;
|
|
1467
|
+
}
|
|
1468
|
+
}
|
|
1469
|
+
if (discount > 0) {
|
|
1470
|
+
return true;
|
|
1471
|
+
}
|
|
1472
|
+
};
|
|
1473
|
+
const getDiscount = (price, discount) => {
|
|
1474
|
+
return (discount / price * 100).toFixed(2);
|
|
1475
|
+
};
|
|
1476
|
+
const OfferDetailsJSX = () => {
|
|
1477
|
+
if (!header?.effectivePrice) {
|
|
1478
|
+
return null;
|
|
1479
|
+
}
|
|
1480
|
+
let conversions = extraProps?.conversions || 0;
|
|
1481
|
+
const currentTimestamp = new Date().getTime();
|
|
1482
|
+
if (checkForShowDiscount(header?.endDate, header?.offerPriceValidFor, header?.discount) && header?.endDate ? checkIfOfferIsValid(header?.endDate) : true) {
|
|
1483
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
1484
|
+
className: classes.rightNav
|
|
1485
|
+
}, header?.isOfferActive && header?.endDate && header?.endDate && header?.endDate > currentTimestamp && (header?.offerPriceValidFor ? header.offerPriceValidFor - conversions > 0 : true) ? /*#__PURE__*/React.createElement("div", {
|
|
1486
|
+
className: classes.offerBox
|
|
1487
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1488
|
+
className: classes.offerBoxText
|
|
1489
|
+
}, "Offer Ends In"), /*#__PURE__*/React.createElement("div", {
|
|
1490
|
+
className: classes.offerBoxCountDown
|
|
1491
|
+
}, /*#__PURE__*/React.createElement(Countdown, {
|
|
1492
|
+
renderer: renderer,
|
|
1493
|
+
date: header?.endDate
|
|
1494
|
+
}))) : null, /*#__PURE__*/React.createElement("div", {
|
|
1495
|
+
className: classes.priceBox
|
|
1496
|
+
}, header?.price && header?.discount && header?.effectivePrice && header?.price !== header?.effectivePrice ? /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", {
|
|
1497
|
+
className: classes.offerDiscount
|
|
1498
|
+
}, `${getDiscount(header?.price, header?.discount)}%`, "\xA0OFF"), "\xA0\xA0", /*#__PURE__*/React.createElement("span", {
|
|
1499
|
+
className: classes.originalPrice
|
|
1500
|
+
}, header?.price), ' ') : null, /*#__PURE__*/React.createElement("div", {
|
|
1501
|
+
style: {
|
|
1502
|
+
textAlign: 'end'
|
|
1503
|
+
}
|
|
1504
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
1505
|
+
className: classes.offerPrice
|
|
1506
|
+
}, header?.effectivePrice), ' ')), /*#__PURE__*/React.createElement(Button, {
|
|
1507
|
+
data: {
|
|
1508
|
+
// link: 'headerData?.loginCtaLink',
|
|
1509
|
+
// isLink: 1,
|
|
1510
|
+
value: 'BUY NOW'
|
|
1511
|
+
// isExternal: 1
|
|
1512
|
+
},
|
|
1513
|
+
onClick: extraProps?.courseBuyNow,
|
|
1514
|
+
type: 'primary',
|
|
1515
|
+
size: 'small',
|
|
1516
|
+
target: null,
|
|
1517
|
+
name: "button",
|
|
1518
|
+
rel: null
|
|
1519
|
+
// styling={isMobile ? { margin: '0 40px' } : {}}
|
|
1520
|
+
}));
|
|
1521
|
+
} else return /*#__PURE__*/React.createElement(Button, {
|
|
1522
|
+
data: {
|
|
1523
|
+
// link: 'headerData?.loginCtaLink',
|
|
1524
|
+
// isLink: 1,
|
|
1525
|
+
value: 'BUY NOW'
|
|
1526
|
+
// isExternal: 1
|
|
1527
|
+
},
|
|
1528
|
+
onClick: extraProps?.courseBuyNow,
|
|
1529
|
+
type: 'primary',
|
|
1530
|
+
size: 'medium',
|
|
1531
|
+
target: null,
|
|
1532
|
+
name: "button",
|
|
1533
|
+
rel: null
|
|
1534
|
+
// styling={isMobile ? { margin: '0 40px' } : {}}
|
|
1535
|
+
});
|
|
1536
|
+
};
|
|
1345
1537
|
return /*#__PURE__*/React.createElement("nav", {
|
|
1346
1538
|
className: classes.section
|
|
1347
1539
|
}, !(header?.websiteLogo === DEFAULT_HEADER_IMAGE_LP && isCustomWebsite) ? /*#__PURE__*/React.createElement("div", {
|
|
@@ -1376,19 +1568,22 @@ function DesktopHeader({
|
|
|
1376
1568
|
moreContent: moreContentFn(),
|
|
1377
1569
|
isTutorWebsite: isTutorWebsite,
|
|
1378
1570
|
onDownloadAppTriggered: onDownloadAppTriggered
|
|
1379
|
-
}))) : /*#__PURE__*/React.createElement("div", {
|
|
1571
|
+
}), OfferDetailsJSX())) : /*#__PURE__*/React.createElement("div", {
|
|
1380
1572
|
style: {
|
|
1381
1573
|
paddingTop: '30px'
|
|
1382
1574
|
}
|
|
1383
1575
|
}));
|
|
1384
1576
|
}
|
|
1385
1577
|
|
|
1578
|
+
var timer = "data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M7.99996%2015.1667C4.50663%2015.1667%201.66663%2012.3267%201.66663%208.83333C1.66663%205.34%204.50663%202.5%207.99996%202.5C11.4933%202.5%2014.3333%205.34%2014.3333%208.83333C14.3333%2012.3267%2011.4933%2015.1667%207.99996%2015.1667ZM7.99996%203.5C5.05996%203.5%202.66663%205.89333%202.66663%208.83333C2.66663%2011.7733%205.05996%2014.1667%207.99996%2014.1667C10.94%2014.1667%2013.3333%2011.7733%2013.3333%208.83333C13.3333%205.89333%2010.94%203.5%207.99996%203.5Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M8%209.16671C7.72667%209.16671%207.5%208.94004%207.5%208.66671V5.33337C7.5%205.06004%207.72667%204.83337%208%204.83337C8.27333%204.83337%208.5%205.06004%208.5%205.33337V8.66671C8.5%208.94004%208.27333%209.16671%208%209.16671Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M10%201.83337H6C5.72667%201.83337%205.5%201.60671%205.5%201.33337C5.5%201.06004%205.72667%200.833374%206%200.833374H10C10.2733%200.833374%2010.5%201.06004%2010.5%201.33337C10.5%201.60671%2010.2733%201.83337%2010%201.83337Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E";
|
|
1579
|
+
|
|
1386
1580
|
function MobileHeader({
|
|
1387
1581
|
header,
|
|
1388
1582
|
navData,
|
|
1389
1583
|
isTutorWebsite,
|
|
1390
1584
|
isLandingPage = false,
|
|
1391
|
-
onDownloadAppTriggered
|
|
1585
|
+
onDownloadAppTriggered,
|
|
1586
|
+
extraProps
|
|
1392
1587
|
}) {
|
|
1393
1588
|
const {
|
|
1394
1589
|
isCustomWebsite,
|
|
@@ -1425,6 +1620,106 @@ function MobileHeader({
|
|
|
1425
1620
|
|
|
1426
1621
|
// console.log(header, 'sakshat header mobile');
|
|
1427
1622
|
|
|
1623
|
+
const getDiscount = (price, discount) => {
|
|
1624
|
+
return (discount / price * 100).toFixed(2);
|
|
1625
|
+
};
|
|
1626
|
+
const renderer = ({
|
|
1627
|
+
days,
|
|
1628
|
+
hours,
|
|
1629
|
+
minutes,
|
|
1630
|
+
seconds
|
|
1631
|
+
}) => {
|
|
1632
|
+
if (days === 0 && hours < 24) {
|
|
1633
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
1634
|
+
className: classes.offerBottom
|
|
1635
|
+
}, /*#__PURE__*/React.createElement("div", null, "Offer ends in"), /*#__PURE__*/React.createElement("div", {
|
|
1636
|
+
style: {
|
|
1637
|
+
display: 'flex',
|
|
1638
|
+
gap: '5px'
|
|
1639
|
+
}
|
|
1640
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
1641
|
+
src: timer,
|
|
1642
|
+
alt: ""
|
|
1643
|
+
}), ' ', /*#__PURE__*/React.createElement("div", null, hours, " ", /*#__PURE__*/React.createElement("span", {
|
|
1644
|
+
className: classes.smallText
|
|
1645
|
+
}, "hrs"), " : ", minutes, ' ', /*#__PURE__*/React.createElement("span", {
|
|
1646
|
+
className: classes.smallText
|
|
1647
|
+
}, "Mins"), " : ", seconds, ' ', /*#__PURE__*/React.createElement("span", {
|
|
1648
|
+
className: classes.smallText
|
|
1649
|
+
}, "Secs"))));
|
|
1650
|
+
} else {
|
|
1651
|
+
let given = moment(header.endDate);
|
|
1652
|
+
let current = moment().startOf('day');
|
|
1653
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
1654
|
+
className: classes.offerBottom
|
|
1655
|
+
}, /*#__PURE__*/React.createElement("div", null, "This offer is only valid for"), /*#__PURE__*/React.createElement("div", {
|
|
1656
|
+
style: {
|
|
1657
|
+
display: 'flex',
|
|
1658
|
+
gap: '5px'
|
|
1659
|
+
}
|
|
1660
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
1661
|
+
src: timer,
|
|
1662
|
+
alt: ""
|
|
1663
|
+
}), ' ', /*#__PURE__*/React.createElement("div", null, Math.floor(moment.duration(given.diff(current)).asDays()), /*#__PURE__*/React.createElement("span", {
|
|
1664
|
+
className: classes.smallText
|
|
1665
|
+
}, "\xA0\xA0Days"))));
|
|
1666
|
+
}
|
|
1667
|
+
};
|
|
1668
|
+
const OfferDetailsJSX = () => {
|
|
1669
|
+
let conversions = extraProps?.conversions || 0;
|
|
1670
|
+
const currentTimestamp = new Date().getTime();
|
|
1671
|
+
if (header?.isOfferActive && header?.endDate && header?.endDate && header?.endDate > currentTimestamp && (header?.offerPriceValidFor ? header.offerPriceValidFor - conversions > 0 : true)) {
|
|
1672
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
1673
|
+
className: classes.BottomSheetOfferContainer
|
|
1674
|
+
}, ' ', /*#__PURE__*/React.createElement(Countdown, {
|
|
1675
|
+
renderer: renderer,
|
|
1676
|
+
date: header?.endDate
|
|
1677
|
+
}));
|
|
1678
|
+
}
|
|
1679
|
+
return null;
|
|
1680
|
+
};
|
|
1681
|
+
const BottomSheetJSX = () => {
|
|
1682
|
+
if (!header?.effectivePrice) {
|
|
1683
|
+
return null;
|
|
1684
|
+
}
|
|
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
|
+
}
|
|
1691
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
1692
|
+
className: classes.BottomSheetContainer
|
|
1693
|
+
}, OfferDetailsJSX(), /*#__PURE__*/React.createElement("div", {
|
|
1694
|
+
className: classes.BottomSheetPriceContainer
|
|
1695
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1696
|
+
className: classes.BottomSheetPrice
|
|
1697
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
1698
|
+
style: {
|
|
1699
|
+
textAlign: 'start'
|
|
1700
|
+
}
|
|
1701
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
1702
|
+
className: classes.offerPrice
|
|
1703
|
+
}, header?.effectivePrice), ' '), header?.price && header?.discount && header?.effectivePrice && header?.price !== header?.effectivePrice ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
|
|
1704
|
+
className: classes.originalPrice
|
|
1705
|
+
}, header?.price), ' ', /*#__PURE__*/React.createElement("span", {
|
|
1706
|
+
className: classes.offerDiscount
|
|
1707
|
+
}, `${getDiscount(header?.price, header?.discount)}%`, "\xA0OFF"), "\xA0\xA0") : null)), /*#__PURE__*/React.createElement(Button, {
|
|
1708
|
+
data: {
|
|
1709
|
+
// link: 'headerData?.loginCtaLink',
|
|
1710
|
+
// isLink: 1,
|
|
1711
|
+
value: 'BUY NOW'
|
|
1712
|
+
// isExternal: 1
|
|
1713
|
+
},
|
|
1714
|
+
onClick: extraProps?.courseBuyNow,
|
|
1715
|
+
type: 'primary',
|
|
1716
|
+
size: 'medium',
|
|
1717
|
+
target: null,
|
|
1718
|
+
name: "button",
|
|
1719
|
+
rel: null
|
|
1720
|
+
// styling={isMobile ? { margin: '0 40px' } : {}}
|
|
1721
|
+
}))));
|
|
1722
|
+
};
|
|
1428
1723
|
if (isTutorWebsite) {
|
|
1429
1724
|
if (isAndroidDelisted && apkURL) {
|
|
1430
1725
|
downloadLink = /*#__PURE__*/React.createElement(Button, {
|
|
@@ -1497,7 +1792,7 @@ function MobileHeader({
|
|
|
1497
1792
|
downloadLink = null;
|
|
1498
1793
|
}
|
|
1499
1794
|
}
|
|
1500
|
-
return /*#__PURE__*/React.createElement("nav", {
|
|
1795
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("nav", {
|
|
1501
1796
|
ref: navEl,
|
|
1502
1797
|
className: classes.section
|
|
1503
1798
|
}, !(header?.websiteLogo === DEFAULT_HEADER_IMAGE_LP && isCustomWebsite) ? /*#__PURE__*/React.createElement("div", {
|
|
@@ -1530,7 +1825,7 @@ function MobileHeader({
|
|
|
1530
1825
|
order: 1
|
|
1531
1826
|
}))) : null, isTutorWebsite && header?.appName ? /*#__PURE__*/React.createElement("p", {
|
|
1532
1827
|
className: classes.mobileAppNameClass
|
|
1533
|
-
},
|
|
1828
|
+
}, ' ', header?.appName) : null), downloadLink), sideMenu ? /*#__PURE__*/React.createElement("div", {
|
|
1534
1829
|
className: classes.mobileMenu
|
|
1535
1830
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1536
1831
|
className: classes.backdrop,
|
|
@@ -1550,7 +1845,7 @@ function MobileHeader({
|
|
|
1550
1845
|
style: {
|
|
1551
1846
|
paddingTop: '30px'
|
|
1552
1847
|
}
|
|
1553
|
-
}));
|
|
1848
|
+
})), /*#__PURE__*/React.createElement(BottomSheetJSX, null));
|
|
1554
1849
|
}
|
|
1555
1850
|
|
|
1556
1851
|
function Header({
|
|
@@ -1570,13 +1865,15 @@ function Header({
|
|
|
1570
1865
|
header: data,
|
|
1571
1866
|
isTutorWebsite: isTutorWebsite,
|
|
1572
1867
|
isLandingPage: isLandingPage,
|
|
1573
|
-
onDownloadAppTriggered: extraProps?.DownloadAppButtonTriggered
|
|
1868
|
+
onDownloadAppTriggered: extraProps?.DownloadAppButtonTriggered,
|
|
1869
|
+
extraProps: extraProps
|
|
1574
1870
|
}) : /*#__PURE__*/React.createElement(DesktopHeader, {
|
|
1575
1871
|
navData: filterHiddenNavs(),
|
|
1576
1872
|
header: data,
|
|
1577
1873
|
isTutorWebsite: isTutorWebsite,
|
|
1578
1874
|
isLandingPage: isLandingPage,
|
|
1579
|
-
onDownloadAppTriggered: extraProps?.DownloadAppButtonTriggered
|
|
1875
|
+
onDownloadAppTriggered: extraProps?.DownloadAppButtonTriggered,
|
|
1876
|
+
extraProps: extraProps
|
|
1580
1877
|
});
|
|
1581
1878
|
}
|
|
1582
1879
|
|
|
@@ -1615,7 +1912,6 @@ const useSectionStyles$9 = createUseStyles(theme => ({
|
|
|
1615
1912
|
|
|
1616
1913
|
// '& img': { maxHeight: '55px' }
|
|
1617
1914
|
},
|
|
1618
|
-
|
|
1619
1915
|
upperContainerItem1Img: {
|
|
1620
1916
|
maxHeight: '55px',
|
|
1621
1917
|
paddingBottom: '84px',
|
|
@@ -1930,14 +2226,18 @@ function Footer({
|
|
|
1930
2226
|
alt: "classplus",
|
|
1931
2227
|
className: classes.poweredDivImg
|
|
1932
2228
|
})))) : null, orgId === 643870 || extraProps?.org_id === 643870 ? /*#__PURE__*/React.createElement("div", {
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
1939
|
-
|
|
1940
|
-
|
|
2229
|
+
style: {
|
|
2230
|
+
display: 'flex',
|
|
2231
|
+
alignSelf: 'start',
|
|
2232
|
+
marginBottom: '10px'
|
|
2233
|
+
}
|
|
2234
|
+
}, "\xA9 Samko Automotive Solution") : null, orgId === 510746 || extraProps?.org_id === 510746 ? /*#__PURE__*/React.createElement("div", {
|
|
2235
|
+
style: {
|
|
2236
|
+
display: 'flex',
|
|
2237
|
+
alignSelf: 'start',
|
|
2238
|
+
marginBottom: '10px'
|
|
2239
|
+
}
|
|
2240
|
+
}, "\xA9 Bhushan Ramchandra Gawarepatil") : null);
|
|
1941
2241
|
}
|
|
1942
2242
|
|
|
1943
2243
|
const borderRadius = {
|
|
@@ -2052,7 +2352,6 @@ const mobilePadding = {
|
|
|
2052
2352
|
// 24px
|
|
2053
2353
|
medium: baseFactor * 6 // 48px
|
|
2054
2354
|
};
|
|
2055
|
-
|
|
2056
2355
|
const padding = {
|
|
2057
2356
|
minute: baseFactor * 2,
|
|
2058
2357
|
// 16px
|
|
@@ -2178,29 +2477,30 @@ function NanumSquare() {
|
|
|
2178
2477
|
}
|
|
2179
2478
|
|
|
2180
2479
|
const TYPE_TO_COMPONENT_MAP$1 = {
|
|
2181
|
-
BANNER_CAROUSEL_RIGHT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2182
|
-
GRID_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2183
|
-
BANNER_CAROUSEL_CENTER: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2184
|
-
BANNER_CAROUSEL_LEFT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2185
|
-
FORM_SUBSCRIBE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2186
|
-
TEXT_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2187
|
-
VIDEO_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2188
|
-
VIDEO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2189
|
-
INFO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2190
|
-
TEXT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2191
|
-
IMAGE_GALLERY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2192
|
-
FAQ_LISTING: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2193
|
-
COURSE_CAROUSEL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2194
|
-
TEAM_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2195
|
-
TEXT_GRID: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2196
|
-
CONTACT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2197
|
-
FORM_ENQUIRY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2198
|
-
WEBINAR_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2199
|
-
COURSE_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2200
|
-
FORM_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2201
|
-
TILES_SECTION: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2202
|
-
EMAIL_DRIP_MARKET: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
2203
|
-
ABOUT_INSTITUTE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index; }))
|
|
2480
|
+
BANNER_CAROUSEL_RIGHT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$n; })),
|
|
2481
|
+
GRID_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$m; })),
|
|
2482
|
+
BANNER_CAROUSEL_CENTER: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$l; })),
|
|
2483
|
+
BANNER_CAROUSEL_LEFT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$k; })),
|
|
2484
|
+
FORM_SUBSCRIBE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$j; })),
|
|
2485
|
+
TEXT_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$i; })),
|
|
2486
|
+
VIDEO_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$h; })),
|
|
2487
|
+
VIDEO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$g; })),
|
|
2488
|
+
INFO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$f; })),
|
|
2489
|
+
TEXT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$e; })),
|
|
2490
|
+
IMAGE_GALLERY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$d; })),
|
|
2491
|
+
FAQ_LISTING: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$c; })),
|
|
2492
|
+
COURSE_CAROUSEL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$a; })),
|
|
2493
|
+
TEAM_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$9; })),
|
|
2494
|
+
TEXT_GRID: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$b; })),
|
|
2495
|
+
CONTACT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$8; })),
|
|
2496
|
+
FORM_ENQUIRY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$7; })),
|
|
2497
|
+
WEBINAR_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$6; })),
|
|
2498
|
+
COURSE_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$5; })),
|
|
2499
|
+
FORM_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$4; })),
|
|
2500
|
+
TILES_SECTION: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$3; })),
|
|
2501
|
+
EMAIL_DRIP_MARKET: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$2; })),
|
|
2502
|
+
ABOUT_INSTITUTE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$1; })),
|
|
2503
|
+
TIMER_AND_CALL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index; }))
|
|
2204
2504
|
};
|
|
2205
2505
|
const getCompToRender$1 = type => TYPE_TO_COMPONENT_MAP$1[type] || (() => null);
|
|
2206
2506
|
const MemoisedSection$1 = /*#__PURE__*/memo(({
|
|
@@ -2521,7 +2821,6 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2521
2821
|
// }
|
|
2522
2822
|
// }
|
|
2523
2823
|
},
|
|
2524
|
-
|
|
2525
2824
|
sectionContainer: {
|
|
2526
2825
|
margin: '0 auto',
|
|
2527
2826
|
maxWidth: ({
|
|
@@ -2953,7 +3252,7 @@ function BannerCarouselRight({
|
|
|
2953
3252
|
})))));
|
|
2954
3253
|
}
|
|
2955
3254
|
|
|
2956
|
-
var index$
|
|
3255
|
+
var index$n = /*#__PURE__*/Object.freeze({
|
|
2957
3256
|
__proto__: null,
|
|
2958
3257
|
'default': BannerCarouselRight
|
|
2959
3258
|
});
|
|
@@ -3091,7 +3390,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3091
3390
|
// padding: '0'
|
|
3092
3391
|
}
|
|
3093
3392
|
},
|
|
3094
|
-
|
|
3095
3393
|
'&:nth-child(2n+1)': {
|
|
3096
3394
|
marginRight: '0',
|
|
3097
3395
|
'& $contentText': {
|
|
@@ -3101,7 +3399,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3101
3399
|
}
|
|
3102
3400
|
}
|
|
3103
3401
|
},
|
|
3104
|
-
|
|
3105
3402
|
contentNumber: {
|
|
3106
3403
|
width: '100%',
|
|
3107
3404
|
padding: '24px',
|
|
@@ -3179,7 +3476,7 @@ function List({
|
|
|
3179
3476
|
}))));
|
|
3180
3477
|
}
|
|
3181
3478
|
|
|
3182
|
-
var index$
|
|
3479
|
+
var index$m = /*#__PURE__*/Object.freeze({
|
|
3183
3480
|
__proto__: null,
|
|
3184
3481
|
'default': List
|
|
3185
3482
|
});
|
|
@@ -3382,7 +3679,8 @@ const useSectionStyles$6 = createUseStyles(theme => {
|
|
|
3382
3679
|
|
|
3383
3680
|
const Section$3 = ({
|
|
3384
3681
|
nodeData,
|
|
3385
|
-
sectionIndex
|
|
3682
|
+
sectionIndex,
|
|
3683
|
+
extraProps
|
|
3386
3684
|
}) => {
|
|
3387
3685
|
const {
|
|
3388
3686
|
layout: {
|
|
@@ -3403,6 +3701,10 @@ const Section$3 = ({
|
|
|
3403
3701
|
hasContent,
|
|
3404
3702
|
mobileImage: nodeData?.mobileImage?.metadata?.value
|
|
3405
3703
|
});
|
|
3704
|
+
const handleButton = () => {
|
|
3705
|
+
console.log('buy now clicked');
|
|
3706
|
+
extraProps?.courseBuyNow();
|
|
3707
|
+
};
|
|
3406
3708
|
return /*#__PURE__*/React.createElement("section", {
|
|
3407
3709
|
className: classes.bannerCarouselCenterSection
|
|
3408
3710
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -3433,7 +3735,13 @@ const Section$3 = ({
|
|
|
3433
3735
|
}
|
|
3434
3736
|
}) : null, nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React.createElement("div", {
|
|
3435
3737
|
className: classes.buttonClass
|
|
3436
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
3738
|
+
}, nodeData?.cta?.metadata?.default === true ? /*#__PURE__*/React.createElement(Button, {
|
|
3739
|
+
data: nodeData.cta.metadata,
|
|
3740
|
+
ref: nodeData?.cta?.refSetter,
|
|
3741
|
+
type: nodeData?.cta?.metadata?.type,
|
|
3742
|
+
size: isMobile ? 'small' : 'medium',
|
|
3743
|
+
onClick: handleButton
|
|
3744
|
+
}) : /*#__PURE__*/React.createElement(Button, {
|
|
3437
3745
|
ref: nodeData?.cta?.refSetter,
|
|
3438
3746
|
data: nodeData.cta.metadata,
|
|
3439
3747
|
type: nodeData?.cta?.metadata?.type,
|
|
@@ -3451,7 +3759,8 @@ const Section$3 = ({
|
|
|
3451
3759
|
function BannerCarouselCenter({
|
|
3452
3760
|
sectionData,
|
|
3453
3761
|
isCustomWebsite,
|
|
3454
|
-
sectionIndex
|
|
3762
|
+
sectionIndex,
|
|
3763
|
+
extraProps
|
|
3455
3764
|
}) {
|
|
3456
3765
|
const classes = useSectionStyles$6({
|
|
3457
3766
|
isCustomWebsite
|
|
@@ -3470,11 +3779,12 @@ function BannerCarouselCenter({
|
|
|
3470
3779
|
nodeData: node,
|
|
3471
3780
|
isCustomWebsite: isCustomWebsite,
|
|
3472
3781
|
key: idx /* or some other unique property */,
|
|
3473
|
-
sectionIndex: sectionIndex
|
|
3782
|
+
sectionIndex: sectionIndex,
|
|
3783
|
+
extraProps: extraProps
|
|
3474
3784
|
}))));
|
|
3475
3785
|
}
|
|
3476
3786
|
|
|
3477
|
-
var index$
|
|
3787
|
+
var index$l = /*#__PURE__*/Object.freeze({
|
|
3478
3788
|
__proto__: null,
|
|
3479
3789
|
'default': BannerCarouselCenter
|
|
3480
3790
|
});
|
|
@@ -3495,7 +3805,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3495
3805
|
// }
|
|
3496
3806
|
// }
|
|
3497
3807
|
},
|
|
3498
|
-
|
|
3499
3808
|
sectionContainer: {
|
|
3500
3809
|
margin: '0 auto',
|
|
3501
3810
|
maxWidth: ({
|
|
@@ -3509,7 +3818,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3509
3818
|
|
|
3510
3819
|
// padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
|
|
3511
3820
|
},
|
|
3512
|
-
|
|
3513
3821
|
imageContainerDiv: {
|
|
3514
3822
|
width: '50%',
|
|
3515
3823
|
position: 'relative'
|
|
@@ -3581,7 +3889,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3581
3889
|
width: '100%'
|
|
3582
3890
|
// padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
|
|
3583
3891
|
},
|
|
3584
|
-
|
|
3585
3892
|
imageContainer: {
|
|
3586
3893
|
height: 'unset !important',
|
|
3587
3894
|
'& img': {
|
|
@@ -3706,7 +4013,7 @@ function BannerCarouselLeft({
|
|
|
3706
4013
|
})))));
|
|
3707
4014
|
}
|
|
3708
4015
|
|
|
3709
|
-
var index$
|
|
4016
|
+
var index$k = /*#__PURE__*/Object.freeze({
|
|
3710
4017
|
__proto__: null,
|
|
3711
4018
|
'default': BannerCarouselLeft
|
|
3712
4019
|
});
|
|
@@ -4102,7 +4409,7 @@ function SubscribeToNewsletter({
|
|
|
4102
4409
|
})))))));
|
|
4103
4410
|
}
|
|
4104
4411
|
|
|
4105
|
-
var index$
|
|
4412
|
+
var index$j = /*#__PURE__*/Object.freeze({
|
|
4106
4413
|
__proto__: null,
|
|
4107
4414
|
'default': SubscribeToNewsletter
|
|
4108
4415
|
});
|
|
@@ -4390,7 +4697,7 @@ function Testimonials({
|
|
|
4390
4697
|
}));
|
|
4391
4698
|
}
|
|
4392
4699
|
|
|
4393
|
-
var index$
|
|
4700
|
+
var index$i = /*#__PURE__*/Object.freeze({
|
|
4394
4701
|
__proto__: null,
|
|
4395
4702
|
'default': Testimonials
|
|
4396
4703
|
});
|
|
@@ -4588,7 +4895,6 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4588
4895
|
fontFamily: theme?.typography?.fontFamily
|
|
4589
4896
|
// boxSizing: 'border-box'
|
|
4590
4897
|
},
|
|
4591
|
-
|
|
4592
4898
|
'& h2,& h3,& p': {
|
|
4593
4899
|
marginTop: '0'
|
|
4594
4900
|
}
|
|
@@ -4613,7 +4919,6 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4613
4919
|
wordBreak: 'break-word'
|
|
4614
4920
|
// marginBottom: '8px'
|
|
4615
4921
|
},
|
|
4616
|
-
|
|
4617
4922
|
videoTestimonialTitle: {
|
|
4618
4923
|
fontSize: theme.typography.fontSize.h2,
|
|
4619
4924
|
// lineHeight: '71px',
|
|
@@ -4796,7 +5101,7 @@ function VideoTestimonial({
|
|
|
4796
5101
|
}))))));
|
|
4797
5102
|
}
|
|
4798
5103
|
|
|
4799
|
-
var index$
|
|
5104
|
+
var index$h = /*#__PURE__*/Object.freeze({
|
|
4800
5105
|
__proto__: null,
|
|
4801
5106
|
'default': VideoTestimonial
|
|
4802
5107
|
});
|
|
@@ -5032,7 +5337,7 @@ function Video({
|
|
|
5032
5337
|
}, carouselContent))));
|
|
5033
5338
|
}
|
|
5034
5339
|
|
|
5035
|
-
var index$
|
|
5340
|
+
var index$g = /*#__PURE__*/Object.freeze({
|
|
5036
5341
|
__proto__: null,
|
|
5037
5342
|
'default': Video
|
|
5038
5343
|
});
|
|
@@ -5054,7 +5359,6 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5054
5359
|
// }
|
|
5055
5360
|
// }
|
|
5056
5361
|
},
|
|
5057
|
-
|
|
5058
5362
|
sectionContainer: {
|
|
5059
5363
|
margin: '0 auto',
|
|
5060
5364
|
maxWidth: ({
|
|
@@ -5269,7 +5573,7 @@ function Info({
|
|
|
5269
5573
|
}, carouselContent))));
|
|
5270
5574
|
}
|
|
5271
5575
|
|
|
5272
|
-
var index$
|
|
5576
|
+
var index$f = /*#__PURE__*/Object.freeze({
|
|
5273
5577
|
__proto__: null,
|
|
5274
5578
|
'default': Info
|
|
5275
5579
|
});
|
|
@@ -5388,7 +5692,7 @@ const TextSection = ({
|
|
|
5388
5692
|
})))));
|
|
5389
5693
|
};
|
|
5390
5694
|
|
|
5391
|
-
var index$
|
|
5695
|
+
var index$e = /*#__PURE__*/Object.freeze({
|
|
5392
5696
|
__proto__: null,
|
|
5393
5697
|
'default': TextSection
|
|
5394
5698
|
});
|
|
@@ -5412,7 +5716,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5412
5716
|
// }
|
|
5413
5717
|
// }
|
|
5414
5718
|
},
|
|
5415
|
-
|
|
5416
5719
|
sectionContainer: {
|
|
5417
5720
|
margin: '0 auto',
|
|
5418
5721
|
maxWidth: ({
|
|
@@ -5443,7 +5746,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5443
5746
|
position: 'relative',
|
|
5444
5747
|
paddingBottom: '59.83%' // keeping aspect ratio 585x350
|
|
5445
5748
|
},
|
|
5446
|
-
|
|
5447
5749
|
contentRow: {
|
|
5448
5750
|
display: 'grid',
|
|
5449
5751
|
gridTemplateColumns: ({
|
|
@@ -5613,7 +5915,7 @@ function PhotoGallery({
|
|
|
5613
5915
|
}, carouselContent))));
|
|
5614
5916
|
}
|
|
5615
5917
|
|
|
5616
|
-
var index$
|
|
5918
|
+
var index$d = /*#__PURE__*/Object.freeze({
|
|
5617
5919
|
__proto__: null,
|
|
5618
5920
|
'default': PhotoGallery
|
|
5619
5921
|
});
|
|
@@ -5796,7 +6098,7 @@ const Accordion = ({
|
|
|
5796
6098
|
})));
|
|
5797
6099
|
};
|
|
5798
6100
|
|
|
5799
|
-
var index$
|
|
6101
|
+
var index$c = /*#__PURE__*/Object.freeze({
|
|
5800
6102
|
__proto__: null,
|
|
5801
6103
|
'default': FAQListing
|
|
5802
6104
|
});
|
|
@@ -5967,7 +6269,7 @@ const TextGrid = ({
|
|
|
5967
6269
|
}, carouselContent))));
|
|
5968
6270
|
};
|
|
5969
6271
|
|
|
5970
|
-
var index$
|
|
6272
|
+
var index$b = /*#__PURE__*/Object.freeze({
|
|
5971
6273
|
__proto__: null,
|
|
5972
6274
|
'default': TextGrid
|
|
5973
6275
|
});
|
|
@@ -5990,7 +6292,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5990
6292
|
// }
|
|
5991
6293
|
// }
|
|
5992
6294
|
},
|
|
5993
|
-
|
|
5994
6295
|
sectionContainer: {
|
|
5995
6296
|
margin: '0 auto',
|
|
5996
6297
|
maxWidth: ({
|
|
@@ -6023,7 +6324,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6023
6324
|
// textAlign: 'center',
|
|
6024
6325
|
// wordBreak: 'break-word'
|
|
6025
6326
|
},
|
|
6026
|
-
|
|
6027
6327
|
slickContainer: {
|
|
6028
6328
|
marginRight: '-20px'
|
|
6029
6329
|
},
|
|
@@ -6071,7 +6371,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6071
6371
|
justifyContent: 'space-between'
|
|
6072
6372
|
//alignItems: 'center',
|
|
6073
6373
|
},
|
|
6074
|
-
|
|
6075
6374
|
courseCardTags: {
|
|
6076
6375
|
display: 'flex',
|
|
6077
6376
|
justifyContent: 'flex-start',
|
|
@@ -6102,7 +6401,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6102
6401
|
// whiteSpace: 'nowrap',
|
|
6103
6402
|
// textOverflow: 'ellipsis'
|
|
6104
6403
|
},
|
|
6105
|
-
|
|
6106
6404
|
courseCardDiscount: {
|
|
6107
6405
|
display: 'flex',
|
|
6108
6406
|
justifyContent: 'flex-start',
|
|
@@ -6209,7 +6507,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6209
6507
|
// whiteSpace: 'nowrap',
|
|
6210
6508
|
// textOverflow: 'ellipsis'
|
|
6211
6509
|
},
|
|
6212
|
-
|
|
6213
6510
|
singleCard: {
|
|
6214
6511
|
margin: '6px 2px'
|
|
6215
6512
|
// width: 'calc(100% - 12px)'
|
|
@@ -6499,7 +6796,7 @@ function SimpleCardsContainer({
|
|
|
6499
6796
|
}, children);
|
|
6500
6797
|
}
|
|
6501
6798
|
|
|
6502
|
-
var index$
|
|
6799
|
+
var index$a = /*#__PURE__*/Object.freeze({
|
|
6503
6800
|
__proto__: null,
|
|
6504
6801
|
'default': courses
|
|
6505
6802
|
});
|
|
@@ -6557,7 +6854,6 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6557
6854
|
// gridTemplateColumns: ({ slidesToShow } = {}) =>
|
|
6558
6855
|
// `repeat(${slidesToShow},minmax(0, 1fr))`
|
|
6559
6856
|
},
|
|
6560
|
-
|
|
6561
6857
|
singleSlideContainer: {
|
|
6562
6858
|
backgroundColor: theme?.palette?.background?.default,
|
|
6563
6859
|
margin: '20px 0',
|
|
@@ -6583,7 +6879,6 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6583
6879
|
padding: '24px'
|
|
6584
6880
|
// overflowWrap: 'break-word'
|
|
6585
6881
|
},
|
|
6586
|
-
|
|
6587
6882
|
teamDetailsHeading: {
|
|
6588
6883
|
fontSize: theme.typography.fontSize.h6,
|
|
6589
6884
|
fontWeight: theme.typography.fontWeight.bold,
|
|
@@ -6818,7 +7113,7 @@ function TeamCard({
|
|
|
6818
7113
|
}, " ", getCarouselContent())));
|
|
6819
7114
|
}
|
|
6820
7115
|
|
|
6821
|
-
var index$
|
|
7116
|
+
var index$9 = /*#__PURE__*/Object.freeze({
|
|
6822
7117
|
__proto__: null,
|
|
6823
7118
|
'default': TeamCard
|
|
6824
7119
|
});
|
|
@@ -6846,7 +7141,6 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6846
7141
|
// }
|
|
6847
7142
|
// }
|
|
6848
7143
|
},
|
|
6849
|
-
|
|
6850
7144
|
formContainer: {
|
|
6851
7145
|
margin: '0 auto',
|
|
6852
7146
|
maxWidth: ({
|
|
@@ -6883,14 +7177,12 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6883
7177
|
display: 'flex'
|
|
6884
7178
|
// alignItems: 'flex-start',
|
|
6885
7179
|
},
|
|
6886
|
-
|
|
6887
7180
|
leftContainerForm: {
|
|
6888
7181
|
width: '65%',
|
|
6889
7182
|
display: 'flex',
|
|
6890
7183
|
flexDirection: 'column'
|
|
6891
7184
|
// justifyContent: 'space-between'
|
|
6892
7185
|
},
|
|
6893
|
-
|
|
6894
7186
|
subtitle: {
|
|
6895
7187
|
// margin: '0 0 40px 0',
|
|
6896
7188
|
fontSize: theme.typography.fontSize.h5,
|
|
@@ -6958,7 +7250,6 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6958
7250
|
width: '100%'
|
|
6959
7251
|
// padding: '0 16ox'
|
|
6960
7252
|
},
|
|
6961
|
-
|
|
6962
7253
|
rightContainer: {
|
|
6963
7254
|
width: '100%',
|
|
6964
7255
|
padding: '0'
|
|
@@ -7243,7 +7534,7 @@ function FormEnquiry({
|
|
|
7243
7534
|
})))))));
|
|
7244
7535
|
}
|
|
7245
7536
|
|
|
7246
|
-
var index$
|
|
7537
|
+
var index$8 = /*#__PURE__*/Object.freeze({
|
|
7247
7538
|
__proto__: null,
|
|
7248
7539
|
'default': FormEnquiry
|
|
7249
7540
|
});
|
|
@@ -7271,7 +7562,6 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7271
7562
|
// }
|
|
7272
7563
|
// }
|
|
7273
7564
|
},
|
|
7274
|
-
|
|
7275
7565
|
contactContainer: {
|
|
7276
7566
|
width: '100%',
|
|
7277
7567
|
margin: '0 auto',
|
|
@@ -7310,7 +7600,6 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7310
7600
|
// justifyContent: 'space-between',
|
|
7311
7601
|
// flex: 1
|
|
7312
7602
|
},
|
|
7313
|
-
|
|
7314
7603
|
subtitle: {
|
|
7315
7604
|
// margin: '0 0 auto 0',
|
|
7316
7605
|
fontSize: theme.typography.fontSize.h6,
|
|
@@ -7667,7 +7956,7 @@ function Contact({
|
|
|
7667
7956
|
})))))));
|
|
7668
7957
|
}
|
|
7669
7958
|
|
|
7670
|
-
var index$
|
|
7959
|
+
var index$7 = /*#__PURE__*/Object.freeze({
|
|
7671
7960
|
__proto__: null,
|
|
7672
7961
|
'default': Contact
|
|
7673
7962
|
});
|
|
@@ -7755,7 +8044,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7755
8044
|
marginTop: '5%'
|
|
7756
8045
|
// padding: '0px 5% 0px 5%'
|
|
7757
8046
|
},
|
|
7758
|
-
|
|
7759
8047
|
iframe: {
|
|
7760
8048
|
position: 'absolute',
|
|
7761
8049
|
width: '100%',
|
|
@@ -8103,7 +8391,6 @@ const SingleVideoSlide$1 = props => {
|
|
|
8103
8391
|
value: data.isPaid ? buyNowText : registerNowText
|
|
8104
8392
|
// isExternal: 1
|
|
8105
8393
|
},
|
|
8106
|
-
|
|
8107
8394
|
onClick: webinarCtaClick,
|
|
8108
8395
|
type: 'primary',
|
|
8109
8396
|
size: 'medium',
|
|
@@ -8146,7 +8433,7 @@ function CoursePromotionPage$1({
|
|
|
8146
8433
|
}))));
|
|
8147
8434
|
}
|
|
8148
8435
|
|
|
8149
|
-
var index$
|
|
8436
|
+
var index$6 = /*#__PURE__*/Object.freeze({
|
|
8150
8437
|
__proto__: null,
|
|
8151
8438
|
'default': CoursePromotionPage$1
|
|
8152
8439
|
});
|
|
@@ -8172,7 +8459,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8172
8459
|
// }
|
|
8173
8460
|
// }
|
|
8174
8461
|
},
|
|
8175
|
-
|
|
8176
8462
|
sectionContainer: {
|
|
8177
8463
|
margin: '0 auto',
|
|
8178
8464
|
maxWidth: ({
|
|
@@ -8290,7 +8576,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8290
8576
|
// paddingBottom: '10px',
|
|
8291
8577
|
// paddingTop: '10px'
|
|
8292
8578
|
},
|
|
8293
|
-
|
|
8294
8579
|
bannerContainer: {
|
|
8295
8580
|
width: '100%',
|
|
8296
8581
|
background: theme?.colors?.bannerColor,
|
|
@@ -8305,7 +8590,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8305
8590
|
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
8306
8591
|
// marginBottom: '16px'
|
|
8307
8592
|
},
|
|
8308
|
-
|
|
8309
8593
|
bannerContainerText: {
|
|
8310
8594
|
transform: 'rotate(180deg)'
|
|
8311
8595
|
},
|
|
@@ -8418,7 +8702,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8418
8702
|
height: 'max-content'
|
|
8419
8703
|
// paddingRight: '10px'
|
|
8420
8704
|
},
|
|
8421
|
-
|
|
8422
8705
|
videoDetails: {
|
|
8423
8706
|
width: '100%'
|
|
8424
8707
|
},
|
|
@@ -8677,7 +8960,6 @@ const SingleVideoSlide = props => {
|
|
|
8677
8960
|
value: buyNowText
|
|
8678
8961
|
// isExternal: 1
|
|
8679
8962
|
},
|
|
8680
|
-
|
|
8681
8963
|
onClick: courseBuyNow,
|
|
8682
8964
|
type: 'primary',
|
|
8683
8965
|
size: 'medium',
|
|
@@ -8738,7 +9020,7 @@ function CoursePromotionPage({
|
|
|
8738
9020
|
}))));
|
|
8739
9021
|
}
|
|
8740
9022
|
|
|
8741
|
-
var index$
|
|
9023
|
+
var index$5 = /*#__PURE__*/Object.freeze({
|
|
8742
9024
|
__proto__: null,
|
|
8743
9025
|
'default': CoursePromotionPage
|
|
8744
9026
|
});
|
|
@@ -8782,7 +9064,6 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8782
9064
|
// border: '1px solid #D8E0F0',
|
|
8783
9065
|
// borderRadius: '16px'
|
|
8784
9066
|
},
|
|
8785
|
-
|
|
8786
9067
|
inputFieldLabel: {
|
|
8787
9068
|
color: theme?.colors?.lightblack,
|
|
8788
9069
|
fontSize: theme.typography.fontSize.body,
|
|
@@ -9095,7 +9376,6 @@ const FormPage = ({
|
|
|
9095
9376
|
value: countryCode === 'KR' ? '제출하기' : 'SUBMIT'
|
|
9096
9377
|
// isExternal: 1
|
|
9097
9378
|
},
|
|
9098
|
-
|
|
9099
9379
|
type: 'primary',
|
|
9100
9380
|
size: 'medium',
|
|
9101
9381
|
target: null,
|
|
@@ -9103,7 +9383,7 @@ const FormPage = ({
|
|
|
9103
9383
|
})))));
|
|
9104
9384
|
};
|
|
9105
9385
|
|
|
9106
|
-
var index$
|
|
9386
|
+
var index$4 = /*#__PURE__*/Object.freeze({
|
|
9107
9387
|
__proto__: null,
|
|
9108
9388
|
'default': FormPage
|
|
9109
9389
|
});
|
|
@@ -9251,7 +9531,7 @@ function Tiles({
|
|
|
9251
9531
|
}, TileDiv)));
|
|
9252
9532
|
}
|
|
9253
9533
|
|
|
9254
|
-
var index$
|
|
9534
|
+
var index$3 = /*#__PURE__*/Object.freeze({
|
|
9255
9535
|
__proto__: null,
|
|
9256
9536
|
'default': Tiles
|
|
9257
9537
|
});
|
|
@@ -9278,7 +9558,6 @@ const useEmailStyles = createUseStyles(theme => ({
|
|
|
9278
9558
|
height: '48px'
|
|
9279
9559
|
/* margin: 18px 0px; */
|
|
9280
9560
|
},
|
|
9281
|
-
|
|
9282
9561
|
'p-young-guru-title': {
|
|
9283
9562
|
fontFamily: theme?.typography?.fontFamily,
|
|
9284
9563
|
fontStyle: 'normal',
|
|
@@ -9306,7 +9585,6 @@ const useEmailStyles = createUseStyles(theme => ({
|
|
|
9306
9585
|
textAlign: 'center'
|
|
9307
9586
|
/* padding:35px 0 40px */
|
|
9308
9587
|
},
|
|
9309
|
-
|
|
9310
9588
|
'two-columns .column': {
|
|
9311
9589
|
width: '100%',
|
|
9312
9590
|
maxWidth: '275px',
|
|
@@ -9726,7 +10004,7 @@ function EmailDripMarket({
|
|
|
9726
10004
|
})));
|
|
9727
10005
|
}
|
|
9728
10006
|
|
|
9729
|
-
var index$
|
|
10007
|
+
var index$2 = /*#__PURE__*/Object.freeze({
|
|
9730
10008
|
__proto__: null,
|
|
9731
10009
|
'default': EmailDripMarket
|
|
9732
10010
|
});
|
|
@@ -9776,7 +10054,6 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
|
|
|
9776
10054
|
// borderRadius: '16px',
|
|
9777
10055
|
// border: '1px solid var(--stroke, #D8E0F0)',
|
|
9778
10056
|
},
|
|
9779
|
-
|
|
9780
10057
|
image: {
|
|
9781
10058
|
width: '100%',
|
|
9782
10059
|
height: '100%',
|
|
@@ -10095,11 +10372,181 @@ function ABOUT_INSTITUTE({
|
|
|
10095
10372
|
}, /*#__PURE__*/React.createElement(ImageJSX, null), /*#__PURE__*/React.createElement(ContentJSX, null)), /*#__PURE__*/React.createElement(HighlightJSX, null)));
|
|
10096
10373
|
}
|
|
10097
10374
|
|
|
10098
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
10375
|
+
var index$1 = /*#__PURE__*/Object.freeze({
|
|
10099
10376
|
__proto__: null,
|
|
10100
10377
|
'default': ABOUT_INSTITUTE
|
|
10101
10378
|
});
|
|
10102
10379
|
|
|
10380
|
+
const useTimerCallPageStyles = createUseStyles(theme => ({
|
|
10381
|
+
timerAndCallSection: {
|
|
10382
|
+
padding: ({
|
|
10383
|
+
isMobile
|
|
10384
|
+
} = {}) => isMobile ? '24px' : '80px 120px',
|
|
10385
|
+
background: theme?.colors?.white,
|
|
10386
|
+
'&, & *, & *:before, & *:after': {
|
|
10387
|
+
fontFamily: theme?.typography?.fontFamily,
|
|
10388
|
+
boxSizing: 'border-box'
|
|
10389
|
+
}
|
|
10390
|
+
},
|
|
10391
|
+
timerAndCallContainer: {
|
|
10392
|
+
padding: '72px',
|
|
10393
|
+
background: '#F4F9FF',
|
|
10394
|
+
borderRadius: '8px',
|
|
10395
|
+
boxShadow: '0px 4px 10px rgba(0, 0, 0, 0.16)'
|
|
10396
|
+
},
|
|
10397
|
+
timerAndCallBox: {
|
|
10398
|
+
display: 'flex',
|
|
10399
|
+
flexDirection: 'column',
|
|
10400
|
+
gap: '42px',
|
|
10401
|
+
justifyContent: 'center',
|
|
10402
|
+
alignItems: 'center'
|
|
10403
|
+
},
|
|
10404
|
+
title: {
|
|
10405
|
+
fontWeight: '700',
|
|
10406
|
+
fontSize: '40px',
|
|
10407
|
+
textAlign: 'center',
|
|
10408
|
+
lineHeight: '45px'
|
|
10409
|
+
},
|
|
10410
|
+
offerWrapper: {
|
|
10411
|
+
display: 'flex',
|
|
10412
|
+
flexDirection: 'column',
|
|
10413
|
+
gap: '24px',
|
|
10414
|
+
justifyContent: 'center',
|
|
10415
|
+
alignItems: 'center'
|
|
10416
|
+
},
|
|
10417
|
+
offerEndsTitle: {
|
|
10418
|
+
fontWeight: '700',
|
|
10419
|
+
fontSize: '16px'
|
|
10420
|
+
},
|
|
10421
|
+
countdown: {
|
|
10422
|
+
display: 'flex',
|
|
10423
|
+
gap: '10px'
|
|
10424
|
+
},
|
|
10425
|
+
counterBox: {
|
|
10426
|
+
display: 'flex',
|
|
10427
|
+
flexDirection: 'column',
|
|
10428
|
+
justifyContent: 'center',
|
|
10429
|
+
alignItems: 'center',
|
|
10430
|
+
border: '0.56px solid #2C88FF',
|
|
10431
|
+
borderRadius: '8px',
|
|
10432
|
+
background: '#FFFFFF',
|
|
10433
|
+
color: '#2C88FF',
|
|
10434
|
+
padding: '12px 16px 12px 16px',
|
|
10435
|
+
fontWeight: '600',
|
|
10436
|
+
fontSize: '14px'
|
|
10437
|
+
},
|
|
10438
|
+
// SMALL SCREEN
|
|
10439
|
+
'@media screen and (max-width: 767px)': {
|
|
10440
|
+
timerAndCallSection: {
|
|
10441
|
+
padding: '24px'
|
|
10442
|
+
},
|
|
10443
|
+
timerAndCallContainer: {
|
|
10444
|
+
padding: '16px'
|
|
10445
|
+
},
|
|
10446
|
+
timerAndCallBox: {
|
|
10447
|
+
gap: '32px'
|
|
10448
|
+
},
|
|
10449
|
+
title: {
|
|
10450
|
+
fontSize: '24px'
|
|
10451
|
+
},
|
|
10452
|
+
offerWrapper: {
|
|
10453
|
+
gap: '16px'
|
|
10454
|
+
}
|
|
10455
|
+
}
|
|
10456
|
+
}));
|
|
10457
|
+
|
|
10458
|
+
const TimerAndCall = ({
|
|
10459
|
+
sectionData,
|
|
10460
|
+
extraProps = {}
|
|
10461
|
+
}) => {
|
|
10462
|
+
const {
|
|
10463
|
+
isMobile,
|
|
10464
|
+
fullPageData
|
|
10465
|
+
} = useContext(PageContext);
|
|
10466
|
+
const [nodeData] = sectionData?.components;
|
|
10467
|
+
const classes = useTimerCallPageStyles({
|
|
10468
|
+
isMobile
|
|
10469
|
+
});
|
|
10470
|
+
const CounterBox = ({
|
|
10471
|
+
value,
|
|
10472
|
+
text
|
|
10473
|
+
}) => {
|
|
10474
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
10475
|
+
className: classes.counterBox
|
|
10476
|
+
}, /*#__PURE__*/React.createElement("div", null, value), /*#__PURE__*/React.createElement("div", null, text));
|
|
10477
|
+
};
|
|
10478
|
+
const renderer = ({
|
|
10479
|
+
formatted,
|
|
10480
|
+
completed
|
|
10481
|
+
}) => {
|
|
10482
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
10483
|
+
className: classes.countdown
|
|
10484
|
+
}, /*#__PURE__*/React.createElement(CounterBox, {
|
|
10485
|
+
value: formatted?.hours,
|
|
10486
|
+
text: "Hours"
|
|
10487
|
+
}), /*#__PURE__*/React.createElement(CounterBox, {
|
|
10488
|
+
value: formatted?.minutes,
|
|
10489
|
+
text: "Mins"
|
|
10490
|
+
}), /*#__PURE__*/React.createElement(CounterBox, {
|
|
10491
|
+
value: formatted?.seconds,
|
|
10492
|
+
text: "Secs"
|
|
10493
|
+
}));
|
|
10494
|
+
};
|
|
10495
|
+
const CountDownJSX = offerPriceValidFor => {
|
|
10496
|
+
let conversions = extraProps?.conversions || 0;
|
|
10497
|
+
if (offerPriceValidFor && offerPriceValidFor - conversions <= 0) {
|
|
10498
|
+
return null;
|
|
10499
|
+
}
|
|
10500
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
10501
|
+
className: classes.offerWrapper
|
|
10502
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
10503
|
+
className: classes.offerEndsTitle
|
|
10504
|
+
}, "Offer ends in"), /*#__PURE__*/React.createElement(Countdown, {
|
|
10505
|
+
renderer: renderer,
|
|
10506
|
+
date: nodeData.offerCounter?.metadata?.endDate,
|
|
10507
|
+
daysInHours: true
|
|
10508
|
+
}));
|
|
10509
|
+
};
|
|
10510
|
+
return /*#__PURE__*/React.createElement("section", {
|
|
10511
|
+
className: classes.timerAndCallSection
|
|
10512
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
10513
|
+
className: classes.timerAndCallContainer
|
|
10514
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
10515
|
+
className: classes.timerAndCallBox
|
|
10516
|
+
}, nodeData?.showOffer?.metadata?.value && nodeData.offerCounter?.metadata?.isOfferActive ? CountDownJSX(nodeData.offerCounter?.metadata?.offerPriceValidFor) : null, nodeData?.title?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
|
|
10517
|
+
className: classes.title
|
|
10518
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
10519
|
+
ref: nodeData?.heading?.refSetter,
|
|
10520
|
+
dangerouslySetInnerHTML: {
|
|
10521
|
+
__html: nodeData?.title?.metadata?.value
|
|
10522
|
+
}
|
|
10523
|
+
})) : null, nodeData?.timerButton?.metadata?.value ? /*#__PURE__*/React.createElement(Button, {
|
|
10524
|
+
style: {
|
|
10525
|
+
width: '100%',
|
|
10526
|
+
fontWeight: '700',
|
|
10527
|
+
fontSize: '14px'
|
|
10528
|
+
},
|
|
10529
|
+
data: {
|
|
10530
|
+
// link: 'headerData?.loginCtaLink',
|
|
10531
|
+
// isLink: 1,
|
|
10532
|
+
value: nodeData.timerButton.metadata.value
|
|
10533
|
+
// isExternal: 1
|
|
10534
|
+
},
|
|
10535
|
+
onClick: extraProps?.courseBuyNow,
|
|
10536
|
+
type: 'primary',
|
|
10537
|
+
size: 'medium',
|
|
10538
|
+
target: null,
|
|
10539
|
+
name: "button",
|
|
10540
|
+
rel: null
|
|
10541
|
+
// styling={isMobile ? { margin: '0 40px' } : {}}
|
|
10542
|
+
}) : null)));
|
|
10543
|
+
};
|
|
10544
|
+
|
|
10545
|
+
var index = /*#__PURE__*/Object.freeze({
|
|
10546
|
+
__proto__: null,
|
|
10547
|
+
'default': TimerAndCall
|
|
10548
|
+
});
|
|
10549
|
+
|
|
10103
10550
|
const TYPE_TO_COMPONENT_MAP = {
|
|
10104
10551
|
BANNER_CAROUSEL_RIGHT: BannerCarouselRight,
|
|
10105
10552
|
GRID_CARD: List,
|
|
@@ -10123,7 +10570,8 @@ const TYPE_TO_COMPONENT_MAP = {
|
|
|
10123
10570
|
FORM_LANDING_PAGE: FormPage,
|
|
10124
10571
|
TILES_SECTION: Tiles,
|
|
10125
10572
|
EMAIL_DRIP_MARKET: EmailDripMarket,
|
|
10126
|
-
ABOUT_INSTITUTE
|
|
10573
|
+
ABOUT_INSTITUTE,
|
|
10574
|
+
TIMER_AND_CALL: TimerAndCall
|
|
10127
10575
|
};
|
|
10128
10576
|
const getCompToRender = type => TYPE_TO_COMPONENT_MAP[type] || (() => null);
|
|
10129
10577
|
const MemoisedSection = /*#__PURE__*/memo(({
|
|
@@ -10132,6 +10580,7 @@ const MemoisedSection = /*#__PURE__*/memo(({
|
|
|
10132
10580
|
isCustomWebsite,
|
|
10133
10581
|
sectionIndex
|
|
10134
10582
|
}) => {
|
|
10583
|
+
console.log('extraProps in section data', extraProps);
|
|
10135
10584
|
const SectionComp = getCompToRender(sectionData.type);
|
|
10136
10585
|
return /*#__PURE__*/React.createElement(SectionComp, {
|
|
10137
10586
|
sectionData: sectionData,
|