diy-template-components 0.2.74 → 0.2.76
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 +468 -613
- package/build/index.es.js.map +1 -1
- package/build/index.js +468 -613
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -338,42 +338,6 @@ const colorMixer = (hex1, weightage = 1, hex2 = colors.white) => {
|
|
|
338
338
|
};
|
|
339
339
|
};
|
|
340
340
|
|
|
341
|
-
const solidBaseColors = {
|
|
342
|
-
white: '#FFFFFF',
|
|
343
|
-
blue: '#1676F3',
|
|
344
|
-
tertiaryblue: '#F4F9FF',
|
|
345
|
-
orange: '#FF9000',
|
|
346
|
-
tertiaryorange: '#FFF6EA',
|
|
347
|
-
pink: '#F72585',
|
|
348
|
-
tertiarypink: '#FEE9F3',
|
|
349
|
-
green: '#8ECE19',
|
|
350
|
-
tertiarygreen: '#F4FAEB',
|
|
351
|
-
violet: '#6269C9',
|
|
352
|
-
tertiaryviolet: '#F4F6FF',
|
|
353
|
-
red: '#F41828',
|
|
354
|
-
tertiaryred: '#FFF2F3',
|
|
355
|
-
maroon: '#9B2226',
|
|
356
|
-
tertiarymaroon: '#FFF0F0',
|
|
357
|
-
blue2: '#00ADE7',
|
|
358
|
-
tertiaryblue2: '#F2FCFF'
|
|
359
|
-
};
|
|
360
|
-
const generateTheme = theme => {
|
|
361
|
-
const generatedTheme = {
|
|
362
|
-
AccentColor: solidBaseColors[theme],
|
|
363
|
-
background1: solidBaseColors?.white,
|
|
364
|
-
background2: solidBaseColors['tertiary' + theme],
|
|
365
|
-
background3: solidBaseColors['tertiary' + theme],
|
|
366
|
-
ctaColor: solidBaseColors[theme],
|
|
367
|
-
CtaTextColor: solidBaseColors?.white,
|
|
368
|
-
icon: solidBaseColors[theme],
|
|
369
|
-
iconBg: solidBaseColors['tertiary' + theme],
|
|
370
|
-
stripBg: solidBaseColors[theme],
|
|
371
|
-
stripText: solidBaseColors?.white
|
|
372
|
-
};
|
|
373
|
-
console.log('generatedTheme', generatedTheme, theme);
|
|
374
|
-
return generatedTheme;
|
|
375
|
-
};
|
|
376
|
-
|
|
377
341
|
const buttonStyles = createUseStyles(theme => ({
|
|
378
342
|
primary: {
|
|
379
343
|
width: ({
|
|
@@ -386,13 +350,13 @@ const buttonStyles = createUseStyles(theme => ({
|
|
|
386
350
|
textAlign: 'center',
|
|
387
351
|
color: ({
|
|
388
352
|
disabled
|
|
389
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color :
|
|
353
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
|
|
390
354
|
background: ({
|
|
391
355
|
disabled
|
|
392
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color :
|
|
356
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.palette?.primary?.main,
|
|
393
357
|
border: ({
|
|
394
358
|
disabled
|
|
395
|
-
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${
|
|
359
|
+
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme.palette.primary.main}`,
|
|
396
360
|
textDecoration: 'none',
|
|
397
361
|
cursor: ({
|
|
398
362
|
disabled
|
|
@@ -615,7 +579,7 @@ var menu = "data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20v
|
|
|
615
579
|
|
|
616
580
|
var clpLogo = "478367302082f28d.svg";
|
|
617
581
|
|
|
618
|
-
var videoPlay = "data:image/svg+xml,%3Csvg%20width%3D%
|
|
582
|
+
var videoPlay = "data:image/svg+xml,%3Csvg%20width%3D%2297%22%20height%3D%2266%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20%3E%3Cpath%20d%3D%22M8%200.5C3.86%200.5%200.5%203.86%200.5%208C0.5%2012.14%203.86%2015.5%208%2015.5C12.14%2015.5%2015.5%2012.14%2015.5%208C15.5%203.86%2012.14%200.5%208%200.5ZM6.5%2011.375V4.625L11%208L6.5%2011.375Z%22%20fill%3D%22%234E93FF%22%2F%3E%3C%2Fsvg%3E";
|
|
619
583
|
|
|
620
584
|
var stockGrowth = "data:image/svg+xml,%3Csvg%20width%3D%2248%22%20height%3D%2248%22%20viewBox%3D%220%200%2048%2048%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M44%205.5H4C3.18%205.5%202.5%204.82%202.5%204C2.5%203.18%203.18%202.5%204%202.5H44C44.82%202.5%2045.5%203.18%2045.5%204C45.5%204.82%2044.82%205.5%2044%205.5Z%22%20fill%3D%22%23549BF6%22%2F%3E%3Cpath%20d%3D%22M33.34%2044.68C33.08%2045.2%2032.54%2045.5%2032%2045.5C31.78%2045.5%2031.54%2045.44%2031.34%2045.34L24%2041.68L16.66%2045.34C16.46%2045.44%2016.22%2045.5%2016%2045.5C15.46%2045.5%2014.92%2045.2%2014.66%2044.68C14.28%2043.92%2014.58%2043.02%2015.34%2042.66L22.5%2039.08V34H25.5V39.08L32.66%2042.66C33.42%2043.02%2033.72%2043.92%2033.34%2044.68Z%22%20fill%3D%22%23549BF6%22%2F%3E%3Cpath%20d%3D%22M6%204V28.2C6%2032%208%2034%2011.8%2034H36.2C40%2034%2042%2032%2042%2028.2V4H6ZM33.96%2017.16L27.66%2022.42C27.08%2022.9%2026.34%2023.1%2025.64%2022.98C24.92%2022.86%2024.3%2022.42%2023.92%2021.78L21.82%2018.28L15.96%2023.16C15.68%2023.4%2015.34%2023.5%2015%2023.5C14.58%2023.5%2014.14%2023.32%2013.84%2022.96C13.3%2022.32%2013.4%2021.38%2014.04%2020.84L20.34%2015.58C20.92%2015.1%2021.66%2014.9%2022.36%2015.02C23.08%2015.14%2023.7%2015.58%2024.08%2016.22L26.18%2019.72L32.04%2014.84C32.68%2014.3%2033.62%2014.4%2034.16%2015.04C34.68%2015.68%2034.6%2016.62%2033.96%2017.16Z%22%20fill%3D%22%23549BF6%22%2F%3E%3C%2Fsvg%3E";
|
|
621
585
|
|
|
@@ -1948,99 +1912,20 @@ const palettes = {
|
|
|
1948
1912
|
rust: rustPalette
|
|
1949
1913
|
};
|
|
1950
1914
|
|
|
1951
|
-
|
|
1952
|
-
const mobileMargin = {
|
|
1953
|
-
tiny: baseFactor * 2,
|
|
1954
|
-
small: baseFactor * 2,
|
|
1955
|
-
regular: baseFactor * 3,
|
|
1956
|
-
medium: baseFactor * 6
|
|
1957
|
-
};
|
|
1958
|
-
const margin = {
|
|
1959
|
-
tiny: baseFactor * 4,
|
|
1960
|
-
small: baseFactor * 4 * 2,
|
|
1961
|
-
regular: baseFactor * 4 * 4,
|
|
1962
|
-
medium: baseFactor * 4 * 6,
|
|
1963
|
-
large: baseFactor * 4 * 8,
|
|
1964
|
-
xLarge: baseFactor * 4 * 12
|
|
1965
|
-
};
|
|
1966
|
-
const mobilePadding = {
|
|
1967
|
-
tiny: baseFactor * 2,
|
|
1968
|
-
// 16px
|
|
1969
|
-
small: baseFactor * 2,
|
|
1970
|
-
//16px
|
|
1971
|
-
regular: baseFactor * 3,
|
|
1972
|
-
// 24px
|
|
1973
|
-
medium: baseFactor * 6 // 48px
|
|
1974
|
-
};
|
|
1975
|
-
|
|
1976
|
-
const padding = {
|
|
1977
|
-
minute: baseFactor * 2,
|
|
1978
|
-
// 16px
|
|
1979
|
-
tiny: baseFactor * 4,
|
|
1980
|
-
// 32px
|
|
1981
|
-
small: baseFactor * 4 * 2,
|
|
1982
|
-
// 64px
|
|
1983
|
-
xSmall: baseFactor * 3 * 3,
|
|
1984
|
-
// 72px
|
|
1985
|
-
regular: baseFactor * 4 * 3,
|
|
1986
|
-
// 96 px
|
|
1987
|
-
medium: baseFactor * 4 * 4,
|
|
1988
|
-
// 128 px
|
|
1989
|
-
large: baseFactor * 4 * 5,
|
|
1990
|
-
// 160px
|
|
1991
|
-
xLarge: baseFactor * 4 * 6 // 192px
|
|
1992
|
-
};
|
|
1993
|
-
|
|
1994
|
-
const fontSize = {
|
|
1995
|
-
h1: 72,
|
|
1996
|
-
h2: 56,
|
|
1997
|
-
h3: 40,
|
|
1998
|
-
h4: 32,
|
|
1999
|
-
h5: 24,
|
|
2000
|
-
h6: 20,
|
|
2001
|
-
subHead: 16,
|
|
2002
|
-
body: 14
|
|
2003
|
-
};
|
|
2004
|
-
const fontSizeMob = {
|
|
2005
|
-
h1: 40,
|
|
2006
|
-
h2: 20,
|
|
2007
|
-
h3: 32,
|
|
2008
|
-
h4: 16,
|
|
2009
|
-
h5: 16,
|
|
2010
|
-
h6: 14,
|
|
2011
|
-
subHead: 14,
|
|
2012
|
-
body: 14
|
|
2013
|
-
};
|
|
2014
|
-
const fontWeight = {
|
|
2015
|
-
light: 300,
|
|
2016
|
-
regular: 400,
|
|
2017
|
-
medium: 500,
|
|
2018
|
-
semiBold: 600,
|
|
2019
|
-
bold: 700,
|
|
2020
|
-
superBold: 900
|
|
2021
|
-
};
|
|
2022
|
-
|
|
2023
|
-
function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
|
|
1915
|
+
function getTheme(colorTheme = 'blue', fontFamily = 'Arial') {
|
|
2024
1916
|
const palette = palettes[colorTheme] || palettes['blue'];
|
|
2025
1917
|
const typography = {
|
|
2026
|
-
fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"
|
|
2027
|
-
fontSize: isMobile ? fontSizeMob : fontSize,
|
|
2028
|
-
fontWeight
|
|
1918
|
+
fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`
|
|
2029
1919
|
};
|
|
2030
1920
|
const shape = {
|
|
2031
1921
|
borderRadius
|
|
2032
1922
|
};
|
|
2033
|
-
const spacing = {
|
|
2034
|
-
padding: isMobile ? mobilePadding : padding,
|
|
2035
|
-
margin: isMobile ? mobileMargin : margin
|
|
2036
|
-
};
|
|
2037
1923
|
return {
|
|
2038
1924
|
palette,
|
|
2039
1925
|
shape,
|
|
2040
1926
|
typography,
|
|
2041
1927
|
shadows: generateShadows(palette),
|
|
2042
|
-
borders: generateBorders(palette)
|
|
2043
|
-
spacing
|
|
1928
|
+
borders: generateBorders(palette)
|
|
2044
1929
|
};
|
|
2045
1930
|
}
|
|
2046
1931
|
|
|
@@ -2270,7 +2155,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2270
2155
|
partialBackground: {
|
|
2271
2156
|
width: '61%',
|
|
2272
2157
|
position: 'absolute',
|
|
2273
|
-
backgroundColor:
|
|
2158
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
2274
2159
|
height: '100%',
|
|
2275
2160
|
top: '0',
|
|
2276
2161
|
left: '0'
|
|
@@ -2379,7 +2264,7 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2379
2264
|
'& .slick-dots': {
|
|
2380
2265
|
bottom: ({
|
|
2381
2266
|
buttonContainerClass
|
|
2382
|
-
} = {}) => !!buttonContainerClass ? '
|
|
2267
|
+
} = {}) => !!buttonContainerClass ? '20px' : 'unset',
|
|
2383
2268
|
position: ({
|
|
2384
2269
|
buttonContainerClass
|
|
2385
2270
|
} = {}) => !!buttonContainerClass ? 'absolute' : 'inherit',
|
|
@@ -2389,7 +2274,7 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2389
2274
|
textAlign: 'center',
|
|
2390
2275
|
paddingBottom: '0',
|
|
2391
2276
|
'& ul': {
|
|
2392
|
-
margin:
|
|
2277
|
+
margin: '0',
|
|
2393
2278
|
padding: '0',
|
|
2394
2279
|
'& li': {
|
|
2395
2280
|
width: 'unset',
|
|
@@ -2413,7 +2298,7 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2413
2298
|
display: 'flex',
|
|
2414
2299
|
gap: '20px',
|
|
2415
2300
|
justifyContent: 'center',
|
|
2416
|
-
marginTop:
|
|
2301
|
+
marginTop: '40px'
|
|
2417
2302
|
},
|
|
2418
2303
|
dots: {
|
|
2419
2304
|
width: '4px',
|
|
@@ -2430,15 +2315,6 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2430
2315
|
background: ({
|
|
2431
2316
|
inverted
|
|
2432
2317
|
} = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.palette.primary.main
|
|
2433
|
-
},
|
|
2434
|
-
'@media screen and (max-width: 767px)': {
|
|
2435
|
-
sliderClass: {
|
|
2436
|
-
'& .slick-dots': {
|
|
2437
|
-
'& ul': {
|
|
2438
|
-
margin: '0px'
|
|
2439
|
-
}
|
|
2440
|
-
}
|
|
2441
|
-
}
|
|
2442
2318
|
}
|
|
2443
2319
|
}));
|
|
2444
2320
|
|
|
@@ -2465,7 +2341,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
|
|
|
2465
2341
|
height: sizeHandler,
|
|
2466
2342
|
border: ({
|
|
2467
2343
|
inverted
|
|
2468
|
-
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault :
|
|
2344
|
+
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.light}`,
|
|
2469
2345
|
borderRadius: '50%',
|
|
2470
2346
|
display: 'flex',
|
|
2471
2347
|
justifyContent: 'center',
|
|
@@ -2487,7 +2363,7 @@ function ArrowButton(props) {
|
|
|
2487
2363
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
2488
2364
|
height: props.size === 'small' ? '12px' : '18px',
|
|
2489
2365
|
name: "Angle",
|
|
2490
|
-
color: props.inverted ? theme?.palette?.font?.invertedDefault :
|
|
2366
|
+
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
|
|
2491
2367
|
inverted: true
|
|
2492
2368
|
}));
|
|
2493
2369
|
}
|
|
@@ -2681,9 +2557,7 @@ var index$l = /*#__PURE__*/Object.freeze({
|
|
|
2681
2557
|
const useSectionStyles$7 = createUseStyles(theme => ({
|
|
2682
2558
|
section: {
|
|
2683
2559
|
width: '100%',
|
|
2684
|
-
padding:
|
|
2685
|
-
isMobile
|
|
2686
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
2560
|
+
padding: '70px 0',
|
|
2687
2561
|
display: 'flex',
|
|
2688
2562
|
justifyContent: 'center',
|
|
2689
2563
|
flexDirection: 'column',
|
|
@@ -2692,15 +2566,14 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2692
2566
|
'&, & *, & *:before, & *:after': {
|
|
2693
2567
|
fontFamily: theme?.typography?.fontFamily,
|
|
2694
2568
|
boxSizing: 'border-box'
|
|
2569
|
+
},
|
|
2570
|
+
'& h2,& h3': {
|
|
2571
|
+
fontWeight: '500',
|
|
2572
|
+
'& b,& strong': {
|
|
2573
|
+
fontWeight: '700'
|
|
2574
|
+
}
|
|
2695
2575
|
}
|
|
2696
|
-
// '& h2,& h3': {
|
|
2697
|
-
// fontWeight: '500',
|
|
2698
|
-
// '& b,& strong': {
|
|
2699
|
-
// fontWeight: '700'
|
|
2700
|
-
// }
|
|
2701
|
-
// }
|
|
2702
2576
|
},
|
|
2703
|
-
|
|
2704
2577
|
sectionContainer: {
|
|
2705
2578
|
margin: '0 auto',
|
|
2706
2579
|
maxWidth: ({
|
|
@@ -2709,18 +2582,16 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2709
2582
|
},
|
|
2710
2583
|
subTitleHeading: {
|
|
2711
2584
|
marginBottom: '8px',
|
|
2712
|
-
fontSize:
|
|
2585
|
+
fontSize: '16px',
|
|
2713
2586
|
color: theme?.palette?.font?.tertiary,
|
|
2714
2587
|
alignItems: 'center',
|
|
2715
2588
|
textAlign: 'center',
|
|
2716
|
-
wordBreak: 'break-word'
|
|
2717
|
-
textTransform: 'uppercase'
|
|
2589
|
+
wordBreak: 'break-word'
|
|
2718
2590
|
},
|
|
2719
2591
|
heading: {
|
|
2720
|
-
|
|
2721
|
-
fontSize:
|
|
2592
|
+
margin: '0',
|
|
2593
|
+
fontSize: '72px',
|
|
2722
2594
|
color: theme?.palette?.font?.default,
|
|
2723
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
2724
2595
|
textAlign: 'center',
|
|
2725
2596
|
wordBreak: 'break-word'
|
|
2726
2597
|
},
|
|
@@ -2741,7 +2612,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2741
2612
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
2742
2613
|
overflow: 'hidden',
|
|
2743
2614
|
minHeight: 200,
|
|
2744
|
-
|
|
2615
|
+
margin: '16px 0',
|
|
2745
2616
|
position: 'relative',
|
|
2746
2617
|
'&:nth-child(2n)': {
|
|
2747
2618
|
alignSelf: 'flex-end',
|
|
@@ -2749,7 +2620,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2749
2620
|
right: '0'
|
|
2750
2621
|
},
|
|
2751
2622
|
'& $contentText': {
|
|
2752
|
-
marginRight: '
|
|
2623
|
+
marginRight: '200px'
|
|
2753
2624
|
}
|
|
2754
2625
|
},
|
|
2755
2626
|
'&:nth-child(2n+1)': {
|
|
@@ -2758,7 +2629,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2758
2629
|
left: '0'
|
|
2759
2630
|
},
|
|
2760
2631
|
'& $contentText': {
|
|
2761
|
-
marginLeft: '
|
|
2632
|
+
marginLeft: '200px'
|
|
2762
2633
|
}
|
|
2763
2634
|
},
|
|
2764
2635
|
'&:nth-child(7n+1) $contentNumber': {
|
|
@@ -2792,31 +2663,42 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2792
2663
|
display: 'flex',
|
|
2793
2664
|
alignItems: 'center',
|
|
2794
2665
|
justifyContent: 'center',
|
|
2795
|
-
padding: '48px',
|
|
2796
2666
|
height: '100%',
|
|
2797
2667
|
color: theme?.palette?.font?.default,
|
|
2668
|
+
width: '200px',
|
|
2798
2669
|
wordBreak: 'break-word'
|
|
2799
2670
|
},
|
|
2800
2671
|
contentText: {
|
|
2801
|
-
padding:
|
|
2672
|
+
padding: '20px 0'
|
|
2802
2673
|
},
|
|
2803
2674
|
contentHeading: {
|
|
2804
2675
|
fontStyle: 'normal',
|
|
2805
|
-
fontSize:
|
|
2806
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
2676
|
+
fontSize: '24px',
|
|
2807
2677
|
lineHeight: '32px',
|
|
2808
|
-
marginBottom: '8px',
|
|
2809
2678
|
color: theme?.palette?.font?.default,
|
|
2679
|
+
margin: '0 48px',
|
|
2810
2680
|
wordBreak: 'break-word'
|
|
2811
2681
|
},
|
|
2812
2682
|
contentPara: {
|
|
2813
2683
|
fontStyle: 'normal',
|
|
2814
|
-
fontSize:
|
|
2684
|
+
fontSize: '16px',
|
|
2815
2685
|
lineHeight: '32px',
|
|
2816
2686
|
color: theme?.palette?.font?.primary,
|
|
2687
|
+
margin: '20px 48px 0 48px',
|
|
2817
2688
|
wordBreak: 'break-word'
|
|
2818
2689
|
},
|
|
2819
2690
|
'@media screen and (max-width: 767px)': {
|
|
2691
|
+
section: {
|
|
2692
|
+
padding: '70px 20px'
|
|
2693
|
+
},
|
|
2694
|
+
textContainer: {
|
|
2695
|
+
padding: '20px',
|
|
2696
|
+
width: '100%'
|
|
2697
|
+
},
|
|
2698
|
+
heading: {
|
|
2699
|
+
fontSize: '24px',
|
|
2700
|
+
margin: '4px 0 12px 0'
|
|
2701
|
+
},
|
|
2820
2702
|
contentContainer: {
|
|
2821
2703
|
width: '100%'
|
|
2822
2704
|
},
|
|
@@ -2824,31 +2706,36 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2824
2706
|
display: 'flex',
|
|
2825
2707
|
flexDirection: 'column',
|
|
2826
2708
|
borderRadius: theme.shape.borderRadius.large,
|
|
2709
|
+
margin: '20px 0 10px 0',
|
|
2827
2710
|
width: '100%',
|
|
2828
2711
|
height: 'auto',
|
|
2829
2712
|
'&:nth-child(2n)': {
|
|
2830
2713
|
marginLeft: '0',
|
|
2831
2714
|
'& $contentText': {
|
|
2832
2715
|
marginRight: '0',
|
|
2833
|
-
alignSelf: 'flex-start'
|
|
2834
|
-
|
|
2716
|
+
alignSelf: 'flex-start',
|
|
2717
|
+
padding: '0'
|
|
2835
2718
|
}
|
|
2836
2719
|
},
|
|
2837
|
-
|
|
2838
2720
|
'&:nth-child(2n+1)': {
|
|
2839
2721
|
marginRight: '0',
|
|
2840
2722
|
'& $contentText': {
|
|
2841
2723
|
marginLeft: '0',
|
|
2842
|
-
alignSelf: 'flex-start'
|
|
2843
|
-
|
|
2724
|
+
alignSelf: 'flex-start',
|
|
2725
|
+
padding: '0'
|
|
2844
2726
|
}
|
|
2845
2727
|
}
|
|
2846
2728
|
},
|
|
2847
|
-
|
|
2848
2729
|
contentNumber: {
|
|
2849
2730
|
width: '100%',
|
|
2850
|
-
padding: '
|
|
2731
|
+
padding: '40px 0',
|
|
2851
2732
|
position: 'static'
|
|
2733
|
+
},
|
|
2734
|
+
contentHeading: {
|
|
2735
|
+
margin: '20px 20px 0 20px'
|
|
2736
|
+
},
|
|
2737
|
+
contentPara: {
|
|
2738
|
+
margin: '16px 20px 24px 20px'
|
|
2852
2739
|
}
|
|
2853
2740
|
}
|
|
2854
2741
|
}));
|
|
@@ -2859,12 +2746,10 @@ function List({
|
|
|
2859
2746
|
const {
|
|
2860
2747
|
layout: {
|
|
2861
2748
|
containerWidth
|
|
2862
|
-
}
|
|
2863
|
-
isMobile
|
|
2749
|
+
}
|
|
2864
2750
|
} = useContext(PageContext);
|
|
2865
2751
|
const classes = useSectionStyles$7({
|
|
2866
|
-
containerWidth
|
|
2867
|
-
isMobile
|
|
2752
|
+
containerWidth
|
|
2868
2753
|
});
|
|
2869
2754
|
const [nodeData] = sectionData.components;
|
|
2870
2755
|
const getNumber = val => {
|
|
@@ -2881,7 +2766,7 @@ function List({
|
|
|
2881
2766
|
dangerouslySetInnerHTML: {
|
|
2882
2767
|
__html: nodeData.cardHeading.metadata.value
|
|
2883
2768
|
}
|
|
2884
|
-
})), /*#__PURE__*/React.createElement("
|
|
2769
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
2885
2770
|
className: classes.heading
|
|
2886
2771
|
}, /*#__PURE__*/React.createElement("span", {
|
|
2887
2772
|
ref: nodeData?.title?.refSetter,
|
|
@@ -2898,13 +2783,13 @@ function List({
|
|
|
2898
2783
|
className: classes.contentNumber
|
|
2899
2784
|
}, getNumber(ind + 1)), /*#__PURE__*/React.createElement("div", {
|
|
2900
2785
|
className: classes.contentText
|
|
2901
|
-
}, /*#__PURE__*/React.createElement("
|
|
2786
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
2902
2787
|
ref: dt?.contentHeading?.refSetter,
|
|
2903
2788
|
className: classes.contentHeading,
|
|
2904
2789
|
dangerouslySetInnerHTML: {
|
|
2905
2790
|
__html: dt.contentHeading.metadata.value
|
|
2906
2791
|
}
|
|
2907
|
-
}), /*#__PURE__*/React.createElement("
|
|
2792
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
2908
2793
|
ref: dt?.contentPara?.refSetter,
|
|
2909
2794
|
className: classes.contentPara,
|
|
2910
2795
|
dangerouslySetInnerHTML: {
|
|
@@ -2928,16 +2813,16 @@ const useSectionStyles$6 = createUseStyles(theme => ({
|
|
|
2928
2813
|
'&, & *, & *:before, & *:after': {
|
|
2929
2814
|
fontFamily: theme?.typography?.fontFamily,
|
|
2930
2815
|
boxSizing: 'border-box'
|
|
2816
|
+
},
|
|
2817
|
+
'& h2,& h3': {
|
|
2818
|
+
fontWeight: '500',
|
|
2819
|
+
'& b,& strong': {
|
|
2820
|
+
fontWeight: '700'
|
|
2821
|
+
}
|
|
2931
2822
|
}
|
|
2932
|
-
// '& h2,& h3': {
|
|
2933
|
-
// fontWeight: '500',
|
|
2934
|
-
// '& b,& strong': {
|
|
2935
|
-
// fontWeight: '700'
|
|
2936
|
-
// }
|
|
2937
|
-
// }
|
|
2938
2823
|
},
|
|
2939
|
-
|
|
2940
2824
|
sectionContainer: {
|
|
2825
|
+
margin: '0 auto',
|
|
2941
2826
|
width: '100%',
|
|
2942
2827
|
// maxWidth: ({ containerWidth } = {}) => containerWidth,
|
|
2943
2828
|
position: 'absolute',
|
|
@@ -2951,9 +2836,6 @@ const useSectionStyles$6 = createUseStyles(theme => ({
|
|
|
2951
2836
|
position: 'absolute',
|
|
2952
2837
|
width: '100%'
|
|
2953
2838
|
},
|
|
2954
|
-
buttonClass: {
|
|
2955
|
-
margin: `${theme.spacing.margin.tiny}px 0px`
|
|
2956
|
-
},
|
|
2957
2839
|
contentContainer: {
|
|
2958
2840
|
// padding: '100px 0',
|
|
2959
2841
|
// height: '100%',
|
|
@@ -2989,28 +2871,27 @@ const useSectionStyles$6 = createUseStyles(theme => ({
|
|
|
2989
2871
|
height: '100%'
|
|
2990
2872
|
},
|
|
2991
2873
|
textContainer: {
|
|
2992
|
-
padding:
|
|
2993
|
-
|
|
2994
|
-
width: '
|
|
2874
|
+
padding: '100px 0',
|
|
2875
|
+
margin: '0 auto',
|
|
2876
|
+
width: '80%'
|
|
2995
2877
|
},
|
|
2996
2878
|
subTitleHeading: {
|
|
2997
2879
|
color: theme?.palette?.font?.invertedDefault,
|
|
2998
2880
|
marginBottom: '8px',
|
|
2999
|
-
fontSize:
|
|
2881
|
+
fontSize: '16px',
|
|
3000
2882
|
wordBreak: 'break-word'
|
|
3001
2883
|
},
|
|
3002
2884
|
heading: {
|
|
3003
2885
|
margin: '0',
|
|
3004
|
-
fontSize:
|
|
2886
|
+
fontSize: '62px',
|
|
3005
2887
|
color: theme?.palette?.font?.invertedDefault,
|
|
3006
2888
|
wordBreak: 'break-word'
|
|
3007
2889
|
},
|
|
3008
2890
|
description: {
|
|
3009
|
-
margin:
|
|
2891
|
+
margin: '40px 0',
|
|
3010
2892
|
color: theme?.palette?.font?.invertedDefault,
|
|
3011
2893
|
lineHeight: '24px',
|
|
3012
|
-
wordBreak: 'break-word'
|
|
3013
|
-
fontSize: theme.typography.fontSize.subHead
|
|
2894
|
+
wordBreak: 'break-word'
|
|
3014
2895
|
},
|
|
3015
2896
|
sideBannerImage: {
|
|
3016
2897
|
width: '100%',
|
|
@@ -3028,19 +2909,22 @@ const useSectionStyles$6 = createUseStyles(theme => ({
|
|
|
3028
2909
|
justifyContent: 'center',
|
|
3029
2910
|
padding: '0px'
|
|
3030
2911
|
},
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
2912
|
+
textContainer: {
|
|
2913
|
+
padding: '20px 20px',
|
|
2914
|
+
height: '100%',
|
|
2915
|
+
width: '100%'
|
|
2916
|
+
// backgroundColor: theme?.palette?.background?.primary
|
|
2917
|
+
},
|
|
2918
|
+
|
|
3037
2919
|
subTitleHeading: {
|
|
3038
2920
|
color: theme?.palette?.font?.tertiary
|
|
3039
2921
|
},
|
|
3040
2922
|
heading: {
|
|
2923
|
+
fontSize: '40px',
|
|
3041
2924
|
color: theme?.palette?.font?.default
|
|
3042
2925
|
},
|
|
3043
2926
|
description: {
|
|
2927
|
+
margin: '16px 0',
|
|
3044
2928
|
color: theme?.palette?.font?.primary
|
|
3045
2929
|
},
|
|
3046
2930
|
centerBgImageContainer: {
|
|
@@ -3107,14 +2991,12 @@ const Section$3 = ({
|
|
|
3107
2991
|
dangerouslySetInnerHTML: {
|
|
3108
2992
|
__html: nodeData.description.metadata.value
|
|
3109
2993
|
}
|
|
3110
|
-
}) : null, nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React.createElement(
|
|
3111
|
-
className: classes.buttonClass
|
|
3112
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
2994
|
+
}) : null, nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React.createElement(Button, {
|
|
3113
2995
|
ref: nodeData?.cta?.refSetter,
|
|
3114
2996
|
data: nodeData.cta.metadata,
|
|
3115
2997
|
type: nodeData?.cta?.metadata?.type,
|
|
3116
2998
|
size: isMobile ? 'small' : 'medium'
|
|
3117
|
-
}))
|
|
2999
|
+
})) : null), /*#__PURE__*/React.createElement("div", {
|
|
3118
3000
|
className: classes?.centerBgImageContainer
|
|
3119
3001
|
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
3120
3002
|
src: nodeData.image.metadata.value,
|
|
@@ -3154,18 +3036,17 @@ var index$j = /*#__PURE__*/Object.freeze({
|
|
|
3154
3036
|
});
|
|
3155
3037
|
|
|
3156
3038
|
const useSectionStyles$5 = createUseStyles(theme => {
|
|
3157
|
-
console.log('sdkjfndkjsnfk', theme?.spacing?.padding?.large);
|
|
3158
3039
|
return {
|
|
3159
3040
|
section: {
|
|
3160
|
-
paddingBottom:
|
|
3041
|
+
paddingBottom: '70px',
|
|
3161
3042
|
'&, & *, & *:before, & *:after': {
|
|
3162
3043
|
fontFamily: theme?.typography?.fontFamily,
|
|
3163
3044
|
boxSizing: 'border-box'
|
|
3164
3045
|
},
|
|
3165
3046
|
'& h2,& h3': {
|
|
3166
|
-
fontWeight:
|
|
3047
|
+
fontWeight: '500',
|
|
3167
3048
|
'& b,& strong': {
|
|
3168
|
-
fontWeight:
|
|
3049
|
+
fontWeight: '700'
|
|
3169
3050
|
}
|
|
3170
3051
|
}
|
|
3171
3052
|
},
|
|
@@ -3179,7 +3060,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3179
3060
|
display: 'flex',
|
|
3180
3061
|
alignItems: 'center',
|
|
3181
3062
|
justifyContent: 'center',
|
|
3182
|
-
padding:
|
|
3063
|
+
padding: '140px 70px 0'
|
|
3183
3064
|
},
|
|
3184
3065
|
imageContainerDiv: {
|
|
3185
3066
|
width: '50%',
|
|
@@ -3214,20 +3095,20 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3214
3095
|
objectFit: 'cover'
|
|
3215
3096
|
},
|
|
3216
3097
|
textContainer: {
|
|
3217
|
-
padding:
|
|
3098
|
+
padding: '0 60px',
|
|
3218
3099
|
textAlign: 'left',
|
|
3219
3100
|
margin: '0 auto',
|
|
3220
3101
|
width: '50%'
|
|
3221
3102
|
},
|
|
3222
3103
|
subTitleHeading: {
|
|
3223
3104
|
marginBottom: '8px',
|
|
3224
|
-
fontSize:
|
|
3105
|
+
fontSize: '16px',
|
|
3225
3106
|
color: theme?.palette?.font?.tertiary,
|
|
3226
3107
|
wordBreak: 'break-word'
|
|
3227
3108
|
},
|
|
3228
3109
|
heading: {
|
|
3229
3110
|
margin: '0',
|
|
3230
|
-
fontSize:
|
|
3111
|
+
fontSize: '72px',
|
|
3231
3112
|
color: theme?.palette?.font?.default,
|
|
3232
3113
|
wordBreak: 'break-word'
|
|
3233
3114
|
},
|
|
@@ -3242,9 +3123,9 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3242
3123
|
padding: '0 0 40px'
|
|
3243
3124
|
},
|
|
3244
3125
|
centerData: {
|
|
3245
|
-
flexDirection: 'column
|
|
3126
|
+
flexDirection: 'column',
|
|
3246
3127
|
width: '100%',
|
|
3247
|
-
padding:
|
|
3128
|
+
padding: '0'
|
|
3248
3129
|
},
|
|
3249
3130
|
imageContainer: {
|
|
3250
3131
|
height: 'unset !important',
|
|
@@ -3264,11 +3145,11 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3264
3145
|
height: 'unset !important'
|
|
3265
3146
|
},
|
|
3266
3147
|
textContainer: {
|
|
3267
|
-
padding:
|
|
3148
|
+
padding: '20px 20px',
|
|
3268
3149
|
width: 'unset'
|
|
3269
3150
|
},
|
|
3270
3151
|
heading: {
|
|
3271
|
-
fontSize:
|
|
3152
|
+
fontSize: '40px'
|
|
3272
3153
|
},
|
|
3273
3154
|
description: {
|
|
3274
3155
|
margin: '16px 0'
|
|
@@ -3302,6 +3183,8 @@ function Section$2({
|
|
|
3302
3183
|
ref: nodeData?.image?.refSetter,
|
|
3303
3184
|
className: classes.sideBannerImage,
|
|
3304
3185
|
sectionIndex: sectionIndex
|
|
3186
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
3187
|
+
className: classes.imageBorder
|
|
3305
3188
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
3306
3189
|
className: classes.textContainer
|
|
3307
3190
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -3372,21 +3255,18 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3372
3255
|
width: '100%',
|
|
3373
3256
|
alignItems: 'center',
|
|
3374
3257
|
justifyContent: 'center',
|
|
3375
|
-
padding:
|
|
3376
|
-
isMobile
|
|
3377
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
3258
|
+
padding: '60px 70px',
|
|
3378
3259
|
'&, & *, & *:before, & *:after': {
|
|
3379
3260
|
fontFamily: theme?.typography?.fontFamily,
|
|
3380
3261
|
boxSizing: 'border-box'
|
|
3262
|
+
},
|
|
3263
|
+
'& h2,& h3': {
|
|
3264
|
+
fontWeight: '500',
|
|
3265
|
+
'& b,& strong': {
|
|
3266
|
+
fontWeight: '700'
|
|
3267
|
+
}
|
|
3381
3268
|
}
|
|
3382
|
-
// '& h2,& h3': {
|
|
3383
|
-
// fontWeight: '500',
|
|
3384
|
-
// '& b,& strong': {
|
|
3385
|
-
// fontWeight: '700'
|
|
3386
|
-
// }
|
|
3387
|
-
// }
|
|
3388
3269
|
},
|
|
3389
|
-
|
|
3390
3270
|
newsLetterContainer: {
|
|
3391
3271
|
margin: '0 auto',
|
|
3392
3272
|
maxWidth: ({
|
|
@@ -3405,16 +3285,15 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3405
3285
|
backgroundColor: theme?.palette?.background?.default,
|
|
3406
3286
|
boxShadow: theme?.shadows?.secondary,
|
|
3407
3287
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3408
|
-
padding:
|
|
3288
|
+
padding: '40px 80px',
|
|
3409
3289
|
position: 'relative'
|
|
3410
3290
|
},
|
|
3411
3291
|
cardHeading: {
|
|
3412
|
-
fontSize:
|
|
3413
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
3292
|
+
fontSize: '56px',
|
|
3414
3293
|
lineHeight: '71px',
|
|
3415
3294
|
letterSpacing: '-3px',
|
|
3416
3295
|
color: theme?.palette?.font?.secondary,
|
|
3417
|
-
|
|
3296
|
+
margin: '0 0 32px 0',
|
|
3418
3297
|
wordBreak: 'break-word'
|
|
3419
3298
|
},
|
|
3420
3299
|
contentContainer: {
|
|
@@ -3423,9 +3302,10 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3423
3302
|
justifyContent: 'space-between'
|
|
3424
3303
|
},
|
|
3425
3304
|
title: {
|
|
3426
|
-
fontSize:
|
|
3305
|
+
fontSize: '20px',
|
|
3427
3306
|
lineHeight: '32px',
|
|
3428
3307
|
color: theme?.palette?.font?.primary,
|
|
3308
|
+
margin: '0 80px 0 0',
|
|
3429
3309
|
width: 'calc(50% - 80px)',
|
|
3430
3310
|
wordBreak: 'break-word'
|
|
3431
3311
|
},
|
|
@@ -3463,44 +3343,42 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3463
3343
|
section: {
|
|
3464
3344
|
display: 'flex',
|
|
3465
3345
|
flexDirection: 'column',
|
|
3466
|
-
alignItems: 'center'
|
|
3346
|
+
alignItems: 'center',
|
|
3347
|
+
padding: '30px 20px'
|
|
3467
3348
|
},
|
|
3468
3349
|
sectionContainer: {
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
display: 'flex',
|
|
3472
|
-
alignItems: 'center',
|
|
3473
|
-
flexDirection: 'column'
|
|
3350
|
+
padding: '30px 20px',
|
|
3351
|
+
borderRadius: theme?.shape?.borderRadius?.large
|
|
3474
3352
|
},
|
|
3475
3353
|
partialBackground: {
|
|
3476
3354
|
height: '150px'
|
|
3477
3355
|
},
|
|
3478
3356
|
title: {
|
|
3479
3357
|
width: '100%',
|
|
3480
|
-
|
|
3481
|
-
|
|
3358
|
+
margin: '0',
|
|
3359
|
+
fontSize: '20px',
|
|
3360
|
+
lineHeight: '32px'
|
|
3482
3361
|
},
|
|
3483
3362
|
cardHeading: {
|
|
3363
|
+
fontSize: '24px',
|
|
3484
3364
|
lineHeight: '32px',
|
|
3485
3365
|
letterSpacing: '-1px',
|
|
3486
|
-
|
|
3487
|
-
lineHeight: 'normal'
|
|
3366
|
+
marginBottom: '20px'
|
|
3488
3367
|
},
|
|
3489
3368
|
contentContainer: {
|
|
3490
3369
|
display: 'flex',
|
|
3491
3370
|
flexDirection: 'column',
|
|
3492
|
-
justifyContent: 'flex-start'
|
|
3493
|
-
textAlign: 'center'
|
|
3371
|
+
justifyContent: 'flex-start'
|
|
3494
3372
|
},
|
|
3495
3373
|
inputContainer: {
|
|
3496
3374
|
display: 'block',
|
|
3497
3375
|
width: '100%',
|
|
3376
|
+
margin: '24px 16px 0 16px',
|
|
3498
3377
|
position: 'initial'
|
|
3499
3378
|
},
|
|
3500
3379
|
btnContainer: {
|
|
3501
3380
|
right: 'unset',
|
|
3502
|
-
position: 'initial'
|
|
3503
|
-
marginTop: '4px'
|
|
3381
|
+
position: 'initial'
|
|
3504
3382
|
}
|
|
3505
3383
|
}
|
|
3506
3384
|
}));
|
|
@@ -3645,8 +3523,7 @@ function SubscribeToNewsletter({
|
|
|
3645
3523
|
} = useContext(PageContext);
|
|
3646
3524
|
const [nodeData] = sectionData.components;
|
|
3647
3525
|
const classes = useSectionStyles$4({
|
|
3648
|
-
containerWidth
|
|
3649
|
-
isMobile
|
|
3526
|
+
containerWidth
|
|
3650
3527
|
});
|
|
3651
3528
|
let formInitialValue = nodeData?.inputField?.metadata?.value;
|
|
3652
3529
|
const [inputVal, setInputVal] = useState(formInitialValue);
|
|
@@ -3692,7 +3569,7 @@ function SubscribeToNewsletter({
|
|
|
3692
3569
|
className: classes.partialBackground
|
|
3693
3570
|
}), /*#__PURE__*/React.createElement("div", {
|
|
3694
3571
|
className: classes.sectionContainer
|
|
3695
|
-
}, /*#__PURE__*/React.createElement("
|
|
3572
|
+
}, /*#__PURE__*/React.createElement("h2", {
|
|
3696
3573
|
className: classes.cardHeading
|
|
3697
3574
|
}, /*#__PURE__*/React.createElement("span", {
|
|
3698
3575
|
ref: nodeData?.cardHeading?.refSetter,
|
|
@@ -4164,7 +4041,8 @@ const useVideoStyles$1 = createUseStyles(theme => {
|
|
|
4164
4041
|
height: '100%',
|
|
4165
4042
|
width: '100%',
|
|
4166
4043
|
objectFit: 'cover',
|
|
4167
|
-
objectPosition: 'top'
|
|
4044
|
+
objectPosition: 'top',
|
|
4045
|
+
opacity: '0.8'
|
|
4168
4046
|
},
|
|
4169
4047
|
'@media (max-width: 767px)': {
|
|
4170
4048
|
iframe: {
|
|
@@ -4199,7 +4077,10 @@ function VideoPlayer(props) {
|
|
|
4199
4077
|
}
|
|
4200
4078
|
}
|
|
4201
4079
|
return /*#__PURE__*/React.createElement(React.Fragment, null, !isLoaded && /*#__PURE__*/React.createElement("div", {
|
|
4202
|
-
className: classes.imgContainer
|
|
4080
|
+
className: classes.imgContainer,
|
|
4081
|
+
onClick: () => {
|
|
4082
|
+
setIsEnableed(true);
|
|
4083
|
+
}
|
|
4203
4084
|
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
4204
4085
|
src: imageUrl,
|
|
4205
4086
|
sectionIndex: props?.sectionIndex,
|
|
@@ -4228,23 +4109,20 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4228
4109
|
videoTestimonialSuperContainer: {
|
|
4229
4110
|
display: 'flex',
|
|
4230
4111
|
justifyContent: 'center',
|
|
4231
|
-
padding:
|
|
4232
|
-
isMobile
|
|
4233
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
4112
|
+
padding: '70px',
|
|
4234
4113
|
'&, & *, & *:before, & *:after': {
|
|
4235
|
-
fontFamily: theme?.typography?.fontFamily
|
|
4236
|
-
|
|
4114
|
+
fontFamily: theme?.typography?.fontFamily,
|
|
4115
|
+
boxSizing: 'border-box'
|
|
4116
|
+
},
|
|
4117
|
+
'& h2,& h3': {
|
|
4118
|
+
fontWeight: '500',
|
|
4119
|
+
'& b,& strong': {
|
|
4120
|
+
fontWeight: '700'
|
|
4121
|
+
}
|
|
4237
4122
|
}
|
|
4238
|
-
// '& h2,& h3': {
|
|
4239
|
-
// fontWeight: '500',
|
|
4240
|
-
// '& b,& strong': {
|
|
4241
|
-
// fontWeight: '700'
|
|
4242
|
-
// }
|
|
4243
|
-
// }
|
|
4244
4123
|
},
|
|
4245
|
-
|
|
4246
4124
|
sectionContainer: {
|
|
4247
|
-
|
|
4125
|
+
margin: '0 auto',
|
|
4248
4126
|
maxWidth: ({
|
|
4249
4127
|
containerWidth
|
|
4250
4128
|
} = {}) => containerWidth
|
|
@@ -4255,28 +4133,29 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4255
4133
|
fontFamily: theme?.typography?.fontFamily
|
|
4256
4134
|
},
|
|
4257
4135
|
videoTestimonialHeading: {
|
|
4258
|
-
fontSize:
|
|
4136
|
+
fontSize: '16px',
|
|
4259
4137
|
lineHeight: '20px',
|
|
4260
4138
|
letterSpacing: '3px',
|
|
4261
4139
|
textTransform: 'uppercase',
|
|
4262
4140
|
color: theme.palette.font.tertiary,
|
|
4263
|
-
wordBreak: 'break-word'
|
|
4264
|
-
marginBottom: '8px'
|
|
4141
|
+
wordBreak: 'break-word'
|
|
4265
4142
|
},
|
|
4266
4143
|
videoTestimonialTitle: {
|
|
4267
|
-
fontSize:
|
|
4268
|
-
|
|
4144
|
+
fontSize: '56px',
|
|
4145
|
+
lineHeight: '71px',
|
|
4269
4146
|
letterSpacing: '-3px',
|
|
4270
|
-
|
|
4271
|
-
marginBottom: theme.spacing.margin.tiny,
|
|
4147
|
+
margin: '0',
|
|
4272
4148
|
color: theme.palette.font.default,
|
|
4273
4149
|
wordBreak: 'break-word'
|
|
4274
4150
|
},
|
|
4151
|
+
videoCarouselContainer: {
|
|
4152
|
+
marginTop: '16px'
|
|
4153
|
+
},
|
|
4275
4154
|
videoCarousel: {
|
|
4276
4155
|
display: 'flex',
|
|
4277
4156
|
alignItems: 'center',
|
|
4278
4157
|
justifyContent: 'flex-start',
|
|
4279
|
-
gap:
|
|
4158
|
+
gap: '60px'
|
|
4280
4159
|
},
|
|
4281
4160
|
iframeSuperContainer: {
|
|
4282
4161
|
height: '100%',
|
|
@@ -4298,49 +4177,57 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4298
4177
|
videoDetails: {
|
|
4299
4178
|
width: '100%',
|
|
4300
4179
|
display: 'flex',
|
|
4301
|
-
gap: '24px',
|
|
4302
4180
|
flexDirection: 'column',
|
|
4303
4181
|
alignItems: 'flex-start'
|
|
4304
4182
|
},
|
|
4305
4183
|
videoDetailsHeading: {
|
|
4306
|
-
fontSize:
|
|
4184
|
+
fontSize: '40px',
|
|
4307
4185
|
lineHeight: '48px',
|
|
4308
4186
|
margin: '0',
|
|
4309
4187
|
letterSpacing: '-1px',
|
|
4310
4188
|
wordBreak: 'break-word',
|
|
4311
|
-
color: theme.palette.font.default
|
|
4312
|
-
fontWeight: theme.typography.fontWeight.bold
|
|
4189
|
+
color: theme.palette.font.default
|
|
4313
4190
|
},
|
|
4314
4191
|
videoDetailsContent: {
|
|
4315
|
-
fontSize:
|
|
4192
|
+
fontSize: '16px',
|
|
4316
4193
|
lineHeight: '24px',
|
|
4317
4194
|
wordBreak: 'break-word',
|
|
4318
|
-
color: theme.palette.font.primary
|
|
4195
|
+
color: theme.palette.font.primary,
|
|
4196
|
+
margin: '10px 0 20px'
|
|
4319
4197
|
},
|
|
4320
4198
|
videoDetailsSubContent: {
|
|
4321
|
-
fontSize:
|
|
4199
|
+
fontSize: '16px',
|
|
4322
4200
|
lineHeight: '24px',
|
|
4323
4201
|
margin: '0',
|
|
4324
4202
|
color: theme.palette.font.primary,
|
|
4325
4203
|
wordBreak: 'break-word'
|
|
4326
4204
|
},
|
|
4327
4205
|
'@media (max-width: 767px)': {
|
|
4206
|
+
videoTestimonialSuperContainer: {
|
|
4207
|
+
padding: '70px 10px 60px 20px'
|
|
4208
|
+
},
|
|
4328
4209
|
videoCarousel: {
|
|
4329
|
-
flexDirection: 'column'
|
|
4210
|
+
flexDirection: 'column',
|
|
4211
|
+
gap: '20px'
|
|
4330
4212
|
},
|
|
4331
4213
|
videoCarouselContainer: {
|
|
4332
|
-
height: 'max-content'
|
|
4214
|
+
height: 'max-content',
|
|
4215
|
+
paddingRight: '10px'
|
|
4333
4216
|
},
|
|
4334
4217
|
videoDetails: {
|
|
4335
|
-
width: '100%'
|
|
4336
|
-
gap: '16px'
|
|
4218
|
+
width: '100%'
|
|
4337
4219
|
},
|
|
4338
4220
|
videoDetailsHeading: {
|
|
4221
|
+
fontSize: '16px',
|
|
4339
4222
|
lineHeight: '20px'
|
|
4340
4223
|
},
|
|
4341
4224
|
videoTestimonialTitle: {
|
|
4225
|
+
fontSize: '24px',
|
|
4342
4226
|
lineHeight: '36px',
|
|
4343
4227
|
letterSpacing: '-1px'
|
|
4228
|
+
},
|
|
4229
|
+
videoDetailsContent: {
|
|
4230
|
+
marginTop: '4px'
|
|
4344
4231
|
}
|
|
4345
4232
|
}
|
|
4346
4233
|
};
|
|
@@ -4366,19 +4253,19 @@ const SingleVideoSlide$2 = props => {
|
|
|
4366
4253
|
sectionIndex: props?.sectionIndex
|
|
4367
4254
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
4368
4255
|
className: classes.videoDetails
|
|
4369
|
-
}, /*#__PURE__*/React.createElement("
|
|
4256
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
4370
4257
|
ref: data?.videoTextHeading?.refSetter,
|
|
4371
4258
|
className: classes.videoDetailsHeading,
|
|
4372
4259
|
dangerouslySetInnerHTML: {
|
|
4373
4260
|
__html: data.videoTextHeading.metadata.value
|
|
4374
4261
|
}
|
|
4375
|
-
}), /*#__PURE__*/React.createElement("
|
|
4262
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
4376
4263
|
ref: data?.videoTextContent?.refSetter,
|
|
4377
4264
|
className: classes.videoDetailsContent,
|
|
4378
4265
|
dangerouslySetInnerHTML: {
|
|
4379
4266
|
__html: data.videoTextContent.metadata.value
|
|
4380
4267
|
}
|
|
4381
|
-
}), /*#__PURE__*/React.createElement("
|
|
4268
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
4382
4269
|
ref: data?.videoTextSubContent?.refSetter,
|
|
4383
4270
|
className: classes.videoDetailsSubContent,
|
|
4384
4271
|
dangerouslySetInnerHTML: {
|
|
@@ -4394,12 +4281,10 @@ function VideoTestimonial({
|
|
|
4394
4281
|
const {
|
|
4395
4282
|
layout: {
|
|
4396
4283
|
containerWidth
|
|
4397
|
-
}
|
|
4398
|
-
isMobile
|
|
4284
|
+
}
|
|
4399
4285
|
} = useContext(PageContext);
|
|
4400
4286
|
const classes = useVideoTestimonialStyles({
|
|
4401
|
-
containerWidth
|
|
4402
|
-
isMobile
|
|
4287
|
+
containerWidth
|
|
4403
4288
|
});
|
|
4404
4289
|
const [videoData] = sectionData.components;
|
|
4405
4290
|
const Wrapper = videoData.videoCarousel.components.length > 1 ? Carousel : Fragment;
|
|
@@ -4416,7 +4301,7 @@ function VideoTestimonial({
|
|
|
4416
4301
|
dangerouslySetInnerHTML: {
|
|
4417
4302
|
__html: videoData.videoHeading.metadata.value
|
|
4418
4303
|
}
|
|
4419
|
-
})), /*#__PURE__*/React.createElement("
|
|
4304
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
4420
4305
|
className: classes.videoTestimonialTitle
|
|
4421
4306
|
}, /*#__PURE__*/React.createElement("span", {
|
|
4422
4307
|
ref: videoData?.title?.refSetter,
|
|
@@ -4582,7 +4467,10 @@ const SingleSlide$1 = props => {
|
|
|
4582
4467
|
className: classes.singleSlideContainer
|
|
4583
4468
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4584
4469
|
ref: data?.videoFrame?.refSetter,
|
|
4585
|
-
className: classes.iframeContainer
|
|
4470
|
+
className: classes.iframeContainer,
|
|
4471
|
+
style: {
|
|
4472
|
+
background: 'linear-gradient(#333333,rgb(0 0 0))'
|
|
4473
|
+
}
|
|
4586
4474
|
}, /*#__PURE__*/React.createElement(VideoPlayer, {
|
|
4587
4475
|
imageUrl: data.videoFrame.metadata?.thumbnail,
|
|
4588
4476
|
videoUrl: data.videoFrame.metadata?.value
|
|
@@ -4666,7 +4554,7 @@ var index$e = /*#__PURE__*/Object.freeze({
|
|
|
4666
4554
|
const useSectionStyles$3 = createUseStyles(theme => ({
|
|
4667
4555
|
section: {
|
|
4668
4556
|
position: 'relative',
|
|
4669
|
-
padding:
|
|
4557
|
+
padding: '70px 0',
|
|
4670
4558
|
backgroundColor: theme?.palette?.background?.default,
|
|
4671
4559
|
'&, & *, & *:before, & *:after': {
|
|
4672
4560
|
fontFamily: theme?.typography?.fontFamily,
|
|
@@ -4694,11 +4582,12 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4694
4582
|
width: '100%'
|
|
4695
4583
|
},
|
|
4696
4584
|
content: {
|
|
4697
|
-
position: 'relative'
|
|
4585
|
+
position: 'relative',
|
|
4586
|
+
margin: '0 70px'
|
|
4698
4587
|
},
|
|
4699
4588
|
subTitleHeading: {
|
|
4700
4589
|
width: '100%',
|
|
4701
|
-
fontSize:
|
|
4590
|
+
fontSize: '16px',
|
|
4702
4591
|
color: theme?.palette?.font?.tertiary,
|
|
4703
4592
|
textAlign: 'left',
|
|
4704
4593
|
lineHeight: '20px',
|
|
@@ -4706,8 +4595,8 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4706
4595
|
wordBreak: 'break-word'
|
|
4707
4596
|
},
|
|
4708
4597
|
heading: {
|
|
4709
|
-
margin:
|
|
4710
|
-
fontSize:
|
|
4598
|
+
margin: '8px 0 20px',
|
|
4599
|
+
fontSize: '56px',
|
|
4711
4600
|
width: '100%',
|
|
4712
4601
|
lineHeight: '70px',
|
|
4713
4602
|
color: theme?.palette?.font?.default,
|
|
@@ -4729,16 +4618,16 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4729
4618
|
height: 'calc(100% - 12px)'
|
|
4730
4619
|
},
|
|
4731
4620
|
cardContent: {
|
|
4732
|
-
padding:
|
|
4621
|
+
padding: '32px',
|
|
4733
4622
|
height: '100%',
|
|
4734
4623
|
display: 'flex',
|
|
4735
4624
|
flexDirection: 'column'
|
|
4736
4625
|
},
|
|
4737
4626
|
cardHeading: {
|
|
4738
|
-
fontSize:
|
|
4627
|
+
fontSize: '24px',
|
|
4739
4628
|
lineHeight: '32px',
|
|
4740
4629
|
color: theme?.palette?.font?.default,
|
|
4741
|
-
margin:
|
|
4630
|
+
margin: '32px 0 16px',
|
|
4742
4631
|
wordBreak: 'break-word'
|
|
4743
4632
|
},
|
|
4744
4633
|
imageContainer: {
|
|
@@ -4751,7 +4640,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4751
4640
|
background: theme?.palette?.background?.primary
|
|
4752
4641
|
},
|
|
4753
4642
|
cardPara: {
|
|
4754
|
-
fontSize:
|
|
4643
|
+
fontSize: '16px',
|
|
4755
4644
|
lineHeight: '24px',
|
|
4756
4645
|
color: theme?.palette?.font?.primary,
|
|
4757
4646
|
margin: '0',
|
|
@@ -4767,10 +4656,13 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4767
4656
|
'@media screen and (max-width: 767px)': {
|
|
4768
4657
|
heading: {
|
|
4769
4658
|
fontSize: '24px',
|
|
4770
|
-
margin:
|
|
4659
|
+
margin: '4px 0 12px',
|
|
4771
4660
|
lineHeight: '36px',
|
|
4772
4661
|
padding: '0'
|
|
4773
4662
|
},
|
|
4663
|
+
content: {
|
|
4664
|
+
margin: '0 20px'
|
|
4665
|
+
},
|
|
4774
4666
|
sliderContainer: {
|
|
4775
4667
|
marginLeft: '-6px',
|
|
4776
4668
|
marginRight: '-20px'
|
|
@@ -4785,6 +4677,12 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4785
4677
|
slidesToShow,
|
|
4786
4678
|
cardsCount
|
|
4787
4679
|
} = {}) => cardsCount > slidesToShow ? `6px 2px 6px 6px` : `6px 0 6px 0`
|
|
4680
|
+
},
|
|
4681
|
+
cardContent: {
|
|
4682
|
+
padding: '20px'
|
|
4683
|
+
},
|
|
4684
|
+
cardHeading: {
|
|
4685
|
+
margin: '14px 0'
|
|
4788
4686
|
}
|
|
4789
4687
|
}
|
|
4790
4688
|
}));
|
|
@@ -4881,60 +4779,67 @@ var index$d = /*#__PURE__*/Object.freeze({
|
|
|
4881
4779
|
|
|
4882
4780
|
const useSectionStyles$2 = createUseStyles(theme => ({
|
|
4883
4781
|
section: {
|
|
4884
|
-
padding:
|
|
4885
|
-
isMobile
|
|
4886
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
4782
|
+
padding: '70px',
|
|
4887
4783
|
backgroundColor: theme?.palette?.background?.default,
|
|
4888
4784
|
'&, & *, & *:before, & *:after': {
|
|
4889
4785
|
fontFamily: theme?.typography?.fontFamily,
|
|
4890
4786
|
boxSizing: 'border-box'
|
|
4787
|
+
},
|
|
4788
|
+
'& h2,& h3': {
|
|
4789
|
+
fontWeight: '500',
|
|
4790
|
+
'& b,& strong': {
|
|
4791
|
+
fontWeight: '700'
|
|
4792
|
+
}
|
|
4891
4793
|
}
|
|
4892
|
-
// '& h2,& h3': {
|
|
4893
|
-
// fontWeight: '500',
|
|
4894
|
-
// '& b,& strong': {
|
|
4895
|
-
// fontWeight: '700'
|
|
4896
|
-
// }
|
|
4897
|
-
// }
|
|
4898
4794
|
},
|
|
4899
|
-
|
|
4900
4795
|
sectionContainer: {
|
|
4796
|
+
margin: '0 auto',
|
|
4901
4797
|
maxWidth: ({
|
|
4902
4798
|
containerWidth
|
|
4903
4799
|
} = {}) => containerWidth
|
|
4904
4800
|
},
|
|
4905
4801
|
subHeading: {
|
|
4906
|
-
fontSize:
|
|
4802
|
+
fontSize: '20px',
|
|
4907
4803
|
marginBottom: '8px',
|
|
4908
4804
|
color: theme?.palette?.font?.tertiary,
|
|
4909
|
-
wordBreak: 'break-word'
|
|
4910
|
-
textTransform: 'uppercase',
|
|
4911
|
-
letterSpacing: '3px'
|
|
4805
|
+
wordBreak: 'break-word'
|
|
4912
4806
|
},
|
|
4913
4807
|
title: {
|
|
4914
|
-
fontSize:
|
|
4915
|
-
|
|
4916
|
-
lineHeight: 'normal',
|
|
4808
|
+
fontSize: '56px',
|
|
4809
|
+
lineHeight: '70px',
|
|
4917
4810
|
margin: '0',
|
|
4918
4811
|
color: theme?.palette?.font?.default,
|
|
4919
|
-
wordBreak: 'break-word'
|
|
4920
|
-
marginBottom: theme.spacing.margin.tiny
|
|
4812
|
+
wordBreak: 'break-word'
|
|
4921
4813
|
},
|
|
4922
4814
|
textContent: {
|
|
4923
4815
|
display: 'grid',
|
|
4924
4816
|
gridTemplateColumns: '1fr 1fr',
|
|
4925
|
-
gap: '
|
|
4926
|
-
padding: '48px 0px'
|
|
4817
|
+
gap: '80px'
|
|
4927
4818
|
},
|
|
4928
4819
|
textPara: {
|
|
4820
|
+
margin: '20px 0 0 0',
|
|
4929
4821
|
lineHeight: '24px',
|
|
4930
4822
|
color: theme?.palette?.font?.primary,
|
|
4931
|
-
wordBreak: 'break-word'
|
|
4932
|
-
fontSize: theme.typography.fontSize.subHead
|
|
4823
|
+
wordBreak: 'break-word'
|
|
4933
4824
|
},
|
|
4934
4825
|
'@media screen and (max-width: 767px)': {
|
|
4826
|
+
section: {
|
|
4827
|
+
padding: '60px 20px'
|
|
4828
|
+
},
|
|
4829
|
+
subHeading: {
|
|
4830
|
+
fontSize: '16px',
|
|
4831
|
+
lineHeight: '20px',
|
|
4832
|
+
marginBottom: '4px'
|
|
4833
|
+
},
|
|
4834
|
+
title: {
|
|
4835
|
+
fontSize: '24px',
|
|
4836
|
+
lineHeight: '36px'
|
|
4837
|
+
},
|
|
4935
4838
|
textContent: {
|
|
4936
|
-
|
|
4937
|
-
|
|
4839
|
+
display: 'block'
|
|
4840
|
+
},
|
|
4841
|
+
textPara: {
|
|
4842
|
+
marginTop: '12px'
|
|
4938
4843
|
}
|
|
4939
4844
|
}
|
|
4940
4845
|
}));
|
|
@@ -4945,12 +4850,10 @@ const TextSection = ({
|
|
|
4945
4850
|
const {
|
|
4946
4851
|
layout: {
|
|
4947
4852
|
containerWidth
|
|
4948
|
-
}
|
|
4949
|
-
isMobile
|
|
4853
|
+
}
|
|
4950
4854
|
} = useContext(PageContext);
|
|
4951
4855
|
const classes = useSectionStyles$2({
|
|
4952
|
-
containerWidth
|
|
4953
|
-
isMobile
|
|
4856
|
+
containerWidth
|
|
4954
4857
|
});
|
|
4955
4858
|
const [nodeData] = sectionData.components;
|
|
4956
4859
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("section", {
|
|
@@ -4973,13 +4876,13 @@ const TextSection = ({
|
|
|
4973
4876
|
}
|
|
4974
4877
|
})), /*#__PURE__*/React.createElement("div", {
|
|
4975
4878
|
className: classes.textContent
|
|
4976
|
-
}, /*#__PURE__*/React.createElement("
|
|
4879
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
4977
4880
|
ref: nodeData?.textLeft?.refSetter,
|
|
4978
4881
|
className: classes.textPara,
|
|
4979
4882
|
dangerouslySetInnerHTML: {
|
|
4980
4883
|
__html: nodeData.textLeft.metadata.value
|
|
4981
4884
|
}
|
|
4982
|
-
}), /*#__PURE__*/React.createElement("
|
|
4885
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
4983
4886
|
ref: nodeData?.textRight?.refSetter,
|
|
4984
4887
|
className: classes.textPara,
|
|
4985
4888
|
dangerouslySetInnerHTML: {
|
|
@@ -5154,73 +5057,64 @@ var index$b = /*#__PURE__*/Object.freeze({
|
|
|
5154
5057
|
const useFaqListStyles = createUseStyles(theme => ({
|
|
5155
5058
|
section: {
|
|
5156
5059
|
width: '100%',
|
|
5157
|
-
padding:
|
|
5158
|
-
isMobile
|
|
5159
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
5060
|
+
padding: '70px',
|
|
5160
5061
|
backgroundColor: theme?.palette?.background?.primary,
|
|
5161
5062
|
'&, & *, & *:before, & *:after': {
|
|
5162
5063
|
fontFamily: theme?.typography?.fontFamily,
|
|
5163
5064
|
boxSizing: 'border-box'
|
|
5065
|
+
},
|
|
5066
|
+
'& h2,& h3': {
|
|
5067
|
+
fontWeight: '500',
|
|
5068
|
+
'& b,& strong': {
|
|
5069
|
+
fontWeight: '700'
|
|
5070
|
+
}
|
|
5164
5071
|
}
|
|
5165
|
-
// '& h2,& h3': {
|
|
5166
|
-
// fontWeight: '500',
|
|
5167
|
-
// '& b,& strong': {
|
|
5168
|
-
// fontWeight: '700'
|
|
5169
|
-
// }
|
|
5170
|
-
// }
|
|
5171
5072
|
},
|
|
5172
|
-
|
|
5173
5073
|
sectionContainer: {
|
|
5074
|
+
margin: '0 auto',
|
|
5174
5075
|
maxWidth: ({
|
|
5175
5076
|
containerWidth
|
|
5176
5077
|
} = {}) => containerWidth
|
|
5177
5078
|
},
|
|
5178
5079
|
sectionSubheading: {
|
|
5179
5080
|
color: theme?.palette?.font.tertiary,
|
|
5180
|
-
fontSize:
|
|
5081
|
+
fontSize: '16px',
|
|
5181
5082
|
marginBottom: '8px',
|
|
5182
5083
|
wordBreak: 'break-word'
|
|
5183
5084
|
},
|
|
5184
5085
|
sectionHeading: {
|
|
5185
|
-
fontSize:
|
|
5186
|
-
|
|
5086
|
+
fontSize: '56px',
|
|
5087
|
+
margin: '0 0 20px',
|
|
5187
5088
|
wordBreak: 'break-word',
|
|
5188
|
-
|
|
5089
|
+
lineHeight: '71px'
|
|
5189
5090
|
},
|
|
5190
5091
|
container: {
|
|
5191
5092
|
boxShadow: theme?.shadows?.secondary,
|
|
5192
5093
|
borderRadius: '8px',
|
|
5193
|
-
backgroundColor: theme?.palette?.background?.default
|
|
5094
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
5095
|
+
padding: '40px 60px 60px'
|
|
5194
5096
|
},
|
|
5195
5097
|
basicCardContainer: {
|
|
5196
|
-
borderBottom: theme?.borders?.secondary
|
|
5197
|
-
padding: `${theme.spacing.padding.tiny}px`
|
|
5198
|
-
},
|
|
5199
|
-
innerContainer: {
|
|
5200
|
-
display: 'flex',
|
|
5201
|
-
flexDirection: 'column',
|
|
5202
|
-
gap: ({
|
|
5203
|
-
isSelected
|
|
5204
|
-
} = {}) => isSelected ? '16px' : '0'
|
|
5205
|
-
},
|
|
5206
|
-
arrowButton: {
|
|
5207
|
-
marginLeft: theme.spacing.margin.tiny
|
|
5098
|
+
borderBottom: theme?.borders?.secondary
|
|
5208
5099
|
},
|
|
5209
5100
|
header: {
|
|
5210
5101
|
display: 'flex',
|
|
5211
5102
|
justifyContent: 'space-between',
|
|
5212
|
-
alignItems: 'center'
|
|
5103
|
+
alignItems: 'center',
|
|
5104
|
+
padding: '20px 0'
|
|
5213
5105
|
},
|
|
5214
5106
|
title: {
|
|
5215
5107
|
color: theme?.palette?.font.default,
|
|
5216
|
-
fontSize:
|
|
5217
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
5108
|
+
fontSize: '24px',
|
|
5218
5109
|
margin: '0',
|
|
5219
5110
|
wordBreak: 'break-word'
|
|
5220
5111
|
},
|
|
5221
5112
|
content: {
|
|
5113
|
+
margin: ({
|
|
5114
|
+
isSelected
|
|
5115
|
+
} = {}) => isSelected ? '0 0 20px 0' : '0',
|
|
5222
5116
|
color: theme?.palette?.font.primary,
|
|
5223
|
-
fontSize:
|
|
5117
|
+
fontSize: '16px',
|
|
5224
5118
|
lineHeight: '24px',
|
|
5225
5119
|
maxHeight: ({
|
|
5226
5120
|
isSelected
|
|
@@ -5229,12 +5123,28 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5229
5123
|
overflow: 'hidden'
|
|
5230
5124
|
},
|
|
5231
5125
|
'@media screen and (max-width: 767px)': {
|
|
5126
|
+
section: {
|
|
5127
|
+
padding: '60px 20px'
|
|
5128
|
+
},
|
|
5129
|
+
sectionHeading: {
|
|
5130
|
+
fontSize: '36px'
|
|
5131
|
+
},
|
|
5132
|
+
header: {
|
|
5133
|
+
padding: '20px 0'
|
|
5134
|
+
},
|
|
5135
|
+
title: {
|
|
5136
|
+
fontSize: '18px'
|
|
5137
|
+
},
|
|
5232
5138
|
content: {
|
|
5233
5139
|
lineHeight: '20px'
|
|
5234
5140
|
},
|
|
5141
|
+
container: {
|
|
5142
|
+
padding: '0 20px'
|
|
5143
|
+
},
|
|
5235
5144
|
basicCardContainer: {
|
|
5236
5145
|
'&:last-child': {
|
|
5237
|
-
borderBottom: 'none'
|
|
5146
|
+
borderBottom: 'none',
|
|
5147
|
+
paddingBottom: '1px'
|
|
5238
5148
|
}
|
|
5239
5149
|
}
|
|
5240
5150
|
}
|
|
@@ -5247,13 +5157,11 @@ const FAQListing = ({
|
|
|
5247
5157
|
const {
|
|
5248
5158
|
layout: {
|
|
5249
5159
|
containerWidth
|
|
5250
|
-
}
|
|
5251
|
-
isMobile
|
|
5160
|
+
}
|
|
5252
5161
|
} = useContext(PageContext);
|
|
5253
5162
|
const classes = useFaqListStyles({
|
|
5254
5163
|
selectedIndex,
|
|
5255
|
-
containerWidth
|
|
5256
|
-
isMobile
|
|
5164
|
+
containerWidth
|
|
5257
5165
|
});
|
|
5258
5166
|
const [nodeData] = sectionData.components;
|
|
5259
5167
|
return /*#__PURE__*/React.createElement("section", {
|
|
@@ -5267,7 +5175,7 @@ const FAQListing = ({
|
|
|
5267
5175
|
dangerouslySetInnerHTML: {
|
|
5268
5176
|
__html: nodeData.subheading.metadata.value
|
|
5269
5177
|
}
|
|
5270
|
-
})), /*#__PURE__*/React.createElement("
|
|
5178
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
5271
5179
|
className: classes.sectionHeading
|
|
5272
5180
|
}, /*#__PURE__*/React.createElement("span", {
|
|
5273
5181
|
ref: nodeData?.title?.refSetter,
|
|
@@ -5296,8 +5204,7 @@ const Accordion = ({
|
|
|
5296
5204
|
return /*#__PURE__*/React.createElement("div", {
|
|
5297
5205
|
className: classes.basicCardContainer
|
|
5298
5206
|
}, /*#__PURE__*/React.createElement("div", {
|
|
5299
|
-
onClick: onClick
|
|
5300
|
-
className: classes.innerContainer
|
|
5207
|
+
onClick: onClick
|
|
5301
5208
|
}, /*#__PURE__*/React.createElement("div", {
|
|
5302
5209
|
className: classes.header
|
|
5303
5210
|
}, /*#__PURE__*/React.createElement("h3", {
|
|
@@ -5306,9 +5213,7 @@ const Accordion = ({
|
|
|
5306
5213
|
dangerouslySetInnerHTML: {
|
|
5307
5214
|
__html: item.question.metadata.value
|
|
5308
5215
|
}
|
|
5309
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
5310
|
-
className: classes.arrowButton
|
|
5311
|
-
}, /*#__PURE__*/React.createElement(ArrowButton, {
|
|
5216
|
+
}), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(ArrowButton, {
|
|
5312
5217
|
down: isSelected,
|
|
5313
5218
|
up: !isSelected,
|
|
5314
5219
|
size: "small"
|
|
@@ -5328,22 +5233,19 @@ var index$a = /*#__PURE__*/Object.freeze({
|
|
|
5328
5233
|
|
|
5329
5234
|
const useTextGridStyles = createUseStyles(theme => ({
|
|
5330
5235
|
section: {
|
|
5331
|
-
padding:
|
|
5332
|
-
isMobile
|
|
5333
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
5236
|
+
padding: '70px',
|
|
5334
5237
|
backgroundColor: theme?.palette?.background?.primary,
|
|
5335
5238
|
'&, & *, & *:before, & *:after': {
|
|
5336
5239
|
fontFamily: theme?.typography?.fontFamily,
|
|
5337
5240
|
boxSizing: 'border-box'
|
|
5241
|
+
},
|
|
5242
|
+
'& h2,& h3': {
|
|
5243
|
+
fontWeight: '500',
|
|
5244
|
+
'& b,& strong': {
|
|
5245
|
+
fontWeight: '700'
|
|
5246
|
+
}
|
|
5338
5247
|
}
|
|
5339
|
-
// '& h2,& h3': {
|
|
5340
|
-
// fontWeight: '500',
|
|
5341
|
-
// '& b,& strong': {
|
|
5342
|
-
// fontWeight: '700'
|
|
5343
|
-
// }
|
|
5344
|
-
// }
|
|
5345
5248
|
},
|
|
5346
|
-
|
|
5347
5249
|
sectionContainer: {
|
|
5348
5250
|
margin: '0 auto',
|
|
5349
5251
|
maxWidth: ({
|
|
@@ -5352,27 +5254,24 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5352
5254
|
},
|
|
5353
5255
|
subheading: {
|
|
5354
5256
|
color: theme?.palette?.font.tertiary,
|
|
5355
|
-
fontSize:
|
|
5257
|
+
fontSize: '16px',
|
|
5356
5258
|
lineHeight: '20px',
|
|
5357
5259
|
letterSpacing: '3px',
|
|
5358
|
-
wordBreak: 'break-word'
|
|
5359
|
-
textTransform: 'uppercase',
|
|
5360
|
-
marginBottom: '8px'
|
|
5260
|
+
wordBreak: 'break-word'
|
|
5361
5261
|
},
|
|
5362
5262
|
heading: {
|
|
5363
|
-
fontSize:
|
|
5364
|
-
lineHeight: '
|
|
5365
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
5263
|
+
fontSize: '56px',
|
|
5264
|
+
lineHeight: '70px',
|
|
5366
5265
|
letterSpacing: '-3px',
|
|
5367
|
-
|
|
5266
|
+
margin: '8px 0 16px',
|
|
5368
5267
|
wordBreak: 'break-word'
|
|
5369
5268
|
},
|
|
5370
5269
|
sliderContainer: {
|
|
5371
5270
|
margin: '0 -10px'
|
|
5372
5271
|
},
|
|
5373
5272
|
node: {
|
|
5374
|
-
margin: '
|
|
5375
|
-
padding: '
|
|
5273
|
+
margin: '6px 10px',
|
|
5274
|
+
padding: '40px',
|
|
5376
5275
|
position: 'relative',
|
|
5377
5276
|
height: 'calc(100% - 12px)',
|
|
5378
5277
|
background: theme?.palette?.background?.default,
|
|
@@ -5381,16 +5280,16 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5381
5280
|
},
|
|
5382
5281
|
nodeTitle: {
|
|
5383
5282
|
color: theme?.palette?.font.secondary,
|
|
5384
|
-
fontSize:
|
|
5385
|
-
|
|
5386
|
-
lineHeight: 'normal',
|
|
5283
|
+
fontSize: '40px',
|
|
5284
|
+
lineHeight: '48px',
|
|
5387
5285
|
margin: '0 0 20px',
|
|
5388
5286
|
wordBreak: 'break-word'
|
|
5389
5287
|
},
|
|
5390
5288
|
nodePara: {
|
|
5391
5289
|
color: theme?.palette?.font.tertiary,
|
|
5392
|
-
fontSize:
|
|
5290
|
+
fontSize: '16px',
|
|
5393
5291
|
lineHeight: '24px',
|
|
5292
|
+
margin: '20px 0',
|
|
5394
5293
|
wordBreak: 'break-word'
|
|
5395
5294
|
},
|
|
5396
5295
|
contentRow: {
|
|
@@ -5400,21 +5299,27 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5400
5299
|
} = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
|
|
5401
5300
|
},
|
|
5402
5301
|
'@media screen and (max-width: 767px)': {
|
|
5302
|
+
section: {
|
|
5303
|
+
padding: '60px 20px'
|
|
5304
|
+
},
|
|
5305
|
+
heading: {
|
|
5306
|
+
fontSize: '24px',
|
|
5307
|
+
lineHeight: '36px',
|
|
5308
|
+
letterSpacing: '-1px',
|
|
5309
|
+
margin: '4px 0 6px'
|
|
5310
|
+
},
|
|
5403
5311
|
sliderContainer: {
|
|
5404
5312
|
margin: '0 -20px 0 -10px'
|
|
5405
5313
|
},
|
|
5406
5314
|
node: {
|
|
5407
|
-
padding: '
|
|
5408
|
-
margin: '0 6px'
|
|
5315
|
+
padding: '20px'
|
|
5409
5316
|
},
|
|
5410
5317
|
nodeTitle: {
|
|
5411
|
-
|
|
5318
|
+
fontSize: '24px',
|
|
5319
|
+
lineHeight: '36px'
|
|
5412
5320
|
},
|
|
5413
5321
|
nodePara: {
|
|
5414
|
-
margin: '
|
|
5415
|
-
},
|
|
5416
|
-
heading: {
|
|
5417
|
-
letterSpacing: '-1px'
|
|
5322
|
+
margin: '12px 0'
|
|
5418
5323
|
}
|
|
5419
5324
|
}
|
|
5420
5325
|
}));
|
|
@@ -5434,8 +5339,7 @@ const TextGrid = ({
|
|
|
5434
5339
|
const classes = useTextGridStyles({
|
|
5435
5340
|
containerWidth,
|
|
5436
5341
|
cardsCount,
|
|
5437
|
-
slidesToShow
|
|
5438
|
-
isMobile
|
|
5342
|
+
slidesToShow
|
|
5439
5343
|
});
|
|
5440
5344
|
const settings = {
|
|
5441
5345
|
className: classes.sliderContainer,
|
|
@@ -5452,7 +5356,7 @@ const TextGrid = ({
|
|
|
5452
5356
|
dangerouslySetInnerHTML: {
|
|
5453
5357
|
__html: item.contentHeading.metadata.value
|
|
5454
5358
|
}
|
|
5455
|
-
}), /*#__PURE__*/React.createElement("
|
|
5359
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
5456
5360
|
ref: item?.contentPara?.refSetter,
|
|
5457
5361
|
className: classes.nodePara,
|
|
5458
5362
|
dangerouslySetInnerHTML: {
|
|
@@ -5470,7 +5374,7 @@ const TextGrid = ({
|
|
|
5470
5374
|
dangerouslySetInnerHTML: {
|
|
5471
5375
|
__html: nodeData.subheading.metadata.value
|
|
5472
5376
|
}
|
|
5473
|
-
})), /*#__PURE__*/React.createElement("
|
|
5377
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
5474
5378
|
className: classes.heading
|
|
5475
5379
|
}, /*#__PURE__*/React.createElement("span", {
|
|
5476
5380
|
ref: nodeData?.title?.refSetter,
|
|
@@ -6011,22 +5915,19 @@ var index$8 = /*#__PURE__*/Object.freeze({
|
|
|
6011
5915
|
const useTeamStyles = createUseStyles(theme => {
|
|
6012
5916
|
return {
|
|
6013
5917
|
teamSuperContainer: {
|
|
6014
|
-
padding:
|
|
6015
|
-
isMobile
|
|
6016
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
5918
|
+
padding: '60px',
|
|
6017
5919
|
backgroundColor: theme?.palette?.background?.primary,
|
|
6018
5920
|
'&, & *, & *:before, & *:after': {
|
|
6019
5921
|
fontFamily: theme?.typography?.fontFamily,
|
|
6020
5922
|
boxSizing: 'border-box'
|
|
5923
|
+
},
|
|
5924
|
+
'& h2,& h3': {
|
|
5925
|
+
fontWeight: '500',
|
|
5926
|
+
'& b,& strong': {
|
|
5927
|
+
fontWeight: '700'
|
|
5928
|
+
}
|
|
6021
5929
|
}
|
|
6022
|
-
// '& h2,& h3': {
|
|
6023
|
-
// fontWeight: '500',
|
|
6024
|
-
// '& b,& strong': {
|
|
6025
|
-
// fontWeight: '700'
|
|
6026
|
-
// }
|
|
6027
|
-
// }
|
|
6028
5930
|
},
|
|
6029
|
-
|
|
6030
5931
|
sectionContainer: {
|
|
6031
5932
|
margin: '0 auto',
|
|
6032
5933
|
maxWidth: ({
|
|
@@ -6034,20 +5935,19 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6034
5935
|
} = {}) => containerWidth
|
|
6035
5936
|
},
|
|
6036
5937
|
teamHeading: {
|
|
6037
|
-
fontSize:
|
|
6038
|
-
textTransform: 'uppercase',
|
|
5938
|
+
fontSize: '16px',
|
|
6039
5939
|
lineHeight: '20px',
|
|
6040
5940
|
letterSpacing: '3px',
|
|
6041
|
-
|
|
5941
|
+
margin: '0 0 8px',
|
|
6042
5942
|
color: theme?.palette?.font?.primary,
|
|
6043
5943
|
wordBreak: 'break-word'
|
|
6044
5944
|
},
|
|
6045
5945
|
teamTitle: {
|
|
6046
|
-
fontSize:
|
|
6047
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
5946
|
+
fontSize: '56px',
|
|
6048
5947
|
lineHeight: '70px',
|
|
6049
5948
|
letterSpacing: '-3px',
|
|
6050
5949
|
wordBreak: 'break-word',
|
|
5950
|
+
margin: '0 ',
|
|
6051
5951
|
color: theme?.palette?.font?.default
|
|
6052
5952
|
},
|
|
6053
5953
|
sliderContainer: {
|
|
@@ -6062,11 +5962,10 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6062
5962
|
singleSlideContainer: {
|
|
6063
5963
|
backgroundColor: theme?.palette?.background?.default,
|
|
6064
5964
|
margin: '20px',
|
|
6065
|
-
width: 'calc(100% -
|
|
6066
|
-
|
|
6067
|
-
border: '3px solid #D8E0F0',
|
|
5965
|
+
width: 'calc(100% - 40px)',
|
|
5966
|
+
height: 'calc(100% - 40px)',
|
|
6068
5967
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6069
|
-
padding:
|
|
5968
|
+
padding: '32px',
|
|
6070
5969
|
boxShadow: theme?.shadows?.primary
|
|
6071
5970
|
},
|
|
6072
5971
|
imageContainer: {
|
|
@@ -6091,28 +5990,32 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6091
5990
|
overflowWrap: 'break-word'
|
|
6092
5991
|
},
|
|
6093
5992
|
teamDetailsHeading: {
|
|
6094
|
-
fontSize:
|
|
6095
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
5993
|
+
fontSize: '24px',
|
|
6096
5994
|
lineHeight: '32px',
|
|
6097
5995
|
margin: '0',
|
|
6098
5996
|
color: theme?.palette?.font?.default
|
|
6099
5997
|
},
|
|
6100
5998
|
teamDetailsSubHeading: {
|
|
6101
|
-
fontSize:
|
|
5999
|
+
fontSize: '16px',
|
|
6102
6000
|
lineHeight: '24px',
|
|
6103
6001
|
margin: '12px 0 0',
|
|
6104
6002
|
color: theme?.palette?.font?.primary
|
|
6105
6003
|
},
|
|
6106
6004
|
'@media (max-width: 767px)': {
|
|
6107
|
-
|
|
6108
|
-
|
|
6109
|
-
|
|
6005
|
+
teamSuperContainer: {
|
|
6006
|
+
padding: '60px 20px'
|
|
6007
|
+
},
|
|
6110
6008
|
teamHeading: {
|
|
6111
|
-
|
|
6009
|
+
fontSize: '16px',
|
|
6010
|
+
lineHeight: '20px',
|
|
6011
|
+
letterSpacing: '3px',
|
|
6012
|
+
margin: '0'
|
|
6112
6013
|
},
|
|
6113
6014
|
teamTitle: {
|
|
6015
|
+
fontSize: '24px',
|
|
6114
6016
|
lineHeight: '36px',
|
|
6115
|
-
letterSpacing: '-1px'
|
|
6017
|
+
letterSpacing: '-1px',
|
|
6018
|
+
margin: '0'
|
|
6116
6019
|
},
|
|
6117
6020
|
sliderContainer: {
|
|
6118
6021
|
margin: '0 -4px'
|
|
@@ -6122,17 +6025,18 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6122
6025
|
margin: '12px 4px'
|
|
6123
6026
|
},
|
|
6124
6027
|
teamDetailsContainer: {
|
|
6125
|
-
textAlign: 'center'
|
|
6126
|
-
|
|
6127
|
-
|
|
6028
|
+
textAlign: 'center',
|
|
6029
|
+
margin: '15px 0 0',
|
|
6030
|
+
paddingBottom: '0'
|
|
6128
6031
|
},
|
|
6129
|
-
|
|
6130
6032
|
teamDetailsHeading: {
|
|
6033
|
+
fontSize: '16px',
|
|
6131
6034
|
lineHeight: '24px',
|
|
6132
6035
|
margin: '0',
|
|
6133
6036
|
color: theme?.palette?.font?.default
|
|
6134
6037
|
},
|
|
6135
6038
|
teamDetailsSubHeading: {
|
|
6039
|
+
fontSize: '16px',
|
|
6136
6040
|
color: theme?.palette?.font?.primary
|
|
6137
6041
|
}
|
|
6138
6042
|
}
|
|
@@ -6187,8 +6091,7 @@ function TeamCard({
|
|
|
6187
6091
|
const classes = useTeamStyles({
|
|
6188
6092
|
containerWidth,
|
|
6189
6093
|
cardsCount,
|
|
6190
|
-
slidesToShow
|
|
6191
|
-
isMobile
|
|
6094
|
+
slidesToShow
|
|
6192
6095
|
});
|
|
6193
6096
|
const settings = {
|
|
6194
6097
|
className: classes.sliderContainer,
|
|
@@ -6216,7 +6119,7 @@ function TeamCard({
|
|
|
6216
6119
|
dangerouslySetInnerHTML: {
|
|
6217
6120
|
__html: teamData.teamHeading.metadata.value
|
|
6218
6121
|
}
|
|
6219
|
-
})), /*#__PURE__*/React.createElement("
|
|
6122
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
6220
6123
|
className: classes.teamTitle
|
|
6221
6124
|
}, /*#__PURE__*/React.createElement("span", {
|
|
6222
6125
|
ref: teamData?.teamTitle?.refSetter,
|
|
@@ -6245,21 +6148,17 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6245
6148
|
flexDirection: 'column',
|
|
6246
6149
|
alignItems: 'center',
|
|
6247
6150
|
backgroundColor: theme?.palette?.background?.default,
|
|
6248
|
-
padding: ({
|
|
6249
|
-
isMobile
|
|
6250
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
6251
6151
|
'&, & *, & *:before, & *:after': {
|
|
6252
6152
|
fontFamily: theme?.typography?.fontFamily,
|
|
6253
6153
|
boxSizing: 'border-box'
|
|
6154
|
+
},
|
|
6155
|
+
'& h2,& h3': {
|
|
6156
|
+
fontWeight: '500',
|
|
6157
|
+
'& b,& strong': {
|
|
6158
|
+
fontWeight: '700'
|
|
6159
|
+
}
|
|
6254
6160
|
}
|
|
6255
|
-
// '& h2,& h3': {
|
|
6256
|
-
// fontWeight: '500',
|
|
6257
|
-
// '& b,& strong': {
|
|
6258
|
-
// fontWeight: '700'
|
|
6259
|
-
// }
|
|
6260
|
-
// }
|
|
6261
6161
|
},
|
|
6262
|
-
|
|
6263
6162
|
formContainer: {
|
|
6264
6163
|
margin: '0 auto',
|
|
6265
6164
|
maxWidth: ({
|
|
@@ -6278,14 +6177,14 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6278
6177
|
backgroundColor: theme?.palette?.background?.default,
|
|
6279
6178
|
boxShadow: theme?.shadows?.secondary,
|
|
6280
6179
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6281
|
-
|
|
6180
|
+
margin: '60px 10%',
|
|
6181
|
+
padding: '40px 80px',
|
|
6282
6182
|
position: 'relative'
|
|
6283
6183
|
},
|
|
6284
6184
|
title: {
|
|
6285
6185
|
margin: '0',
|
|
6286
|
-
fontSize:
|
|
6186
|
+
fontSize: '56px',
|
|
6287
6187
|
color: theme?.palette?.font?.secondary,
|
|
6288
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
6289
6188
|
lineHeight: '71px',
|
|
6290
6189
|
letterSpacing: '-3px',
|
|
6291
6190
|
textAlign: 'left',
|
|
@@ -6293,19 +6192,16 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6293
6192
|
},
|
|
6294
6193
|
contentContainer: {
|
|
6295
6194
|
width: '100%',
|
|
6296
|
-
display: 'flex'
|
|
6297
|
-
|
|
6195
|
+
display: 'flex',
|
|
6196
|
+
alignItems: 'flex-start',
|
|
6197
|
+
marginTop: '32px'
|
|
6298
6198
|
},
|
|
6299
|
-
|
|
6300
6199
|
leftContainer: {
|
|
6301
|
-
width: '65%'
|
|
6302
|
-
display: 'flex',
|
|
6303
|
-
flexDirection: 'column',
|
|
6304
|
-
justifyContent: 'space-between'
|
|
6200
|
+
width: '65%'
|
|
6305
6201
|
},
|
|
6306
6202
|
subtitle: {
|
|
6307
|
-
|
|
6308
|
-
fontSize:
|
|
6203
|
+
margin: '0 0 40px 0',
|
|
6204
|
+
fontSize: '20px',
|
|
6309
6205
|
color: theme?.palette?.font?.primary,
|
|
6310
6206
|
lineHeight: '32px',
|
|
6311
6207
|
wordBreak: 'break-word'
|
|
@@ -6327,16 +6223,13 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6327
6223
|
padding: '4px 8px 0 0'
|
|
6328
6224
|
},
|
|
6329
6225
|
addressText: {
|
|
6330
|
-
fontSize:
|
|
6226
|
+
fontSize: '16px',
|
|
6331
6227
|
color: theme?.palette?.font?.default,
|
|
6332
6228
|
lineHeight: '24px'
|
|
6333
6229
|
},
|
|
6334
6230
|
rightContainer: {
|
|
6335
6231
|
width: '50%',
|
|
6336
|
-
padding: '0 0 0 80px'
|
|
6337
|
-
display: 'flex',
|
|
6338
|
-
flexDirection: 'column',
|
|
6339
|
-
justifyContent: 'space-between'
|
|
6232
|
+
padding: '0 0 0 80px'
|
|
6340
6233
|
},
|
|
6341
6234
|
inputDiv: {
|
|
6342
6235
|
margin: '0 0 20px 0',
|
|
@@ -6350,8 +6243,8 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6350
6243
|
alignItems: 'center'
|
|
6351
6244
|
},
|
|
6352
6245
|
sectionContainer: {
|
|
6353
|
-
|
|
6354
|
-
padding: '16px'
|
|
6246
|
+
margin: '26px 16px',
|
|
6247
|
+
padding: '32px 16px'
|
|
6355
6248
|
},
|
|
6356
6249
|
partialBackground: {
|
|
6357
6250
|
height: '150px'
|
|
@@ -6361,32 +6254,26 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6361
6254
|
marginTop: '8px'
|
|
6362
6255
|
},
|
|
6363
6256
|
leftContainer: {
|
|
6364
|
-
width: '100%'
|
|
6365
|
-
|
|
6257
|
+
width: '100%',
|
|
6258
|
+
padding: '0 16ox'
|
|
6366
6259
|
},
|
|
6367
|
-
|
|
6368
6260
|
rightContainer: {
|
|
6369
6261
|
width: '100%',
|
|
6370
6262
|
padding: '0'
|
|
6371
6263
|
},
|
|
6372
6264
|
title: {
|
|
6373
|
-
|
|
6265
|
+
fontSize: '24px',
|
|
6374
6266
|
lineHeight: '32px',
|
|
6375
|
-
letterSpacing: 'initial'
|
|
6376
|
-
margin: '0 0 16px 0',
|
|
6377
|
-
textAlign: 'center'
|
|
6267
|
+
letterSpacing: 'initial'
|
|
6378
6268
|
},
|
|
6379
6269
|
subtitle: {
|
|
6380
|
-
margin: '0 0
|
|
6381
|
-
lineHeight: '26px',
|
|
6382
|
-
textAlign: 'center'
|
|
6270
|
+
margin: '0 0 12px 0'
|
|
6383
6271
|
},
|
|
6384
6272
|
inputDiv: {
|
|
6385
|
-
margin: '0 0
|
|
6273
|
+
margin: '0 0 10px 0'
|
|
6386
6274
|
},
|
|
6387
6275
|
addressRow: {
|
|
6388
|
-
padding: '
|
|
6389
|
-
margin: '0 0 16px 0'
|
|
6276
|
+
padding: '12px 0'
|
|
6390
6277
|
}
|
|
6391
6278
|
}
|
|
6392
6279
|
}));
|
|
@@ -6405,8 +6292,7 @@ function FormEnquiry({
|
|
|
6405
6292
|
isEdit
|
|
6406
6293
|
} = useContext(PageContext);
|
|
6407
6294
|
const classes = useSectionStyles$1({
|
|
6408
|
-
containerWidth
|
|
6409
|
-
isMobile
|
|
6295
|
+
containerWidth
|
|
6410
6296
|
});
|
|
6411
6297
|
const [nodeData] = sectionData.components;
|
|
6412
6298
|
const theme = useTheme();
|
|
@@ -6465,10 +6351,6 @@ function FormEnquiry({
|
|
|
6465
6351
|
className: classes.partialBackground
|
|
6466
6352
|
}), /*#__PURE__*/React.createElement("div", {
|
|
6467
6353
|
className: classes.sectionContainer
|
|
6468
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
6469
|
-
className: classes.contentContainer
|
|
6470
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
6471
|
-
className: classes.leftContainer
|
|
6472
6354
|
}, /*#__PURE__*/React.createElement("h2", {
|
|
6473
6355
|
className: classes.title
|
|
6474
6356
|
}, /*#__PURE__*/React.createElement("span", {
|
|
@@ -6477,6 +6359,10 @@ function FormEnquiry({
|
|
|
6477
6359
|
__html: nodeData?.title?.metadata?.value
|
|
6478
6360
|
}
|
|
6479
6361
|
})), /*#__PURE__*/React.createElement("div", {
|
|
6362
|
+
className: classes.contentContainer
|
|
6363
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6364
|
+
className: classes.leftContainer
|
|
6365
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6480
6366
|
ref: nodeData?.subtitle?.refSetter,
|
|
6481
6367
|
className: classes.subtitle,
|
|
6482
6368
|
dangerouslySetInnerHTML: {
|
|
@@ -6616,7 +6502,7 @@ function FormEnquiry({
|
|
|
6616
6502
|
messageValid: 1
|
|
6617
6503
|
});
|
|
6618
6504
|
}
|
|
6619
|
-
})), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement(
|
|
6505
|
+
})), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement(Button, {
|
|
6620
6506
|
ref: nodeData?.cta?.refSetter,
|
|
6621
6507
|
data: btnDisabled && validData?.messageValid && validData?.emailValid && validData?.nameValid && validData?.phoneValid ? {
|
|
6622
6508
|
value: 'Submitted'
|
|
@@ -6627,7 +6513,7 @@ function FormEnquiry({
|
|
|
6627
6513
|
type: nodeData?.cta?.metadata?.type,
|
|
6628
6514
|
size: isMobile ? 'small' : 'medium',
|
|
6629
6515
|
disabled: btnDisabled
|
|
6630
|
-
}))))))
|
|
6516
|
+
}))))));
|
|
6631
6517
|
}
|
|
6632
6518
|
|
|
6633
6519
|
var index$6 = /*#__PURE__*/Object.freeze({
|
|
@@ -6643,24 +6529,20 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6643
6529
|
justifyContent: 'center',
|
|
6644
6530
|
flexDirection: 'column',
|
|
6645
6531
|
alignItems: 'center',
|
|
6646
|
-
padding: ({
|
|
6647
|
-
isMobile
|
|
6648
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
6649
6532
|
backgroundColor: theme?.palette?.background?.default,
|
|
6650
6533
|
'&, & *, & *:before, & *:after': {
|
|
6651
6534
|
fontFamily: theme?.typography?.fontFamily,
|
|
6652
6535
|
boxSizing: 'border-box'
|
|
6536
|
+
},
|
|
6537
|
+
'& h2,& h3': {
|
|
6538
|
+
fontWeight: '500',
|
|
6539
|
+
'& b,& strong': {
|
|
6540
|
+
fontWeight: '700'
|
|
6541
|
+
}
|
|
6653
6542
|
}
|
|
6654
|
-
// '& h2,& h3': {
|
|
6655
|
-
// fontWeight: '500',
|
|
6656
|
-
// '& b,& strong': {
|
|
6657
|
-
// fontWeight: '700'
|
|
6658
|
-
// }
|
|
6659
|
-
// }
|
|
6660
6543
|
},
|
|
6661
|
-
|
|
6662
6544
|
contactContainer: {
|
|
6663
|
-
width: '
|
|
6545
|
+
width: '80%',
|
|
6664
6546
|
margin: '0 auto',
|
|
6665
6547
|
maxWidth: ({
|
|
6666
6548
|
containerWidth
|
|
@@ -6678,12 +6560,13 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6678
6560
|
backgroundColor: theme?.palette?.background?.default,
|
|
6679
6561
|
boxShadow: theme?.shadows?.secondary,
|
|
6680
6562
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6681
|
-
|
|
6563
|
+
margin: '60px',
|
|
6564
|
+
padding: '40px 80px',
|
|
6682
6565
|
position: 'relative'
|
|
6683
6566
|
},
|
|
6684
6567
|
title: {
|
|
6685
6568
|
margin: '0',
|
|
6686
|
-
fontSize:
|
|
6569
|
+
fontSize: '56px',
|
|
6687
6570
|
color: theme?.palette?.font?.secondary,
|
|
6688
6571
|
lineHeight: '71px',
|
|
6689
6572
|
letterSpacing: '-3px',
|
|
@@ -6693,37 +6576,36 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6693
6576
|
contentContainer: {
|
|
6694
6577
|
width: '100%',
|
|
6695
6578
|
display: 'flex',
|
|
6696
|
-
|
|
6579
|
+
alignItems: 'flex-start',
|
|
6580
|
+
marginTop: '32px',
|
|
6697
6581
|
wordBreak: 'break-word'
|
|
6698
6582
|
},
|
|
6699
6583
|
leftContainer: {
|
|
6700
|
-
width: '50%'
|
|
6701
|
-
display: 'flex',
|
|
6702
|
-
flexDirection: 'column',
|
|
6703
|
-
justifyContent: 'space-between'
|
|
6584
|
+
width: '50%'
|
|
6704
6585
|
},
|
|
6705
6586
|
subtitle: {
|
|
6706
|
-
margin: '0 0
|
|
6707
|
-
fontSize:
|
|
6587
|
+
margin: '0 0 58px 0',
|
|
6588
|
+
fontSize: '20px',
|
|
6708
6589
|
color: theme?.palette?.font?.primary,
|
|
6709
|
-
lineHeight: '32px'
|
|
6710
|
-
margin: '20px 0px'
|
|
6590
|
+
lineHeight: '32px'
|
|
6711
6591
|
},
|
|
6712
6592
|
addressContainer: {
|
|
6713
6593
|
display: 'flex',
|
|
6714
6594
|
alignItems: 'flex-start',
|
|
6715
6595
|
flexDirection: 'column',
|
|
6716
|
-
width: '
|
|
6717
|
-
position: 'relative'
|
|
6596
|
+
width: '85%',
|
|
6597
|
+
position: 'relative',
|
|
6598
|
+
paddingBottom: '55%'
|
|
6599
|
+
// '& img': {
|
|
6600
|
+
// width: '80%'
|
|
6601
|
+
// }
|
|
6718
6602
|
},
|
|
6603
|
+
|
|
6719
6604
|
telephoneImage: {
|
|
6720
6605
|
width: '80%'
|
|
6721
6606
|
},
|
|
6722
6607
|
rightContainer: {
|
|
6723
6608
|
width: '50%',
|
|
6724
|
-
display: 'flex',
|
|
6725
|
-
flexDirection: 'column',
|
|
6726
|
-
justifyContent: 'space-between',
|
|
6727
6609
|
padding: '0 0 0 80px'
|
|
6728
6610
|
},
|
|
6729
6611
|
inputDiv: {
|
|
@@ -6737,16 +6619,16 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6737
6619
|
background: theme?.palette?.background?.default,
|
|
6738
6620
|
border: `1px solid ${theme?.palette?.border?.secondary}`,
|
|
6739
6621
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6740
|
-
|
|
6622
|
+
padding: '14px 12px',
|
|
6741
6623
|
display: 'flex',
|
|
6742
6624
|
fontWeight: '400',
|
|
6743
|
-
fontSize:
|
|
6625
|
+
fontSize: '16px',
|
|
6744
6626
|
lineHeight: '20px',
|
|
6745
6627
|
fontFamily: 'inherit',
|
|
6746
6628
|
resize: 'none',
|
|
6747
6629
|
'&::placeholder': {
|
|
6748
6630
|
fontWeight: '400',
|
|
6749
|
-
fontSize:
|
|
6631
|
+
fontSize: '16px',
|
|
6750
6632
|
lineHeight: '20px',
|
|
6751
6633
|
color: theme?.palette?.font?.primary,
|
|
6752
6634
|
fontFamily: theme?.typography?.fontFamily
|
|
@@ -6776,7 +6658,8 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6776
6658
|
alignItems: 'center'
|
|
6777
6659
|
},
|
|
6778
6660
|
sectionContainer: {
|
|
6779
|
-
|
|
6661
|
+
margin: '26px 16px',
|
|
6662
|
+
padding: '32px 16px'
|
|
6780
6663
|
},
|
|
6781
6664
|
partialBackground: {
|
|
6782
6665
|
height: '150px'
|
|
@@ -6794,17 +6677,15 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6794
6677
|
padding: '0'
|
|
6795
6678
|
},
|
|
6796
6679
|
title: {
|
|
6797
|
-
|
|
6798
|
-
|
|
6799
|
-
|
|
6680
|
+
fontSize: '24px',
|
|
6681
|
+
lineHeight: '32px',
|
|
6682
|
+
letterSpacing: 'initial'
|
|
6800
6683
|
},
|
|
6801
6684
|
subtitle: {
|
|
6802
|
-
margin: '0 0 12px 0'
|
|
6803
|
-
textAlign: 'center',
|
|
6804
|
-
lineHeight: '26px'
|
|
6685
|
+
margin: '0 0 12px 0'
|
|
6805
6686
|
},
|
|
6806
6687
|
addressRow: {
|
|
6807
|
-
|
|
6688
|
+
padding: '12px 0'
|
|
6808
6689
|
},
|
|
6809
6690
|
addressContainer: {
|
|
6810
6691
|
'& img': {
|
|
@@ -6812,7 +6693,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6812
6693
|
}
|
|
6813
6694
|
},
|
|
6814
6695
|
inputDiv: {
|
|
6815
|
-
|
|
6696
|
+
margin: '0 0 10px 0'
|
|
6816
6697
|
},
|
|
6817
6698
|
inputField: {
|
|
6818
6699
|
width: '100%',
|
|
@@ -6844,8 +6725,7 @@ function Contact({
|
|
|
6844
6725
|
let [btnDisabled, setBtnDisabled] = useState(false);
|
|
6845
6726
|
const [nodeData] = sectionData.components;
|
|
6846
6727
|
const classes = useSectionStyles({
|
|
6847
|
-
containerWidth
|
|
6848
|
-
isMobile
|
|
6728
|
+
containerWidth
|
|
6849
6729
|
});
|
|
6850
6730
|
let formInitialValue = {
|
|
6851
6731
|
name: nodeData?.nameField?.metadata?.value,
|
|
@@ -6901,10 +6781,6 @@ function Contact({
|
|
|
6901
6781
|
className: classes.partialBackground
|
|
6902
6782
|
}), /*#__PURE__*/React.createElement("div", {
|
|
6903
6783
|
className: classes.sectionContainer
|
|
6904
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
6905
|
-
className: classes.contentContainer
|
|
6906
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
6907
|
-
className: classes.leftContainer
|
|
6908
6784
|
}, /*#__PURE__*/React.createElement("h2", {
|
|
6909
6785
|
className: classes.title
|
|
6910
6786
|
}, /*#__PURE__*/React.createElement("span", {
|
|
@@ -6913,6 +6789,10 @@ function Contact({
|
|
|
6913
6789
|
__html: nodeData?.title?.metadata?.value
|
|
6914
6790
|
}
|
|
6915
6791
|
})), /*#__PURE__*/React.createElement("div", {
|
|
6792
|
+
className: classes.contentContainer
|
|
6793
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6794
|
+
className: classes.leftContainer
|
|
6795
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6916
6796
|
ref: nodeData?.subtitle?.refSetter,
|
|
6917
6797
|
className: classes.subtitle,
|
|
6918
6798
|
dangerouslySetInnerHTML: {
|
|
@@ -7015,9 +6895,7 @@ function Contact({
|
|
|
7015
6895
|
messageValid: 1
|
|
7016
6896
|
});
|
|
7017
6897
|
}
|
|
7018
|
-
})), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement(
|
|
7019
|
-
className: classes.btnContainer
|
|
7020
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
6898
|
+
})), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement(Button, {
|
|
7021
6899
|
ref: nodeData?.cta?.refSetter,
|
|
7022
6900
|
data: btnDisabled && validData?.messageValid && validData?.emailValid && validData?.nameValid && validData?.phoneValid ? {
|
|
7023
6901
|
value: 'Submitted'
|
|
@@ -7029,7 +6907,7 @@ function Contact({
|
|
|
7029
6907
|
size: isMobile ? 'small' : 'medium',
|
|
7030
6908
|
disabled: btnDisabled,
|
|
7031
6909
|
name: "button"
|
|
7032
|
-
}))))))
|
|
6910
|
+
}))))));
|
|
7033
6911
|
}
|
|
7034
6912
|
|
|
7035
6913
|
var index$5 = /*#__PURE__*/Object.freeze({
|
|
@@ -8000,9 +7878,7 @@ var index$3 = /*#__PURE__*/Object.freeze({
|
|
|
8000
7878
|
|
|
8001
7879
|
const useFormPageStyles = createUseStyles(theme => ({
|
|
8002
7880
|
formPageSection: {
|
|
8003
|
-
padding:
|
|
8004
|
-
isMobile
|
|
8005
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
7881
|
+
padding: '35px 70px',
|
|
8006
7882
|
background: '#F4F9FF',
|
|
8007
7883
|
'&, & *, & *:before, & *:after': {
|
|
8008
7884
|
fontFamily: theme?.typography?.fontFamily,
|
|
@@ -8013,82 +7889,77 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8013
7889
|
textAlign: 'center'
|
|
8014
7890
|
},
|
|
8015
7891
|
formPageTitle: {
|
|
8016
|
-
fontSize:
|
|
8017
|
-
fontWeight:
|
|
7892
|
+
fontSize: '50px',
|
|
7893
|
+
fontWeight: '700'
|
|
8018
7894
|
},
|
|
8019
7895
|
formPageSubtitle: {
|
|
8020
|
-
marginTop: '
|
|
8021
|
-
fontSize:
|
|
7896
|
+
marginTop: '16px',
|
|
7897
|
+
fontSize: '16px',
|
|
8022
7898
|
lineHeight: '23px',
|
|
8023
7899
|
color: 'rgba(51, 51, 51, 0.5)',
|
|
8024
|
-
marginBottom:
|
|
7900
|
+
marginBottom: '32px'
|
|
8025
7901
|
},
|
|
8026
7902
|
formPageFormContainer: {
|
|
7903
|
+
marginTop: '32px',
|
|
8027
7904
|
'& form': {
|
|
8028
|
-
padding: '
|
|
7905
|
+
padding: '35px 140px',
|
|
8029
7906
|
background: '#FFFFFF',
|
|
8030
7907
|
borderRadius: '8px',
|
|
8031
7908
|
boxShadow: '0px 4px 10px rgba(0, 0, 0, 0.16)'
|
|
8032
7909
|
}
|
|
8033
7910
|
},
|
|
8034
7911
|
inputField: {
|
|
8035
|
-
marginTop: '
|
|
8036
|
-
|
|
8037
|
-
|
|
8038
|
-
|
|
7912
|
+
marginTop: '20px',
|
|
7913
|
+
padding: '20px',
|
|
7914
|
+
border: '1px solid #D8E0F0',
|
|
7915
|
+
borderRadius: '16px'
|
|
8039
7916
|
},
|
|
8040
|
-
|
|
8041
7917
|
inputFieldLabel: {
|
|
8042
7918
|
color: '#333',
|
|
8043
|
-
fontSize:
|
|
8044
|
-
fontWeight: theme.typography.fontWeight.semiBold,
|
|
7919
|
+
fontSize: '20px',
|
|
8045
7920
|
display: 'block',
|
|
8046
|
-
|
|
8047
|
-
marginBottom: '12px'
|
|
7921
|
+
marginBottom: '10px'
|
|
8048
7922
|
},
|
|
8049
7923
|
inputFieldControl: {
|
|
8050
7924
|
width: '100%',
|
|
7925
|
+
height: '50px',
|
|
8051
7926
|
borderRadius: '8px',
|
|
8052
7927
|
border: '1px solid #D8E0F0',
|
|
8053
|
-
padding: '
|
|
7928
|
+
padding: '5px 10px',
|
|
8054
7929
|
color: '#7D8592',
|
|
8055
|
-
fontSize:
|
|
7930
|
+
fontSize: '16px'
|
|
8056
7931
|
},
|
|
8057
7932
|
checkboxField: {
|
|
8058
|
-
|
|
8059
|
-
|
|
8060
|
-
|
|
7933
|
+
marginTop: '20px',
|
|
7934
|
+
padding: '20px',
|
|
7935
|
+
border: '1px solid #D8E0F0',
|
|
7936
|
+
borderRadius: '8px'
|
|
8061
7937
|
},
|
|
8062
7938
|
checkBoxFieldLabel: {
|
|
8063
7939
|
color: '#333',
|
|
8064
|
-
fontSize:
|
|
8065
|
-
|
|
8066
|
-
marginTop: '20px',
|
|
8067
|
-
marginBottom: '12px'
|
|
7940
|
+
fontSize: '20px',
|
|
7941
|
+
margin: '10px 0'
|
|
8068
7942
|
},
|
|
8069
7943
|
inputFieldRequired: {
|
|
8070
7944
|
color: '#F41828'
|
|
8071
7945
|
},
|
|
8072
7946
|
checkboxFieldControl: {
|
|
8073
|
-
padding: '
|
|
7947
|
+
padding: '6px 0',
|
|
8074
7948
|
'& label': {
|
|
8075
|
-
|
|
7949
|
+
fontFamily: '16px',
|
|
8076
7950
|
marginLeft: '10px',
|
|
8077
7951
|
color: '#7D8592'
|
|
8078
7952
|
}
|
|
8079
7953
|
},
|
|
8080
7954
|
submitBtnContainer: {
|
|
8081
|
-
marginTop:
|
|
8082
|
-
display: 'flex',
|
|
8083
|
-
alignItems: 'center',
|
|
8084
|
-
justifyContent: 'center',
|
|
7955
|
+
marginTop: '20px',
|
|
8085
7956
|
width: '100%',
|
|
8086
7957
|
margin: '0 auto',
|
|
8087
7958
|
'& button': {
|
|
8088
|
-
|
|
8089
|
-
padding: '
|
|
7959
|
+
height: '44px',
|
|
7960
|
+
padding: '10px 40px',
|
|
8090
7961
|
color: '#FFFFFF',
|
|
8091
|
-
fontSize:
|
|
7962
|
+
fontSize: '16px',
|
|
8092
7963
|
cursor: 'pointer',
|
|
8093
7964
|
borderRadius: '8px'
|
|
8094
7965
|
}
|
|
@@ -8103,14 +7974,8 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8103
7974
|
},
|
|
8104
7975
|
formPageFormContainer: {
|
|
8105
7976
|
'& form': {
|
|
8106
|
-
padding: '
|
|
7977
|
+
padding: '24px'
|
|
8107
7978
|
}
|
|
8108
|
-
},
|
|
8109
|
-
inputFieldLabel: {
|
|
8110
|
-
marginBottom: '8px'
|
|
8111
|
-
},
|
|
8112
|
-
checkBoxFieldLabel: {
|
|
8113
|
-
marginBottom: '8px'
|
|
8114
7979
|
}
|
|
8115
7980
|
}
|
|
8116
7981
|
}));
|
|
@@ -8157,16 +8022,13 @@ const FormPage = ({
|
|
|
8157
8022
|
extraProps = {}
|
|
8158
8023
|
}) => {
|
|
8159
8024
|
const [formData, setFormData] = useState({});
|
|
8025
|
+
const classes = useFormPageStyles();
|
|
8160
8026
|
const [formSubmitted, setformSubmitted] = useState(false);
|
|
8161
8027
|
const metadata = sectionData?.components?.[0]?.metadata || formPageMock;
|
|
8162
8028
|
const {
|
|
8163
8029
|
_id,
|
|
8164
|
-
baseURLs
|
|
8165
|
-
isMobile
|
|
8030
|
+
baseURLs
|
|
8166
8031
|
} = useContext(PageContext);
|
|
8167
|
-
const classes = useFormPageStyles({
|
|
8168
|
-
isMobile
|
|
8169
|
-
});
|
|
8170
8032
|
const handleSubmit = async e => {
|
|
8171
8033
|
e.preventDefault();
|
|
8172
8034
|
let formResponse = [];
|
|
@@ -8373,18 +8235,16 @@ const useTilesStyles = createUseStyles(theme => {
|
|
|
8373
8235
|
alignItems: 'center',
|
|
8374
8236
|
display: 'flex',
|
|
8375
8237
|
flexDirection: 'column',
|
|
8376
|
-
|
|
8377
|
-
isMobile
|
|
8378
|
-
} = {}) => isMobile ? `16px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`
|
|
8238
|
+
marginTop: '20px'
|
|
8379
8239
|
},
|
|
8380
8240
|
tileDiv: {
|
|
8381
8241
|
width: '236px',
|
|
8382
|
-
|
|
8383
|
-
aspectRatio: '3/2',
|
|
8242
|
+
height: '160px',
|
|
8384
8243
|
position: 'relative',
|
|
8385
8244
|
borderRadius: '16px',
|
|
8386
8245
|
overflow: 'hidden',
|
|
8387
|
-
cursor: 'pointer'
|
|
8246
|
+
cursor: 'pointer',
|
|
8247
|
+
margin: '1rem'
|
|
8388
8248
|
},
|
|
8389
8249
|
tileImg: {
|
|
8390
8250
|
objectFit: 'cover',
|
|
@@ -8399,8 +8259,8 @@ const useTilesStyles = createUseStyles(theme => {
|
|
|
8399
8259
|
top: '12%',
|
|
8400
8260
|
left: '7%',
|
|
8401
8261
|
color: 'white',
|
|
8402
|
-
fontWeight:
|
|
8403
|
-
fontSize:
|
|
8262
|
+
fontWeight: '600',
|
|
8263
|
+
fontSize: '20px',
|
|
8404
8264
|
width: '150px'
|
|
8405
8265
|
},
|
|
8406
8266
|
row: {
|
|
@@ -8408,28 +8268,25 @@ const useTilesStyles = createUseStyles(theme => {
|
|
|
8408
8268
|
flexDirection: 'row',
|
|
8409
8269
|
justifyContent: 'center',
|
|
8410
8270
|
flexWrap: 'wrap',
|
|
8411
|
-
width: '
|
|
8412
|
-
|
|
8271
|
+
width: '85%',
|
|
8272
|
+
marginBottom: '3rem'
|
|
8413
8273
|
},
|
|
8414
8274
|
header: {
|
|
8415
|
-
fontWeight:
|
|
8416
|
-
fontSize:
|
|
8275
|
+
fontWeight: '700',
|
|
8276
|
+
fontSize: '46px',
|
|
8417
8277
|
lineHeight: '46px',
|
|
8278
|
+
marginBottom: '1rem',
|
|
8418
8279
|
textAlign: 'center',
|
|
8280
|
+
marginTop: '3rem',
|
|
8419
8281
|
color: '#2D2D2D'
|
|
8420
8282
|
},
|
|
8421
8283
|
headerTitle: {
|
|
8422
|
-
fontWeight:
|
|
8423
|
-
fontSize:
|
|
8284
|
+
fontWeight: '400',
|
|
8285
|
+
fontSize: '24px',
|
|
8424
8286
|
lineHeight: '46px',
|
|
8425
8287
|
color: '#7D8592',
|
|
8426
|
-
marginBottom:
|
|
8288
|
+
marginBottom: '3rem',
|
|
8427
8289
|
textAlign: 'center'
|
|
8428
|
-
},
|
|
8429
|
-
'@media screen and (max-width: 767px)': {
|
|
8430
|
-
tileDiv: {
|
|
8431
|
-
width: 'calc(53% - 24px)'
|
|
8432
|
-
}
|
|
8433
8290
|
}
|
|
8434
8291
|
};
|
|
8435
8292
|
});
|
|
@@ -8438,6 +8295,7 @@ function Tiles({
|
|
|
8438
8295
|
sectionData,
|
|
8439
8296
|
sectionIndex
|
|
8440
8297
|
}) {
|
|
8298
|
+
const classes = useTilesStyles({});
|
|
8441
8299
|
const {
|
|
8442
8300
|
isMobile,
|
|
8443
8301
|
layout: {
|
|
@@ -8446,9 +8304,6 @@ function Tiles({
|
|
|
8446
8304
|
isPreview,
|
|
8447
8305
|
isEdit
|
|
8448
8306
|
} = useContext(PageContext);
|
|
8449
|
-
const classes = useTilesStyles({
|
|
8450
|
-
isMobile
|
|
8451
|
-
});
|
|
8452
8307
|
const nodeData = sectionData.components;
|
|
8453
8308
|
const tilesList = nodeData[0]?.tilesList.components;
|
|
8454
8309
|
const handleClick = value => {
|