diy-template-components 0.2.73 → 0.2.74
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 +609 -457
- package/build/index.es.js.map +1 -1
- package/build/index.js +609 -457
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -353,6 +353,42 @@ const colorMixer = (hex1, weightage = 1, hex2 = colors.white) => {
|
|
|
353
353
|
};
|
|
354
354
|
};
|
|
355
355
|
|
|
356
|
+
const solidBaseColors = {
|
|
357
|
+
white: '#FFFFFF',
|
|
358
|
+
blue: '#1676F3',
|
|
359
|
+
tertiaryblue: '#F4F9FF',
|
|
360
|
+
orange: '#FF9000',
|
|
361
|
+
tertiaryorange: '#FFF6EA',
|
|
362
|
+
pink: '#F72585',
|
|
363
|
+
tertiarypink: '#FEE9F3',
|
|
364
|
+
green: '#8ECE19',
|
|
365
|
+
tertiarygreen: '#F4FAEB',
|
|
366
|
+
violet: '#6269C9',
|
|
367
|
+
tertiaryviolet: '#F4F6FF',
|
|
368
|
+
red: '#F41828',
|
|
369
|
+
tertiaryred: '#FFF2F3',
|
|
370
|
+
maroon: '#9B2226',
|
|
371
|
+
tertiarymaroon: '#FFF0F0',
|
|
372
|
+
blue2: '#00ADE7',
|
|
373
|
+
tertiaryblue2: '#F2FCFF'
|
|
374
|
+
};
|
|
375
|
+
const generateTheme = theme => {
|
|
376
|
+
const generatedTheme = {
|
|
377
|
+
AccentColor: solidBaseColors[theme],
|
|
378
|
+
background1: solidBaseColors?.white,
|
|
379
|
+
background2: solidBaseColors['tertiary' + theme],
|
|
380
|
+
background3: solidBaseColors['tertiary' + theme],
|
|
381
|
+
ctaColor: solidBaseColors[theme],
|
|
382
|
+
CtaTextColor: solidBaseColors?.white,
|
|
383
|
+
icon: solidBaseColors[theme],
|
|
384
|
+
iconBg: solidBaseColors['tertiary' + theme],
|
|
385
|
+
stripBg: solidBaseColors[theme],
|
|
386
|
+
stripText: solidBaseColors?.white
|
|
387
|
+
};
|
|
388
|
+
console.log('generatedTheme', generatedTheme, theme);
|
|
389
|
+
return generatedTheme;
|
|
390
|
+
};
|
|
391
|
+
|
|
356
392
|
const buttonStyles = createUseStyles(theme => ({
|
|
357
393
|
primary: {
|
|
358
394
|
width: ({
|
|
@@ -365,13 +401,13 @@ const buttonStyles = createUseStyles(theme => ({
|
|
|
365
401
|
textAlign: 'center',
|
|
366
402
|
color: ({
|
|
367
403
|
disabled
|
|
368
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color :
|
|
404
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : generateTheme('blue')?.CtaTextColor,
|
|
369
405
|
background: ({
|
|
370
406
|
disabled
|
|
371
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color :
|
|
407
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : generateTheme('blue')?.ctaColor,
|
|
372
408
|
border: ({
|
|
373
409
|
disabled
|
|
374
|
-
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${
|
|
410
|
+
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${generateTheme('blue')?.ctaColor}`,
|
|
375
411
|
textDecoration: 'none',
|
|
376
412
|
cursor: ({
|
|
377
413
|
disabled
|
|
@@ -1927,20 +1963,99 @@ const palettes = {
|
|
|
1927
1963
|
rust: rustPalette
|
|
1928
1964
|
};
|
|
1929
1965
|
|
|
1930
|
-
|
|
1966
|
+
const baseFactor = 8;
|
|
1967
|
+
const mobileMargin = {
|
|
1968
|
+
tiny: baseFactor * 2,
|
|
1969
|
+
small: baseFactor * 2,
|
|
1970
|
+
regular: baseFactor * 3,
|
|
1971
|
+
medium: baseFactor * 6
|
|
1972
|
+
};
|
|
1973
|
+
const margin = {
|
|
1974
|
+
tiny: baseFactor * 4,
|
|
1975
|
+
small: baseFactor * 4 * 2,
|
|
1976
|
+
regular: baseFactor * 4 * 4,
|
|
1977
|
+
medium: baseFactor * 4 * 6,
|
|
1978
|
+
large: baseFactor * 4 * 8,
|
|
1979
|
+
xLarge: baseFactor * 4 * 12
|
|
1980
|
+
};
|
|
1981
|
+
const mobilePadding = {
|
|
1982
|
+
tiny: baseFactor * 2,
|
|
1983
|
+
// 16px
|
|
1984
|
+
small: baseFactor * 2,
|
|
1985
|
+
//16px
|
|
1986
|
+
regular: baseFactor * 3,
|
|
1987
|
+
// 24px
|
|
1988
|
+
medium: baseFactor * 6 // 48px
|
|
1989
|
+
};
|
|
1990
|
+
|
|
1991
|
+
const padding = {
|
|
1992
|
+
minute: baseFactor * 2,
|
|
1993
|
+
// 16px
|
|
1994
|
+
tiny: baseFactor * 4,
|
|
1995
|
+
// 32px
|
|
1996
|
+
small: baseFactor * 4 * 2,
|
|
1997
|
+
// 64px
|
|
1998
|
+
xSmall: baseFactor * 3 * 3,
|
|
1999
|
+
// 72px
|
|
2000
|
+
regular: baseFactor * 4 * 3,
|
|
2001
|
+
// 96 px
|
|
2002
|
+
medium: baseFactor * 4 * 4,
|
|
2003
|
+
// 128 px
|
|
2004
|
+
large: baseFactor * 4 * 5,
|
|
2005
|
+
// 160px
|
|
2006
|
+
xLarge: baseFactor * 4 * 6 // 192px
|
|
2007
|
+
};
|
|
2008
|
+
|
|
2009
|
+
const fontSize = {
|
|
2010
|
+
h1: 72,
|
|
2011
|
+
h2: 56,
|
|
2012
|
+
h3: 40,
|
|
2013
|
+
h4: 32,
|
|
2014
|
+
h5: 24,
|
|
2015
|
+
h6: 20,
|
|
2016
|
+
subHead: 16,
|
|
2017
|
+
body: 14
|
|
2018
|
+
};
|
|
2019
|
+
const fontSizeMob = {
|
|
2020
|
+
h1: 40,
|
|
2021
|
+
h2: 20,
|
|
2022
|
+
h3: 32,
|
|
2023
|
+
h4: 16,
|
|
2024
|
+
h5: 16,
|
|
2025
|
+
h6: 14,
|
|
2026
|
+
subHead: 14,
|
|
2027
|
+
body: 14
|
|
2028
|
+
};
|
|
2029
|
+
const fontWeight = {
|
|
2030
|
+
light: 300,
|
|
2031
|
+
regular: 400,
|
|
2032
|
+
medium: 500,
|
|
2033
|
+
semiBold: 600,
|
|
2034
|
+
bold: 700,
|
|
2035
|
+
superBold: 900
|
|
2036
|
+
};
|
|
2037
|
+
|
|
2038
|
+
function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
|
|
1931
2039
|
const palette = palettes[colorTheme] || palettes['blue'];
|
|
1932
2040
|
const typography = {
|
|
1933
|
-
fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"
|
|
2041
|
+
fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
|
|
2042
|
+
fontSize: isMobile ? fontSizeMob : fontSize,
|
|
2043
|
+
fontWeight
|
|
1934
2044
|
};
|
|
1935
2045
|
const shape = {
|
|
1936
2046
|
borderRadius
|
|
1937
2047
|
};
|
|
2048
|
+
const spacing = {
|
|
2049
|
+
padding: isMobile ? mobilePadding : padding,
|
|
2050
|
+
margin: isMobile ? mobileMargin : margin
|
|
2051
|
+
};
|
|
1938
2052
|
return {
|
|
1939
2053
|
palette,
|
|
1940
2054
|
shape,
|
|
1941
2055
|
typography,
|
|
1942
2056
|
shadows: generateShadows(palette),
|
|
1943
|
-
borders: generateBorders(palette)
|
|
2057
|
+
borders: generateBorders(palette),
|
|
2058
|
+
spacing
|
|
1944
2059
|
};
|
|
1945
2060
|
}
|
|
1946
2061
|
|
|
@@ -2170,7 +2285,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2170
2285
|
partialBackground: {
|
|
2171
2286
|
width: '61%',
|
|
2172
2287
|
position: 'absolute',
|
|
2173
|
-
backgroundColor:
|
|
2288
|
+
backgroundColor: generateTheme('blue')?.background2,
|
|
2174
2289
|
height: '100%',
|
|
2175
2290
|
top: '0',
|
|
2176
2291
|
left: '0'
|
|
@@ -2279,7 +2394,7 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2279
2394
|
'& .slick-dots': {
|
|
2280
2395
|
bottom: ({
|
|
2281
2396
|
buttonContainerClass
|
|
2282
|
-
} = {}) => !!buttonContainerClass ? '
|
|
2397
|
+
} = {}) => !!buttonContainerClass ? '10px' : 'unset',
|
|
2283
2398
|
position: ({
|
|
2284
2399
|
buttonContainerClass
|
|
2285
2400
|
} = {}) => !!buttonContainerClass ? 'absolute' : 'inherit',
|
|
@@ -2289,7 +2404,7 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2289
2404
|
textAlign: 'center',
|
|
2290
2405
|
paddingBottom: '0',
|
|
2291
2406
|
'& ul': {
|
|
2292
|
-
margin:
|
|
2407
|
+
margin: theme.spacing.margin.regular,
|
|
2293
2408
|
padding: '0',
|
|
2294
2409
|
'& li': {
|
|
2295
2410
|
width: 'unset',
|
|
@@ -2313,7 +2428,7 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2313
2428
|
display: 'flex',
|
|
2314
2429
|
gap: '20px',
|
|
2315
2430
|
justifyContent: 'center',
|
|
2316
|
-
marginTop:
|
|
2431
|
+
marginTop: theme.spacing.margin.tiny
|
|
2317
2432
|
},
|
|
2318
2433
|
dots: {
|
|
2319
2434
|
width: '4px',
|
|
@@ -2330,6 +2445,15 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2330
2445
|
background: ({
|
|
2331
2446
|
inverted
|
|
2332
2447
|
} = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.palette.primary.main
|
|
2448
|
+
},
|
|
2449
|
+
'@media screen and (max-width: 767px)': {
|
|
2450
|
+
sliderClass: {
|
|
2451
|
+
'& .slick-dots': {
|
|
2452
|
+
'& ul': {
|
|
2453
|
+
margin: '0px'
|
|
2454
|
+
}
|
|
2455
|
+
}
|
|
2456
|
+
}
|
|
2333
2457
|
}
|
|
2334
2458
|
}));
|
|
2335
2459
|
|
|
@@ -2356,7 +2480,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
|
|
|
2356
2480
|
height: sizeHandler,
|
|
2357
2481
|
border: ({
|
|
2358
2482
|
inverted
|
|
2359
|
-
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault :
|
|
2483
|
+
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : generateTheme('blue')?.ctaColor}`,
|
|
2360
2484
|
borderRadius: '50%',
|
|
2361
2485
|
display: 'flex',
|
|
2362
2486
|
justifyContent: 'center',
|
|
@@ -2378,7 +2502,7 @@ function ArrowButton(props) {
|
|
|
2378
2502
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
2379
2503
|
height: props.size === 'small' ? '12px' : '18px',
|
|
2380
2504
|
name: "Angle",
|
|
2381
|
-
color: props.inverted ? theme?.palette?.font?.invertedDefault :
|
|
2505
|
+
color: props.inverted ? theme?.palette?.font?.invertedDefault : generateTheme('blue')?.ctaColor,
|
|
2382
2506
|
inverted: true
|
|
2383
2507
|
}));
|
|
2384
2508
|
}
|
|
@@ -2572,7 +2696,9 @@ var index$l = /*#__PURE__*/Object.freeze({
|
|
|
2572
2696
|
const useSectionStyles$7 = createUseStyles(theme => ({
|
|
2573
2697
|
section: {
|
|
2574
2698
|
width: '100%',
|
|
2575
|
-
padding:
|
|
2699
|
+
padding: ({
|
|
2700
|
+
isMobile
|
|
2701
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
2576
2702
|
display: 'flex',
|
|
2577
2703
|
justifyContent: 'center',
|
|
2578
2704
|
flexDirection: 'column',
|
|
@@ -2581,14 +2707,15 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2581
2707
|
'&, & *, & *:before, & *:after': {
|
|
2582
2708
|
fontFamily: theme?.typography?.fontFamily,
|
|
2583
2709
|
boxSizing: 'border-box'
|
|
2584
|
-
},
|
|
2585
|
-
'& h2,& h3': {
|
|
2586
|
-
fontWeight: '500',
|
|
2587
|
-
'& b,& strong': {
|
|
2588
|
-
fontWeight: '700'
|
|
2589
|
-
}
|
|
2590
2710
|
}
|
|
2711
|
+
// '& h2,& h3': {
|
|
2712
|
+
// fontWeight: '500',
|
|
2713
|
+
// '& b,& strong': {
|
|
2714
|
+
// fontWeight: '700'
|
|
2715
|
+
// }
|
|
2716
|
+
// }
|
|
2591
2717
|
},
|
|
2718
|
+
|
|
2592
2719
|
sectionContainer: {
|
|
2593
2720
|
margin: '0 auto',
|
|
2594
2721
|
maxWidth: ({
|
|
@@ -2597,16 +2724,18 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2597
2724
|
},
|
|
2598
2725
|
subTitleHeading: {
|
|
2599
2726
|
marginBottom: '8px',
|
|
2600
|
-
fontSize:
|
|
2727
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
2601
2728
|
color: theme?.palette?.font?.tertiary,
|
|
2602
2729
|
alignItems: 'center',
|
|
2603
2730
|
textAlign: 'center',
|
|
2604
|
-
wordBreak: 'break-word'
|
|
2731
|
+
wordBreak: 'break-word',
|
|
2732
|
+
textTransform: 'uppercase'
|
|
2605
2733
|
},
|
|
2606
2734
|
heading: {
|
|
2607
|
-
|
|
2608
|
-
fontSize:
|
|
2735
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
2736
|
+
fontSize: theme.typography.fontSize.h2,
|
|
2609
2737
|
color: theme?.palette?.font?.default,
|
|
2738
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
2610
2739
|
textAlign: 'center',
|
|
2611
2740
|
wordBreak: 'break-word'
|
|
2612
2741
|
},
|
|
@@ -2627,7 +2756,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2627
2756
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
2628
2757
|
overflow: 'hidden',
|
|
2629
2758
|
minHeight: 200,
|
|
2630
|
-
|
|
2759
|
+
marginBottom: theme.spacing.margin.small,
|
|
2631
2760
|
position: 'relative',
|
|
2632
2761
|
'&:nth-child(2n)': {
|
|
2633
2762
|
alignSelf: 'flex-end',
|
|
@@ -2635,7 +2764,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2635
2764
|
right: '0'
|
|
2636
2765
|
},
|
|
2637
2766
|
'& $contentText': {
|
|
2638
|
-
marginRight: '
|
|
2767
|
+
marginRight: '170px'
|
|
2639
2768
|
}
|
|
2640
2769
|
},
|
|
2641
2770
|
'&:nth-child(2n+1)': {
|
|
@@ -2644,7 +2773,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2644
2773
|
left: '0'
|
|
2645
2774
|
},
|
|
2646
2775
|
'& $contentText': {
|
|
2647
|
-
marginLeft: '
|
|
2776
|
+
marginLeft: '170px'
|
|
2648
2777
|
}
|
|
2649
2778
|
},
|
|
2650
2779
|
'&:nth-child(7n+1) $contentNumber': {
|
|
@@ -2678,42 +2807,31 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2678
2807
|
display: 'flex',
|
|
2679
2808
|
alignItems: 'center',
|
|
2680
2809
|
justifyContent: 'center',
|
|
2810
|
+
padding: '48px',
|
|
2681
2811
|
height: '100%',
|
|
2682
2812
|
color: theme?.palette?.font?.default,
|
|
2683
|
-
width: '200px',
|
|
2684
2813
|
wordBreak: 'break-word'
|
|
2685
2814
|
},
|
|
2686
2815
|
contentText: {
|
|
2687
|
-
padding:
|
|
2816
|
+
padding: theme.spacing.padding.tiny
|
|
2688
2817
|
},
|
|
2689
2818
|
contentHeading: {
|
|
2690
2819
|
fontStyle: 'normal',
|
|
2691
|
-
fontSize:
|
|
2820
|
+
fontSize: theme.typography.fontSize.h5,
|
|
2821
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
2692
2822
|
lineHeight: '32px',
|
|
2823
|
+
marginBottom: '8px',
|
|
2693
2824
|
color: theme?.palette?.font?.default,
|
|
2694
|
-
margin: '0 48px',
|
|
2695
2825
|
wordBreak: 'break-word'
|
|
2696
2826
|
},
|
|
2697
2827
|
contentPara: {
|
|
2698
2828
|
fontStyle: 'normal',
|
|
2699
|
-
fontSize:
|
|
2829
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
2700
2830
|
lineHeight: '32px',
|
|
2701
2831
|
color: theme?.palette?.font?.primary,
|
|
2702
|
-
margin: '20px 48px 0 48px',
|
|
2703
2832
|
wordBreak: 'break-word'
|
|
2704
2833
|
},
|
|
2705
2834
|
'@media screen and (max-width: 767px)': {
|
|
2706
|
-
section: {
|
|
2707
|
-
padding: '70px 20px'
|
|
2708
|
-
},
|
|
2709
|
-
textContainer: {
|
|
2710
|
-
padding: '20px',
|
|
2711
|
-
width: '100%'
|
|
2712
|
-
},
|
|
2713
|
-
heading: {
|
|
2714
|
-
fontSize: '24px',
|
|
2715
|
-
margin: '4px 0 12px 0'
|
|
2716
|
-
},
|
|
2717
2835
|
contentContainer: {
|
|
2718
2836
|
width: '100%'
|
|
2719
2837
|
},
|
|
@@ -2721,36 +2839,31 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2721
2839
|
display: 'flex',
|
|
2722
2840
|
flexDirection: 'column',
|
|
2723
2841
|
borderRadius: theme.shape.borderRadius.large,
|
|
2724
|
-
margin: '20px 0 10px 0',
|
|
2725
2842
|
width: '100%',
|
|
2726
2843
|
height: 'auto',
|
|
2727
2844
|
'&:nth-child(2n)': {
|
|
2728
2845
|
marginLeft: '0',
|
|
2729
2846
|
'& $contentText': {
|
|
2730
2847
|
marginRight: '0',
|
|
2731
|
-
alignSelf: 'flex-start'
|
|
2732
|
-
padding: '0'
|
|
2848
|
+
alignSelf: 'flex-start'
|
|
2849
|
+
// padding: '0'
|
|
2733
2850
|
}
|
|
2734
2851
|
},
|
|
2852
|
+
|
|
2735
2853
|
'&:nth-child(2n+1)': {
|
|
2736
2854
|
marginRight: '0',
|
|
2737
2855
|
'& $contentText': {
|
|
2738
2856
|
marginLeft: '0',
|
|
2739
|
-
alignSelf: 'flex-start'
|
|
2740
|
-
padding: '0'
|
|
2857
|
+
alignSelf: 'flex-start'
|
|
2858
|
+
// padding: '0'
|
|
2741
2859
|
}
|
|
2742
2860
|
}
|
|
2743
2861
|
},
|
|
2862
|
+
|
|
2744
2863
|
contentNumber: {
|
|
2745
2864
|
width: '100%',
|
|
2746
|
-
padding: '
|
|
2865
|
+
padding: '24px',
|
|
2747
2866
|
position: 'static'
|
|
2748
|
-
},
|
|
2749
|
-
contentHeading: {
|
|
2750
|
-
margin: '20px 20px 0 20px'
|
|
2751
|
-
},
|
|
2752
|
-
contentPara: {
|
|
2753
|
-
margin: '16px 20px 24px 20px'
|
|
2754
2867
|
}
|
|
2755
2868
|
}
|
|
2756
2869
|
}));
|
|
@@ -2761,10 +2874,12 @@ function List({
|
|
|
2761
2874
|
const {
|
|
2762
2875
|
layout: {
|
|
2763
2876
|
containerWidth
|
|
2764
|
-
}
|
|
2877
|
+
},
|
|
2878
|
+
isMobile
|
|
2765
2879
|
} = React.useContext(PageContext);
|
|
2766
2880
|
const classes = useSectionStyles$7({
|
|
2767
|
-
containerWidth
|
|
2881
|
+
containerWidth,
|
|
2882
|
+
isMobile
|
|
2768
2883
|
});
|
|
2769
2884
|
const [nodeData] = sectionData.components;
|
|
2770
2885
|
const getNumber = val => {
|
|
@@ -2781,7 +2896,7 @@ function List({
|
|
|
2781
2896
|
dangerouslySetInnerHTML: {
|
|
2782
2897
|
__html: nodeData.cardHeading.metadata.value
|
|
2783
2898
|
}
|
|
2784
|
-
})), /*#__PURE__*/React__default["default"].createElement("
|
|
2899
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2785
2900
|
className: classes.heading
|
|
2786
2901
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2787
2902
|
ref: nodeData?.title?.refSetter,
|
|
@@ -2798,13 +2913,13 @@ function List({
|
|
|
2798
2913
|
className: classes.contentNumber
|
|
2799
2914
|
}, getNumber(ind + 1)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2800
2915
|
className: classes.contentText
|
|
2801
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
2916
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2802
2917
|
ref: dt?.contentHeading?.refSetter,
|
|
2803
2918
|
className: classes.contentHeading,
|
|
2804
2919
|
dangerouslySetInnerHTML: {
|
|
2805
2920
|
__html: dt.contentHeading.metadata.value
|
|
2806
2921
|
}
|
|
2807
|
-
}), /*#__PURE__*/React__default["default"].createElement("
|
|
2922
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2808
2923
|
ref: dt?.contentPara?.refSetter,
|
|
2809
2924
|
className: classes.contentPara,
|
|
2810
2925
|
dangerouslySetInnerHTML: {
|
|
@@ -2828,16 +2943,16 @@ const useSectionStyles$6 = createUseStyles(theme => ({
|
|
|
2828
2943
|
'&, & *, & *:before, & *:after': {
|
|
2829
2944
|
fontFamily: theme?.typography?.fontFamily,
|
|
2830
2945
|
boxSizing: 'border-box'
|
|
2831
|
-
},
|
|
2832
|
-
'& h2,& h3': {
|
|
2833
|
-
fontWeight: '500',
|
|
2834
|
-
'& b,& strong': {
|
|
2835
|
-
fontWeight: '700'
|
|
2836
|
-
}
|
|
2837
2946
|
}
|
|
2947
|
+
// '& h2,& h3': {
|
|
2948
|
+
// fontWeight: '500',
|
|
2949
|
+
// '& b,& strong': {
|
|
2950
|
+
// fontWeight: '700'
|
|
2951
|
+
// }
|
|
2952
|
+
// }
|
|
2838
2953
|
},
|
|
2954
|
+
|
|
2839
2955
|
sectionContainer: {
|
|
2840
|
-
margin: '0 auto',
|
|
2841
2956
|
width: '100%',
|
|
2842
2957
|
// maxWidth: ({ containerWidth } = {}) => containerWidth,
|
|
2843
2958
|
position: 'absolute',
|
|
@@ -2851,6 +2966,9 @@ const useSectionStyles$6 = createUseStyles(theme => ({
|
|
|
2851
2966
|
position: 'absolute',
|
|
2852
2967
|
width: '100%'
|
|
2853
2968
|
},
|
|
2969
|
+
buttonClass: {
|
|
2970
|
+
margin: `${theme.spacing.margin.tiny}px 0px`
|
|
2971
|
+
},
|
|
2854
2972
|
contentContainer: {
|
|
2855
2973
|
// padding: '100px 0',
|
|
2856
2974
|
// height: '100%',
|
|
@@ -2886,27 +3004,28 @@ const useSectionStyles$6 = createUseStyles(theme => ({
|
|
|
2886
3004
|
height: '100%'
|
|
2887
3005
|
},
|
|
2888
3006
|
textContainer: {
|
|
2889
|
-
padding:
|
|
2890
|
-
margin:
|
|
2891
|
-
width: '
|
|
3007
|
+
padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
3008
|
+
// margin: `0px ${theme.spacing.padding.medium} 0px ${theme.spacing.padding.medium}`,
|
|
3009
|
+
width: '100%'
|
|
2892
3010
|
},
|
|
2893
3011
|
subTitleHeading: {
|
|
2894
3012
|
color: theme?.palette?.font?.invertedDefault,
|
|
2895
3013
|
marginBottom: '8px',
|
|
2896
|
-
fontSize:
|
|
3014
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
2897
3015
|
wordBreak: 'break-word'
|
|
2898
3016
|
},
|
|
2899
3017
|
heading: {
|
|
2900
3018
|
margin: '0',
|
|
2901
|
-
fontSize:
|
|
3019
|
+
fontSize: theme.typography.fontSize.h1,
|
|
2902
3020
|
color: theme?.palette?.font?.invertedDefault,
|
|
2903
3021
|
wordBreak: 'break-word'
|
|
2904
3022
|
},
|
|
2905
3023
|
description: {
|
|
2906
|
-
margin:
|
|
3024
|
+
margin: `${theme.spacing.margin.tiny}px 0px`,
|
|
2907
3025
|
color: theme?.palette?.font?.invertedDefault,
|
|
2908
3026
|
lineHeight: '24px',
|
|
2909
|
-
wordBreak: 'break-word'
|
|
3027
|
+
wordBreak: 'break-word',
|
|
3028
|
+
fontSize: theme.typography.fontSize.subHead
|
|
2910
3029
|
},
|
|
2911
3030
|
sideBannerImage: {
|
|
2912
3031
|
width: '100%',
|
|
@@ -2924,22 +3043,19 @@ const useSectionStyles$6 = createUseStyles(theme => ({
|
|
|
2924
3043
|
justifyContent: 'center',
|
|
2925
3044
|
padding: '0px'
|
|
2926
3045
|
},
|
|
2927
|
-
textContainer: {
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
},
|
|
2933
|
-
|
|
3046
|
+
// textContainer: {
|
|
3047
|
+
// padding: '20px 20px',
|
|
3048
|
+
// height: '100%',
|
|
3049
|
+
// width: '100%'
|
|
3050
|
+
// // backgroundColor: theme?.palette?.background?.primary
|
|
3051
|
+
// },
|
|
2934
3052
|
subTitleHeading: {
|
|
2935
3053
|
color: theme?.palette?.font?.tertiary
|
|
2936
3054
|
},
|
|
2937
3055
|
heading: {
|
|
2938
|
-
fontSize: '40px',
|
|
2939
3056
|
color: theme?.palette?.font?.default
|
|
2940
3057
|
},
|
|
2941
3058
|
description: {
|
|
2942
|
-
margin: '16px 0',
|
|
2943
3059
|
color: theme?.palette?.font?.primary
|
|
2944
3060
|
},
|
|
2945
3061
|
centerBgImageContainer: {
|
|
@@ -3006,12 +3122,14 @@ const Section$3 = ({
|
|
|
3006
3122
|
dangerouslySetInnerHTML: {
|
|
3007
3123
|
__html: nodeData.description.metadata.value
|
|
3008
3124
|
}
|
|
3009
|
-
}) : null, nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React__default["default"].createElement(
|
|
3125
|
+
}) : null, nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3126
|
+
className: classes.buttonClass
|
|
3127
|
+
}, /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
3010
3128
|
ref: nodeData?.cta?.refSetter,
|
|
3011
3129
|
data: nodeData.cta.metadata,
|
|
3012
3130
|
type: nodeData?.cta?.metadata?.type,
|
|
3013
3131
|
size: isMobile ? 'small' : 'medium'
|
|
3014
|
-
})) : null), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3132
|
+
}))) : null), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3015
3133
|
className: classes?.centerBgImageContainer
|
|
3016
3134
|
}, /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
|
|
3017
3135
|
src: nodeData.image.metadata.value,
|
|
@@ -3051,17 +3169,18 @@ var index$j = /*#__PURE__*/Object.freeze({
|
|
|
3051
3169
|
});
|
|
3052
3170
|
|
|
3053
3171
|
const useSectionStyles$5 = createUseStyles(theme => {
|
|
3172
|
+
console.log('sdkjfndkjsnfk', theme?.spacing?.padding?.large);
|
|
3054
3173
|
return {
|
|
3055
3174
|
section: {
|
|
3056
|
-
paddingBottom:
|
|
3175
|
+
paddingBottom: `${theme?.spacing?.padding?.regular}px`,
|
|
3057
3176
|
'&, & *, & *:before, & *:after': {
|
|
3058
3177
|
fontFamily: theme?.typography?.fontFamily,
|
|
3059
3178
|
boxSizing: 'border-box'
|
|
3060
3179
|
},
|
|
3061
3180
|
'& h2,& h3': {
|
|
3062
|
-
fontWeight:
|
|
3181
|
+
fontWeight: `${theme?.typography?.fontWeight?.medium}`,
|
|
3063
3182
|
'& b,& strong': {
|
|
3064
|
-
fontWeight:
|
|
3183
|
+
fontWeight: `${theme?.typography?.fontWeight?.bold}`
|
|
3065
3184
|
}
|
|
3066
3185
|
}
|
|
3067
3186
|
},
|
|
@@ -3075,7 +3194,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3075
3194
|
display: 'flex',
|
|
3076
3195
|
alignItems: 'center',
|
|
3077
3196
|
justifyContent: 'center',
|
|
3078
|
-
padding:
|
|
3197
|
+
padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
|
|
3079
3198
|
},
|
|
3080
3199
|
imageContainerDiv: {
|
|
3081
3200
|
width: '50%',
|
|
@@ -3110,20 +3229,20 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3110
3229
|
objectFit: 'cover'
|
|
3111
3230
|
},
|
|
3112
3231
|
textContainer: {
|
|
3113
|
-
padding:
|
|
3232
|
+
padding: `0 ${theme?.spacing?.padding?.xSmall}px`,
|
|
3114
3233
|
textAlign: 'left',
|
|
3115
3234
|
margin: '0 auto',
|
|
3116
3235
|
width: '50%'
|
|
3117
3236
|
},
|
|
3118
3237
|
subTitleHeading: {
|
|
3119
3238
|
marginBottom: '8px',
|
|
3120
|
-
fontSize:
|
|
3239
|
+
fontSize: `${theme?.typography?.fontSize?.subHead}px`,
|
|
3121
3240
|
color: theme?.palette?.font?.tertiary,
|
|
3122
3241
|
wordBreak: 'break-word'
|
|
3123
3242
|
},
|
|
3124
3243
|
heading: {
|
|
3125
3244
|
margin: '0',
|
|
3126
|
-
fontSize:
|
|
3245
|
+
fontSize: `${theme?.typography?.fontSize?.h1}px`,
|
|
3127
3246
|
color: theme?.palette?.font?.default,
|
|
3128
3247
|
wordBreak: 'break-word'
|
|
3129
3248
|
},
|
|
@@ -3138,9 +3257,9 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3138
3257
|
padding: '0 0 40px'
|
|
3139
3258
|
},
|
|
3140
3259
|
centerData: {
|
|
3141
|
-
flexDirection: 'column',
|
|
3260
|
+
flexDirection: 'column-reverse',
|
|
3142
3261
|
width: '100%',
|
|
3143
|
-
padding:
|
|
3262
|
+
padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
|
|
3144
3263
|
},
|
|
3145
3264
|
imageContainer: {
|
|
3146
3265
|
height: 'unset !important',
|
|
@@ -3160,11 +3279,11 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3160
3279
|
height: 'unset !important'
|
|
3161
3280
|
},
|
|
3162
3281
|
textContainer: {
|
|
3163
|
-
padding:
|
|
3282
|
+
padding: `${theme?.spacing?.padding?.regular}px 0px`,
|
|
3164
3283
|
width: 'unset'
|
|
3165
3284
|
},
|
|
3166
3285
|
heading: {
|
|
3167
|
-
fontSize:
|
|
3286
|
+
fontSize: `${theme?.typography?.fontSize?.h3}px`
|
|
3168
3287
|
},
|
|
3169
3288
|
description: {
|
|
3170
3289
|
margin: '16px 0'
|
|
@@ -3198,8 +3317,6 @@ function Section$2({
|
|
|
3198
3317
|
ref: nodeData?.image?.refSetter,
|
|
3199
3318
|
className: classes.sideBannerImage,
|
|
3200
3319
|
sectionIndex: sectionIndex
|
|
3201
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3202
|
-
className: classes.imageBorder
|
|
3203
3320
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3204
3321
|
className: classes.textContainer
|
|
3205
3322
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -3270,18 +3387,21 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3270
3387
|
width: '100%',
|
|
3271
3388
|
alignItems: 'center',
|
|
3272
3389
|
justifyContent: 'center',
|
|
3273
|
-
padding:
|
|
3390
|
+
padding: ({
|
|
3391
|
+
isMobile
|
|
3392
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
3274
3393
|
'&, & *, & *:before, & *:after': {
|
|
3275
3394
|
fontFamily: theme?.typography?.fontFamily,
|
|
3276
3395
|
boxSizing: 'border-box'
|
|
3277
|
-
},
|
|
3278
|
-
'& h2,& h3': {
|
|
3279
|
-
fontWeight: '500',
|
|
3280
|
-
'& b,& strong': {
|
|
3281
|
-
fontWeight: '700'
|
|
3282
|
-
}
|
|
3283
3396
|
}
|
|
3397
|
+
// '& h2,& h3': {
|
|
3398
|
+
// fontWeight: '500',
|
|
3399
|
+
// '& b,& strong': {
|
|
3400
|
+
// fontWeight: '700'
|
|
3401
|
+
// }
|
|
3402
|
+
// }
|
|
3284
3403
|
},
|
|
3404
|
+
|
|
3285
3405
|
newsLetterContainer: {
|
|
3286
3406
|
margin: '0 auto',
|
|
3287
3407
|
maxWidth: ({
|
|
@@ -3300,15 +3420,16 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3300
3420
|
backgroundColor: theme?.palette?.background?.default,
|
|
3301
3421
|
boxShadow: theme?.shadows?.secondary,
|
|
3302
3422
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3303
|
-
padding:
|
|
3423
|
+
padding: theme.spacing.padding.small,
|
|
3304
3424
|
position: 'relative'
|
|
3305
3425
|
},
|
|
3306
3426
|
cardHeading: {
|
|
3307
|
-
fontSize:
|
|
3427
|
+
fontSize: theme.typography.fontSize.h2,
|
|
3428
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
3308
3429
|
lineHeight: '71px',
|
|
3309
3430
|
letterSpacing: '-3px',
|
|
3310
3431
|
color: theme?.palette?.font?.secondary,
|
|
3311
|
-
|
|
3432
|
+
marginBottom: theme.spacing.padding.tiny,
|
|
3312
3433
|
wordBreak: 'break-word'
|
|
3313
3434
|
},
|
|
3314
3435
|
contentContainer: {
|
|
@@ -3317,10 +3438,9 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3317
3438
|
justifyContent: 'space-between'
|
|
3318
3439
|
},
|
|
3319
3440
|
title: {
|
|
3320
|
-
fontSize:
|
|
3441
|
+
fontSize: theme.typography.fontSize.h6,
|
|
3321
3442
|
lineHeight: '32px',
|
|
3322
3443
|
color: theme?.palette?.font?.primary,
|
|
3323
|
-
margin: '0 80px 0 0',
|
|
3324
3444
|
width: 'calc(50% - 80px)',
|
|
3325
3445
|
wordBreak: 'break-word'
|
|
3326
3446
|
},
|
|
@@ -3358,42 +3478,44 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3358
3478
|
section: {
|
|
3359
3479
|
display: 'flex',
|
|
3360
3480
|
flexDirection: 'column',
|
|
3361
|
-
alignItems: 'center'
|
|
3362
|
-
padding: '30px 20px'
|
|
3481
|
+
alignItems: 'center'
|
|
3363
3482
|
},
|
|
3364
3483
|
sectionContainer: {
|
|
3365
|
-
|
|
3366
|
-
|
|
3484
|
+
borderRadius: theme?.shape?.borderRadius?.large,
|
|
3485
|
+
textAlign: 'center',
|
|
3486
|
+
display: 'flex',
|
|
3487
|
+
alignItems: 'center',
|
|
3488
|
+
flexDirection: 'column'
|
|
3367
3489
|
},
|
|
3368
3490
|
partialBackground: {
|
|
3369
3491
|
height: '150px'
|
|
3370
3492
|
},
|
|
3371
3493
|
title: {
|
|
3372
3494
|
width: '100%',
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
lineHeight: '32px'
|
|
3495
|
+
lineHeight: '22px',
|
|
3496
|
+
margin: '0px 0px 16px 0px'
|
|
3376
3497
|
},
|
|
3377
3498
|
cardHeading: {
|
|
3378
|
-
fontSize: '24px',
|
|
3379
3499
|
lineHeight: '32px',
|
|
3380
3500
|
letterSpacing: '-1px',
|
|
3381
|
-
|
|
3501
|
+
width: '50%',
|
|
3502
|
+
lineHeight: 'normal'
|
|
3382
3503
|
},
|
|
3383
3504
|
contentContainer: {
|
|
3384
3505
|
display: 'flex',
|
|
3385
3506
|
flexDirection: 'column',
|
|
3386
|
-
justifyContent: 'flex-start'
|
|
3507
|
+
justifyContent: 'flex-start',
|
|
3508
|
+
textAlign: 'center'
|
|
3387
3509
|
},
|
|
3388
3510
|
inputContainer: {
|
|
3389
3511
|
display: 'block',
|
|
3390
3512
|
width: '100%',
|
|
3391
|
-
margin: '24px 16px 0 16px',
|
|
3392
3513
|
position: 'initial'
|
|
3393
3514
|
},
|
|
3394
3515
|
btnContainer: {
|
|
3395
3516
|
right: 'unset',
|
|
3396
|
-
position: 'initial'
|
|
3517
|
+
position: 'initial',
|
|
3518
|
+
marginTop: '4px'
|
|
3397
3519
|
}
|
|
3398
3520
|
}
|
|
3399
3521
|
}));
|
|
@@ -3538,7 +3660,8 @@ function SubscribeToNewsletter({
|
|
|
3538
3660
|
} = React.useContext(PageContext);
|
|
3539
3661
|
const [nodeData] = sectionData.components;
|
|
3540
3662
|
const classes = useSectionStyles$4({
|
|
3541
|
-
containerWidth
|
|
3663
|
+
containerWidth,
|
|
3664
|
+
isMobile
|
|
3542
3665
|
});
|
|
3543
3666
|
let formInitialValue = nodeData?.inputField?.metadata?.value;
|
|
3544
3667
|
const [inputVal, setInputVal] = React.useState(formInitialValue);
|
|
@@ -3584,7 +3707,7 @@ function SubscribeToNewsletter({
|
|
|
3584
3707
|
className: classes.partialBackground
|
|
3585
3708
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3586
3709
|
className: classes.sectionContainer
|
|
3587
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
3710
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3588
3711
|
className: classes.cardHeading
|
|
3589
3712
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3590
3713
|
ref: nodeData?.cardHeading?.refSetter,
|
|
@@ -4120,20 +4243,23 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4120
4243
|
videoTestimonialSuperContainer: {
|
|
4121
4244
|
display: 'flex',
|
|
4122
4245
|
justifyContent: 'center',
|
|
4123
|
-
padding:
|
|
4246
|
+
padding: ({
|
|
4247
|
+
isMobile
|
|
4248
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
4124
4249
|
'&, & *, & *:before, & *:after': {
|
|
4125
|
-
fontFamily: theme?.typography?.fontFamily
|
|
4126
|
-
boxSizing: 'border-box'
|
|
4127
|
-
},
|
|
4128
|
-
'& h2,& h3': {
|
|
4129
|
-
fontWeight: '500',
|
|
4130
|
-
'& b,& strong': {
|
|
4131
|
-
fontWeight: '700'
|
|
4132
|
-
}
|
|
4250
|
+
fontFamily: theme?.typography?.fontFamily
|
|
4251
|
+
// boxSizing: 'border-box'
|
|
4133
4252
|
}
|
|
4253
|
+
// '& h2,& h3': {
|
|
4254
|
+
// fontWeight: '500',
|
|
4255
|
+
// '& b,& strong': {
|
|
4256
|
+
// fontWeight: '700'
|
|
4257
|
+
// }
|
|
4258
|
+
// }
|
|
4134
4259
|
},
|
|
4260
|
+
|
|
4135
4261
|
sectionContainer: {
|
|
4136
|
-
margin: '0 auto',
|
|
4262
|
+
// margin: '0 auto',
|
|
4137
4263
|
maxWidth: ({
|
|
4138
4264
|
containerWidth
|
|
4139
4265
|
} = {}) => containerWidth
|
|
@@ -4144,29 +4270,28 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4144
4270
|
fontFamily: theme?.typography?.fontFamily
|
|
4145
4271
|
},
|
|
4146
4272
|
videoTestimonialHeading: {
|
|
4147
|
-
fontSize:
|
|
4273
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
4148
4274
|
lineHeight: '20px',
|
|
4149
4275
|
letterSpacing: '3px',
|
|
4150
4276
|
textTransform: 'uppercase',
|
|
4151
4277
|
color: theme.palette.font.tertiary,
|
|
4152
|
-
wordBreak: 'break-word'
|
|
4278
|
+
wordBreak: 'break-word',
|
|
4279
|
+
marginBottom: '8px'
|
|
4153
4280
|
},
|
|
4154
4281
|
videoTestimonialTitle: {
|
|
4155
|
-
fontSize:
|
|
4156
|
-
lineHeight: '71px',
|
|
4282
|
+
fontSize: theme.typography.fontSize.h1,
|
|
4283
|
+
// lineHeight: '71px',
|
|
4157
4284
|
letterSpacing: '-3px',
|
|
4158
|
-
|
|
4285
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
4286
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
4159
4287
|
color: theme.palette.font.default,
|
|
4160
4288
|
wordBreak: 'break-word'
|
|
4161
4289
|
},
|
|
4162
|
-
videoCarouselContainer: {
|
|
4163
|
-
marginTop: '16px'
|
|
4164
|
-
},
|
|
4165
4290
|
videoCarousel: {
|
|
4166
4291
|
display: 'flex',
|
|
4167
4292
|
alignItems: 'center',
|
|
4168
4293
|
justifyContent: 'flex-start',
|
|
4169
|
-
gap:
|
|
4294
|
+
gap: theme.spacing.margin.small
|
|
4170
4295
|
},
|
|
4171
4296
|
iframeSuperContainer: {
|
|
4172
4297
|
height: '100%',
|
|
@@ -4188,57 +4313,49 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4188
4313
|
videoDetails: {
|
|
4189
4314
|
width: '100%',
|
|
4190
4315
|
display: 'flex',
|
|
4316
|
+
gap: '24px',
|
|
4191
4317
|
flexDirection: 'column',
|
|
4192
4318
|
alignItems: 'flex-start'
|
|
4193
4319
|
},
|
|
4194
4320
|
videoDetailsHeading: {
|
|
4195
|
-
fontSize:
|
|
4321
|
+
fontSize: theme.typography.fontSize.h3,
|
|
4196
4322
|
lineHeight: '48px',
|
|
4197
4323
|
margin: '0',
|
|
4198
4324
|
letterSpacing: '-1px',
|
|
4199
4325
|
wordBreak: 'break-word',
|
|
4200
|
-
color: theme.palette.font.default
|
|
4326
|
+
color: theme.palette.font.default,
|
|
4327
|
+
fontWeight: theme.typography.fontWeight.bold
|
|
4201
4328
|
},
|
|
4202
4329
|
videoDetailsContent: {
|
|
4203
|
-
fontSize:
|
|
4330
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
4204
4331
|
lineHeight: '24px',
|
|
4205
4332
|
wordBreak: 'break-word',
|
|
4206
|
-
color: theme.palette.font.primary
|
|
4207
|
-
margin: '10px 0 20px'
|
|
4333
|
+
color: theme.palette.font.primary
|
|
4208
4334
|
},
|
|
4209
4335
|
videoDetailsSubContent: {
|
|
4210
|
-
fontSize:
|
|
4336
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
4211
4337
|
lineHeight: '24px',
|
|
4212
4338
|
margin: '0',
|
|
4213
4339
|
color: theme.palette.font.primary,
|
|
4214
4340
|
wordBreak: 'break-word'
|
|
4215
4341
|
},
|
|
4216
4342
|
'@media (max-width: 767px)': {
|
|
4217
|
-
videoTestimonialSuperContainer: {
|
|
4218
|
-
padding: '70px 10px 60px 20px'
|
|
4219
|
-
},
|
|
4220
4343
|
videoCarousel: {
|
|
4221
|
-
flexDirection: 'column'
|
|
4222
|
-
gap: '20px'
|
|
4344
|
+
flexDirection: 'column'
|
|
4223
4345
|
},
|
|
4224
4346
|
videoCarouselContainer: {
|
|
4225
|
-
height: 'max-content'
|
|
4226
|
-
paddingRight: '10px'
|
|
4347
|
+
height: 'max-content'
|
|
4227
4348
|
},
|
|
4228
4349
|
videoDetails: {
|
|
4229
|
-
width: '100%'
|
|
4350
|
+
width: '100%',
|
|
4351
|
+
gap: '16px'
|
|
4230
4352
|
},
|
|
4231
4353
|
videoDetailsHeading: {
|
|
4232
|
-
fontSize: '16px',
|
|
4233
4354
|
lineHeight: '20px'
|
|
4234
4355
|
},
|
|
4235
4356
|
videoTestimonialTitle: {
|
|
4236
|
-
fontSize: '24px',
|
|
4237
4357
|
lineHeight: '36px',
|
|
4238
4358
|
letterSpacing: '-1px'
|
|
4239
|
-
},
|
|
4240
|
-
videoDetailsContent: {
|
|
4241
|
-
marginTop: '4px'
|
|
4242
4359
|
}
|
|
4243
4360
|
}
|
|
4244
4361
|
};
|
|
@@ -4264,19 +4381,19 @@ const SingleVideoSlide$2 = props => {
|
|
|
4264
4381
|
sectionIndex: props?.sectionIndex
|
|
4265
4382
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4266
4383
|
className: classes.videoDetails
|
|
4267
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
4384
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4268
4385
|
ref: data?.videoTextHeading?.refSetter,
|
|
4269
4386
|
className: classes.videoDetailsHeading,
|
|
4270
4387
|
dangerouslySetInnerHTML: {
|
|
4271
4388
|
__html: data.videoTextHeading.metadata.value
|
|
4272
4389
|
}
|
|
4273
|
-
}), /*#__PURE__*/React__default["default"].createElement("
|
|
4390
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4274
4391
|
ref: data?.videoTextContent?.refSetter,
|
|
4275
4392
|
className: classes.videoDetailsContent,
|
|
4276
4393
|
dangerouslySetInnerHTML: {
|
|
4277
4394
|
__html: data.videoTextContent.metadata.value
|
|
4278
4395
|
}
|
|
4279
|
-
}), /*#__PURE__*/React__default["default"].createElement("
|
|
4396
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4280
4397
|
ref: data?.videoTextSubContent?.refSetter,
|
|
4281
4398
|
className: classes.videoDetailsSubContent,
|
|
4282
4399
|
dangerouslySetInnerHTML: {
|
|
@@ -4292,10 +4409,12 @@ function VideoTestimonial({
|
|
|
4292
4409
|
const {
|
|
4293
4410
|
layout: {
|
|
4294
4411
|
containerWidth
|
|
4295
|
-
}
|
|
4412
|
+
},
|
|
4413
|
+
isMobile
|
|
4296
4414
|
} = React.useContext(PageContext);
|
|
4297
4415
|
const classes = useVideoTestimonialStyles({
|
|
4298
|
-
containerWidth
|
|
4416
|
+
containerWidth,
|
|
4417
|
+
isMobile
|
|
4299
4418
|
});
|
|
4300
4419
|
const [videoData] = sectionData.components;
|
|
4301
4420
|
const Wrapper = videoData.videoCarousel.components.length > 1 ? Carousel : React.Fragment;
|
|
@@ -4312,7 +4431,7 @@ function VideoTestimonial({
|
|
|
4312
4431
|
dangerouslySetInnerHTML: {
|
|
4313
4432
|
__html: videoData.videoHeading.metadata.value
|
|
4314
4433
|
}
|
|
4315
|
-
})), /*#__PURE__*/React__default["default"].createElement("
|
|
4434
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4316
4435
|
className: classes.videoTestimonialTitle
|
|
4317
4436
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4318
4437
|
ref: videoData?.title?.refSetter,
|
|
@@ -4562,7 +4681,7 @@ var index$e = /*#__PURE__*/Object.freeze({
|
|
|
4562
4681
|
const useSectionStyles$3 = createUseStyles(theme => ({
|
|
4563
4682
|
section: {
|
|
4564
4683
|
position: 'relative',
|
|
4565
|
-
padding:
|
|
4684
|
+
padding: `${theme?.spacing?.padding?.regular}px 0px ${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px`,
|
|
4566
4685
|
backgroundColor: theme?.palette?.background?.default,
|
|
4567
4686
|
'&, & *, & *:before, & *:after': {
|
|
4568
4687
|
fontFamily: theme?.typography?.fontFamily,
|
|
@@ -4590,12 +4709,11 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4590
4709
|
width: '100%'
|
|
4591
4710
|
},
|
|
4592
4711
|
content: {
|
|
4593
|
-
position: 'relative'
|
|
4594
|
-
margin: '0 70px'
|
|
4712
|
+
position: 'relative'
|
|
4595
4713
|
},
|
|
4596
4714
|
subTitleHeading: {
|
|
4597
4715
|
width: '100%',
|
|
4598
|
-
fontSize:
|
|
4716
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
4599
4717
|
color: theme?.palette?.font?.tertiary,
|
|
4600
4718
|
textAlign: 'left',
|
|
4601
4719
|
lineHeight: '20px',
|
|
@@ -4603,8 +4721,8 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4603
4721
|
wordBreak: 'break-word'
|
|
4604
4722
|
},
|
|
4605
4723
|
heading: {
|
|
4606
|
-
margin:
|
|
4607
|
-
fontSize:
|
|
4724
|
+
margin: `8px 0 ${theme.spacing.margin.tiny}px`,
|
|
4725
|
+
fontSize: theme.typography.fontSize.h2,
|
|
4608
4726
|
width: '100%',
|
|
4609
4727
|
lineHeight: '70px',
|
|
4610
4728
|
color: theme?.palette?.font?.default,
|
|
@@ -4626,16 +4744,16 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4626
4744
|
height: 'calc(100% - 12px)'
|
|
4627
4745
|
},
|
|
4628
4746
|
cardContent: {
|
|
4629
|
-
padding:
|
|
4747
|
+
padding: theme.spacing.padding.tiny,
|
|
4630
4748
|
height: '100%',
|
|
4631
4749
|
display: 'flex',
|
|
4632
4750
|
flexDirection: 'column'
|
|
4633
4751
|
},
|
|
4634
4752
|
cardHeading: {
|
|
4635
|
-
fontSize:
|
|
4753
|
+
fontSize: theme.typography.fontSize.h5,
|
|
4636
4754
|
lineHeight: '32px',
|
|
4637
4755
|
color: theme?.palette?.font?.default,
|
|
4638
|
-
margin:
|
|
4756
|
+
margin: `${theme.spacing.margin.tiny}px 0px`,
|
|
4639
4757
|
wordBreak: 'break-word'
|
|
4640
4758
|
},
|
|
4641
4759
|
imageContainer: {
|
|
@@ -4648,7 +4766,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4648
4766
|
background: theme?.palette?.background?.primary
|
|
4649
4767
|
},
|
|
4650
4768
|
cardPara: {
|
|
4651
|
-
fontSize:
|
|
4769
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
4652
4770
|
lineHeight: '24px',
|
|
4653
4771
|
color: theme?.palette?.font?.primary,
|
|
4654
4772
|
margin: '0',
|
|
@@ -4664,13 +4782,10 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4664
4782
|
'@media screen and (max-width: 767px)': {
|
|
4665
4783
|
heading: {
|
|
4666
4784
|
fontSize: '24px',
|
|
4667
|
-
margin:
|
|
4785
|
+
margin: `4px 0 ${theme.spacing.margin.tiny}px`,
|
|
4668
4786
|
lineHeight: '36px',
|
|
4669
4787
|
padding: '0'
|
|
4670
4788
|
},
|
|
4671
|
-
content: {
|
|
4672
|
-
margin: '0 20px'
|
|
4673
|
-
},
|
|
4674
4789
|
sliderContainer: {
|
|
4675
4790
|
marginLeft: '-6px',
|
|
4676
4791
|
marginRight: '-20px'
|
|
@@ -4685,12 +4800,6 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4685
4800
|
slidesToShow,
|
|
4686
4801
|
cardsCount
|
|
4687
4802
|
} = {}) => cardsCount > slidesToShow ? `6px 2px 6px 6px` : `6px 0 6px 0`
|
|
4688
|
-
},
|
|
4689
|
-
cardContent: {
|
|
4690
|
-
padding: '20px'
|
|
4691
|
-
},
|
|
4692
|
-
cardHeading: {
|
|
4693
|
-
margin: '14px 0'
|
|
4694
4803
|
}
|
|
4695
4804
|
}
|
|
4696
4805
|
}));
|
|
@@ -4787,67 +4896,60 @@ var index$d = /*#__PURE__*/Object.freeze({
|
|
|
4787
4896
|
|
|
4788
4897
|
const useSectionStyles$2 = createUseStyles(theme => ({
|
|
4789
4898
|
section: {
|
|
4790
|
-
padding:
|
|
4899
|
+
padding: ({
|
|
4900
|
+
isMobile
|
|
4901
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
4791
4902
|
backgroundColor: theme?.palette?.background?.default,
|
|
4792
4903
|
'&, & *, & *:before, & *:after': {
|
|
4793
4904
|
fontFamily: theme?.typography?.fontFamily,
|
|
4794
4905
|
boxSizing: 'border-box'
|
|
4795
|
-
},
|
|
4796
|
-
'& h2,& h3': {
|
|
4797
|
-
fontWeight: '500',
|
|
4798
|
-
'& b,& strong': {
|
|
4799
|
-
fontWeight: '700'
|
|
4800
|
-
}
|
|
4801
4906
|
}
|
|
4907
|
+
// '& h2,& h3': {
|
|
4908
|
+
// fontWeight: '500',
|
|
4909
|
+
// '& b,& strong': {
|
|
4910
|
+
// fontWeight: '700'
|
|
4911
|
+
// }
|
|
4912
|
+
// }
|
|
4802
4913
|
},
|
|
4914
|
+
|
|
4803
4915
|
sectionContainer: {
|
|
4804
|
-
margin: '0 auto',
|
|
4805
4916
|
maxWidth: ({
|
|
4806
4917
|
containerWidth
|
|
4807
4918
|
} = {}) => containerWidth
|
|
4808
4919
|
},
|
|
4809
4920
|
subHeading: {
|
|
4810
|
-
fontSize:
|
|
4921
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
4811
4922
|
marginBottom: '8px',
|
|
4812
4923
|
color: theme?.palette?.font?.tertiary,
|
|
4813
|
-
wordBreak: 'break-word'
|
|
4924
|
+
wordBreak: 'break-word',
|
|
4925
|
+
textTransform: 'uppercase',
|
|
4926
|
+
letterSpacing: '3px'
|
|
4814
4927
|
},
|
|
4815
4928
|
title: {
|
|
4816
|
-
fontSize:
|
|
4817
|
-
|
|
4929
|
+
fontSize: theme.typography.fontSize.h2,
|
|
4930
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
4931
|
+
lineHeight: 'normal',
|
|
4818
4932
|
margin: '0',
|
|
4819
4933
|
color: theme?.palette?.font?.default,
|
|
4820
|
-
wordBreak: 'break-word'
|
|
4934
|
+
wordBreak: 'break-word',
|
|
4935
|
+
marginBottom: theme.spacing.margin.tiny
|
|
4821
4936
|
},
|
|
4822
4937
|
textContent: {
|
|
4823
4938
|
display: 'grid',
|
|
4824
4939
|
gridTemplateColumns: '1fr 1fr',
|
|
4825
|
-
gap: '
|
|
4940
|
+
gap: '48px',
|
|
4941
|
+
padding: '48px 0px'
|
|
4826
4942
|
},
|
|
4827
4943
|
textPara: {
|
|
4828
|
-
margin: '20px 0 0 0',
|
|
4829
4944
|
lineHeight: '24px',
|
|
4830
4945
|
color: theme?.palette?.font?.primary,
|
|
4831
|
-
wordBreak: 'break-word'
|
|
4946
|
+
wordBreak: 'break-word',
|
|
4947
|
+
fontSize: theme.typography.fontSize.subHead
|
|
4832
4948
|
},
|
|
4833
4949
|
'@media screen and (max-width: 767px)': {
|
|
4834
|
-
section: {
|
|
4835
|
-
padding: '60px 20px'
|
|
4836
|
-
},
|
|
4837
|
-
subHeading: {
|
|
4838
|
-
fontSize: '16px',
|
|
4839
|
-
lineHeight: '20px',
|
|
4840
|
-
marginBottom: '4px'
|
|
4841
|
-
},
|
|
4842
|
-
title: {
|
|
4843
|
-
fontSize: '24px',
|
|
4844
|
-
lineHeight: '36px'
|
|
4845
|
-
},
|
|
4846
4950
|
textContent: {
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
textPara: {
|
|
4850
|
-
marginTop: '12px'
|
|
4951
|
+
gap: '16px',
|
|
4952
|
+
padding: '16px 0px'
|
|
4851
4953
|
}
|
|
4852
4954
|
}
|
|
4853
4955
|
}));
|
|
@@ -4858,10 +4960,12 @@ const TextSection = ({
|
|
|
4858
4960
|
const {
|
|
4859
4961
|
layout: {
|
|
4860
4962
|
containerWidth
|
|
4861
|
-
}
|
|
4963
|
+
},
|
|
4964
|
+
isMobile
|
|
4862
4965
|
} = React.useContext(PageContext);
|
|
4863
4966
|
const classes = useSectionStyles$2({
|
|
4864
|
-
containerWidth
|
|
4967
|
+
containerWidth,
|
|
4968
|
+
isMobile
|
|
4865
4969
|
});
|
|
4866
4970
|
const [nodeData] = sectionData.components;
|
|
4867
4971
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("section", {
|
|
@@ -4884,13 +4988,13 @@ const TextSection = ({
|
|
|
4884
4988
|
}
|
|
4885
4989
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4886
4990
|
className: classes.textContent
|
|
4887
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
4991
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4888
4992
|
ref: nodeData?.textLeft?.refSetter,
|
|
4889
4993
|
className: classes.textPara,
|
|
4890
4994
|
dangerouslySetInnerHTML: {
|
|
4891
4995
|
__html: nodeData.textLeft.metadata.value
|
|
4892
4996
|
}
|
|
4893
|
-
}), /*#__PURE__*/React__default["default"].createElement("
|
|
4997
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4894
4998
|
ref: nodeData?.textRight?.refSetter,
|
|
4895
4999
|
className: classes.textPara,
|
|
4896
5000
|
dangerouslySetInnerHTML: {
|
|
@@ -5065,64 +5169,73 @@ var index$b = /*#__PURE__*/Object.freeze({
|
|
|
5065
5169
|
const useFaqListStyles = createUseStyles(theme => ({
|
|
5066
5170
|
section: {
|
|
5067
5171
|
width: '100%',
|
|
5068
|
-
padding:
|
|
5172
|
+
padding: ({
|
|
5173
|
+
isMobile
|
|
5174
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
5069
5175
|
backgroundColor: theme?.palette?.background?.primary,
|
|
5070
5176
|
'&, & *, & *:before, & *:after': {
|
|
5071
5177
|
fontFamily: theme?.typography?.fontFamily,
|
|
5072
5178
|
boxSizing: 'border-box'
|
|
5073
|
-
},
|
|
5074
|
-
'& h2,& h3': {
|
|
5075
|
-
fontWeight: '500',
|
|
5076
|
-
'& b,& strong': {
|
|
5077
|
-
fontWeight: '700'
|
|
5078
|
-
}
|
|
5079
5179
|
}
|
|
5180
|
+
// '& h2,& h3': {
|
|
5181
|
+
// fontWeight: '500',
|
|
5182
|
+
// '& b,& strong': {
|
|
5183
|
+
// fontWeight: '700'
|
|
5184
|
+
// }
|
|
5185
|
+
// }
|
|
5080
5186
|
},
|
|
5187
|
+
|
|
5081
5188
|
sectionContainer: {
|
|
5082
|
-
margin: '0 auto',
|
|
5083
5189
|
maxWidth: ({
|
|
5084
5190
|
containerWidth
|
|
5085
5191
|
} = {}) => containerWidth
|
|
5086
5192
|
},
|
|
5087
5193
|
sectionSubheading: {
|
|
5088
5194
|
color: theme?.palette?.font.tertiary,
|
|
5089
|
-
fontSize:
|
|
5195
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
5090
5196
|
marginBottom: '8px',
|
|
5091
5197
|
wordBreak: 'break-word'
|
|
5092
5198
|
},
|
|
5093
5199
|
sectionHeading: {
|
|
5094
|
-
fontSize:
|
|
5095
|
-
|
|
5200
|
+
fontSize: theme.typography.fontSize.h2,
|
|
5201
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
5096
5202
|
wordBreak: 'break-word',
|
|
5097
|
-
|
|
5203
|
+
marginBottom: `${theme.spacing.margin.tiny}px`
|
|
5098
5204
|
},
|
|
5099
5205
|
container: {
|
|
5100
5206
|
boxShadow: theme?.shadows?.secondary,
|
|
5101
5207
|
borderRadius: '8px',
|
|
5102
|
-
backgroundColor: theme?.palette?.background?.default
|
|
5103
|
-
padding: '40px 60px 60px'
|
|
5208
|
+
backgroundColor: theme?.palette?.background?.default
|
|
5104
5209
|
},
|
|
5105
5210
|
basicCardContainer: {
|
|
5106
|
-
borderBottom: theme?.borders?.secondary
|
|
5211
|
+
borderBottom: theme?.borders?.secondary,
|
|
5212
|
+
padding: `${theme.spacing.padding.tiny}px`
|
|
5213
|
+
},
|
|
5214
|
+
innerContainer: {
|
|
5215
|
+
display: 'flex',
|
|
5216
|
+
flexDirection: 'column',
|
|
5217
|
+
gap: ({
|
|
5218
|
+
isSelected
|
|
5219
|
+
} = {}) => isSelected ? '16px' : '0'
|
|
5220
|
+
},
|
|
5221
|
+
arrowButton: {
|
|
5222
|
+
marginLeft: theme.spacing.margin.tiny
|
|
5107
5223
|
},
|
|
5108
5224
|
header: {
|
|
5109
5225
|
display: 'flex',
|
|
5110
5226
|
justifyContent: 'space-between',
|
|
5111
|
-
alignItems: 'center'
|
|
5112
|
-
padding: '20px 0'
|
|
5227
|
+
alignItems: 'center'
|
|
5113
5228
|
},
|
|
5114
5229
|
title: {
|
|
5115
5230
|
color: theme?.palette?.font.default,
|
|
5116
|
-
fontSize:
|
|
5231
|
+
fontSize: theme.typography.fontSize.h5,
|
|
5232
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
5117
5233
|
margin: '0',
|
|
5118
5234
|
wordBreak: 'break-word'
|
|
5119
5235
|
},
|
|
5120
5236
|
content: {
|
|
5121
|
-
margin: ({
|
|
5122
|
-
isSelected
|
|
5123
|
-
} = {}) => isSelected ? '0 0 20px 0' : '0',
|
|
5124
5237
|
color: theme?.palette?.font.primary,
|
|
5125
|
-
fontSize:
|
|
5238
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
5126
5239
|
lineHeight: '24px',
|
|
5127
5240
|
maxHeight: ({
|
|
5128
5241
|
isSelected
|
|
@@ -5131,28 +5244,12 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5131
5244
|
overflow: 'hidden'
|
|
5132
5245
|
},
|
|
5133
5246
|
'@media screen and (max-width: 767px)': {
|
|
5134
|
-
section: {
|
|
5135
|
-
padding: '60px 20px'
|
|
5136
|
-
},
|
|
5137
|
-
sectionHeading: {
|
|
5138
|
-
fontSize: '36px'
|
|
5139
|
-
},
|
|
5140
|
-
header: {
|
|
5141
|
-
padding: '20px 0'
|
|
5142
|
-
},
|
|
5143
|
-
title: {
|
|
5144
|
-
fontSize: '18px'
|
|
5145
|
-
},
|
|
5146
5247
|
content: {
|
|
5147
5248
|
lineHeight: '20px'
|
|
5148
5249
|
},
|
|
5149
|
-
container: {
|
|
5150
|
-
padding: '0 20px'
|
|
5151
|
-
},
|
|
5152
5250
|
basicCardContainer: {
|
|
5153
5251
|
'&:last-child': {
|
|
5154
|
-
borderBottom: 'none'
|
|
5155
|
-
paddingBottom: '1px'
|
|
5252
|
+
borderBottom: 'none'
|
|
5156
5253
|
}
|
|
5157
5254
|
}
|
|
5158
5255
|
}
|
|
@@ -5165,11 +5262,13 @@ const FAQListing = ({
|
|
|
5165
5262
|
const {
|
|
5166
5263
|
layout: {
|
|
5167
5264
|
containerWidth
|
|
5168
|
-
}
|
|
5265
|
+
},
|
|
5266
|
+
isMobile
|
|
5169
5267
|
} = React.useContext(PageContext);
|
|
5170
5268
|
const classes = useFaqListStyles({
|
|
5171
5269
|
selectedIndex,
|
|
5172
|
-
containerWidth
|
|
5270
|
+
containerWidth,
|
|
5271
|
+
isMobile
|
|
5173
5272
|
});
|
|
5174
5273
|
const [nodeData] = sectionData.components;
|
|
5175
5274
|
return /*#__PURE__*/React__default["default"].createElement("section", {
|
|
@@ -5183,7 +5282,7 @@ const FAQListing = ({
|
|
|
5183
5282
|
dangerouslySetInnerHTML: {
|
|
5184
5283
|
__html: nodeData.subheading.metadata.value
|
|
5185
5284
|
}
|
|
5186
|
-
})), /*#__PURE__*/React__default["default"].createElement("
|
|
5285
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5187
5286
|
className: classes.sectionHeading
|
|
5188
5287
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5189
5288
|
ref: nodeData?.title?.refSetter,
|
|
@@ -5212,7 +5311,8 @@ const Accordion = ({
|
|
|
5212
5311
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5213
5312
|
className: classes.basicCardContainer
|
|
5214
5313
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5215
|
-
onClick: onClick
|
|
5314
|
+
onClick: onClick,
|
|
5315
|
+
className: classes.innerContainer
|
|
5216
5316
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5217
5317
|
className: classes.header
|
|
5218
5318
|
}, /*#__PURE__*/React__default["default"].createElement("h3", {
|
|
@@ -5221,7 +5321,9 @@ const Accordion = ({
|
|
|
5221
5321
|
dangerouslySetInnerHTML: {
|
|
5222
5322
|
__html: item.question.metadata.value
|
|
5223
5323
|
}
|
|
5224
|
-
}), /*#__PURE__*/React__default["default"].createElement("div",
|
|
5324
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5325
|
+
className: classes.arrowButton
|
|
5326
|
+
}, /*#__PURE__*/React__default["default"].createElement(ArrowButton, {
|
|
5225
5327
|
down: isSelected,
|
|
5226
5328
|
up: !isSelected,
|
|
5227
5329
|
size: "small"
|
|
@@ -5241,19 +5343,22 @@ var index$a = /*#__PURE__*/Object.freeze({
|
|
|
5241
5343
|
|
|
5242
5344
|
const useTextGridStyles = createUseStyles(theme => ({
|
|
5243
5345
|
section: {
|
|
5244
|
-
padding:
|
|
5346
|
+
padding: ({
|
|
5347
|
+
isMobile
|
|
5348
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
5245
5349
|
backgroundColor: theme?.palette?.background?.primary,
|
|
5246
5350
|
'&, & *, & *:before, & *:after': {
|
|
5247
5351
|
fontFamily: theme?.typography?.fontFamily,
|
|
5248
5352
|
boxSizing: 'border-box'
|
|
5249
|
-
},
|
|
5250
|
-
'& h2,& h3': {
|
|
5251
|
-
fontWeight: '500',
|
|
5252
|
-
'& b,& strong': {
|
|
5253
|
-
fontWeight: '700'
|
|
5254
|
-
}
|
|
5255
5353
|
}
|
|
5354
|
+
// '& h2,& h3': {
|
|
5355
|
+
// fontWeight: '500',
|
|
5356
|
+
// '& b,& strong': {
|
|
5357
|
+
// fontWeight: '700'
|
|
5358
|
+
// }
|
|
5359
|
+
// }
|
|
5256
5360
|
},
|
|
5361
|
+
|
|
5257
5362
|
sectionContainer: {
|
|
5258
5363
|
margin: '0 auto',
|
|
5259
5364
|
maxWidth: ({
|
|
@@ -5262,24 +5367,27 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5262
5367
|
},
|
|
5263
5368
|
subheading: {
|
|
5264
5369
|
color: theme?.palette?.font.tertiary,
|
|
5265
|
-
fontSize:
|
|
5370
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
5266
5371
|
lineHeight: '20px',
|
|
5267
5372
|
letterSpacing: '3px',
|
|
5268
|
-
wordBreak: 'break-word'
|
|
5373
|
+
wordBreak: 'break-word',
|
|
5374
|
+
textTransform: 'uppercase',
|
|
5375
|
+
marginBottom: '8px'
|
|
5269
5376
|
},
|
|
5270
5377
|
heading: {
|
|
5271
|
-
fontSize:
|
|
5272
|
-
lineHeight: '
|
|
5378
|
+
fontSize: theme.typography.fontSize.h2,
|
|
5379
|
+
lineHeight: 'normal',
|
|
5380
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
5273
5381
|
letterSpacing: '-3px',
|
|
5274
|
-
|
|
5382
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
5275
5383
|
wordBreak: 'break-word'
|
|
5276
5384
|
},
|
|
5277
5385
|
sliderContainer: {
|
|
5278
5386
|
margin: '0 -10px'
|
|
5279
5387
|
},
|
|
5280
5388
|
node: {
|
|
5281
|
-
margin: '
|
|
5282
|
-
padding: '
|
|
5389
|
+
margin: '0 16px',
|
|
5390
|
+
padding: '48px',
|
|
5283
5391
|
position: 'relative',
|
|
5284
5392
|
height: 'calc(100% - 12px)',
|
|
5285
5393
|
background: theme?.palette?.background?.default,
|
|
@@ -5288,16 +5396,16 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5288
5396
|
},
|
|
5289
5397
|
nodeTitle: {
|
|
5290
5398
|
color: theme?.palette?.font.secondary,
|
|
5291
|
-
fontSize:
|
|
5292
|
-
|
|
5399
|
+
fontSize: theme.typography.fontSize.h3,
|
|
5400
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
5401
|
+
lineHeight: 'normal',
|
|
5293
5402
|
margin: '0 0 20px',
|
|
5294
5403
|
wordBreak: 'break-word'
|
|
5295
5404
|
},
|
|
5296
5405
|
nodePara: {
|
|
5297
5406
|
color: theme?.palette?.font.tertiary,
|
|
5298
|
-
fontSize:
|
|
5407
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
5299
5408
|
lineHeight: '24px',
|
|
5300
|
-
margin: '20px 0',
|
|
5301
5409
|
wordBreak: 'break-word'
|
|
5302
5410
|
},
|
|
5303
5411
|
contentRow: {
|
|
@@ -5307,27 +5415,21 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5307
5415
|
} = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
|
|
5308
5416
|
},
|
|
5309
5417
|
'@media screen and (max-width: 767px)': {
|
|
5310
|
-
section: {
|
|
5311
|
-
padding: '60px 20px'
|
|
5312
|
-
},
|
|
5313
|
-
heading: {
|
|
5314
|
-
fontSize: '24px',
|
|
5315
|
-
lineHeight: '36px',
|
|
5316
|
-
letterSpacing: '-1px',
|
|
5317
|
-
margin: '4px 0 6px'
|
|
5318
|
-
},
|
|
5319
5418
|
sliderContainer: {
|
|
5320
5419
|
margin: '0 -20px 0 -10px'
|
|
5321
5420
|
},
|
|
5322
5421
|
node: {
|
|
5323
|
-
padding: '
|
|
5422
|
+
padding: '16px',
|
|
5423
|
+
margin: '0 6px'
|
|
5324
5424
|
},
|
|
5325
5425
|
nodeTitle: {
|
|
5326
|
-
|
|
5327
|
-
lineHeight: '36px'
|
|
5426
|
+
marginBottom: '0px'
|
|
5328
5427
|
},
|
|
5329
5428
|
nodePara: {
|
|
5330
|
-
margin: '
|
|
5429
|
+
margin: '16px 0'
|
|
5430
|
+
},
|
|
5431
|
+
heading: {
|
|
5432
|
+
letterSpacing: '-1px'
|
|
5331
5433
|
}
|
|
5332
5434
|
}
|
|
5333
5435
|
}));
|
|
@@ -5347,7 +5449,8 @@ const TextGrid = ({
|
|
|
5347
5449
|
const classes = useTextGridStyles({
|
|
5348
5450
|
containerWidth,
|
|
5349
5451
|
cardsCount,
|
|
5350
|
-
slidesToShow
|
|
5452
|
+
slidesToShow,
|
|
5453
|
+
isMobile
|
|
5351
5454
|
});
|
|
5352
5455
|
const settings = {
|
|
5353
5456
|
className: classes.sliderContainer,
|
|
@@ -5364,7 +5467,7 @@ const TextGrid = ({
|
|
|
5364
5467
|
dangerouslySetInnerHTML: {
|
|
5365
5468
|
__html: item.contentHeading.metadata.value
|
|
5366
5469
|
}
|
|
5367
|
-
}), /*#__PURE__*/React__default["default"].createElement("
|
|
5470
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5368
5471
|
ref: item?.contentPara?.refSetter,
|
|
5369
5472
|
className: classes.nodePara,
|
|
5370
5473
|
dangerouslySetInnerHTML: {
|
|
@@ -5382,7 +5485,7 @@ const TextGrid = ({
|
|
|
5382
5485
|
dangerouslySetInnerHTML: {
|
|
5383
5486
|
__html: nodeData.subheading.metadata.value
|
|
5384
5487
|
}
|
|
5385
|
-
})), /*#__PURE__*/React__default["default"].createElement("
|
|
5488
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5386
5489
|
className: classes.heading
|
|
5387
5490
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5388
5491
|
ref: nodeData?.title?.refSetter,
|
|
@@ -5923,19 +6026,22 @@ var index$8 = /*#__PURE__*/Object.freeze({
|
|
|
5923
6026
|
const useTeamStyles = createUseStyles(theme => {
|
|
5924
6027
|
return {
|
|
5925
6028
|
teamSuperContainer: {
|
|
5926
|
-
padding:
|
|
6029
|
+
padding: ({
|
|
6030
|
+
isMobile
|
|
6031
|
+
} = {}) => 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`,
|
|
5927
6032
|
backgroundColor: theme?.palette?.background?.primary,
|
|
5928
6033
|
'&, & *, & *:before, & *:after': {
|
|
5929
6034
|
fontFamily: theme?.typography?.fontFamily,
|
|
5930
6035
|
boxSizing: 'border-box'
|
|
5931
|
-
},
|
|
5932
|
-
'& h2,& h3': {
|
|
5933
|
-
fontWeight: '500',
|
|
5934
|
-
'& b,& strong': {
|
|
5935
|
-
fontWeight: '700'
|
|
5936
|
-
}
|
|
5937
6036
|
}
|
|
6037
|
+
// '& h2,& h3': {
|
|
6038
|
+
// fontWeight: '500',
|
|
6039
|
+
// '& b,& strong': {
|
|
6040
|
+
// fontWeight: '700'
|
|
6041
|
+
// }
|
|
6042
|
+
// }
|
|
5938
6043
|
},
|
|
6044
|
+
|
|
5939
6045
|
sectionContainer: {
|
|
5940
6046
|
margin: '0 auto',
|
|
5941
6047
|
maxWidth: ({
|
|
@@ -5943,19 +6049,20 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
5943
6049
|
} = {}) => containerWidth
|
|
5944
6050
|
},
|
|
5945
6051
|
teamHeading: {
|
|
5946
|
-
fontSize:
|
|
6052
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
6053
|
+
textTransform: 'uppercase',
|
|
5947
6054
|
lineHeight: '20px',
|
|
5948
6055
|
letterSpacing: '3px',
|
|
5949
|
-
|
|
6056
|
+
marginBottom: '8px',
|
|
5950
6057
|
color: theme?.palette?.font?.primary,
|
|
5951
6058
|
wordBreak: 'break-word'
|
|
5952
6059
|
},
|
|
5953
6060
|
teamTitle: {
|
|
5954
|
-
fontSize:
|
|
6061
|
+
fontSize: theme.typography.fontSize.h2,
|
|
6062
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
5955
6063
|
lineHeight: '70px',
|
|
5956
6064
|
letterSpacing: '-3px',
|
|
5957
6065
|
wordBreak: 'break-word',
|
|
5958
|
-
margin: '0 ',
|
|
5959
6066
|
color: theme?.palette?.font?.default
|
|
5960
6067
|
},
|
|
5961
6068
|
sliderContainer: {
|
|
@@ -5970,10 +6077,11 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
5970
6077
|
singleSlideContainer: {
|
|
5971
6078
|
backgroundColor: theme?.palette?.background?.default,
|
|
5972
6079
|
margin: '20px',
|
|
5973
|
-
width: 'calc(100% -
|
|
5974
|
-
height: 'calc(100% - 40px)',
|
|
6080
|
+
width: 'calc(100% - 32px)',
|
|
6081
|
+
// height: 'calc(100% - 40px)',
|
|
6082
|
+
border: '3px solid #D8E0F0',
|
|
5975
6083
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
5976
|
-
padding:
|
|
6084
|
+
padding: theme.spacing.padding.tiny,
|
|
5977
6085
|
boxShadow: theme?.shadows?.primary
|
|
5978
6086
|
},
|
|
5979
6087
|
imageContainer: {
|
|
@@ -5998,32 +6106,28 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
5998
6106
|
overflowWrap: 'break-word'
|
|
5999
6107
|
},
|
|
6000
6108
|
teamDetailsHeading: {
|
|
6001
|
-
fontSize:
|
|
6109
|
+
fontSize: theme.typography.fontSize.h5,
|
|
6110
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
6002
6111
|
lineHeight: '32px',
|
|
6003
6112
|
margin: '0',
|
|
6004
6113
|
color: theme?.palette?.font?.default
|
|
6005
6114
|
},
|
|
6006
6115
|
teamDetailsSubHeading: {
|
|
6007
|
-
fontSize:
|
|
6116
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
6008
6117
|
lineHeight: '24px',
|
|
6009
6118
|
margin: '12px 0 0',
|
|
6010
6119
|
color: theme?.palette?.font?.primary
|
|
6011
6120
|
},
|
|
6012
6121
|
'@media (max-width: 767px)': {
|
|
6013
|
-
teamSuperContainer: {
|
|
6014
|
-
|
|
6015
|
-
},
|
|
6122
|
+
// teamSuperContainer: {
|
|
6123
|
+
// padding: '60px 20px'
|
|
6124
|
+
// },
|
|
6016
6125
|
teamHeading: {
|
|
6017
|
-
|
|
6018
|
-
lineHeight: '20px',
|
|
6019
|
-
letterSpacing: '3px',
|
|
6020
|
-
margin: '0'
|
|
6126
|
+
lineHeight: '20px'
|
|
6021
6127
|
},
|
|
6022
6128
|
teamTitle: {
|
|
6023
|
-
fontSize: '24px',
|
|
6024
6129
|
lineHeight: '36px',
|
|
6025
|
-
letterSpacing: '-1px'
|
|
6026
|
-
margin: '0'
|
|
6130
|
+
letterSpacing: '-1px'
|
|
6027
6131
|
},
|
|
6028
6132
|
sliderContainer: {
|
|
6029
6133
|
margin: '0 -4px'
|
|
@@ -6033,18 +6137,17 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6033
6137
|
margin: '12px 4px'
|
|
6034
6138
|
},
|
|
6035
6139
|
teamDetailsContainer: {
|
|
6036
|
-
textAlign: 'center'
|
|
6037
|
-
margin: '15px 0 0',
|
|
6038
|
-
paddingBottom: '0'
|
|
6140
|
+
textAlign: 'center'
|
|
6141
|
+
// margin: '15px 0 0',
|
|
6142
|
+
// paddingBottom: '0'
|
|
6039
6143
|
},
|
|
6144
|
+
|
|
6040
6145
|
teamDetailsHeading: {
|
|
6041
|
-
fontSize: '16px',
|
|
6042
6146
|
lineHeight: '24px',
|
|
6043
6147
|
margin: '0',
|
|
6044
6148
|
color: theme?.palette?.font?.default
|
|
6045
6149
|
},
|
|
6046
6150
|
teamDetailsSubHeading: {
|
|
6047
|
-
fontSize: '16px',
|
|
6048
6151
|
color: theme?.palette?.font?.primary
|
|
6049
6152
|
}
|
|
6050
6153
|
}
|
|
@@ -6099,7 +6202,8 @@ function TeamCard({
|
|
|
6099
6202
|
const classes = useTeamStyles({
|
|
6100
6203
|
containerWidth,
|
|
6101
6204
|
cardsCount,
|
|
6102
|
-
slidesToShow
|
|
6205
|
+
slidesToShow,
|
|
6206
|
+
isMobile
|
|
6103
6207
|
});
|
|
6104
6208
|
const settings = {
|
|
6105
6209
|
className: classes.sliderContainer,
|
|
@@ -6127,7 +6231,7 @@ function TeamCard({
|
|
|
6127
6231
|
dangerouslySetInnerHTML: {
|
|
6128
6232
|
__html: teamData.teamHeading.metadata.value
|
|
6129
6233
|
}
|
|
6130
|
-
})), /*#__PURE__*/React__default["default"].createElement("
|
|
6234
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6131
6235
|
className: classes.teamTitle
|
|
6132
6236
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
6133
6237
|
ref: teamData?.teamTitle?.refSetter,
|
|
@@ -6156,17 +6260,21 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6156
6260
|
flexDirection: 'column',
|
|
6157
6261
|
alignItems: 'center',
|
|
6158
6262
|
backgroundColor: theme?.palette?.background?.default,
|
|
6263
|
+
padding: ({
|
|
6264
|
+
isMobile
|
|
6265
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
6159
6266
|
'&, & *, & *:before, & *:after': {
|
|
6160
6267
|
fontFamily: theme?.typography?.fontFamily,
|
|
6161
6268
|
boxSizing: 'border-box'
|
|
6162
|
-
},
|
|
6163
|
-
'& h2,& h3': {
|
|
6164
|
-
fontWeight: '500',
|
|
6165
|
-
'& b,& strong': {
|
|
6166
|
-
fontWeight: '700'
|
|
6167
|
-
}
|
|
6168
6269
|
}
|
|
6270
|
+
// '& h2,& h3': {
|
|
6271
|
+
// fontWeight: '500',
|
|
6272
|
+
// '& b,& strong': {
|
|
6273
|
+
// fontWeight: '700'
|
|
6274
|
+
// }
|
|
6275
|
+
// }
|
|
6169
6276
|
},
|
|
6277
|
+
|
|
6170
6278
|
formContainer: {
|
|
6171
6279
|
margin: '0 auto',
|
|
6172
6280
|
maxWidth: ({
|
|
@@ -6185,14 +6293,14 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6185
6293
|
backgroundColor: theme?.palette?.background?.default,
|
|
6186
6294
|
boxShadow: theme?.shadows?.secondary,
|
|
6187
6295
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6188
|
-
|
|
6189
|
-
padding: '40px 80px',
|
|
6296
|
+
padding: '48px',
|
|
6190
6297
|
position: 'relative'
|
|
6191
6298
|
},
|
|
6192
6299
|
title: {
|
|
6193
6300
|
margin: '0',
|
|
6194
|
-
fontSize:
|
|
6301
|
+
fontSize: theme.typography.fontSize.h2,
|
|
6195
6302
|
color: theme?.palette?.font?.secondary,
|
|
6303
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
6196
6304
|
lineHeight: '71px',
|
|
6197
6305
|
letterSpacing: '-3px',
|
|
6198
6306
|
textAlign: 'left',
|
|
@@ -6200,16 +6308,19 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6200
6308
|
},
|
|
6201
6309
|
contentContainer: {
|
|
6202
6310
|
width: '100%',
|
|
6203
|
-
display: 'flex'
|
|
6204
|
-
alignItems: 'flex-start',
|
|
6205
|
-
marginTop: '32px'
|
|
6311
|
+
display: 'flex'
|
|
6312
|
+
// alignItems: 'flex-start',
|
|
6206
6313
|
},
|
|
6314
|
+
|
|
6207
6315
|
leftContainer: {
|
|
6208
|
-
width: '65%'
|
|
6316
|
+
width: '65%',
|
|
6317
|
+
display: 'flex',
|
|
6318
|
+
flexDirection: 'column',
|
|
6319
|
+
justifyContent: 'space-between'
|
|
6209
6320
|
},
|
|
6210
6321
|
subtitle: {
|
|
6211
|
-
margin: '0 0 40px 0',
|
|
6212
|
-
fontSize:
|
|
6322
|
+
// margin: '0 0 40px 0',
|
|
6323
|
+
fontSize: theme.typography.fontSize.h6,
|
|
6213
6324
|
color: theme?.palette?.font?.primary,
|
|
6214
6325
|
lineHeight: '32px',
|
|
6215
6326
|
wordBreak: 'break-word'
|
|
@@ -6231,13 +6342,16 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6231
6342
|
padding: '4px 8px 0 0'
|
|
6232
6343
|
},
|
|
6233
6344
|
addressText: {
|
|
6234
|
-
fontSize:
|
|
6345
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
6235
6346
|
color: theme?.palette?.font?.default,
|
|
6236
6347
|
lineHeight: '24px'
|
|
6237
6348
|
},
|
|
6238
6349
|
rightContainer: {
|
|
6239
6350
|
width: '50%',
|
|
6240
|
-
padding: '0 0 0 80px'
|
|
6351
|
+
padding: '0 0 0 80px',
|
|
6352
|
+
display: 'flex',
|
|
6353
|
+
flexDirection: 'column',
|
|
6354
|
+
justifyContent: 'space-between'
|
|
6241
6355
|
},
|
|
6242
6356
|
inputDiv: {
|
|
6243
6357
|
margin: '0 0 20px 0',
|
|
@@ -6251,8 +6365,8 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6251
6365
|
alignItems: 'center'
|
|
6252
6366
|
},
|
|
6253
6367
|
sectionContainer: {
|
|
6254
|
-
margin: '26px 16px',
|
|
6255
|
-
padding: '
|
|
6368
|
+
// margin: '26px 16px',
|
|
6369
|
+
padding: '16px'
|
|
6256
6370
|
},
|
|
6257
6371
|
partialBackground: {
|
|
6258
6372
|
height: '150px'
|
|
@@ -6262,26 +6376,32 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6262
6376
|
marginTop: '8px'
|
|
6263
6377
|
},
|
|
6264
6378
|
leftContainer: {
|
|
6265
|
-
width: '100%'
|
|
6266
|
-
padding: '0 16ox'
|
|
6379
|
+
width: '100%'
|
|
6380
|
+
// padding: '0 16ox'
|
|
6267
6381
|
},
|
|
6382
|
+
|
|
6268
6383
|
rightContainer: {
|
|
6269
6384
|
width: '100%',
|
|
6270
6385
|
padding: '0'
|
|
6271
6386
|
},
|
|
6272
6387
|
title: {
|
|
6273
|
-
fontSize: '24px',
|
|
6388
|
+
// fontSize: '24px',
|
|
6274
6389
|
lineHeight: '32px',
|
|
6275
|
-
letterSpacing: 'initial'
|
|
6390
|
+
letterSpacing: 'initial',
|
|
6391
|
+
margin: '0 0 16px 0',
|
|
6392
|
+
textAlign: 'center'
|
|
6276
6393
|
},
|
|
6277
6394
|
subtitle: {
|
|
6278
|
-
margin: '0 0
|
|
6395
|
+
margin: '0 0 16px 0',
|
|
6396
|
+
lineHeight: '26px',
|
|
6397
|
+
textAlign: 'center'
|
|
6279
6398
|
},
|
|
6280
6399
|
inputDiv: {
|
|
6281
|
-
margin: '0 0
|
|
6400
|
+
margin: '0 0 16px 0'
|
|
6282
6401
|
},
|
|
6283
6402
|
addressRow: {
|
|
6284
|
-
padding: '
|
|
6403
|
+
padding: '0px',
|
|
6404
|
+
margin: '0 0 16px 0'
|
|
6285
6405
|
}
|
|
6286
6406
|
}
|
|
6287
6407
|
}));
|
|
@@ -6300,7 +6420,8 @@ function FormEnquiry({
|
|
|
6300
6420
|
isEdit
|
|
6301
6421
|
} = React.useContext(PageContext);
|
|
6302
6422
|
const classes = useSectionStyles$1({
|
|
6303
|
-
containerWidth
|
|
6423
|
+
containerWidth,
|
|
6424
|
+
isMobile
|
|
6304
6425
|
});
|
|
6305
6426
|
const [nodeData] = sectionData.components;
|
|
6306
6427
|
const theme = useTheme();
|
|
@@ -6359,6 +6480,10 @@ function FormEnquiry({
|
|
|
6359
6480
|
className: classes.partialBackground
|
|
6360
6481
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6361
6482
|
className: classes.sectionContainer
|
|
6483
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6484
|
+
className: classes.contentContainer
|
|
6485
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6486
|
+
className: classes.leftContainer
|
|
6362
6487
|
}, /*#__PURE__*/React__default["default"].createElement("h2", {
|
|
6363
6488
|
className: classes.title
|
|
6364
6489
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
@@ -6367,10 +6492,6 @@ function FormEnquiry({
|
|
|
6367
6492
|
__html: nodeData?.title?.metadata?.value
|
|
6368
6493
|
}
|
|
6369
6494
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6370
|
-
className: classes.contentContainer
|
|
6371
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6372
|
-
className: classes.leftContainer
|
|
6373
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6374
6495
|
ref: nodeData?.subtitle?.refSetter,
|
|
6375
6496
|
className: classes.subtitle,
|
|
6376
6497
|
dangerouslySetInnerHTML: {
|
|
@@ -6510,7 +6631,7 @@ function FormEnquiry({
|
|
|
6510
6631
|
messageValid: 1
|
|
6511
6632
|
});
|
|
6512
6633
|
}
|
|
6513
|
-
})), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
6634
|
+
})), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
6514
6635
|
ref: nodeData?.cta?.refSetter,
|
|
6515
6636
|
data: btnDisabled && validData?.messageValid && validData?.emailValid && validData?.nameValid && validData?.phoneValid ? {
|
|
6516
6637
|
value: 'Submitted'
|
|
@@ -6521,7 +6642,7 @@ function FormEnquiry({
|
|
|
6521
6642
|
type: nodeData?.cta?.metadata?.type,
|
|
6522
6643
|
size: isMobile ? 'small' : 'medium',
|
|
6523
6644
|
disabled: btnDisabled
|
|
6524
|
-
}))))));
|
|
6645
|
+
})))))));
|
|
6525
6646
|
}
|
|
6526
6647
|
|
|
6527
6648
|
var index$6 = /*#__PURE__*/Object.freeze({
|
|
@@ -6537,20 +6658,24 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6537
6658
|
justifyContent: 'center',
|
|
6538
6659
|
flexDirection: 'column',
|
|
6539
6660
|
alignItems: 'center',
|
|
6661
|
+
padding: ({
|
|
6662
|
+
isMobile
|
|
6663
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
6540
6664
|
backgroundColor: theme?.palette?.background?.default,
|
|
6541
6665
|
'&, & *, & *:before, & *:after': {
|
|
6542
6666
|
fontFamily: theme?.typography?.fontFamily,
|
|
6543
6667
|
boxSizing: 'border-box'
|
|
6544
|
-
},
|
|
6545
|
-
'& h2,& h3': {
|
|
6546
|
-
fontWeight: '500',
|
|
6547
|
-
'& b,& strong': {
|
|
6548
|
-
fontWeight: '700'
|
|
6549
|
-
}
|
|
6550
6668
|
}
|
|
6669
|
+
// '& h2,& h3': {
|
|
6670
|
+
// fontWeight: '500',
|
|
6671
|
+
// '& b,& strong': {
|
|
6672
|
+
// fontWeight: '700'
|
|
6673
|
+
// }
|
|
6674
|
+
// }
|
|
6551
6675
|
},
|
|
6676
|
+
|
|
6552
6677
|
contactContainer: {
|
|
6553
|
-
width: '
|
|
6678
|
+
width: '100%',
|
|
6554
6679
|
margin: '0 auto',
|
|
6555
6680
|
maxWidth: ({
|
|
6556
6681
|
containerWidth
|
|
@@ -6568,13 +6693,12 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6568
6693
|
backgroundColor: theme?.palette?.background?.default,
|
|
6569
6694
|
boxShadow: theme?.shadows?.secondary,
|
|
6570
6695
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6571
|
-
|
|
6572
|
-
padding: '40px 80px',
|
|
6696
|
+
padding: '48px',
|
|
6573
6697
|
position: 'relative'
|
|
6574
6698
|
},
|
|
6575
6699
|
title: {
|
|
6576
6700
|
margin: '0',
|
|
6577
|
-
fontSize:
|
|
6701
|
+
fontSize: theme.typography.fontSize.h2,
|
|
6578
6702
|
color: theme?.palette?.font?.secondary,
|
|
6579
6703
|
lineHeight: '71px',
|
|
6580
6704
|
letterSpacing: '-3px',
|
|
@@ -6584,36 +6708,37 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6584
6708
|
contentContainer: {
|
|
6585
6709
|
width: '100%',
|
|
6586
6710
|
display: 'flex',
|
|
6587
|
-
|
|
6588
|
-
marginTop: '32px',
|
|
6711
|
+
justifyContent: 'space-between',
|
|
6589
6712
|
wordBreak: 'break-word'
|
|
6590
6713
|
},
|
|
6591
6714
|
leftContainer: {
|
|
6592
|
-
width: '50%'
|
|
6715
|
+
width: '50%',
|
|
6716
|
+
display: 'flex',
|
|
6717
|
+
flexDirection: 'column',
|
|
6718
|
+
justifyContent: 'space-between'
|
|
6593
6719
|
},
|
|
6594
6720
|
subtitle: {
|
|
6595
|
-
margin: '0 0
|
|
6596
|
-
fontSize:
|
|
6721
|
+
margin: '0 0 auto 0',
|
|
6722
|
+
fontSize: theme.typography.fontSize.h6,
|
|
6597
6723
|
color: theme?.palette?.font?.primary,
|
|
6598
|
-
lineHeight: '32px'
|
|
6724
|
+
lineHeight: '32px',
|
|
6725
|
+
margin: '20px 0px'
|
|
6599
6726
|
},
|
|
6600
6727
|
addressContainer: {
|
|
6601
6728
|
display: 'flex',
|
|
6602
6729
|
alignItems: 'flex-start',
|
|
6603
6730
|
flexDirection: 'column',
|
|
6604
|
-
width: '
|
|
6605
|
-
position: 'relative'
|
|
6606
|
-
paddingBottom: '55%'
|
|
6607
|
-
// '& img': {
|
|
6608
|
-
// width: '80%'
|
|
6609
|
-
// }
|
|
6731
|
+
width: '100%',
|
|
6732
|
+
position: 'relative'
|
|
6610
6733
|
},
|
|
6611
|
-
|
|
6612
6734
|
telephoneImage: {
|
|
6613
6735
|
width: '80%'
|
|
6614
6736
|
},
|
|
6615
6737
|
rightContainer: {
|
|
6616
6738
|
width: '50%',
|
|
6739
|
+
display: 'flex',
|
|
6740
|
+
flexDirection: 'column',
|
|
6741
|
+
justifyContent: 'space-between',
|
|
6617
6742
|
padding: '0 0 0 80px'
|
|
6618
6743
|
},
|
|
6619
6744
|
inputDiv: {
|
|
@@ -6627,16 +6752,16 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6627
6752
|
background: theme?.palette?.background?.default,
|
|
6628
6753
|
border: `1px solid ${theme?.palette?.border?.secondary}`,
|
|
6629
6754
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6630
|
-
padding: '14px 12px',
|
|
6755
|
+
// padding: '14px 12px',
|
|
6631
6756
|
display: 'flex',
|
|
6632
6757
|
fontWeight: '400',
|
|
6633
|
-
fontSize:
|
|
6758
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
6634
6759
|
lineHeight: '20px',
|
|
6635
6760
|
fontFamily: 'inherit',
|
|
6636
6761
|
resize: 'none',
|
|
6637
6762
|
'&::placeholder': {
|
|
6638
6763
|
fontWeight: '400',
|
|
6639
|
-
fontSize:
|
|
6764
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
6640
6765
|
lineHeight: '20px',
|
|
6641
6766
|
color: theme?.palette?.font?.primary,
|
|
6642
6767
|
fontFamily: theme?.typography?.fontFamily
|
|
@@ -6666,8 +6791,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6666
6791
|
alignItems: 'center'
|
|
6667
6792
|
},
|
|
6668
6793
|
sectionContainer: {
|
|
6669
|
-
|
|
6670
|
-
padding: '32px 16px'
|
|
6794
|
+
padding: '16px'
|
|
6671
6795
|
},
|
|
6672
6796
|
partialBackground: {
|
|
6673
6797
|
height: '150px'
|
|
@@ -6685,15 +6809,17 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6685
6809
|
padding: '0'
|
|
6686
6810
|
},
|
|
6687
6811
|
title: {
|
|
6688
|
-
|
|
6689
|
-
|
|
6690
|
-
|
|
6812
|
+
lineHeight: '26px',
|
|
6813
|
+
letterSpacing: 'initial',
|
|
6814
|
+
textAlign: 'center'
|
|
6691
6815
|
},
|
|
6692
6816
|
subtitle: {
|
|
6693
|
-
margin: '0 0 12px 0'
|
|
6817
|
+
margin: '0 0 12px 0',
|
|
6818
|
+
textAlign: 'center',
|
|
6819
|
+
lineHeight: '26px'
|
|
6694
6820
|
},
|
|
6695
6821
|
addressRow: {
|
|
6696
|
-
padding: '12px 0'
|
|
6822
|
+
// padding: '12px 0'
|
|
6697
6823
|
},
|
|
6698
6824
|
addressContainer: {
|
|
6699
6825
|
'& img': {
|
|
@@ -6701,7 +6827,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6701
6827
|
}
|
|
6702
6828
|
},
|
|
6703
6829
|
inputDiv: {
|
|
6704
|
-
margin: '0 0 10px 0'
|
|
6830
|
+
// margin: '0 0 10px 0'
|
|
6705
6831
|
},
|
|
6706
6832
|
inputField: {
|
|
6707
6833
|
width: '100%',
|
|
@@ -6733,7 +6859,8 @@ function Contact({
|
|
|
6733
6859
|
let [btnDisabled, setBtnDisabled] = React.useState(false);
|
|
6734
6860
|
const [nodeData] = sectionData.components;
|
|
6735
6861
|
const classes = useSectionStyles({
|
|
6736
|
-
containerWidth
|
|
6862
|
+
containerWidth,
|
|
6863
|
+
isMobile
|
|
6737
6864
|
});
|
|
6738
6865
|
let formInitialValue = {
|
|
6739
6866
|
name: nodeData?.nameField?.metadata?.value,
|
|
@@ -6789,6 +6916,10 @@ function Contact({
|
|
|
6789
6916
|
className: classes.partialBackground
|
|
6790
6917
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6791
6918
|
className: classes.sectionContainer
|
|
6919
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6920
|
+
className: classes.contentContainer
|
|
6921
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6922
|
+
className: classes.leftContainer
|
|
6792
6923
|
}, /*#__PURE__*/React__default["default"].createElement("h2", {
|
|
6793
6924
|
className: classes.title
|
|
6794
6925
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
@@ -6797,10 +6928,6 @@ function Contact({
|
|
|
6797
6928
|
__html: nodeData?.title?.metadata?.value
|
|
6798
6929
|
}
|
|
6799
6930
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6800
|
-
className: classes.contentContainer
|
|
6801
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6802
|
-
className: classes.leftContainer
|
|
6803
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6804
6931
|
ref: nodeData?.subtitle?.refSetter,
|
|
6805
6932
|
className: classes.subtitle,
|
|
6806
6933
|
dangerouslySetInnerHTML: {
|
|
@@ -6903,7 +7030,9 @@ function Contact({
|
|
|
6903
7030
|
messageValid: 1
|
|
6904
7031
|
});
|
|
6905
7032
|
}
|
|
6906
|
-
})), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React__default["default"].createElement(
|
|
7033
|
+
})), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7034
|
+
className: classes.btnContainer
|
|
7035
|
+
}, /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
6907
7036
|
ref: nodeData?.cta?.refSetter,
|
|
6908
7037
|
data: btnDisabled && validData?.messageValid && validData?.emailValid && validData?.nameValid && validData?.phoneValid ? {
|
|
6909
7038
|
value: 'Submitted'
|
|
@@ -6915,7 +7044,7 @@ function Contact({
|
|
|
6915
7044
|
size: isMobile ? 'small' : 'medium',
|
|
6916
7045
|
disabled: btnDisabled,
|
|
6917
7046
|
name: "button"
|
|
6918
|
-
}))))));
|
|
7047
|
+
})))))));
|
|
6919
7048
|
}
|
|
6920
7049
|
|
|
6921
7050
|
var index$5 = /*#__PURE__*/Object.freeze({
|
|
@@ -7886,7 +8015,9 @@ var index$3 = /*#__PURE__*/Object.freeze({
|
|
|
7886
8015
|
|
|
7887
8016
|
const useFormPageStyles = createUseStyles(theme => ({
|
|
7888
8017
|
formPageSection: {
|
|
7889
|
-
padding:
|
|
8018
|
+
padding: ({
|
|
8019
|
+
isMobile
|
|
8020
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
7890
8021
|
background: '#F4F9FF',
|
|
7891
8022
|
'&, & *, & *:before, & *:after': {
|
|
7892
8023
|
fontFamily: theme?.typography?.fontFamily,
|
|
@@ -7897,77 +8028,82 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
7897
8028
|
textAlign: 'center'
|
|
7898
8029
|
},
|
|
7899
8030
|
formPageTitle: {
|
|
7900
|
-
fontSize:
|
|
7901
|
-
fontWeight:
|
|
8031
|
+
fontSize: theme.typography.fontSize.h2,
|
|
8032
|
+
fontWeight: theme.typography.fontWeight.bold
|
|
7902
8033
|
},
|
|
7903
8034
|
formPageSubtitle: {
|
|
7904
|
-
marginTop: '
|
|
7905
|
-
fontSize:
|
|
8035
|
+
marginTop: '8px',
|
|
8036
|
+
fontSize: theme.typography.fontSize.h6,
|
|
7906
8037
|
lineHeight: '23px',
|
|
7907
8038
|
color: 'rgba(51, 51, 51, 0.5)',
|
|
7908
|
-
marginBottom:
|
|
8039
|
+
marginBottom: theme.spacing.margin.tiny
|
|
7909
8040
|
},
|
|
7910
8041
|
formPageFormContainer: {
|
|
7911
|
-
marginTop: '32px',
|
|
7912
8042
|
'& form': {
|
|
7913
|
-
padding: '
|
|
8043
|
+
padding: '72px',
|
|
7914
8044
|
background: '#FFFFFF',
|
|
7915
8045
|
borderRadius: '8px',
|
|
7916
8046
|
boxShadow: '0px 4px 10px rgba(0, 0, 0, 0.16)'
|
|
7917
8047
|
}
|
|
7918
8048
|
},
|
|
7919
8049
|
inputField: {
|
|
7920
|
-
marginTop: '
|
|
7921
|
-
padding: '
|
|
7922
|
-
border: '1px solid #D8E0F0',
|
|
7923
|
-
borderRadius: '16px'
|
|
8050
|
+
marginTop: '12px'
|
|
8051
|
+
// padding: '12px 16px',
|
|
8052
|
+
// border: '1px solid #D8E0F0',
|
|
8053
|
+
// borderRadius: '16px'
|
|
7924
8054
|
},
|
|
8055
|
+
|
|
7925
8056
|
inputFieldLabel: {
|
|
7926
8057
|
color: '#333',
|
|
7927
|
-
fontSize:
|
|
8058
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8059
|
+
fontWeight: theme.typography.fontWeight.semiBold,
|
|
7928
8060
|
display: 'block',
|
|
7929
|
-
|
|
8061
|
+
marginTop: '20px',
|
|
8062
|
+
marginBottom: '12px'
|
|
7930
8063
|
},
|
|
7931
8064
|
inputFieldControl: {
|
|
7932
8065
|
width: '100%',
|
|
7933
|
-
height: '50px',
|
|
7934
8066
|
borderRadius: '8px',
|
|
7935
8067
|
border: '1px solid #D8E0F0',
|
|
7936
|
-
padding: '
|
|
8068
|
+
padding: '12px 16px',
|
|
7937
8069
|
color: '#7D8592',
|
|
7938
|
-
fontSize:
|
|
8070
|
+
fontSize: theme.typography.fontSize.subHead
|
|
7939
8071
|
},
|
|
7940
8072
|
checkboxField: {
|
|
7941
|
-
|
|
7942
|
-
|
|
7943
|
-
|
|
7944
|
-
borderRadius: '8px'
|
|
8073
|
+
// padding: '20px',
|
|
8074
|
+
// border: '1px solid #D8E0F0',
|
|
8075
|
+
// borderRadius: '8px'
|
|
7945
8076
|
},
|
|
7946
8077
|
checkBoxFieldLabel: {
|
|
7947
8078
|
color: '#333',
|
|
7948
|
-
fontSize:
|
|
7949
|
-
|
|
8079
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8080
|
+
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8081
|
+
marginTop: '20px',
|
|
8082
|
+
marginBottom: '12px'
|
|
7950
8083
|
},
|
|
7951
8084
|
inputFieldRequired: {
|
|
7952
8085
|
color: '#F41828'
|
|
7953
8086
|
},
|
|
7954
8087
|
checkboxFieldControl: {
|
|
7955
|
-
padding: '
|
|
8088
|
+
padding: '8px 0',
|
|
7956
8089
|
'& label': {
|
|
7957
|
-
|
|
8090
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7958
8091
|
marginLeft: '10px',
|
|
7959
8092
|
color: '#7D8592'
|
|
7960
8093
|
}
|
|
7961
8094
|
},
|
|
7962
8095
|
submitBtnContainer: {
|
|
7963
|
-
marginTop:
|
|
8096
|
+
marginTop: theme.spacing.margin.tiny,
|
|
8097
|
+
display: 'flex',
|
|
8098
|
+
alignItems: 'center',
|
|
8099
|
+
justifyContent: 'center',
|
|
7964
8100
|
width: '100%',
|
|
7965
8101
|
margin: '0 auto',
|
|
7966
8102
|
'& button': {
|
|
7967
|
-
height: '44px',
|
|
7968
|
-
padding: '
|
|
8103
|
+
// height: '44px',
|
|
8104
|
+
padding: '16px 24px',
|
|
7969
8105
|
color: '#FFFFFF',
|
|
7970
|
-
fontSize:
|
|
8106
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7971
8107
|
cursor: 'pointer',
|
|
7972
8108
|
borderRadius: '8px'
|
|
7973
8109
|
}
|
|
@@ -7982,8 +8118,14 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
7982
8118
|
},
|
|
7983
8119
|
formPageFormContainer: {
|
|
7984
8120
|
'& form': {
|
|
7985
|
-
padding: '
|
|
8121
|
+
padding: '16px'
|
|
7986
8122
|
}
|
|
8123
|
+
},
|
|
8124
|
+
inputFieldLabel: {
|
|
8125
|
+
marginBottom: '8px'
|
|
8126
|
+
},
|
|
8127
|
+
checkBoxFieldLabel: {
|
|
8128
|
+
marginBottom: '8px'
|
|
7987
8129
|
}
|
|
7988
8130
|
}
|
|
7989
8131
|
}));
|
|
@@ -8030,13 +8172,16 @@ const FormPage = ({
|
|
|
8030
8172
|
extraProps = {}
|
|
8031
8173
|
}) => {
|
|
8032
8174
|
const [formData, setFormData] = React.useState({});
|
|
8033
|
-
const classes = useFormPageStyles();
|
|
8034
8175
|
const [formSubmitted, setformSubmitted] = React.useState(false);
|
|
8035
8176
|
const metadata = sectionData?.components?.[0]?.metadata || formPageMock;
|
|
8036
8177
|
const {
|
|
8037
8178
|
_id,
|
|
8038
|
-
baseURLs
|
|
8179
|
+
baseURLs,
|
|
8180
|
+
isMobile
|
|
8039
8181
|
} = React.useContext(PageContext);
|
|
8182
|
+
const classes = useFormPageStyles({
|
|
8183
|
+
isMobile
|
|
8184
|
+
});
|
|
8040
8185
|
const handleSubmit = async e => {
|
|
8041
8186
|
e.preventDefault();
|
|
8042
8187
|
let formResponse = [];
|
|
@@ -8243,16 +8388,18 @@ const useTilesStyles = createUseStyles(theme => {
|
|
|
8243
8388
|
alignItems: 'center',
|
|
8244
8389
|
display: 'flex',
|
|
8245
8390
|
flexDirection: 'column',
|
|
8246
|
-
|
|
8391
|
+
padding: ({
|
|
8392
|
+
isMobile
|
|
8393
|
+
} = {}) => isMobile ? `16px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`
|
|
8247
8394
|
},
|
|
8248
8395
|
tileDiv: {
|
|
8249
8396
|
width: '236px',
|
|
8250
|
-
height: '160px',
|
|
8397
|
+
// height: '160px',
|
|
8398
|
+
aspectRatio: '3/2',
|
|
8251
8399
|
position: 'relative',
|
|
8252
8400
|
borderRadius: '16px',
|
|
8253
8401
|
overflow: 'hidden',
|
|
8254
|
-
cursor: 'pointer'
|
|
8255
|
-
margin: '1rem'
|
|
8402
|
+
cursor: 'pointer'
|
|
8256
8403
|
},
|
|
8257
8404
|
tileImg: {
|
|
8258
8405
|
objectFit: 'cover',
|
|
@@ -8267,8 +8414,8 @@ const useTilesStyles = createUseStyles(theme => {
|
|
|
8267
8414
|
top: '12%',
|
|
8268
8415
|
left: '7%',
|
|
8269
8416
|
color: 'white',
|
|
8270
|
-
fontWeight:
|
|
8271
|
-
fontSize:
|
|
8417
|
+
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8418
|
+
fontSize: theme.typography.fontSize.h5,
|
|
8272
8419
|
width: '150px'
|
|
8273
8420
|
},
|
|
8274
8421
|
row: {
|
|
@@ -8276,25 +8423,28 @@ const useTilesStyles = createUseStyles(theme => {
|
|
|
8276
8423
|
flexDirection: 'row',
|
|
8277
8424
|
justifyContent: 'center',
|
|
8278
8425
|
flexWrap: 'wrap',
|
|
8279
|
-
width: '
|
|
8280
|
-
|
|
8426
|
+
width: '100%',
|
|
8427
|
+
gap: '24px'
|
|
8281
8428
|
},
|
|
8282
8429
|
header: {
|
|
8283
|
-
fontWeight:
|
|
8284
|
-
fontSize:
|
|
8430
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
8431
|
+
fontSize: theme.typography.fontSize.h2,
|
|
8285
8432
|
lineHeight: '46px',
|
|
8286
|
-
marginBottom: '1rem',
|
|
8287
8433
|
textAlign: 'center',
|
|
8288
|
-
marginTop: '3rem',
|
|
8289
8434
|
color: '#2D2D2D'
|
|
8290
8435
|
},
|
|
8291
8436
|
headerTitle: {
|
|
8292
|
-
fontWeight:
|
|
8293
|
-
fontSize:
|
|
8437
|
+
fontWeight: theme.typography.fontWeight.regular,
|
|
8438
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8294
8439
|
lineHeight: '46px',
|
|
8295
8440
|
color: '#7D8592',
|
|
8296
|
-
marginBottom:
|
|
8441
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
8297
8442
|
textAlign: 'center'
|
|
8443
|
+
},
|
|
8444
|
+
'@media screen and (max-width: 767px)': {
|
|
8445
|
+
tileDiv: {
|
|
8446
|
+
width: 'calc(53% - 24px)'
|
|
8447
|
+
}
|
|
8298
8448
|
}
|
|
8299
8449
|
};
|
|
8300
8450
|
});
|
|
@@ -8303,7 +8453,6 @@ function Tiles({
|
|
|
8303
8453
|
sectionData,
|
|
8304
8454
|
sectionIndex
|
|
8305
8455
|
}) {
|
|
8306
|
-
const classes = useTilesStyles({});
|
|
8307
8456
|
const {
|
|
8308
8457
|
isMobile,
|
|
8309
8458
|
layout: {
|
|
@@ -8312,6 +8461,9 @@ function Tiles({
|
|
|
8312
8461
|
isPreview,
|
|
8313
8462
|
isEdit
|
|
8314
8463
|
} = React.useContext(PageContext);
|
|
8464
|
+
const classes = useTilesStyles({
|
|
8465
|
+
isMobile
|
|
8466
|
+
});
|
|
8315
8467
|
const nodeData = sectionData.components;
|
|
8316
8468
|
const tilesList = nodeData[0]?.tilesList.components;
|
|
8317
8469
|
const handleClick = value => {
|