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.js
CHANGED
|
@@ -242,6 +242,78 @@ const useSectionStyles$a = createUseStyles(theme => ({
|
|
|
242
242
|
justifyContent: 'center',
|
|
243
243
|
width: '10%'
|
|
244
244
|
},
|
|
245
|
+
offerPrice: {
|
|
246
|
+
fontSize: theme.typography.fontSize.h4,
|
|
247
|
+
fontWeight: '700'
|
|
248
|
+
},
|
|
249
|
+
originalPrice: {
|
|
250
|
+
textDecoration: 'line-through',
|
|
251
|
+
color: 'rgba(51, 51, 51, 0.6)'
|
|
252
|
+
},
|
|
253
|
+
offerDiscount: {
|
|
254
|
+
color: '#08BD80',
|
|
255
|
+
fontWeight: '600'
|
|
256
|
+
},
|
|
257
|
+
rightNav: {
|
|
258
|
+
marginRight: '120px',
|
|
259
|
+
display: 'flex',
|
|
260
|
+
alignItems: "center"
|
|
261
|
+
},
|
|
262
|
+
priceBox: {
|
|
263
|
+
marginRight: '16px'
|
|
264
|
+
},
|
|
265
|
+
offerBox: {
|
|
266
|
+
marginRight: '24px',
|
|
267
|
+
display: 'flex',
|
|
268
|
+
flexDirection: 'column',
|
|
269
|
+
backgroundColor: 'rgba(244, 249, 253, 1)',
|
|
270
|
+
justifyContent: 'space-between',
|
|
271
|
+
borderRadius: '8px'
|
|
272
|
+
},
|
|
273
|
+
offerBoxText: {
|
|
274
|
+
color: 'rgba(51, 51, 51, 0.6)',
|
|
275
|
+
fontWeight: '600',
|
|
276
|
+
fontSize: '10px',
|
|
277
|
+
padding: '3px 12px 3px, 12px',
|
|
278
|
+
padding: '4px',
|
|
279
|
+
textAlign: 'center',
|
|
280
|
+
marginTop: '4px'
|
|
281
|
+
},
|
|
282
|
+
offerBoxCountDown: {
|
|
283
|
+
backgroundColor: 'rgba(235, 87, 87, 0.1)',
|
|
284
|
+
border: '0px 1px 1px 1px',
|
|
285
|
+
borderRadius: '8px',
|
|
286
|
+
color: '#EB5757',
|
|
287
|
+
fontSize: '16px',
|
|
288
|
+
fontWeight: '700',
|
|
289
|
+
padding: '6px 16px'
|
|
290
|
+
},
|
|
291
|
+
BottomSheetContainer: {
|
|
292
|
+
display: 'flex',
|
|
293
|
+
flexDirection: 'column',
|
|
294
|
+
borderTop: '1px solid #e5e5e5',
|
|
295
|
+
background: '#021927',
|
|
296
|
+
color: '#FFFFFF'
|
|
297
|
+
},
|
|
298
|
+
BottomSheetPriceContainer: {
|
|
299
|
+
display: 'flex',
|
|
300
|
+
justifyContent: 'space-between',
|
|
301
|
+
padding: '16px 16px 24px',
|
|
302
|
+
alignItems: "center"
|
|
303
|
+
},
|
|
304
|
+
BottomSheetOfferContainer: {
|
|
305
|
+
padding: '12px 0 ',
|
|
306
|
+
padding: '16px 16px 24px',
|
|
307
|
+
border: '1px solid rgba(0, 0, 0, 1)'
|
|
308
|
+
},
|
|
309
|
+
offerBottom: {
|
|
310
|
+
display: 'flex',
|
|
311
|
+
justifyContent: 'space-between'
|
|
312
|
+
},
|
|
313
|
+
smallText: {
|
|
314
|
+
fontWeight: '400',
|
|
315
|
+
fontSize: '8px'
|
|
316
|
+
},
|
|
245
317
|
'@media screen and (max-width: 767px)': {
|
|
246
318
|
optionsContainer: {
|
|
247
319
|
flexDirection: 'column',
|
|
@@ -277,6 +349,24 @@ const useSectionStyles$a = createUseStyles(theme => ({
|
|
|
277
349
|
borderBottom: '1px solid #F3F3F3',
|
|
278
350
|
width: '100%'
|
|
279
351
|
}
|
|
352
|
+
},
|
|
353
|
+
offerPrice: {
|
|
354
|
+
color: '#FFFFFF',
|
|
355
|
+
fontSize: '18px'
|
|
356
|
+
},
|
|
357
|
+
offerDiscount: {
|
|
358
|
+
color: 'rgba(8, 189, 128, 1)'
|
|
359
|
+
},
|
|
360
|
+
originalPrice: {
|
|
361
|
+
color: '#FFFFFF',
|
|
362
|
+
textDecoration: 'line-through'
|
|
363
|
+
},
|
|
364
|
+
BottomSheetContainer: {
|
|
365
|
+
position: 'fixed',
|
|
366
|
+
bottom: 0,
|
|
367
|
+
left: 0,
|
|
368
|
+
width: '100%',
|
|
369
|
+
zIndex: '9999'
|
|
280
370
|
}
|
|
281
371
|
},
|
|
282
372
|
mobileAppNameClass: {
|
|
@@ -1321,7 +1411,8 @@ function DesktopHeader({
|
|
|
1321
1411
|
navData,
|
|
1322
1412
|
isTutorWebsite,
|
|
1323
1413
|
isLandingPage = false,
|
|
1324
|
-
onDownloadAppTriggered
|
|
1414
|
+
onDownloadAppTriggered,
|
|
1415
|
+
extraProps
|
|
1325
1416
|
}) {
|
|
1326
1417
|
const {
|
|
1327
1418
|
isFixed = true
|
|
@@ -1358,6 +1449,107 @@ function DesktopHeader({
|
|
|
1358
1449
|
|
|
1359
1450
|
// console.log(header, 'sakshat header desktop');
|
|
1360
1451
|
|
|
1452
|
+
const renderer = ({
|
|
1453
|
+
days,
|
|
1454
|
+
hours,
|
|
1455
|
+
minutes,
|
|
1456
|
+
seconds
|
|
1457
|
+
}) => {
|
|
1458
|
+
if (days === 0 && hours < 24) {
|
|
1459
|
+
return /*#__PURE__*/React__default["default"].createElement("span", null, hours, "h : ", minutes, "m : ", seconds, "s");
|
|
1460
|
+
} else {
|
|
1461
|
+
let given = moment__default["default"](header.endDate);
|
|
1462
|
+
let current = moment__default["default"]().startOf('day');
|
|
1463
|
+
return /*#__PURE__*/React__default["default"].createElement("span", null, Math.floor(moment__default["default"].duration(given.diff(current)).asDays()), " ", 'Days');
|
|
1464
|
+
}
|
|
1465
|
+
};
|
|
1466
|
+
const checkIfOfferIsValid = (endDate = null) => moment__default["default"]().diff(moment__default["default"](endDate || 0)) < 0;
|
|
1467
|
+
const checkForShowDiscount = (endDate = null, offerPriceValidFor = null, discount = 0) => {
|
|
1468
|
+
let conversions = extraProps?.conversions || 0;
|
|
1469
|
+
if (endDate === null || checkIfOfferIsValid()) {
|
|
1470
|
+
if (discount > 0 && offerPriceValidFor === null) {
|
|
1471
|
+
return true;
|
|
1472
|
+
} else if (discount > 0 && offerPriceValidFor !== null && offerPriceValidFor - conversions <= 0) {
|
|
1473
|
+
return false;
|
|
1474
|
+
}
|
|
1475
|
+
} else if (offerPriceValidFor >= null && discount) {
|
|
1476
|
+
if (offerPriceValidFor <= conversions) {
|
|
1477
|
+
return false;
|
|
1478
|
+
}
|
|
1479
|
+
if (offerPriceValidFor - conversions < 0) {
|
|
1480
|
+
return false;
|
|
1481
|
+
} else {
|
|
1482
|
+
return true;
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
if (discount > 0) {
|
|
1486
|
+
return true;
|
|
1487
|
+
}
|
|
1488
|
+
};
|
|
1489
|
+
const getDiscount = (price, discount) => {
|
|
1490
|
+
return (discount / price * 100).toFixed(2);
|
|
1491
|
+
};
|
|
1492
|
+
const OfferDetailsJSX = () => {
|
|
1493
|
+
if (!header?.effectivePrice) {
|
|
1494
|
+
return null;
|
|
1495
|
+
}
|
|
1496
|
+
let conversions = extraProps?.conversions || 0;
|
|
1497
|
+
const currentTimestamp = new Date().getTime();
|
|
1498
|
+
if (checkForShowDiscount(header?.endDate, header?.offerPriceValidFor, header?.discount) && header?.endDate ? checkIfOfferIsValid(header?.endDate) : true) {
|
|
1499
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1500
|
+
className: classes.rightNav
|
|
1501
|
+
}, header?.isOfferActive && header?.endDate && header?.endDate && header?.endDate > currentTimestamp && (header?.offerPriceValidFor ? header.offerPriceValidFor - conversions > 0 : true) ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1502
|
+
className: classes.offerBox
|
|
1503
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1504
|
+
className: classes.offerBoxText
|
|
1505
|
+
}, "Offer Ends In"), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1506
|
+
className: classes.offerBoxCountDown
|
|
1507
|
+
}, /*#__PURE__*/React__default["default"].createElement(Countdown__default["default"], {
|
|
1508
|
+
renderer: renderer,
|
|
1509
|
+
date: header?.endDate
|
|
1510
|
+
}))) : null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1511
|
+
className: classes.priceBox
|
|
1512
|
+
}, header?.price && header?.discount && header?.effectivePrice && header?.price !== header?.effectivePrice ? /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1513
|
+
className: classes.offerDiscount
|
|
1514
|
+
}, `${getDiscount(header?.price, header?.discount)}%`, "\xA0OFF"), "\xA0\xA0", /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1515
|
+
className: classes.originalPrice
|
|
1516
|
+
}, header?.price), ' ') : null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1517
|
+
style: {
|
|
1518
|
+
textAlign: 'end'
|
|
1519
|
+
}
|
|
1520
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1521
|
+
className: classes.offerPrice
|
|
1522
|
+
}, header?.effectivePrice), ' ')), /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
1523
|
+
data: {
|
|
1524
|
+
// link: 'headerData?.loginCtaLink',
|
|
1525
|
+
// isLink: 1,
|
|
1526
|
+
value: 'BUY NOW'
|
|
1527
|
+
// isExternal: 1
|
|
1528
|
+
},
|
|
1529
|
+
onClick: extraProps?.courseBuyNow,
|
|
1530
|
+
type: 'primary',
|
|
1531
|
+
size: 'small',
|
|
1532
|
+
target: null,
|
|
1533
|
+
name: "button",
|
|
1534
|
+
rel: null
|
|
1535
|
+
// styling={isMobile ? { margin: '0 40px' } : {}}
|
|
1536
|
+
}));
|
|
1537
|
+
} else return /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
1538
|
+
data: {
|
|
1539
|
+
// link: 'headerData?.loginCtaLink',
|
|
1540
|
+
// isLink: 1,
|
|
1541
|
+
value: 'BUY NOW'
|
|
1542
|
+
// isExternal: 1
|
|
1543
|
+
},
|
|
1544
|
+
onClick: extraProps?.courseBuyNow,
|
|
1545
|
+
type: 'primary',
|
|
1546
|
+
size: 'medium',
|
|
1547
|
+
target: null,
|
|
1548
|
+
name: "button",
|
|
1549
|
+
rel: null
|
|
1550
|
+
// styling={isMobile ? { margin: '0 40px' } : {}}
|
|
1551
|
+
});
|
|
1552
|
+
};
|
|
1361
1553
|
return /*#__PURE__*/React__default["default"].createElement("nav", {
|
|
1362
1554
|
className: classes.section
|
|
1363
1555
|
}, !(header?.websiteLogo === DEFAULT_HEADER_IMAGE_LP && isCustomWebsite) ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -1392,19 +1584,22 @@ function DesktopHeader({
|
|
|
1392
1584
|
moreContent: moreContentFn(),
|
|
1393
1585
|
isTutorWebsite: isTutorWebsite,
|
|
1394
1586
|
onDownloadAppTriggered: onDownloadAppTriggered
|
|
1395
|
-
}))) : /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1587
|
+
}), OfferDetailsJSX())) : /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1396
1588
|
style: {
|
|
1397
1589
|
paddingTop: '30px'
|
|
1398
1590
|
}
|
|
1399
1591
|
}));
|
|
1400
1592
|
}
|
|
1401
1593
|
|
|
1594
|
+
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";
|
|
1595
|
+
|
|
1402
1596
|
function MobileHeader({
|
|
1403
1597
|
header,
|
|
1404
1598
|
navData,
|
|
1405
1599
|
isTutorWebsite,
|
|
1406
1600
|
isLandingPage = false,
|
|
1407
|
-
onDownloadAppTriggered
|
|
1601
|
+
onDownloadAppTriggered,
|
|
1602
|
+
extraProps
|
|
1408
1603
|
}) {
|
|
1409
1604
|
const {
|
|
1410
1605
|
isCustomWebsite,
|
|
@@ -1441,6 +1636,106 @@ function MobileHeader({
|
|
|
1441
1636
|
|
|
1442
1637
|
// console.log(header, 'sakshat header mobile');
|
|
1443
1638
|
|
|
1639
|
+
const getDiscount = (price, discount) => {
|
|
1640
|
+
return (discount / price * 100).toFixed(2);
|
|
1641
|
+
};
|
|
1642
|
+
const renderer = ({
|
|
1643
|
+
days,
|
|
1644
|
+
hours,
|
|
1645
|
+
minutes,
|
|
1646
|
+
seconds
|
|
1647
|
+
}) => {
|
|
1648
|
+
if (days === 0 && hours < 24) {
|
|
1649
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1650
|
+
className: classes.offerBottom
|
|
1651
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", null, "Offer ends in"), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1652
|
+
style: {
|
|
1653
|
+
display: 'flex',
|
|
1654
|
+
gap: '5px'
|
|
1655
|
+
}
|
|
1656
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
1657
|
+
src: timer,
|
|
1658
|
+
alt: ""
|
|
1659
|
+
}), ' ', /*#__PURE__*/React__default["default"].createElement("div", null, hours, " ", /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1660
|
+
className: classes.smallText
|
|
1661
|
+
}, "hrs"), " : ", minutes, ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1662
|
+
className: classes.smallText
|
|
1663
|
+
}, "Mins"), " : ", seconds, ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1664
|
+
className: classes.smallText
|
|
1665
|
+
}, "Secs"))));
|
|
1666
|
+
} else {
|
|
1667
|
+
let given = moment__default["default"](header.endDate);
|
|
1668
|
+
let current = moment__default["default"]().startOf('day');
|
|
1669
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1670
|
+
className: classes.offerBottom
|
|
1671
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", null, "This offer is only valid for"), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1672
|
+
style: {
|
|
1673
|
+
display: 'flex',
|
|
1674
|
+
gap: '5px'
|
|
1675
|
+
}
|
|
1676
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
1677
|
+
src: timer,
|
|
1678
|
+
alt: ""
|
|
1679
|
+
}), ' ', /*#__PURE__*/React__default["default"].createElement("div", null, Math.floor(moment__default["default"].duration(given.diff(current)).asDays()), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1680
|
+
className: classes.smallText
|
|
1681
|
+
}, "\xA0\xA0Days"))));
|
|
1682
|
+
}
|
|
1683
|
+
};
|
|
1684
|
+
const OfferDetailsJSX = () => {
|
|
1685
|
+
let conversions = extraProps?.conversions || 0;
|
|
1686
|
+
const currentTimestamp = new Date().getTime();
|
|
1687
|
+
if (header?.isOfferActive && header?.endDate && header?.endDate && header?.endDate > currentTimestamp && (header?.offerPriceValidFor ? header.offerPriceValidFor - conversions > 0 : true)) {
|
|
1688
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1689
|
+
className: classes.BottomSheetOfferContainer
|
|
1690
|
+
}, ' ', /*#__PURE__*/React__default["default"].createElement(Countdown__default["default"], {
|
|
1691
|
+
renderer: renderer,
|
|
1692
|
+
date: header?.endDate
|
|
1693
|
+
}));
|
|
1694
|
+
}
|
|
1695
|
+
return null;
|
|
1696
|
+
};
|
|
1697
|
+
const BottomSheetJSX = () => {
|
|
1698
|
+
if (!header?.effectivePrice) {
|
|
1699
|
+
return null;
|
|
1700
|
+
}
|
|
1701
|
+
const body = navEl?.current?.ownerDocument?.body;
|
|
1702
|
+
console.log("body", body);
|
|
1703
|
+
console.log("body 1", document?.getElementsByClassName(classes.section)?.closest('body'));
|
|
1704
|
+
if (body) {
|
|
1705
|
+
body.style.marginBottom = '130px';
|
|
1706
|
+
}
|
|
1707
|
+
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1708
|
+
className: classes.BottomSheetContainer
|
|
1709
|
+
}, OfferDetailsJSX(), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1710
|
+
className: classes.BottomSheetPriceContainer
|
|
1711
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1712
|
+
className: classes.BottomSheetPrice
|
|
1713
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1714
|
+
style: {
|
|
1715
|
+
textAlign: 'start'
|
|
1716
|
+
}
|
|
1717
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1718
|
+
className: classes.offerPrice
|
|
1719
|
+
}, header?.effectivePrice), ' '), header?.price && header?.discount && header?.effectivePrice && header?.price !== header?.effectivePrice ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1720
|
+
className: classes.originalPrice
|
|
1721
|
+
}, header?.price), ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1722
|
+
className: classes.offerDiscount
|
|
1723
|
+
}, `${getDiscount(header?.price, header?.discount)}%`, "\xA0OFF"), "\xA0\xA0") : null)), /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
1724
|
+
data: {
|
|
1725
|
+
// link: 'headerData?.loginCtaLink',
|
|
1726
|
+
// isLink: 1,
|
|
1727
|
+
value: 'BUY NOW'
|
|
1728
|
+
// isExternal: 1
|
|
1729
|
+
},
|
|
1730
|
+
onClick: extraProps?.courseBuyNow,
|
|
1731
|
+
type: 'primary',
|
|
1732
|
+
size: 'medium',
|
|
1733
|
+
target: null,
|
|
1734
|
+
name: "button",
|
|
1735
|
+
rel: null
|
|
1736
|
+
// styling={isMobile ? { margin: '0 40px' } : {}}
|
|
1737
|
+
}))));
|
|
1738
|
+
};
|
|
1444
1739
|
if (isTutorWebsite) {
|
|
1445
1740
|
if (isAndroidDelisted && apkURL) {
|
|
1446
1741
|
downloadLink = /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
@@ -1513,7 +1808,7 @@ function MobileHeader({
|
|
|
1513
1808
|
downloadLink = null;
|
|
1514
1809
|
}
|
|
1515
1810
|
}
|
|
1516
|
-
return /*#__PURE__*/React__default["default"].createElement("nav", {
|
|
1811
|
+
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("nav", {
|
|
1517
1812
|
ref: navEl,
|
|
1518
1813
|
className: classes.section
|
|
1519
1814
|
}, !(header?.websiteLogo === DEFAULT_HEADER_IMAGE_LP && isCustomWebsite) ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -1546,7 +1841,7 @@ function MobileHeader({
|
|
|
1546
1841
|
order: 1
|
|
1547
1842
|
}))) : null, isTutorWebsite && header?.appName ? /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1548
1843
|
className: classes.mobileAppNameClass
|
|
1549
|
-
},
|
|
1844
|
+
}, ' ', header?.appName) : null), downloadLink), sideMenu ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1550
1845
|
className: classes.mobileMenu
|
|
1551
1846
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1552
1847
|
className: classes.backdrop,
|
|
@@ -1566,7 +1861,7 @@ function MobileHeader({
|
|
|
1566
1861
|
style: {
|
|
1567
1862
|
paddingTop: '30px'
|
|
1568
1863
|
}
|
|
1569
|
-
}));
|
|
1864
|
+
})), /*#__PURE__*/React__default["default"].createElement(BottomSheetJSX, null));
|
|
1570
1865
|
}
|
|
1571
1866
|
|
|
1572
1867
|
function Header({
|
|
@@ -1586,13 +1881,15 @@ function Header({
|
|
|
1586
1881
|
header: data,
|
|
1587
1882
|
isTutorWebsite: isTutorWebsite,
|
|
1588
1883
|
isLandingPage: isLandingPage,
|
|
1589
|
-
onDownloadAppTriggered: extraProps?.DownloadAppButtonTriggered
|
|
1884
|
+
onDownloadAppTriggered: extraProps?.DownloadAppButtonTriggered,
|
|
1885
|
+
extraProps: extraProps
|
|
1590
1886
|
}) : /*#__PURE__*/React__default["default"].createElement(DesktopHeader, {
|
|
1591
1887
|
navData: filterHiddenNavs(),
|
|
1592
1888
|
header: data,
|
|
1593
1889
|
isTutorWebsite: isTutorWebsite,
|
|
1594
1890
|
isLandingPage: isLandingPage,
|
|
1595
|
-
onDownloadAppTriggered: extraProps?.DownloadAppButtonTriggered
|
|
1891
|
+
onDownloadAppTriggered: extraProps?.DownloadAppButtonTriggered,
|
|
1892
|
+
extraProps: extraProps
|
|
1596
1893
|
});
|
|
1597
1894
|
}
|
|
1598
1895
|
|
|
@@ -1631,7 +1928,6 @@ const useSectionStyles$9 = createUseStyles(theme => ({
|
|
|
1631
1928
|
|
|
1632
1929
|
// '& img': { maxHeight: '55px' }
|
|
1633
1930
|
},
|
|
1634
|
-
|
|
1635
1931
|
upperContainerItem1Img: {
|
|
1636
1932
|
maxHeight: '55px',
|
|
1637
1933
|
paddingBottom: '84px',
|
|
@@ -1946,14 +2242,18 @@ function Footer({
|
|
|
1946
2242
|
alt: "classplus",
|
|
1947
2243
|
className: classes.poweredDivImg
|
|
1948
2244
|
})))) : null, orgId === 643870 || extraProps?.org_id === 643870 ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1955
|
-
|
|
1956
|
-
|
|
2245
|
+
style: {
|
|
2246
|
+
display: 'flex',
|
|
2247
|
+
alignSelf: 'start',
|
|
2248
|
+
marginBottom: '10px'
|
|
2249
|
+
}
|
|
2250
|
+
}, "\xA9 Samko Automotive Solution") : null, orgId === 510746 || extraProps?.org_id === 510746 ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2251
|
+
style: {
|
|
2252
|
+
display: 'flex',
|
|
2253
|
+
alignSelf: 'start',
|
|
2254
|
+
marginBottom: '10px'
|
|
2255
|
+
}
|
|
2256
|
+
}, "\xA9 Bhushan Ramchandra Gawarepatil") : null);
|
|
1957
2257
|
}
|
|
1958
2258
|
|
|
1959
2259
|
const borderRadius = {
|
|
@@ -2068,7 +2368,6 @@ const mobilePadding = {
|
|
|
2068
2368
|
// 24px
|
|
2069
2369
|
medium: baseFactor * 6 // 48px
|
|
2070
2370
|
};
|
|
2071
|
-
|
|
2072
2371
|
const padding = {
|
|
2073
2372
|
minute: baseFactor * 2,
|
|
2074
2373
|
// 16px
|
|
@@ -2194,29 +2493,30 @@ function NanumSquare() {
|
|
|
2194
2493
|
}
|
|
2195
2494
|
|
|
2196
2495
|
const TYPE_TO_COMPONENT_MAP$1 = {
|
|
2197
|
-
BANNER_CAROUSEL_RIGHT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2198
|
-
GRID_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2199
|
-
BANNER_CAROUSEL_CENTER: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2200
|
-
BANNER_CAROUSEL_LEFT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2201
|
-
FORM_SUBSCRIBE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2202
|
-
TEXT_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2203
|
-
VIDEO_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2204
|
-
VIDEO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2205
|
-
INFO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2206
|
-
TEXT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2207
|
-
IMAGE_GALLERY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2208
|
-
FAQ_LISTING: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2209
|
-
COURSE_CAROUSEL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2210
|
-
TEAM_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2211
|
-
TEXT_GRID: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2212
|
-
CONTACT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2213
|
-
FORM_ENQUIRY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2214
|
-
WEBINAR_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2215
|
-
COURSE_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2216
|
-
FORM_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2217
|
-
TILES_SECTION: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2218
|
-
EMAIL_DRIP_MARKET: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$
|
|
2219
|
-
ABOUT_INSTITUTE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index; }))
|
|
2496
|
+
BANNER_CAROUSEL_RIGHT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$n; })),
|
|
2497
|
+
GRID_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$m; })),
|
|
2498
|
+
BANNER_CAROUSEL_CENTER: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$l; })),
|
|
2499
|
+
BANNER_CAROUSEL_LEFT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$k; })),
|
|
2500
|
+
FORM_SUBSCRIBE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$j; })),
|
|
2501
|
+
TEXT_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$i; })),
|
|
2502
|
+
VIDEO_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$h; })),
|
|
2503
|
+
VIDEO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$g; })),
|
|
2504
|
+
INFO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$f; })),
|
|
2505
|
+
TEXT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$e; })),
|
|
2506
|
+
IMAGE_GALLERY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$d; })),
|
|
2507
|
+
FAQ_LISTING: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$c; })),
|
|
2508
|
+
COURSE_CAROUSEL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$a; })),
|
|
2509
|
+
TEAM_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$9; })),
|
|
2510
|
+
TEXT_GRID: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$b; })),
|
|
2511
|
+
CONTACT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$8; })),
|
|
2512
|
+
FORM_ENQUIRY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$7; })),
|
|
2513
|
+
WEBINAR_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$6; })),
|
|
2514
|
+
COURSE_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$5; })),
|
|
2515
|
+
FORM_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$4; })),
|
|
2516
|
+
TILES_SECTION: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$3; })),
|
|
2517
|
+
EMAIL_DRIP_MARKET: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$2; })),
|
|
2518
|
+
ABOUT_INSTITUTE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$1; })),
|
|
2519
|
+
TIMER_AND_CALL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index; }))
|
|
2220
2520
|
};
|
|
2221
2521
|
const getCompToRender$1 = type => TYPE_TO_COMPONENT_MAP$1[type] || (() => null);
|
|
2222
2522
|
const MemoisedSection$1 = /*#__PURE__*/React.memo(({
|
|
@@ -2537,7 +2837,6 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2537
2837
|
// }
|
|
2538
2838
|
// }
|
|
2539
2839
|
},
|
|
2540
|
-
|
|
2541
2840
|
sectionContainer: {
|
|
2542
2841
|
margin: '0 auto',
|
|
2543
2842
|
maxWidth: ({
|
|
@@ -2969,7 +3268,7 @@ function BannerCarouselRight({
|
|
|
2969
3268
|
})))));
|
|
2970
3269
|
}
|
|
2971
3270
|
|
|
2972
|
-
var index$
|
|
3271
|
+
var index$n = /*#__PURE__*/Object.freeze({
|
|
2973
3272
|
__proto__: null,
|
|
2974
3273
|
'default': BannerCarouselRight
|
|
2975
3274
|
});
|
|
@@ -3107,7 +3406,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3107
3406
|
// padding: '0'
|
|
3108
3407
|
}
|
|
3109
3408
|
},
|
|
3110
|
-
|
|
3111
3409
|
'&:nth-child(2n+1)': {
|
|
3112
3410
|
marginRight: '0',
|
|
3113
3411
|
'& $contentText': {
|
|
@@ -3117,7 +3415,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3117
3415
|
}
|
|
3118
3416
|
}
|
|
3119
3417
|
},
|
|
3120
|
-
|
|
3121
3418
|
contentNumber: {
|
|
3122
3419
|
width: '100%',
|
|
3123
3420
|
padding: '24px',
|
|
@@ -3195,7 +3492,7 @@ function List({
|
|
|
3195
3492
|
}))));
|
|
3196
3493
|
}
|
|
3197
3494
|
|
|
3198
|
-
var index$
|
|
3495
|
+
var index$m = /*#__PURE__*/Object.freeze({
|
|
3199
3496
|
__proto__: null,
|
|
3200
3497
|
'default': List
|
|
3201
3498
|
});
|
|
@@ -3398,7 +3695,8 @@ const useSectionStyles$6 = createUseStyles(theme => {
|
|
|
3398
3695
|
|
|
3399
3696
|
const Section$3 = ({
|
|
3400
3697
|
nodeData,
|
|
3401
|
-
sectionIndex
|
|
3698
|
+
sectionIndex,
|
|
3699
|
+
extraProps
|
|
3402
3700
|
}) => {
|
|
3403
3701
|
const {
|
|
3404
3702
|
layout: {
|
|
@@ -3419,6 +3717,10 @@ const Section$3 = ({
|
|
|
3419
3717
|
hasContent,
|
|
3420
3718
|
mobileImage: nodeData?.mobileImage?.metadata?.value
|
|
3421
3719
|
});
|
|
3720
|
+
const handleButton = () => {
|
|
3721
|
+
console.log('buy now clicked');
|
|
3722
|
+
extraProps?.courseBuyNow();
|
|
3723
|
+
};
|
|
3422
3724
|
return /*#__PURE__*/React__default["default"].createElement("section", {
|
|
3423
3725
|
className: classes.bannerCarouselCenterSection
|
|
3424
3726
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -3449,7 +3751,13 @@ const Section$3 = ({
|
|
|
3449
3751
|
}
|
|
3450
3752
|
}) : null, nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3451
3753
|
className: classes.buttonClass
|
|
3452
|
-
}, /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
3754
|
+
}, nodeData?.cta?.metadata?.default === true ? /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
3755
|
+
data: nodeData.cta.metadata,
|
|
3756
|
+
ref: nodeData?.cta?.refSetter,
|
|
3757
|
+
type: nodeData?.cta?.metadata?.type,
|
|
3758
|
+
size: isMobile ? 'small' : 'medium',
|
|
3759
|
+
onClick: handleButton
|
|
3760
|
+
}) : /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
3453
3761
|
ref: nodeData?.cta?.refSetter,
|
|
3454
3762
|
data: nodeData.cta.metadata,
|
|
3455
3763
|
type: nodeData?.cta?.metadata?.type,
|
|
@@ -3467,7 +3775,8 @@ const Section$3 = ({
|
|
|
3467
3775
|
function BannerCarouselCenter({
|
|
3468
3776
|
sectionData,
|
|
3469
3777
|
isCustomWebsite,
|
|
3470
|
-
sectionIndex
|
|
3778
|
+
sectionIndex,
|
|
3779
|
+
extraProps
|
|
3471
3780
|
}) {
|
|
3472
3781
|
const classes = useSectionStyles$6({
|
|
3473
3782
|
isCustomWebsite
|
|
@@ -3486,11 +3795,12 @@ function BannerCarouselCenter({
|
|
|
3486
3795
|
nodeData: node,
|
|
3487
3796
|
isCustomWebsite: isCustomWebsite,
|
|
3488
3797
|
key: idx /* or some other unique property */,
|
|
3489
|
-
sectionIndex: sectionIndex
|
|
3798
|
+
sectionIndex: sectionIndex,
|
|
3799
|
+
extraProps: extraProps
|
|
3490
3800
|
}))));
|
|
3491
3801
|
}
|
|
3492
3802
|
|
|
3493
|
-
var index$
|
|
3803
|
+
var index$l = /*#__PURE__*/Object.freeze({
|
|
3494
3804
|
__proto__: null,
|
|
3495
3805
|
'default': BannerCarouselCenter
|
|
3496
3806
|
});
|
|
@@ -3511,7 +3821,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3511
3821
|
// }
|
|
3512
3822
|
// }
|
|
3513
3823
|
},
|
|
3514
|
-
|
|
3515
3824
|
sectionContainer: {
|
|
3516
3825
|
margin: '0 auto',
|
|
3517
3826
|
maxWidth: ({
|
|
@@ -3525,7 +3834,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3525
3834
|
|
|
3526
3835
|
// padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
|
|
3527
3836
|
},
|
|
3528
|
-
|
|
3529
3837
|
imageContainerDiv: {
|
|
3530
3838
|
width: '50%',
|
|
3531
3839
|
position: 'relative'
|
|
@@ -3597,7 +3905,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3597
3905
|
width: '100%'
|
|
3598
3906
|
// padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
|
|
3599
3907
|
},
|
|
3600
|
-
|
|
3601
3908
|
imageContainer: {
|
|
3602
3909
|
height: 'unset !important',
|
|
3603
3910
|
'& img': {
|
|
@@ -3722,7 +4029,7 @@ function BannerCarouselLeft({
|
|
|
3722
4029
|
})))));
|
|
3723
4030
|
}
|
|
3724
4031
|
|
|
3725
|
-
var index$
|
|
4032
|
+
var index$k = /*#__PURE__*/Object.freeze({
|
|
3726
4033
|
__proto__: null,
|
|
3727
4034
|
'default': BannerCarouselLeft
|
|
3728
4035
|
});
|
|
@@ -4118,7 +4425,7 @@ function SubscribeToNewsletter({
|
|
|
4118
4425
|
})))))));
|
|
4119
4426
|
}
|
|
4120
4427
|
|
|
4121
|
-
var index$
|
|
4428
|
+
var index$j = /*#__PURE__*/Object.freeze({
|
|
4122
4429
|
__proto__: null,
|
|
4123
4430
|
'default': SubscribeToNewsletter
|
|
4124
4431
|
});
|
|
@@ -4406,7 +4713,7 @@ function Testimonials({
|
|
|
4406
4713
|
}));
|
|
4407
4714
|
}
|
|
4408
4715
|
|
|
4409
|
-
var index$
|
|
4716
|
+
var index$i = /*#__PURE__*/Object.freeze({
|
|
4410
4717
|
__proto__: null,
|
|
4411
4718
|
'default': Testimonials
|
|
4412
4719
|
});
|
|
@@ -4604,7 +4911,6 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4604
4911
|
fontFamily: theme?.typography?.fontFamily
|
|
4605
4912
|
// boxSizing: 'border-box'
|
|
4606
4913
|
},
|
|
4607
|
-
|
|
4608
4914
|
'& h2,& h3,& p': {
|
|
4609
4915
|
marginTop: '0'
|
|
4610
4916
|
}
|
|
@@ -4629,7 +4935,6 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4629
4935
|
wordBreak: 'break-word'
|
|
4630
4936
|
// marginBottom: '8px'
|
|
4631
4937
|
},
|
|
4632
|
-
|
|
4633
4938
|
videoTestimonialTitle: {
|
|
4634
4939
|
fontSize: theme.typography.fontSize.h2,
|
|
4635
4940
|
// lineHeight: '71px',
|
|
@@ -4812,7 +5117,7 @@ function VideoTestimonial({
|
|
|
4812
5117
|
}))))));
|
|
4813
5118
|
}
|
|
4814
5119
|
|
|
4815
|
-
var index$
|
|
5120
|
+
var index$h = /*#__PURE__*/Object.freeze({
|
|
4816
5121
|
__proto__: null,
|
|
4817
5122
|
'default': VideoTestimonial
|
|
4818
5123
|
});
|
|
@@ -5048,7 +5353,7 @@ function Video({
|
|
|
5048
5353
|
}, carouselContent))));
|
|
5049
5354
|
}
|
|
5050
5355
|
|
|
5051
|
-
var index$
|
|
5356
|
+
var index$g = /*#__PURE__*/Object.freeze({
|
|
5052
5357
|
__proto__: null,
|
|
5053
5358
|
'default': Video
|
|
5054
5359
|
});
|
|
@@ -5070,7 +5375,6 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5070
5375
|
// }
|
|
5071
5376
|
// }
|
|
5072
5377
|
},
|
|
5073
|
-
|
|
5074
5378
|
sectionContainer: {
|
|
5075
5379
|
margin: '0 auto',
|
|
5076
5380
|
maxWidth: ({
|
|
@@ -5285,7 +5589,7 @@ function Info({
|
|
|
5285
5589
|
}, carouselContent))));
|
|
5286
5590
|
}
|
|
5287
5591
|
|
|
5288
|
-
var index$
|
|
5592
|
+
var index$f = /*#__PURE__*/Object.freeze({
|
|
5289
5593
|
__proto__: null,
|
|
5290
5594
|
'default': Info
|
|
5291
5595
|
});
|
|
@@ -5404,7 +5708,7 @@ const TextSection = ({
|
|
|
5404
5708
|
})))));
|
|
5405
5709
|
};
|
|
5406
5710
|
|
|
5407
|
-
var index$
|
|
5711
|
+
var index$e = /*#__PURE__*/Object.freeze({
|
|
5408
5712
|
__proto__: null,
|
|
5409
5713
|
'default': TextSection
|
|
5410
5714
|
});
|
|
@@ -5428,7 +5732,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5428
5732
|
// }
|
|
5429
5733
|
// }
|
|
5430
5734
|
},
|
|
5431
|
-
|
|
5432
5735
|
sectionContainer: {
|
|
5433
5736
|
margin: '0 auto',
|
|
5434
5737
|
maxWidth: ({
|
|
@@ -5459,7 +5762,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5459
5762
|
position: 'relative',
|
|
5460
5763
|
paddingBottom: '59.83%' // keeping aspect ratio 585x350
|
|
5461
5764
|
},
|
|
5462
|
-
|
|
5463
5765
|
contentRow: {
|
|
5464
5766
|
display: 'grid',
|
|
5465
5767
|
gridTemplateColumns: ({
|
|
@@ -5629,7 +5931,7 @@ function PhotoGallery({
|
|
|
5629
5931
|
}, carouselContent))));
|
|
5630
5932
|
}
|
|
5631
5933
|
|
|
5632
|
-
var index$
|
|
5934
|
+
var index$d = /*#__PURE__*/Object.freeze({
|
|
5633
5935
|
__proto__: null,
|
|
5634
5936
|
'default': PhotoGallery
|
|
5635
5937
|
});
|
|
@@ -5812,7 +6114,7 @@ const Accordion = ({
|
|
|
5812
6114
|
})));
|
|
5813
6115
|
};
|
|
5814
6116
|
|
|
5815
|
-
var index$
|
|
6117
|
+
var index$c = /*#__PURE__*/Object.freeze({
|
|
5816
6118
|
__proto__: null,
|
|
5817
6119
|
'default': FAQListing
|
|
5818
6120
|
});
|
|
@@ -5983,7 +6285,7 @@ const TextGrid = ({
|
|
|
5983
6285
|
}, carouselContent))));
|
|
5984
6286
|
};
|
|
5985
6287
|
|
|
5986
|
-
var index$
|
|
6288
|
+
var index$b = /*#__PURE__*/Object.freeze({
|
|
5987
6289
|
__proto__: null,
|
|
5988
6290
|
'default': TextGrid
|
|
5989
6291
|
});
|
|
@@ -6006,7 +6308,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6006
6308
|
// }
|
|
6007
6309
|
// }
|
|
6008
6310
|
},
|
|
6009
|
-
|
|
6010
6311
|
sectionContainer: {
|
|
6011
6312
|
margin: '0 auto',
|
|
6012
6313
|
maxWidth: ({
|
|
@@ -6039,7 +6340,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6039
6340
|
// textAlign: 'center',
|
|
6040
6341
|
// wordBreak: 'break-word'
|
|
6041
6342
|
},
|
|
6042
|
-
|
|
6043
6343
|
slickContainer: {
|
|
6044
6344
|
marginRight: '-20px'
|
|
6045
6345
|
},
|
|
@@ -6087,7 +6387,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6087
6387
|
justifyContent: 'space-between'
|
|
6088
6388
|
//alignItems: 'center',
|
|
6089
6389
|
},
|
|
6090
|
-
|
|
6091
6390
|
courseCardTags: {
|
|
6092
6391
|
display: 'flex',
|
|
6093
6392
|
justifyContent: 'flex-start',
|
|
@@ -6118,7 +6417,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6118
6417
|
// whiteSpace: 'nowrap',
|
|
6119
6418
|
// textOverflow: 'ellipsis'
|
|
6120
6419
|
},
|
|
6121
|
-
|
|
6122
6420
|
courseCardDiscount: {
|
|
6123
6421
|
display: 'flex',
|
|
6124
6422
|
justifyContent: 'flex-start',
|
|
@@ -6225,7 +6523,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6225
6523
|
// whiteSpace: 'nowrap',
|
|
6226
6524
|
// textOverflow: 'ellipsis'
|
|
6227
6525
|
},
|
|
6228
|
-
|
|
6229
6526
|
singleCard: {
|
|
6230
6527
|
margin: '6px 2px'
|
|
6231
6528
|
// width: 'calc(100% - 12px)'
|
|
@@ -6515,7 +6812,7 @@ function SimpleCardsContainer({
|
|
|
6515
6812
|
}, children);
|
|
6516
6813
|
}
|
|
6517
6814
|
|
|
6518
|
-
var index$
|
|
6815
|
+
var index$a = /*#__PURE__*/Object.freeze({
|
|
6519
6816
|
__proto__: null,
|
|
6520
6817
|
'default': courses
|
|
6521
6818
|
});
|
|
@@ -6573,7 +6870,6 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6573
6870
|
// gridTemplateColumns: ({ slidesToShow } = {}) =>
|
|
6574
6871
|
// `repeat(${slidesToShow},minmax(0, 1fr))`
|
|
6575
6872
|
},
|
|
6576
|
-
|
|
6577
6873
|
singleSlideContainer: {
|
|
6578
6874
|
backgroundColor: theme?.palette?.background?.default,
|
|
6579
6875
|
margin: '20px 0',
|
|
@@ -6599,7 +6895,6 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6599
6895
|
padding: '24px'
|
|
6600
6896
|
// overflowWrap: 'break-word'
|
|
6601
6897
|
},
|
|
6602
|
-
|
|
6603
6898
|
teamDetailsHeading: {
|
|
6604
6899
|
fontSize: theme.typography.fontSize.h6,
|
|
6605
6900
|
fontWeight: theme.typography.fontWeight.bold,
|
|
@@ -6834,7 +7129,7 @@ function TeamCard({
|
|
|
6834
7129
|
}, " ", getCarouselContent())));
|
|
6835
7130
|
}
|
|
6836
7131
|
|
|
6837
|
-
var index$
|
|
7132
|
+
var index$9 = /*#__PURE__*/Object.freeze({
|
|
6838
7133
|
__proto__: null,
|
|
6839
7134
|
'default': TeamCard
|
|
6840
7135
|
});
|
|
@@ -6862,7 +7157,6 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6862
7157
|
// }
|
|
6863
7158
|
// }
|
|
6864
7159
|
},
|
|
6865
|
-
|
|
6866
7160
|
formContainer: {
|
|
6867
7161
|
margin: '0 auto',
|
|
6868
7162
|
maxWidth: ({
|
|
@@ -6899,14 +7193,12 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6899
7193
|
display: 'flex'
|
|
6900
7194
|
// alignItems: 'flex-start',
|
|
6901
7195
|
},
|
|
6902
|
-
|
|
6903
7196
|
leftContainerForm: {
|
|
6904
7197
|
width: '65%',
|
|
6905
7198
|
display: 'flex',
|
|
6906
7199
|
flexDirection: 'column'
|
|
6907
7200
|
// justifyContent: 'space-between'
|
|
6908
7201
|
},
|
|
6909
|
-
|
|
6910
7202
|
subtitle: {
|
|
6911
7203
|
// margin: '0 0 40px 0',
|
|
6912
7204
|
fontSize: theme.typography.fontSize.h5,
|
|
@@ -6974,7 +7266,6 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6974
7266
|
width: '100%'
|
|
6975
7267
|
// padding: '0 16ox'
|
|
6976
7268
|
},
|
|
6977
|
-
|
|
6978
7269
|
rightContainer: {
|
|
6979
7270
|
width: '100%',
|
|
6980
7271
|
padding: '0'
|
|
@@ -7259,7 +7550,7 @@ function FormEnquiry({
|
|
|
7259
7550
|
})))))));
|
|
7260
7551
|
}
|
|
7261
7552
|
|
|
7262
|
-
var index$
|
|
7553
|
+
var index$8 = /*#__PURE__*/Object.freeze({
|
|
7263
7554
|
__proto__: null,
|
|
7264
7555
|
'default': FormEnquiry
|
|
7265
7556
|
});
|
|
@@ -7287,7 +7578,6 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7287
7578
|
// }
|
|
7288
7579
|
// }
|
|
7289
7580
|
},
|
|
7290
|
-
|
|
7291
7581
|
contactContainer: {
|
|
7292
7582
|
width: '100%',
|
|
7293
7583
|
margin: '0 auto',
|
|
@@ -7326,7 +7616,6 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7326
7616
|
// justifyContent: 'space-between',
|
|
7327
7617
|
// flex: 1
|
|
7328
7618
|
},
|
|
7329
|
-
|
|
7330
7619
|
subtitle: {
|
|
7331
7620
|
// margin: '0 0 auto 0',
|
|
7332
7621
|
fontSize: theme.typography.fontSize.h6,
|
|
@@ -7683,7 +7972,7 @@ function Contact({
|
|
|
7683
7972
|
})))))));
|
|
7684
7973
|
}
|
|
7685
7974
|
|
|
7686
|
-
var index$
|
|
7975
|
+
var index$7 = /*#__PURE__*/Object.freeze({
|
|
7687
7976
|
__proto__: null,
|
|
7688
7977
|
'default': Contact
|
|
7689
7978
|
});
|
|
@@ -7771,7 +8060,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7771
8060
|
marginTop: '5%'
|
|
7772
8061
|
// padding: '0px 5% 0px 5%'
|
|
7773
8062
|
},
|
|
7774
|
-
|
|
7775
8063
|
iframe: {
|
|
7776
8064
|
position: 'absolute',
|
|
7777
8065
|
width: '100%',
|
|
@@ -8119,7 +8407,6 @@ const SingleVideoSlide$1 = props => {
|
|
|
8119
8407
|
value: data.isPaid ? buyNowText : registerNowText
|
|
8120
8408
|
// isExternal: 1
|
|
8121
8409
|
},
|
|
8122
|
-
|
|
8123
8410
|
onClick: webinarCtaClick,
|
|
8124
8411
|
type: 'primary',
|
|
8125
8412
|
size: 'medium',
|
|
@@ -8162,7 +8449,7 @@ function CoursePromotionPage$1({
|
|
|
8162
8449
|
}))));
|
|
8163
8450
|
}
|
|
8164
8451
|
|
|
8165
|
-
var index$
|
|
8452
|
+
var index$6 = /*#__PURE__*/Object.freeze({
|
|
8166
8453
|
__proto__: null,
|
|
8167
8454
|
'default': CoursePromotionPage$1
|
|
8168
8455
|
});
|
|
@@ -8188,7 +8475,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8188
8475
|
// }
|
|
8189
8476
|
// }
|
|
8190
8477
|
},
|
|
8191
|
-
|
|
8192
8478
|
sectionContainer: {
|
|
8193
8479
|
margin: '0 auto',
|
|
8194
8480
|
maxWidth: ({
|
|
@@ -8306,7 +8592,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8306
8592
|
// paddingBottom: '10px',
|
|
8307
8593
|
// paddingTop: '10px'
|
|
8308
8594
|
},
|
|
8309
|
-
|
|
8310
8595
|
bannerContainer: {
|
|
8311
8596
|
width: '100%',
|
|
8312
8597
|
background: theme?.colors?.bannerColor,
|
|
@@ -8321,7 +8606,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8321
8606
|
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
8322
8607
|
// marginBottom: '16px'
|
|
8323
8608
|
},
|
|
8324
|
-
|
|
8325
8609
|
bannerContainerText: {
|
|
8326
8610
|
transform: 'rotate(180deg)'
|
|
8327
8611
|
},
|
|
@@ -8434,7 +8718,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8434
8718
|
height: 'max-content'
|
|
8435
8719
|
// paddingRight: '10px'
|
|
8436
8720
|
},
|
|
8437
|
-
|
|
8438
8721
|
videoDetails: {
|
|
8439
8722
|
width: '100%'
|
|
8440
8723
|
},
|
|
@@ -8693,7 +8976,6 @@ const SingleVideoSlide = props => {
|
|
|
8693
8976
|
value: buyNowText
|
|
8694
8977
|
// isExternal: 1
|
|
8695
8978
|
},
|
|
8696
|
-
|
|
8697
8979
|
onClick: courseBuyNow,
|
|
8698
8980
|
type: 'primary',
|
|
8699
8981
|
size: 'medium',
|
|
@@ -8754,7 +9036,7 @@ function CoursePromotionPage({
|
|
|
8754
9036
|
}))));
|
|
8755
9037
|
}
|
|
8756
9038
|
|
|
8757
|
-
var index$
|
|
9039
|
+
var index$5 = /*#__PURE__*/Object.freeze({
|
|
8758
9040
|
__proto__: null,
|
|
8759
9041
|
'default': CoursePromotionPage
|
|
8760
9042
|
});
|
|
@@ -8798,7 +9080,6 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8798
9080
|
// border: '1px solid #D8E0F0',
|
|
8799
9081
|
// borderRadius: '16px'
|
|
8800
9082
|
},
|
|
8801
|
-
|
|
8802
9083
|
inputFieldLabel: {
|
|
8803
9084
|
color: theme?.colors?.lightblack,
|
|
8804
9085
|
fontSize: theme.typography.fontSize.body,
|
|
@@ -9111,7 +9392,6 @@ const FormPage = ({
|
|
|
9111
9392
|
value: countryCode === 'KR' ? '제출하기' : 'SUBMIT'
|
|
9112
9393
|
// isExternal: 1
|
|
9113
9394
|
},
|
|
9114
|
-
|
|
9115
9395
|
type: 'primary',
|
|
9116
9396
|
size: 'medium',
|
|
9117
9397
|
target: null,
|
|
@@ -9119,7 +9399,7 @@ const FormPage = ({
|
|
|
9119
9399
|
})))));
|
|
9120
9400
|
};
|
|
9121
9401
|
|
|
9122
|
-
var index$
|
|
9402
|
+
var index$4 = /*#__PURE__*/Object.freeze({
|
|
9123
9403
|
__proto__: null,
|
|
9124
9404
|
'default': FormPage
|
|
9125
9405
|
});
|
|
@@ -9267,7 +9547,7 @@ function Tiles({
|
|
|
9267
9547
|
}, TileDiv)));
|
|
9268
9548
|
}
|
|
9269
9549
|
|
|
9270
|
-
var index$
|
|
9550
|
+
var index$3 = /*#__PURE__*/Object.freeze({
|
|
9271
9551
|
__proto__: null,
|
|
9272
9552
|
'default': Tiles
|
|
9273
9553
|
});
|
|
@@ -9294,7 +9574,6 @@ const useEmailStyles = createUseStyles(theme => ({
|
|
|
9294
9574
|
height: '48px'
|
|
9295
9575
|
/* margin: 18px 0px; */
|
|
9296
9576
|
},
|
|
9297
|
-
|
|
9298
9577
|
'p-young-guru-title': {
|
|
9299
9578
|
fontFamily: theme?.typography?.fontFamily,
|
|
9300
9579
|
fontStyle: 'normal',
|
|
@@ -9322,7 +9601,6 @@ const useEmailStyles = createUseStyles(theme => ({
|
|
|
9322
9601
|
textAlign: 'center'
|
|
9323
9602
|
/* padding:35px 0 40px */
|
|
9324
9603
|
},
|
|
9325
|
-
|
|
9326
9604
|
'two-columns .column': {
|
|
9327
9605
|
width: '100%',
|
|
9328
9606
|
maxWidth: '275px',
|
|
@@ -9742,7 +10020,7 @@ function EmailDripMarket({
|
|
|
9742
10020
|
})));
|
|
9743
10021
|
}
|
|
9744
10022
|
|
|
9745
|
-
var index$
|
|
10023
|
+
var index$2 = /*#__PURE__*/Object.freeze({
|
|
9746
10024
|
__proto__: null,
|
|
9747
10025
|
'default': EmailDripMarket
|
|
9748
10026
|
});
|
|
@@ -9792,7 +10070,6 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
|
|
|
9792
10070
|
// borderRadius: '16px',
|
|
9793
10071
|
// border: '1px solid var(--stroke, #D8E0F0)',
|
|
9794
10072
|
},
|
|
9795
|
-
|
|
9796
10073
|
image: {
|
|
9797
10074
|
width: '100%',
|
|
9798
10075
|
height: '100%',
|
|
@@ -10111,11 +10388,181 @@ function ABOUT_INSTITUTE({
|
|
|
10111
10388
|
}, /*#__PURE__*/React__default["default"].createElement(ImageJSX, null), /*#__PURE__*/React__default["default"].createElement(ContentJSX, null)), /*#__PURE__*/React__default["default"].createElement(HighlightJSX, null)));
|
|
10112
10389
|
}
|
|
10113
10390
|
|
|
10114
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
10391
|
+
var index$1 = /*#__PURE__*/Object.freeze({
|
|
10115
10392
|
__proto__: null,
|
|
10116
10393
|
'default': ABOUT_INSTITUTE
|
|
10117
10394
|
});
|
|
10118
10395
|
|
|
10396
|
+
const useTimerCallPageStyles = createUseStyles(theme => ({
|
|
10397
|
+
timerAndCallSection: {
|
|
10398
|
+
padding: ({
|
|
10399
|
+
isMobile
|
|
10400
|
+
} = {}) => isMobile ? '24px' : '80px 120px',
|
|
10401
|
+
background: theme?.colors?.white,
|
|
10402
|
+
'&, & *, & *:before, & *:after': {
|
|
10403
|
+
fontFamily: theme?.typography?.fontFamily,
|
|
10404
|
+
boxSizing: 'border-box'
|
|
10405
|
+
}
|
|
10406
|
+
},
|
|
10407
|
+
timerAndCallContainer: {
|
|
10408
|
+
padding: '72px',
|
|
10409
|
+
background: '#F4F9FF',
|
|
10410
|
+
borderRadius: '8px',
|
|
10411
|
+
boxShadow: '0px 4px 10px rgba(0, 0, 0, 0.16)'
|
|
10412
|
+
},
|
|
10413
|
+
timerAndCallBox: {
|
|
10414
|
+
display: 'flex',
|
|
10415
|
+
flexDirection: 'column',
|
|
10416
|
+
gap: '42px',
|
|
10417
|
+
justifyContent: 'center',
|
|
10418
|
+
alignItems: 'center'
|
|
10419
|
+
},
|
|
10420
|
+
title: {
|
|
10421
|
+
fontWeight: '700',
|
|
10422
|
+
fontSize: '40px',
|
|
10423
|
+
textAlign: 'center',
|
|
10424
|
+
lineHeight: '45px'
|
|
10425
|
+
},
|
|
10426
|
+
offerWrapper: {
|
|
10427
|
+
display: 'flex',
|
|
10428
|
+
flexDirection: 'column',
|
|
10429
|
+
gap: '24px',
|
|
10430
|
+
justifyContent: 'center',
|
|
10431
|
+
alignItems: 'center'
|
|
10432
|
+
},
|
|
10433
|
+
offerEndsTitle: {
|
|
10434
|
+
fontWeight: '700',
|
|
10435
|
+
fontSize: '16px'
|
|
10436
|
+
},
|
|
10437
|
+
countdown: {
|
|
10438
|
+
display: 'flex',
|
|
10439
|
+
gap: '10px'
|
|
10440
|
+
},
|
|
10441
|
+
counterBox: {
|
|
10442
|
+
display: 'flex',
|
|
10443
|
+
flexDirection: 'column',
|
|
10444
|
+
justifyContent: 'center',
|
|
10445
|
+
alignItems: 'center',
|
|
10446
|
+
border: '0.56px solid #2C88FF',
|
|
10447
|
+
borderRadius: '8px',
|
|
10448
|
+
background: '#FFFFFF',
|
|
10449
|
+
color: '#2C88FF',
|
|
10450
|
+
padding: '12px 16px 12px 16px',
|
|
10451
|
+
fontWeight: '600',
|
|
10452
|
+
fontSize: '14px'
|
|
10453
|
+
},
|
|
10454
|
+
// SMALL SCREEN
|
|
10455
|
+
'@media screen and (max-width: 767px)': {
|
|
10456
|
+
timerAndCallSection: {
|
|
10457
|
+
padding: '24px'
|
|
10458
|
+
},
|
|
10459
|
+
timerAndCallContainer: {
|
|
10460
|
+
padding: '16px'
|
|
10461
|
+
},
|
|
10462
|
+
timerAndCallBox: {
|
|
10463
|
+
gap: '32px'
|
|
10464
|
+
},
|
|
10465
|
+
title: {
|
|
10466
|
+
fontSize: '24px'
|
|
10467
|
+
},
|
|
10468
|
+
offerWrapper: {
|
|
10469
|
+
gap: '16px'
|
|
10470
|
+
}
|
|
10471
|
+
}
|
|
10472
|
+
}));
|
|
10473
|
+
|
|
10474
|
+
const TimerAndCall = ({
|
|
10475
|
+
sectionData,
|
|
10476
|
+
extraProps = {}
|
|
10477
|
+
}) => {
|
|
10478
|
+
const {
|
|
10479
|
+
isMobile,
|
|
10480
|
+
fullPageData
|
|
10481
|
+
} = React.useContext(PageContext);
|
|
10482
|
+
const [nodeData] = sectionData?.components;
|
|
10483
|
+
const classes = useTimerCallPageStyles({
|
|
10484
|
+
isMobile
|
|
10485
|
+
});
|
|
10486
|
+
const CounterBox = ({
|
|
10487
|
+
value,
|
|
10488
|
+
text
|
|
10489
|
+
}) => {
|
|
10490
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10491
|
+
className: classes.counterBox
|
|
10492
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", null, value), /*#__PURE__*/React__default["default"].createElement("div", null, text));
|
|
10493
|
+
};
|
|
10494
|
+
const renderer = ({
|
|
10495
|
+
formatted,
|
|
10496
|
+
completed
|
|
10497
|
+
}) => {
|
|
10498
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10499
|
+
className: classes.countdown
|
|
10500
|
+
}, /*#__PURE__*/React__default["default"].createElement(CounterBox, {
|
|
10501
|
+
value: formatted?.hours,
|
|
10502
|
+
text: "Hours"
|
|
10503
|
+
}), /*#__PURE__*/React__default["default"].createElement(CounterBox, {
|
|
10504
|
+
value: formatted?.minutes,
|
|
10505
|
+
text: "Mins"
|
|
10506
|
+
}), /*#__PURE__*/React__default["default"].createElement(CounterBox, {
|
|
10507
|
+
value: formatted?.seconds,
|
|
10508
|
+
text: "Secs"
|
|
10509
|
+
}));
|
|
10510
|
+
};
|
|
10511
|
+
const CountDownJSX = offerPriceValidFor => {
|
|
10512
|
+
let conversions = extraProps?.conversions || 0;
|
|
10513
|
+
if (offerPriceValidFor && offerPriceValidFor - conversions <= 0) {
|
|
10514
|
+
return null;
|
|
10515
|
+
}
|
|
10516
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10517
|
+
className: classes.offerWrapper
|
|
10518
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10519
|
+
className: classes.offerEndsTitle
|
|
10520
|
+
}, "Offer ends in"), /*#__PURE__*/React__default["default"].createElement(Countdown__default["default"], {
|
|
10521
|
+
renderer: renderer,
|
|
10522
|
+
date: nodeData.offerCounter?.metadata?.endDate,
|
|
10523
|
+
daysInHours: true
|
|
10524
|
+
}));
|
|
10525
|
+
};
|
|
10526
|
+
return /*#__PURE__*/React__default["default"].createElement("section", {
|
|
10527
|
+
className: classes.timerAndCallSection
|
|
10528
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10529
|
+
className: classes.timerAndCallContainer
|
|
10530
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10531
|
+
className: classes.timerAndCallBox
|
|
10532
|
+
}, nodeData?.showOffer?.metadata?.value && nodeData.offerCounter?.metadata?.isOfferActive ? CountDownJSX(nodeData.offerCounter?.metadata?.offerPriceValidFor) : null, nodeData?.title?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10533
|
+
className: classes.title
|
|
10534
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
10535
|
+
ref: nodeData?.heading?.refSetter,
|
|
10536
|
+
dangerouslySetInnerHTML: {
|
|
10537
|
+
__html: nodeData?.title?.metadata?.value
|
|
10538
|
+
}
|
|
10539
|
+
})) : null, nodeData?.timerButton?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
10540
|
+
style: {
|
|
10541
|
+
width: '100%',
|
|
10542
|
+
fontWeight: '700',
|
|
10543
|
+
fontSize: '14px'
|
|
10544
|
+
},
|
|
10545
|
+
data: {
|
|
10546
|
+
// link: 'headerData?.loginCtaLink',
|
|
10547
|
+
// isLink: 1,
|
|
10548
|
+
value: nodeData.timerButton.metadata.value
|
|
10549
|
+
// isExternal: 1
|
|
10550
|
+
},
|
|
10551
|
+
onClick: extraProps?.courseBuyNow,
|
|
10552
|
+
type: 'primary',
|
|
10553
|
+
size: 'medium',
|
|
10554
|
+
target: null,
|
|
10555
|
+
name: "button",
|
|
10556
|
+
rel: null
|
|
10557
|
+
// styling={isMobile ? { margin: '0 40px' } : {}}
|
|
10558
|
+
}) : null)));
|
|
10559
|
+
};
|
|
10560
|
+
|
|
10561
|
+
var index = /*#__PURE__*/Object.freeze({
|
|
10562
|
+
__proto__: null,
|
|
10563
|
+
'default': TimerAndCall
|
|
10564
|
+
});
|
|
10565
|
+
|
|
10119
10566
|
const TYPE_TO_COMPONENT_MAP = {
|
|
10120
10567
|
BANNER_CAROUSEL_RIGHT: BannerCarouselRight,
|
|
10121
10568
|
GRID_CARD: List,
|
|
@@ -10139,7 +10586,8 @@ const TYPE_TO_COMPONENT_MAP = {
|
|
|
10139
10586
|
FORM_LANDING_PAGE: FormPage,
|
|
10140
10587
|
TILES_SECTION: Tiles,
|
|
10141
10588
|
EMAIL_DRIP_MARKET: EmailDripMarket,
|
|
10142
|
-
ABOUT_INSTITUTE
|
|
10589
|
+
ABOUT_INSTITUTE,
|
|
10590
|
+
TIMER_AND_CALL: TimerAndCall
|
|
10143
10591
|
};
|
|
10144
10592
|
const getCompToRender = type => TYPE_TO_COMPONENT_MAP[type] || (() => null);
|
|
10145
10593
|
const MemoisedSection = /*#__PURE__*/React.memo(({
|
|
@@ -10148,6 +10596,7 @@ const MemoisedSection = /*#__PURE__*/React.memo(({
|
|
|
10148
10596
|
isCustomWebsite,
|
|
10149
10597
|
sectionIndex
|
|
10150
10598
|
}) => {
|
|
10599
|
+
console.log('extraProps in section data', extraProps);
|
|
10151
10600
|
const SectionComp = getCompToRender(sectionData.type);
|
|
10152
10601
|
return /*#__PURE__*/React__default["default"].createElement(SectionComp, {
|
|
10153
10602
|
sectionData: sectionData,
|