diy-template-components 0.2.75 → 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 +1146 -1453
- package/build/index.es.js.map +1 -1
- package/build/index.js +1146 -1453
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -338,118 +338,117 @@ const colorMixer = (hex1, weightage = 1, hex2 = colors.white) => {
|
|
|
338
338
|
};
|
|
339
339
|
};
|
|
340
340
|
|
|
341
|
-
const buttonStyles = createUseStyles(theme => {
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
341
|
+
const buttonStyles = createUseStyles(theme => ({
|
|
342
|
+
primary: {
|
|
343
|
+
width: ({
|
|
344
|
+
fluid
|
|
345
|
+
} = {}) => fluid ? '100%' : '',
|
|
346
|
+
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
347
|
+
fontWeight: '700',
|
|
348
|
+
fontSize: '14px',
|
|
349
|
+
lineHeight: '18px',
|
|
350
|
+
textAlign: 'center',
|
|
351
|
+
color: ({
|
|
352
|
+
disabled
|
|
353
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
|
|
354
|
+
background: ({
|
|
355
|
+
disabled
|
|
356
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.palette?.primary?.main,
|
|
357
|
+
border: ({
|
|
358
|
+
disabled
|
|
359
|
+
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme.palette.primary.main}`,
|
|
360
|
+
textDecoration: 'none',
|
|
361
|
+
cursor: ({
|
|
362
|
+
disabled
|
|
363
|
+
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
364
|
+
maxWidth: '100%',
|
|
365
|
+
display: 'inline-block',
|
|
366
|
+
wordBreak: 'break-word',
|
|
367
|
+
flexShrink: '0'
|
|
368
|
+
},
|
|
369
|
+
secondary: {
|
|
370
|
+
width: ({
|
|
371
|
+
fluid
|
|
372
|
+
} = {}) => fluid ? '100%' : '',
|
|
373
|
+
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
374
|
+
fontSize: '14px',
|
|
375
|
+
fontWeight: '700',
|
|
376
|
+
display: 'inline-block',
|
|
377
|
+
textDecoration: 'none',
|
|
378
|
+
lineHeight: '18px',
|
|
379
|
+
color: ({
|
|
380
|
+
disabled
|
|
381
|
+
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
|
|
382
|
+
background: ({
|
|
383
|
+
disabled
|
|
384
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
|
|
385
|
+
border: ({
|
|
386
|
+
disabled
|
|
387
|
+
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme.palette.primary.main}`,
|
|
388
|
+
cursor: ({
|
|
389
|
+
disabled
|
|
390
|
+
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
391
|
+
maxWidth: '100%',
|
|
392
|
+
display: 'inline-block',
|
|
393
|
+
wordBreak: 'break-word',
|
|
394
|
+
flexShrink: '0'
|
|
395
|
+
},
|
|
396
|
+
tertiary: {
|
|
397
|
+
width: ({
|
|
398
|
+
fluid
|
|
399
|
+
} = {}) => fluid ? '100%' : '',
|
|
400
|
+
fontWeight: '400',
|
|
401
|
+
fontSize: '16px',
|
|
402
|
+
lineHeight: '20px',
|
|
403
|
+
display: 'flex',
|
|
404
|
+
alignItems: 'center',
|
|
405
|
+
border: 'none',
|
|
406
|
+
color: ({
|
|
407
|
+
disabled
|
|
408
|
+
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
|
|
409
|
+
background: ({
|
|
410
|
+
disabled
|
|
411
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
|
|
412
|
+
cursor: ({
|
|
413
|
+
disabled
|
|
414
|
+
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
415
|
+
maxWidth: '100%',
|
|
416
|
+
display: 'inline-block',
|
|
417
|
+
wordBreak: 'break-word',
|
|
418
|
+
flexShrink: '0',
|
|
419
|
+
'&:hover': {
|
|
420
|
+
background: theme.palette.primary.lightest,
|
|
421
|
+
borderRadius: '4px'
|
|
368
422
|
},
|
|
369
|
-
|
|
370
|
-
width: ({
|
|
371
|
-
fluid
|
|
372
|
-
} = {}) => fluid ? '100%' : '',
|
|
373
|
-
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
374
|
-
fontSize: '14px',
|
|
423
|
+
'&$active': {
|
|
375
424
|
fontWeight: '700',
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
color: ({
|
|
380
|
-
disabled
|
|
381
|
-
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme?.themeColors?.CtaTextColor,
|
|
382
|
-
background: ({
|
|
383
|
-
disabled
|
|
384
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.isGradient ? theme?.themeGradient?.ctaColor : theme?.themeColors?.ctaColor,
|
|
385
|
-
border: ({
|
|
386
|
-
disabled
|
|
387
|
-
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.themeColors?.ctaColor}`,
|
|
388
|
-
cursor: ({
|
|
389
|
-
disabled
|
|
390
|
-
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
391
|
-
maxWidth: '100%',
|
|
392
|
-
display: 'inline-block',
|
|
393
|
-
wordBreak: 'break-word',
|
|
394
|
-
flexShrink: '0'
|
|
395
|
-
},
|
|
396
|
-
tertiary: {
|
|
397
|
-
width: ({
|
|
398
|
-
fluid
|
|
399
|
-
} = {}) => fluid ? '100%' : '',
|
|
400
|
-
fontWeight: '400',
|
|
401
|
-
fontSize: '16px',
|
|
402
|
-
lineHeight: '20px',
|
|
403
|
-
display: 'flex',
|
|
404
|
-
alignItems: 'center',
|
|
405
|
-
border: 'none',
|
|
406
|
-
color: ({
|
|
407
|
-
disabled
|
|
408
|
-
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
|
|
409
|
-
background: ({
|
|
410
|
-
disabled
|
|
411
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
|
|
412
|
-
cursor: ({
|
|
413
|
-
disabled
|
|
414
|
-
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
415
|
-
maxWidth: '100%',
|
|
416
|
-
display: 'inline-block',
|
|
417
|
-
wordBreak: 'break-word',
|
|
418
|
-
flexShrink: '0',
|
|
419
|
-
'&:hover': {
|
|
420
|
-
background: theme.palette.primary.lightest,
|
|
421
|
-
borderRadius: '4px'
|
|
422
|
-
},
|
|
423
|
-
'&$active': {
|
|
424
|
-
fontWeight: '700',
|
|
425
|
-
background: theme.palette.primary.lightest,
|
|
426
|
-
borderRadius: theme.shape.borderRadius.small,
|
|
427
|
-
color: theme.palette.primary.main
|
|
428
|
-
}
|
|
429
|
-
},
|
|
430
|
-
anchorClass: {
|
|
431
|
-
textDecoration: 'none'
|
|
432
|
-
},
|
|
433
|
-
active: {},
|
|
434
|
-
large: {
|
|
435
|
-
padding: '20px 24px'
|
|
436
|
-
},
|
|
437
|
-
medium: {
|
|
438
|
-
padding: '16px 24px'
|
|
439
|
-
},
|
|
440
|
-
small: {
|
|
441
|
-
padding: '12px 16px'
|
|
442
|
-
},
|
|
443
|
-
'@media screen and (max-width: 767px)': {
|
|
444
|
-
active: {
|
|
445
|
-
fontWeight: 'initial',
|
|
446
|
-
background: theme?.palette?.background?.default,
|
|
447
|
-
borderRadius: '0',
|
|
448
|
-
color: theme.palette.primary.main
|
|
449
|
-
}
|
|
425
|
+
background: theme.palette.primary.lightest,
|
|
426
|
+
borderRadius: theme.shape.borderRadius.small,
|
|
427
|
+
color: theme.palette.primary.main
|
|
450
428
|
}
|
|
451
|
-
}
|
|
452
|
-
|
|
429
|
+
},
|
|
430
|
+
anchorClass: {
|
|
431
|
+
textDecoration: 'none'
|
|
432
|
+
},
|
|
433
|
+
active: {},
|
|
434
|
+
large: {
|
|
435
|
+
padding: '20px 24px'
|
|
436
|
+
},
|
|
437
|
+
medium: {
|
|
438
|
+
padding: '16px 24px'
|
|
439
|
+
},
|
|
440
|
+
small: {
|
|
441
|
+
padding: '12px 16px'
|
|
442
|
+
},
|
|
443
|
+
'@media screen and (max-width: 767px)': {
|
|
444
|
+
active: {
|
|
445
|
+
fontWeight: 'initial',
|
|
446
|
+
background: theme?.palette?.background?.default,
|
|
447
|
+
borderRadius: '0',
|
|
448
|
+
color: theme.palette.primary.main
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
}));
|
|
453
452
|
|
|
454
453
|
function useLinkBuilder(data) {
|
|
455
454
|
const {
|
|
@@ -580,7 +579,7 @@ var menu = "data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20v
|
|
|
580
579
|
|
|
581
580
|
var clpLogo = "478367302082f28d.svg";
|
|
582
581
|
|
|
583
|
-
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";
|
|
584
583
|
|
|
585
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";
|
|
586
585
|
|
|
@@ -1913,99 +1912,20 @@ const palettes = {
|
|
|
1913
1912
|
rust: rustPalette
|
|
1914
1913
|
};
|
|
1915
1914
|
|
|
1916
|
-
|
|
1917
|
-
const mobileMargin = {
|
|
1918
|
-
tiny: baseFactor * 2,
|
|
1919
|
-
small: baseFactor * 2,
|
|
1920
|
-
regular: baseFactor * 3,
|
|
1921
|
-
medium: baseFactor * 6
|
|
1922
|
-
};
|
|
1923
|
-
const margin = {
|
|
1924
|
-
tiny: baseFactor * 4,
|
|
1925
|
-
small: baseFactor * 4 * 2,
|
|
1926
|
-
regular: baseFactor * 4 * 4,
|
|
1927
|
-
medium: baseFactor * 4 * 6,
|
|
1928
|
-
large: baseFactor * 4 * 8,
|
|
1929
|
-
xLarge: baseFactor * 4 * 12
|
|
1930
|
-
};
|
|
1931
|
-
const mobilePadding = {
|
|
1932
|
-
tiny: baseFactor * 2,
|
|
1933
|
-
// 16px
|
|
1934
|
-
small: baseFactor * 2,
|
|
1935
|
-
//16px
|
|
1936
|
-
regular: baseFactor * 3,
|
|
1937
|
-
// 24px
|
|
1938
|
-
medium: baseFactor * 6 // 48px
|
|
1939
|
-
};
|
|
1940
|
-
|
|
1941
|
-
const padding = {
|
|
1942
|
-
minute: baseFactor * 2,
|
|
1943
|
-
// 16px
|
|
1944
|
-
tiny: baseFactor * 4,
|
|
1945
|
-
// 32px
|
|
1946
|
-
small: baseFactor * 4 * 2,
|
|
1947
|
-
// 64px
|
|
1948
|
-
xSmall: baseFactor * 3 * 3,
|
|
1949
|
-
// 72px
|
|
1950
|
-
regular: baseFactor * 4 * 3,
|
|
1951
|
-
// 96 px
|
|
1952
|
-
medium: baseFactor * 4 * 4,
|
|
1953
|
-
// 128 px
|
|
1954
|
-
large: baseFactor * 4 * 5,
|
|
1955
|
-
// 160px
|
|
1956
|
-
xLarge: baseFactor * 4 * 6 // 192px
|
|
1957
|
-
};
|
|
1958
|
-
|
|
1959
|
-
const fontSize = {
|
|
1960
|
-
h1: 72,
|
|
1961
|
-
h2: 56,
|
|
1962
|
-
h3: 40,
|
|
1963
|
-
h4: 32,
|
|
1964
|
-
h5: 24,
|
|
1965
|
-
h6: 20,
|
|
1966
|
-
subHead: 16,
|
|
1967
|
-
body: 14
|
|
1968
|
-
};
|
|
1969
|
-
const fontSizeMob = {
|
|
1970
|
-
h1: 40,
|
|
1971
|
-
h2: 20,
|
|
1972
|
-
h3: 32,
|
|
1973
|
-
h4: 16,
|
|
1974
|
-
h5: 16,
|
|
1975
|
-
h6: 14,
|
|
1976
|
-
subHead: 14,
|
|
1977
|
-
body: 14
|
|
1978
|
-
};
|
|
1979
|
-
const fontWeight = {
|
|
1980
|
-
light: 300,
|
|
1981
|
-
regular: 400,
|
|
1982
|
-
medium: 500,
|
|
1983
|
-
semiBold: 600,
|
|
1984
|
-
bold: 700,
|
|
1985
|
-
superBold: 900
|
|
1986
|
-
};
|
|
1987
|
-
|
|
1988
|
-
function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
|
|
1915
|
+
function getTheme(colorTheme = 'blue', fontFamily = 'Arial') {
|
|
1989
1916
|
const palette = palettes[colorTheme] || palettes['blue'];
|
|
1990
1917
|
const typography = {
|
|
1991
|
-
fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"
|
|
1992
|
-
fontSize: isMobile ? fontSizeMob : fontSize,
|
|
1993
|
-
fontWeight
|
|
1918
|
+
fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`
|
|
1994
1919
|
};
|
|
1995
1920
|
const shape = {
|
|
1996
1921
|
borderRadius
|
|
1997
1922
|
};
|
|
1998
|
-
const spacing = {
|
|
1999
|
-
padding: isMobile ? mobilePadding : padding,
|
|
2000
|
-
margin: isMobile ? mobileMargin : margin
|
|
2001
|
-
};
|
|
2002
1923
|
return {
|
|
2003
1924
|
palette,
|
|
2004
1925
|
shape,
|
|
2005
1926
|
typography,
|
|
2006
1927
|
shadows: generateShadows(palette),
|
|
2007
|
-
borders: generateBorders(palette)
|
|
2008
|
-
spacing
|
|
1928
|
+
borders: generateBorders(palette)
|
|
2009
1929
|
};
|
|
2010
1930
|
}
|
|
2011
1931
|
|
|
@@ -2206,137 +2126,20 @@ function PageRenderer$1({
|
|
|
2206
2126
|
}))));
|
|
2207
2127
|
}
|
|
2208
2128
|
|
|
2209
|
-
const GRADIENT = `linear-gradient`;
|
|
2210
|
-
const solidBaseColors = {
|
|
2211
|
-
white: '#FFFFFF',
|
|
2212
|
-
blue: '#1676F3',
|
|
2213
|
-
tertiaryblue: '#F4F9FF',
|
|
2214
|
-
orange: '#FF9000',
|
|
2215
|
-
tertiaryorange: '#FFF6EA',
|
|
2216
|
-
pink: '#F72585',
|
|
2217
|
-
tertiarypink: '#FEE9F3',
|
|
2218
|
-
green: '#8ECE19',
|
|
2219
|
-
tertiarygreen: '#F4FAEB',
|
|
2220
|
-
violet: '#6269C9',
|
|
2221
|
-
tertiaryviolet: '#F4F6FF',
|
|
2222
|
-
red: '#F41828',
|
|
2223
|
-
tertiaryred: '#FFF2F3',
|
|
2224
|
-
maroon: '#9B2226',
|
|
2225
|
-
tertiarymaroon: '#FFF0F0',
|
|
2226
|
-
blue2: '#00ADE7',
|
|
2227
|
-
tertiaryblue2: '#F2FCFF'
|
|
2228
|
-
};
|
|
2229
|
-
const gradientColors = {
|
|
2230
|
-
white: '#FFFFFF',
|
|
2231
|
-
black: '#000000',
|
|
2232
|
-
// Blue gradient
|
|
2233
|
-
|
|
2234
|
-
blue: '#1676F3',
|
|
2235
|
-
bluegradient: `${GRADIENT}(#5418D1,#2C88FF)`,
|
|
2236
|
-
tertiaryblue: '#F4F9FF',
|
|
2237
|
-
// Orange gradient
|
|
2238
|
-
|
|
2239
|
-
orange: '#FF9000',
|
|
2240
|
-
orangegradient: `${GRADIENT}(#E96263 , #EAAE4C)`,
|
|
2241
|
-
tertiaryorange: '#FFF6EA',
|
|
2242
|
-
// Pink gradient
|
|
2243
|
-
|
|
2244
|
-
pink: '#F72585',
|
|
2245
|
-
pinkgradient: `${GRADIENT}(#F97794,#623AA2)`,
|
|
2246
|
-
tertiarypink: '#FEE9F3',
|
|
2247
|
-
// Violet gradient
|
|
2248
|
-
|
|
2249
|
-
violet: '#6026A8',
|
|
2250
|
-
violetgradient: `${GRADIENT}(#B66EC0 , #460FA1)`,
|
|
2251
|
-
tertiaryviolet: '#F5F2FA',
|
|
2252
|
-
// Green gradient
|
|
2253
|
-
|
|
2254
|
-
green: '#46A9A9',
|
|
2255
|
-
greengradient: `${GRADIENT}(#0E5CAD, #79F1A4)`,
|
|
2256
|
-
tertiarygreen: '#F4FAFA'
|
|
2257
|
-
};
|
|
2258
|
-
|
|
2259
|
-
// temporary , will move this
|
|
2260
|
-
|
|
2261
|
-
let fontFamily = 'Arial';
|
|
2262
|
-
const typography = {
|
|
2263
|
-
fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
|
|
2264
|
-
fontSize: fontSize,
|
|
2265
|
-
fontWeight
|
|
2266
|
-
};
|
|
2267
|
-
const spacing = {
|
|
2268
|
-
padding: padding,
|
|
2269
|
-
margin: margin
|
|
2270
|
-
};
|
|
2271
|
-
|
|
2272
|
-
// till here
|
|
2273
|
-
|
|
2274
|
-
const generateTheme = (theme, isGradient) => {
|
|
2275
|
-
console.log('isGradient', isGradient);
|
|
2276
|
-
const themeColors = {
|
|
2277
|
-
font1: solidBaseColors?.black,
|
|
2278
|
-
font2: solidBaseColors?.black,
|
|
2279
|
-
font3: solidBaseColors?.black,
|
|
2280
|
-
font4: solidBaseColors?.black,
|
|
2281
|
-
AccentColor: solidBaseColors[theme],
|
|
2282
|
-
background1: solidBaseColors?.white,
|
|
2283
|
-
background2: solidBaseColors['tertiary' + theme],
|
|
2284
|
-
background3: solidBaseColors['tertiary' + theme],
|
|
2285
|
-
ctaColor: solidBaseColors[theme],
|
|
2286
|
-
CtaTextColor: solidBaseColors?.white,
|
|
2287
|
-
icon: solidBaseColors[theme],
|
|
2288
|
-
iconBg: solidBaseColors['tertiary' + theme],
|
|
2289
|
-
stripBg: solidBaseColors[theme],
|
|
2290
|
-
stripText: solidBaseColors?.white,
|
|
2291
|
-
inputBorderColor: solidBaseColors?.blue2,
|
|
2292
|
-
tertiaryBlue2: solidBaseColors?.tertiaryblue2
|
|
2293
|
-
};
|
|
2294
|
-
const themeGradient = {
|
|
2295
|
-
font1: gradientColors?.white,
|
|
2296
|
-
font2: gradientColors?.black,
|
|
2297
|
-
font3: gradientColors?.black,
|
|
2298
|
-
font4: gradientColors?.white,
|
|
2299
|
-
AccentColor: gradientColors[theme],
|
|
2300
|
-
background1: gradientColors[theme + 'gradient'],
|
|
2301
|
-
background2: gradientColors['tertiary' + theme],
|
|
2302
|
-
background3: gradientColors[theme + 'gradient'],
|
|
2303
|
-
ctaColor: gradientColors[theme + 'gradient'],
|
|
2304
|
-
CtaTextColor: gradientColors?.white,
|
|
2305
|
-
icon: gradientColors[theme],
|
|
2306
|
-
iconBg: gradientColors['tertiary' + theme],
|
|
2307
|
-
stripBg: gradientColors?.black,
|
|
2308
|
-
stripText: gradientColors?.white
|
|
2309
|
-
};
|
|
2310
|
-
return {
|
|
2311
|
-
...getTheme(theme),
|
|
2312
|
-
themeColors,
|
|
2313
|
-
typography,
|
|
2314
|
-
spacing,
|
|
2315
|
-
isGradient,
|
|
2316
|
-
themeGradient
|
|
2317
|
-
};
|
|
2318
|
-
};
|
|
2319
|
-
|
|
2320
2129
|
const useSectionStyles$8 = createUseStyles(theme => ({
|
|
2321
2130
|
bannerCarouselRightSection: {
|
|
2322
2131
|
position: 'relative',
|
|
2323
|
-
background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
|
|
2324
|
-
padding: ({
|
|
2325
|
-
isMobile
|
|
2326
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
2327
|
-
backgroundColor: generateTheme('blue')?.background2,
|
|
2328
2132
|
'&, & *, & *:before, & *:after': {
|
|
2329
2133
|
fontFamily: theme?.typography?.fontFamily,
|
|
2330
2134
|
boxSizing: 'border-box'
|
|
2135
|
+
},
|
|
2136
|
+
'& h2,& h3': {
|
|
2137
|
+
fontWeight: '500',
|
|
2138
|
+
'& b,& strong': {
|
|
2139
|
+
fontWeight: '700'
|
|
2140
|
+
}
|
|
2331
2141
|
}
|
|
2332
|
-
// '& h2,& h3': {
|
|
2333
|
-
// fontWeight: '500',
|
|
2334
|
-
// '& b,& strong': {
|
|
2335
|
-
// fontWeight: '700'
|
|
2336
|
-
// }
|
|
2337
|
-
// }
|
|
2338
2142
|
},
|
|
2339
|
-
|
|
2340
2143
|
sectionContainer: {
|
|
2341
2144
|
margin: '0 auto',
|
|
2342
2145
|
maxWidth: ({
|
|
@@ -2349,19 +2152,24 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2349
2152
|
justifyContent: 'center',
|
|
2350
2153
|
position: 'relative'
|
|
2351
2154
|
},
|
|
2155
|
+
partialBackground: {
|
|
2156
|
+
width: '61%',
|
|
2157
|
+
position: 'absolute',
|
|
2158
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
2159
|
+
height: '100%',
|
|
2160
|
+
top: '0',
|
|
2161
|
+
left: '0'
|
|
2162
|
+
},
|
|
2352
2163
|
contentContainer: {
|
|
2353
2164
|
position: 'relative',
|
|
2354
2165
|
width: '100%',
|
|
2355
2166
|
zIndex: '1',
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
flexDirection: 'row',
|
|
2360
|
-
alignItems: 'center',
|
|
2361
|
-
maxWidth: '100%',
|
|
2362
|
-
gap: '72px'
|
|
2167
|
+
display: 'grid',
|
|
2168
|
+
gridTemplateColumns: 'repeat(2,minmax(0, 1fr))',
|
|
2169
|
+
maxWidth: '100%'
|
|
2363
2170
|
},
|
|
2364
2171
|
textContainer: {
|
|
2172
|
+
padding: '140px 18%',
|
|
2365
2173
|
textAlign: 'left',
|
|
2366
2174
|
margin: '0 auto',
|
|
2367
2175
|
maxWidth: '100%'
|
|
@@ -2369,28 +2177,23 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2369
2177
|
imageContainer: {
|
|
2370
2178
|
width: '100%',
|
|
2371
2179
|
position: 'relative',
|
|
2372
|
-
height: '
|
|
2373
|
-
display: 'flex',
|
|
2374
|
-
justifyContent: 'center',
|
|
2375
|
-
alignItems: 'center',
|
|
2376
|
-
borderRadius: '8px',
|
|
2377
|
-
overflow: 'hidden'
|
|
2180
|
+
height: '90%'
|
|
2378
2181
|
},
|
|
2379
2182
|
subTitleHeading: {
|
|
2380
2183
|
marginBottom: '8px',
|
|
2381
|
-
fontSize:
|
|
2184
|
+
fontSize: '16px',
|
|
2382
2185
|
color: theme?.palette?.font?.tertiary,
|
|
2383
2186
|
wordBreak: 'break-word',
|
|
2384
2187
|
maxWidth: '100%'
|
|
2385
2188
|
},
|
|
2386
2189
|
heading: {
|
|
2387
2190
|
margin: '0',
|
|
2388
|
-
fontSize:
|
|
2191
|
+
fontSize: '72px',
|
|
2389
2192
|
color: theme?.palette?.font?.default,
|
|
2390
2193
|
wordBreak: 'break-word'
|
|
2391
2194
|
},
|
|
2392
2195
|
description: {
|
|
2393
|
-
margin:
|
|
2196
|
+
margin: '40px 0',
|
|
2394
2197
|
color: theme?.palette?.font?.primary,
|
|
2395
2198
|
lineHeight: '24px',
|
|
2396
2199
|
wordBreak: 'break-word'
|
|
@@ -2405,24 +2208,30 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2405
2208
|
display: 'flex',
|
|
2406
2209
|
gap: '20px',
|
|
2407
2210
|
justifyContent: 'center',
|
|
2408
|
-
|
|
2211
|
+
bottom: '25px',
|
|
2212
|
+
position: 'absolute',
|
|
2409
2213
|
width: '100%'
|
|
2410
2214
|
},
|
|
2411
|
-
partialBackground: {
|
|
2412
|
-
display: 'none'
|
|
2413
|
-
},
|
|
2414
2215
|
'@media screen and (max-width: 767px)': {
|
|
2415
2216
|
partialBackground: {
|
|
2416
2217
|
display: 'none'
|
|
2417
2218
|
},
|
|
2219
|
+
sectionContainer: {
|
|
2220
|
+
paddingBottom: '50px'
|
|
2221
|
+
},
|
|
2418
2222
|
contentContainer: {
|
|
2419
2223
|
display: 'flex',
|
|
2420
|
-
flexFlow: 'column',
|
|
2421
|
-
paddingBottom: '
|
|
2422
|
-
gap: '24px'
|
|
2224
|
+
flexFlow: 'column-reverse',
|
|
2225
|
+
paddingBottom: '20px'
|
|
2423
2226
|
},
|
|
2424
2227
|
textContainer: {
|
|
2425
|
-
|
|
2228
|
+
padding: '20px 20px 0'
|
|
2229
|
+
},
|
|
2230
|
+
heading: {
|
|
2231
|
+
fontSize: '40px'
|
|
2232
|
+
},
|
|
2233
|
+
description: {
|
|
2234
|
+
margin: '16px 0'
|
|
2426
2235
|
},
|
|
2427
2236
|
linkButton: {
|
|
2428
2237
|
padding: '12px 16px'
|
|
@@ -2455,7 +2264,7 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2455
2264
|
'& .slick-dots': {
|
|
2456
2265
|
bottom: ({
|
|
2457
2266
|
buttonContainerClass
|
|
2458
|
-
} = {}) => !!buttonContainerClass ? '
|
|
2267
|
+
} = {}) => !!buttonContainerClass ? '20px' : 'unset',
|
|
2459
2268
|
position: ({
|
|
2460
2269
|
buttonContainerClass
|
|
2461
2270
|
} = {}) => !!buttonContainerClass ? 'absolute' : 'inherit',
|
|
@@ -2465,7 +2274,7 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2465
2274
|
textAlign: 'center',
|
|
2466
2275
|
paddingBottom: '0',
|
|
2467
2276
|
'& ul': {
|
|
2468
|
-
margin:
|
|
2277
|
+
margin: '0',
|
|
2469
2278
|
padding: '0',
|
|
2470
2279
|
'& li': {
|
|
2471
2280
|
width: 'unset',
|
|
@@ -2489,7 +2298,7 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2489
2298
|
display: 'flex',
|
|
2490
2299
|
gap: '20px',
|
|
2491
2300
|
justifyContent: 'center',
|
|
2492
|
-
marginTop:
|
|
2301
|
+
marginTop: '40px'
|
|
2493
2302
|
},
|
|
2494
2303
|
dots: {
|
|
2495
2304
|
width: '4px',
|
|
@@ -2506,15 +2315,6 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2506
2315
|
background: ({
|
|
2507
2316
|
inverted
|
|
2508
2317
|
} = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.palette.primary.main
|
|
2509
|
-
},
|
|
2510
|
-
'@media screen and (max-width: 767px)': {
|
|
2511
|
-
sliderClass: {
|
|
2512
|
-
'& .slick-dots': {
|
|
2513
|
-
'& ul': {
|
|
2514
|
-
margin: '0px'
|
|
2515
|
-
}
|
|
2516
|
-
}
|
|
2517
|
-
}
|
|
2518
2318
|
}
|
|
2519
2319
|
}));
|
|
2520
2320
|
|
|
@@ -2541,7 +2341,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
|
|
|
2541
2341
|
height: sizeHandler,
|
|
2542
2342
|
border: ({
|
|
2543
2343
|
inverted
|
|
2544
|
-
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2344
|
+
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.light}`,
|
|
2545
2345
|
borderRadius: '50%',
|
|
2546
2346
|
display: 'flex',
|
|
2547
2347
|
justifyContent: 'center',
|
|
@@ -2563,7 +2363,7 @@ function ArrowButton(props) {
|
|
|
2563
2363
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
2564
2364
|
height: props.size === 'small' ? '12px' : '18px',
|
|
2565
2365
|
name: "Angle",
|
|
2566
|
-
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2366
|
+
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
|
|
2567
2367
|
inverted: true
|
|
2568
2368
|
}));
|
|
2569
2369
|
}
|
|
@@ -2674,8 +2474,7 @@ function Section$4({
|
|
|
2674
2474
|
isCustomWebsite
|
|
2675
2475
|
} = useContext(PageContext);
|
|
2676
2476
|
const classes = useSectionStyles$8({
|
|
2677
|
-
isCustomWebsite
|
|
2678
|
-
isMobile
|
|
2477
|
+
isCustomWebsite
|
|
2679
2478
|
});
|
|
2680
2479
|
return /*#__PURE__*/React.createElement("div", {
|
|
2681
2480
|
className: classes.centerData
|
|
@@ -2724,14 +2523,12 @@ function BannerCarouselRight({
|
|
|
2724
2523
|
sectionIndex
|
|
2725
2524
|
}) {
|
|
2726
2525
|
const {
|
|
2727
|
-
isMobile,
|
|
2728
2526
|
layout: {
|
|
2729
2527
|
containerWidth
|
|
2730
2528
|
}
|
|
2731
2529
|
} = useContext(PageContext);
|
|
2732
2530
|
const classes = useSectionStyles$8({
|
|
2733
|
-
containerWidth
|
|
2734
|
-
isMobile
|
|
2531
|
+
containerWidth
|
|
2735
2532
|
});
|
|
2736
2533
|
const [{
|
|
2737
2534
|
bannerCarousel
|
|
@@ -2757,183 +2554,191 @@ var index$l = /*#__PURE__*/Object.freeze({
|
|
|
2757
2554
|
'default': BannerCarouselRight
|
|
2758
2555
|
});
|
|
2759
2556
|
|
|
2760
|
-
const useSectionStyles$7 = createUseStyles(theme => {
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2557
|
+
const useSectionStyles$7 = createUseStyles(theme => ({
|
|
2558
|
+
section: {
|
|
2559
|
+
width: '100%',
|
|
2560
|
+
padding: '70px 0',
|
|
2561
|
+
display: 'flex',
|
|
2562
|
+
justifyContent: 'center',
|
|
2563
|
+
flexDirection: 'column',
|
|
2564
|
+
alignItems: 'center',
|
|
2565
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
2566
|
+
'&, & *, & *:before, & *:after': {
|
|
2567
|
+
fontFamily: theme?.typography?.fontFamily,
|
|
2568
|
+
boxSizing: 'border-box'
|
|
2569
|
+
},
|
|
2570
|
+
'& h2,& h3': {
|
|
2571
|
+
fontWeight: '500',
|
|
2572
|
+
'& b,& strong': {
|
|
2573
|
+
fontWeight: '700'
|
|
2574
|
+
}
|
|
2575
|
+
}
|
|
2576
|
+
},
|
|
2577
|
+
sectionContainer: {
|
|
2578
|
+
margin: '0 auto',
|
|
2579
|
+
maxWidth: ({
|
|
2580
|
+
containerWidth
|
|
2581
|
+
} = {}) => containerWidth
|
|
2582
|
+
},
|
|
2583
|
+
subTitleHeading: {
|
|
2584
|
+
marginBottom: '8px',
|
|
2585
|
+
fontSize: '16px',
|
|
2586
|
+
color: theme?.palette?.font?.tertiary,
|
|
2587
|
+
alignItems: 'center',
|
|
2588
|
+
textAlign: 'center',
|
|
2589
|
+
wordBreak: 'break-word'
|
|
2590
|
+
},
|
|
2591
|
+
heading: {
|
|
2592
|
+
margin: '0',
|
|
2593
|
+
fontSize: '72px',
|
|
2594
|
+
color: theme?.palette?.font?.default,
|
|
2595
|
+
textAlign: 'center',
|
|
2596
|
+
wordBreak: 'break-word'
|
|
2597
|
+
},
|
|
2598
|
+
contentContainer: {
|
|
2599
|
+
display: 'flex',
|
|
2600
|
+
flexDirection: 'column',
|
|
2601
|
+
alignItems: 'center',
|
|
2602
|
+
justifyContent: 'center',
|
|
2603
|
+
width: '770px',
|
|
2604
|
+
margin: 'auto'
|
|
2605
|
+
},
|
|
2606
|
+
content: {
|
|
2607
|
+
display: 'flex',
|
|
2608
|
+
width: 'calc(100% - 100px)',
|
|
2609
|
+
alignItems: 'center',
|
|
2610
|
+
background: theme?.palette?.background?.default,
|
|
2611
|
+
boxShadow: theme?.shadows?.primary,
|
|
2612
|
+
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
2613
|
+
overflow: 'hidden',
|
|
2614
|
+
minHeight: 200,
|
|
2615
|
+
margin: '16px 0',
|
|
2616
|
+
position: 'relative',
|
|
2617
|
+
'&:nth-child(2n)': {
|
|
2618
|
+
alignSelf: 'flex-end',
|
|
2619
|
+
'& $contentNumber': {
|
|
2620
|
+
right: '0'
|
|
2621
|
+
},
|
|
2622
|
+
'& $contentText': {
|
|
2623
|
+
marginRight: '200px'
|
|
2776
2624
|
}
|
|
2777
|
-
// '& h2,& h3': {
|
|
2778
|
-
// fontWeight: '500',
|
|
2779
|
-
// '& b,& strong': {
|
|
2780
|
-
// fontWeight: '700'
|
|
2781
|
-
// }
|
|
2782
|
-
// }
|
|
2783
2625
|
},
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2626
|
+
'&:nth-child(2n+1)': {
|
|
2627
|
+
alignSelf: 'flex-start',
|
|
2628
|
+
'& $contentNumber': {
|
|
2629
|
+
left: '0'
|
|
2630
|
+
},
|
|
2631
|
+
'& $contentText': {
|
|
2632
|
+
marginLeft: '200px'
|
|
2633
|
+
}
|
|
2790
2634
|
},
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
fontSize: theme.typography.fontSize.subHead,
|
|
2794
|
-
color: theme?.palette?.font?.tertiary,
|
|
2795
|
-
alignItems: 'center',
|
|
2796
|
-
textAlign: 'center',
|
|
2797
|
-
wordBreak: 'break-word',
|
|
2798
|
-
textTransform: 'uppercase'
|
|
2635
|
+
'&:nth-child(7n+1) $contentNumber': {
|
|
2636
|
+
background: palettes.purple.primary.lightest
|
|
2799
2637
|
},
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
fontSize: theme.typography.fontSize.h2,
|
|
2803
|
-
color: theme?.palette?.font?.default,
|
|
2804
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
2805
|
-
textAlign: 'center',
|
|
2806
|
-
wordBreak: 'break-word'
|
|
2638
|
+
'&:nth-child(7n+2) $contentNumber': {
|
|
2639
|
+
background: palettes.orange.primary.lightest
|
|
2807
2640
|
},
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2641
|
+
'&:nth-child(7n+3) $contentNumber': {
|
|
2642
|
+
background: palettes.red.primary.lightest
|
|
2643
|
+
},
|
|
2644
|
+
'&:nth-child(7n+4) $contentNumber': {
|
|
2645
|
+
background: palettes.green.primary.lightest
|
|
2646
|
+
},
|
|
2647
|
+
'&:nth-child(7n+5) $contentNumber': {
|
|
2648
|
+
background: palettes.pink.primary.lightest
|
|
2649
|
+
},
|
|
2650
|
+
'&:nth-child(7n+6) $contentNumber': {
|
|
2651
|
+
background: palettes.blue.primary.lightest
|
|
2652
|
+
},
|
|
2653
|
+
'&:nth-child(7n) $contentNumber': {
|
|
2654
|
+
background: palettes.rust.primary.lightest
|
|
2655
|
+
}
|
|
2656
|
+
},
|
|
2657
|
+
contentNumber: {
|
|
2658
|
+
position: 'absolute',
|
|
2659
|
+
top: '0',
|
|
2660
|
+
fontWeight: '700',
|
|
2661
|
+
fontSize: '72px',
|
|
2662
|
+
letterSpacing: '-3px',
|
|
2663
|
+
display: 'flex',
|
|
2664
|
+
alignItems: 'center',
|
|
2665
|
+
justifyContent: 'center',
|
|
2666
|
+
height: '100%',
|
|
2667
|
+
color: theme?.palette?.font?.default,
|
|
2668
|
+
width: '200px',
|
|
2669
|
+
wordBreak: 'break-word'
|
|
2670
|
+
},
|
|
2671
|
+
contentText: {
|
|
2672
|
+
padding: '20px 0'
|
|
2673
|
+
},
|
|
2674
|
+
contentHeading: {
|
|
2675
|
+
fontStyle: 'normal',
|
|
2676
|
+
fontSize: '24px',
|
|
2677
|
+
lineHeight: '32px',
|
|
2678
|
+
color: theme?.palette?.font?.default,
|
|
2679
|
+
margin: '0 48px',
|
|
2680
|
+
wordBreak: 'break-word'
|
|
2681
|
+
},
|
|
2682
|
+
contentPara: {
|
|
2683
|
+
fontStyle: 'normal',
|
|
2684
|
+
fontSize: '16px',
|
|
2685
|
+
lineHeight: '32px',
|
|
2686
|
+
color: theme?.palette?.font?.primary,
|
|
2687
|
+
margin: '20px 48px 0 48px',
|
|
2688
|
+
wordBreak: 'break-word'
|
|
2689
|
+
},
|
|
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
|
+
},
|
|
2702
|
+
contentContainer: {
|
|
2703
|
+
width: '100%'
|
|
2815
2704
|
},
|
|
2816
2705
|
content: {
|
|
2817
2706
|
display: 'flex',
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
overflow: 'hidden',
|
|
2824
|
-
minHeight: 200,
|
|
2825
|
-
marginBottom: theme.spacing.margin.small,
|
|
2826
|
-
position: 'relative',
|
|
2707
|
+
flexDirection: 'column',
|
|
2708
|
+
borderRadius: theme.shape.borderRadius.large,
|
|
2709
|
+
margin: '20px 0 10px 0',
|
|
2710
|
+
width: '100%',
|
|
2711
|
+
height: 'auto',
|
|
2827
2712
|
'&:nth-child(2n)': {
|
|
2828
|
-
|
|
2829
|
-
'& $contentNumber': {
|
|
2830
|
-
right: '0'
|
|
2831
|
-
},
|
|
2713
|
+
marginLeft: '0',
|
|
2832
2714
|
'& $contentText': {
|
|
2833
|
-
marginRight: '
|
|
2715
|
+
marginRight: '0',
|
|
2716
|
+
alignSelf: 'flex-start',
|
|
2717
|
+
padding: '0'
|
|
2834
2718
|
}
|
|
2835
2719
|
},
|
|
2836
2720
|
'&:nth-child(2n+1)': {
|
|
2837
|
-
|
|
2838
|
-
'& $contentNumber': {
|
|
2839
|
-
left: '0'
|
|
2840
|
-
},
|
|
2721
|
+
marginRight: '0',
|
|
2841
2722
|
'& $contentText': {
|
|
2842
|
-
marginLeft: '
|
|
2723
|
+
marginLeft: '0',
|
|
2724
|
+
alignSelf: 'flex-start',
|
|
2725
|
+
padding: '0'
|
|
2843
2726
|
}
|
|
2844
|
-
},
|
|
2845
|
-
'&:nth-child(7n+1) $contentNumber': {
|
|
2846
|
-
background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
|
|
2847
|
-
},
|
|
2848
|
-
'&:nth-child(7n+2) $contentNumber': {
|
|
2849
|
-
background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
|
|
2850
|
-
},
|
|
2851
|
-
'&:nth-child(7n+3) $contentNumber': {
|
|
2852
|
-
background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
|
|
2853
|
-
},
|
|
2854
|
-
'&:nth-child(7n+4) $contentNumber': {
|
|
2855
|
-
background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
|
|
2856
|
-
},
|
|
2857
|
-
'&:nth-child(7n+5) $contentNumber': {
|
|
2858
|
-
background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
|
|
2859
|
-
},
|
|
2860
|
-
'&:nth-child(7n+6) $contentNumber': {
|
|
2861
|
-
background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
|
|
2862
|
-
},
|
|
2863
|
-
'&:nth-child(7n) $contentNumber': {
|
|
2864
|
-
background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
|
|
2865
2727
|
}
|
|
2866
2728
|
},
|
|
2867
2729
|
contentNumber: {
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
fontSize: '72px',
|
|
2872
|
-
letterSpacing: '-3px',
|
|
2873
|
-
display: 'flex',
|
|
2874
|
-
alignItems: 'center',
|
|
2875
|
-
justifyContent: 'center',
|
|
2876
|
-
padding: '48px',
|
|
2877
|
-
height: '100%',
|
|
2878
|
-
color: theme?.isGradient ? theme?.themeGradient?.font4 : theme?.themeColors?.font4,
|
|
2879
|
-
wordBreak: 'break-word'
|
|
2880
|
-
},
|
|
2881
|
-
contentText: {
|
|
2882
|
-
padding: theme.spacing.padding.tiny
|
|
2730
|
+
width: '100%',
|
|
2731
|
+
padding: '40px 0',
|
|
2732
|
+
position: 'static'
|
|
2883
2733
|
},
|
|
2884
2734
|
contentHeading: {
|
|
2885
|
-
|
|
2886
|
-
fontSize: theme.typography.fontSize.h5,
|
|
2887
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
2888
|
-
lineHeight: '32px',
|
|
2889
|
-
marginBottom: '8px',
|
|
2890
|
-
color: theme?.palette?.font?.default,
|
|
2891
|
-
wordBreak: 'break-word'
|
|
2735
|
+
margin: '20px 20px 0 20px'
|
|
2892
2736
|
},
|
|
2893
2737
|
contentPara: {
|
|
2894
|
-
|
|
2895
|
-
fontSize: theme.typography.fontSize.subHead,
|
|
2896
|
-
lineHeight: '32px',
|
|
2897
|
-
color: theme?.palette?.font?.primary,
|
|
2898
|
-
wordBreak: 'break-word'
|
|
2899
|
-
},
|
|
2900
|
-
'@media screen and (max-width: 767px)': {
|
|
2901
|
-
contentContainer: {
|
|
2902
|
-
width: '100%'
|
|
2903
|
-
},
|
|
2904
|
-
content: {
|
|
2905
|
-
display: 'flex',
|
|
2906
|
-
flexDirection: 'column',
|
|
2907
|
-
borderRadius: theme.shape.borderRadius.large,
|
|
2908
|
-
width: '100%',
|
|
2909
|
-
height: 'auto',
|
|
2910
|
-
'&:nth-child(2n)': {
|
|
2911
|
-
marginLeft: '0',
|
|
2912
|
-
'& $contentText': {
|
|
2913
|
-
marginRight: '0',
|
|
2914
|
-
alignSelf: 'flex-start'
|
|
2915
|
-
// padding: '0'
|
|
2916
|
-
}
|
|
2917
|
-
},
|
|
2918
|
-
|
|
2919
|
-
'&:nth-child(2n+1)': {
|
|
2920
|
-
marginRight: '0',
|
|
2921
|
-
'& $contentText': {
|
|
2922
|
-
marginLeft: '0',
|
|
2923
|
-
alignSelf: 'flex-start'
|
|
2924
|
-
// padding: '0'
|
|
2925
|
-
}
|
|
2926
|
-
}
|
|
2927
|
-
},
|
|
2928
|
-
|
|
2929
|
-
contentNumber: {
|
|
2930
|
-
width: '100%',
|
|
2931
|
-
padding: '24px',
|
|
2932
|
-
position: 'static'
|
|
2933
|
-
}
|
|
2738
|
+
margin: '16px 20px 24px 20px'
|
|
2934
2739
|
}
|
|
2935
|
-
}
|
|
2936
|
-
});
|
|
2740
|
+
}
|
|
2741
|
+
}));
|
|
2937
2742
|
|
|
2938
2743
|
function List({
|
|
2939
2744
|
sectionData
|
|
@@ -2941,12 +2746,10 @@ function List({
|
|
|
2941
2746
|
const {
|
|
2942
2747
|
layout: {
|
|
2943
2748
|
containerWidth
|
|
2944
|
-
}
|
|
2945
|
-
isMobile
|
|
2749
|
+
}
|
|
2946
2750
|
} = useContext(PageContext);
|
|
2947
2751
|
const classes = useSectionStyles$7({
|
|
2948
|
-
containerWidth
|
|
2949
|
-
isMobile
|
|
2752
|
+
containerWidth
|
|
2950
2753
|
});
|
|
2951
2754
|
const [nodeData] = sectionData.components;
|
|
2952
2755
|
const getNumber = val => {
|
|
@@ -2963,7 +2766,7 @@ function List({
|
|
|
2963
2766
|
dangerouslySetInnerHTML: {
|
|
2964
2767
|
__html: nodeData.cardHeading.metadata.value
|
|
2965
2768
|
}
|
|
2966
|
-
})), /*#__PURE__*/React.createElement("
|
|
2769
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
2967
2770
|
className: classes.heading
|
|
2968
2771
|
}, /*#__PURE__*/React.createElement("span", {
|
|
2969
2772
|
ref: nodeData?.title?.refSetter,
|
|
@@ -2980,13 +2783,13 @@ function List({
|
|
|
2980
2783
|
className: classes.contentNumber
|
|
2981
2784
|
}, getNumber(ind + 1)), /*#__PURE__*/React.createElement("div", {
|
|
2982
2785
|
className: classes.contentText
|
|
2983
|
-
}, /*#__PURE__*/React.createElement("
|
|
2786
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
2984
2787
|
ref: dt?.contentHeading?.refSetter,
|
|
2985
2788
|
className: classes.contentHeading,
|
|
2986
2789
|
dangerouslySetInnerHTML: {
|
|
2987
2790
|
__html: dt.contentHeading.metadata.value
|
|
2988
2791
|
}
|
|
2989
|
-
}), /*#__PURE__*/React.createElement("
|
|
2792
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
2990
2793
|
ref: dt?.contentPara?.refSetter,
|
|
2991
2794
|
className: classes.contentPara,
|
|
2992
2795
|
dangerouslySetInnerHTML: {
|
|
@@ -3010,33 +2813,29 @@ const useSectionStyles$6 = createUseStyles(theme => ({
|
|
|
3010
2813
|
'&, & *, & *:before, & *:after': {
|
|
3011
2814
|
fontFamily: theme?.typography?.fontFamily,
|
|
3012
2815
|
boxSizing: 'border-box'
|
|
2816
|
+
},
|
|
2817
|
+
'& h2,& h3': {
|
|
2818
|
+
fontWeight: '500',
|
|
2819
|
+
'& b,& strong': {
|
|
2820
|
+
fontWeight: '700'
|
|
2821
|
+
}
|
|
3013
2822
|
}
|
|
3014
|
-
// '& h2,& h3': {
|
|
3015
|
-
// fontWeight: '500',
|
|
3016
|
-
// '& b,& strong': {
|
|
3017
|
-
// fontWeight: '700'
|
|
3018
|
-
// }
|
|
3019
|
-
// }
|
|
3020
2823
|
},
|
|
3021
|
-
|
|
3022
2824
|
sectionContainer: {
|
|
2825
|
+
margin: '0 auto',
|
|
3023
2826
|
width: '100%',
|
|
3024
2827
|
// maxWidth: ({ containerWidth } = {}) => containerWidth,
|
|
3025
2828
|
position: 'absolute',
|
|
3026
|
-
zIndex: '9'
|
|
3027
|
-
height: '100%'
|
|
2829
|
+
zIndex: '9'
|
|
3028
2830
|
},
|
|
3029
2831
|
absoluteButtons: {
|
|
3030
2832
|
display: 'flex',
|
|
3031
2833
|
gap: '20px',
|
|
3032
2834
|
justifyContent: 'center',
|
|
3033
|
-
bottom: '
|
|
2835
|
+
bottom: '25px',
|
|
3034
2836
|
position: 'absolute',
|
|
3035
2837
|
width: '100%'
|
|
3036
2838
|
},
|
|
3037
|
-
buttonClass: {
|
|
3038
|
-
margin: `${theme.spacing.margin.tiny}px 0px`
|
|
3039
|
-
},
|
|
3040
2839
|
contentContainer: {
|
|
3041
2840
|
// padding: '100px 0',
|
|
3042
2841
|
// height: '100%',
|
|
@@ -3072,33 +2871,27 @@ const useSectionStyles$6 = createUseStyles(theme => ({
|
|
|
3072
2871
|
height: '100%'
|
|
3073
2872
|
},
|
|
3074
2873
|
textContainer: {
|
|
3075
|
-
padding:
|
|
3076
|
-
|
|
3077
|
-
width: '
|
|
3078
|
-
height: '100%',
|
|
3079
|
-
display: 'flex',
|
|
3080
|
-
justifyContent: 'center',
|
|
3081
|
-
alignItems: 'center',
|
|
3082
|
-
flexDirection: 'column'
|
|
2874
|
+
padding: '100px 0',
|
|
2875
|
+
margin: '0 auto',
|
|
2876
|
+
width: '80%'
|
|
3083
2877
|
},
|
|
3084
2878
|
subTitleHeading: {
|
|
3085
2879
|
color: theme?.palette?.font?.invertedDefault,
|
|
3086
2880
|
marginBottom: '8px',
|
|
3087
|
-
fontSize:
|
|
2881
|
+
fontSize: '16px',
|
|
3088
2882
|
wordBreak: 'break-word'
|
|
3089
2883
|
},
|
|
3090
2884
|
heading: {
|
|
3091
2885
|
margin: '0',
|
|
3092
|
-
fontSize:
|
|
2886
|
+
fontSize: '62px',
|
|
3093
2887
|
color: theme?.palette?.font?.invertedDefault,
|
|
3094
2888
|
wordBreak: 'break-word'
|
|
3095
2889
|
},
|
|
3096
2890
|
description: {
|
|
3097
|
-
margin:
|
|
2891
|
+
margin: '40px 0',
|
|
3098
2892
|
color: theme?.palette?.font?.invertedDefault,
|
|
3099
2893
|
lineHeight: '24px',
|
|
3100
|
-
wordBreak: 'break-word'
|
|
3101
|
-
fontSize: theme.typography.fontSize.subHead
|
|
2894
|
+
wordBreak: 'break-word'
|
|
3102
2895
|
},
|
|
3103
2896
|
sideBannerImage: {
|
|
3104
2897
|
width: '100%',
|
|
@@ -3116,19 +2909,22 @@ const useSectionStyles$6 = createUseStyles(theme => ({
|
|
|
3116
2909
|
justifyContent: 'center',
|
|
3117
2910
|
padding: '0px'
|
|
3118
2911
|
},
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
2912
|
+
textContainer: {
|
|
2913
|
+
padding: '20px 20px',
|
|
2914
|
+
height: '100%',
|
|
2915
|
+
width: '100%'
|
|
2916
|
+
// backgroundColor: theme?.palette?.background?.primary
|
|
2917
|
+
},
|
|
2918
|
+
|
|
3125
2919
|
subTitleHeading: {
|
|
3126
2920
|
color: theme?.palette?.font?.tertiary
|
|
3127
2921
|
},
|
|
3128
2922
|
heading: {
|
|
2923
|
+
fontSize: '40px',
|
|
3129
2924
|
color: theme?.palette?.font?.default
|
|
3130
2925
|
},
|
|
3131
2926
|
description: {
|
|
2927
|
+
margin: '16px 0',
|
|
3132
2928
|
color: theme?.palette?.font?.primary
|
|
3133
2929
|
},
|
|
3134
2930
|
centerBgImageContainer: {
|
|
@@ -3195,14 +2991,12 @@ const Section$3 = ({
|
|
|
3195
2991
|
dangerouslySetInnerHTML: {
|
|
3196
2992
|
__html: nodeData.description.metadata.value
|
|
3197
2993
|
}
|
|
3198
|
-
}) : null, nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React.createElement(
|
|
3199
|
-
className: classes.buttonClass
|
|
3200
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
2994
|
+
}) : null, nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React.createElement(Button, {
|
|
3201
2995
|
ref: nodeData?.cta?.refSetter,
|
|
3202
2996
|
data: nodeData.cta.metadata,
|
|
3203
2997
|
type: nodeData?.cta?.metadata?.type,
|
|
3204
2998
|
size: isMobile ? 'small' : 'medium'
|
|
3205
|
-
}))
|
|
2999
|
+
})) : null), /*#__PURE__*/React.createElement("div", {
|
|
3206
3000
|
className: classes?.centerBgImageContainer
|
|
3207
3001
|
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
3208
3002
|
src: nodeData.image.metadata.value,
|
|
@@ -3244,16 +3038,15 @@ var index$j = /*#__PURE__*/Object.freeze({
|
|
|
3244
3038
|
const useSectionStyles$5 = createUseStyles(theme => {
|
|
3245
3039
|
return {
|
|
3246
3040
|
section: {
|
|
3247
|
-
paddingBottom:
|
|
3248
|
-
background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
|
|
3041
|
+
paddingBottom: '70px',
|
|
3249
3042
|
'&, & *, & *:before, & *:after': {
|
|
3250
3043
|
fontFamily: theme?.typography?.fontFamily,
|
|
3251
3044
|
boxSizing: 'border-box'
|
|
3252
3045
|
},
|
|
3253
3046
|
'& h2,& h3': {
|
|
3254
|
-
fontWeight:
|
|
3047
|
+
fontWeight: '500',
|
|
3255
3048
|
'& b,& strong': {
|
|
3256
|
-
fontWeight:
|
|
3049
|
+
fontWeight: '700'
|
|
3257
3050
|
}
|
|
3258
3051
|
}
|
|
3259
3052
|
},
|
|
@@ -3267,7 +3060,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3267
3060
|
display: 'flex',
|
|
3268
3061
|
alignItems: 'center',
|
|
3269
3062
|
justifyContent: 'center',
|
|
3270
|
-
padding:
|
|
3063
|
+
padding: '140px 70px 0'
|
|
3271
3064
|
},
|
|
3272
3065
|
imageContainerDiv: {
|
|
3273
3066
|
width: '50%',
|
|
@@ -3286,7 +3079,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3286
3079
|
}
|
|
3287
3080
|
},
|
|
3288
3081
|
imageBorder: {
|
|
3289
|
-
|
|
3082
|
+
border: `2px solid ${theme?.palette?.primary?.light}`,
|
|
3290
3083
|
borderRadius: theme?.shape?.borderRadius?.small,
|
|
3291
3084
|
position: 'absolute',
|
|
3292
3085
|
width: '100%',
|
|
@@ -3302,26 +3095,26 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3302
3095
|
objectFit: 'cover'
|
|
3303
3096
|
},
|
|
3304
3097
|
textContainer: {
|
|
3305
|
-
padding:
|
|
3098
|
+
padding: '0 60px',
|
|
3306
3099
|
textAlign: 'left',
|
|
3307
3100
|
margin: '0 auto',
|
|
3308
3101
|
width: '50%'
|
|
3309
3102
|
},
|
|
3310
3103
|
subTitleHeading: {
|
|
3311
3104
|
marginBottom: '8px',
|
|
3312
|
-
fontSize:
|
|
3105
|
+
fontSize: '16px',
|
|
3313
3106
|
color: theme?.palette?.font?.tertiary,
|
|
3314
3107
|
wordBreak: 'break-word'
|
|
3315
3108
|
},
|
|
3316
3109
|
heading: {
|
|
3317
3110
|
margin: '0',
|
|
3318
|
-
fontSize:
|
|
3111
|
+
fontSize: '72px',
|
|
3319
3112
|
color: theme?.palette?.font?.default,
|
|
3320
3113
|
wordBreak: 'break-word'
|
|
3321
3114
|
},
|
|
3322
3115
|
description: {
|
|
3323
3116
|
margin: '40px 0',
|
|
3324
|
-
|
|
3117
|
+
color: theme?.palette?.font?.primary,
|
|
3325
3118
|
lineHeight: '24px',
|
|
3326
3119
|
wordBreak: 'break-word'
|
|
3327
3120
|
},
|
|
@@ -3330,9 +3123,9 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3330
3123
|
padding: '0 0 40px'
|
|
3331
3124
|
},
|
|
3332
3125
|
centerData: {
|
|
3333
|
-
flexDirection: 'column
|
|
3126
|
+
flexDirection: 'column',
|
|
3334
3127
|
width: '100%',
|
|
3335
|
-
padding:
|
|
3128
|
+
padding: '0'
|
|
3336
3129
|
},
|
|
3337
3130
|
imageContainer: {
|
|
3338
3131
|
height: 'unset !important',
|
|
@@ -3352,11 +3145,11 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3352
3145
|
height: 'unset !important'
|
|
3353
3146
|
},
|
|
3354
3147
|
textContainer: {
|
|
3355
|
-
padding:
|
|
3148
|
+
padding: '20px 20px',
|
|
3356
3149
|
width: 'unset'
|
|
3357
3150
|
},
|
|
3358
3151
|
heading: {
|
|
3359
|
-
fontSize:
|
|
3152
|
+
fontSize: '40px'
|
|
3360
3153
|
},
|
|
3361
3154
|
description: {
|
|
3362
3155
|
margin: '16px 0'
|
|
@@ -3390,6 +3183,8 @@ function Section$2({
|
|
|
3390
3183
|
ref: nodeData?.image?.refSetter,
|
|
3391
3184
|
className: classes.sideBannerImage,
|
|
3392
3185
|
sectionIndex: sectionIndex
|
|
3186
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
3187
|
+
className: classes.imageBorder
|
|
3393
3188
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
3394
3189
|
className: classes.textContainer
|
|
3395
3190
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -3460,21 +3255,18 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3460
3255
|
width: '100%',
|
|
3461
3256
|
alignItems: 'center',
|
|
3462
3257
|
justifyContent: 'center',
|
|
3463
|
-
padding:
|
|
3464
|
-
isMobile
|
|
3465
|
-
} = {}) => 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',
|
|
3466
3259
|
'&, & *, & *:before, & *:after': {
|
|
3467
3260
|
fontFamily: theme?.typography?.fontFamily,
|
|
3468
3261
|
boxSizing: 'border-box'
|
|
3262
|
+
},
|
|
3263
|
+
'& h2,& h3': {
|
|
3264
|
+
fontWeight: '500',
|
|
3265
|
+
'& b,& strong': {
|
|
3266
|
+
fontWeight: '700'
|
|
3267
|
+
}
|
|
3469
3268
|
}
|
|
3470
|
-
// '& h2,& h3': {
|
|
3471
|
-
// fontWeight: '500',
|
|
3472
|
-
// '& b,& strong': {
|
|
3473
|
-
// fontWeight: '700'
|
|
3474
|
-
// }
|
|
3475
|
-
// }
|
|
3476
3269
|
},
|
|
3477
|
-
|
|
3478
3270
|
newsLetterContainer: {
|
|
3479
3271
|
margin: '0 auto',
|
|
3480
3272
|
maxWidth: ({
|
|
@@ -3486,24 +3278,22 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3486
3278
|
left: '0',
|
|
3487
3279
|
width: '100%',
|
|
3488
3280
|
height: '50%',
|
|
3489
|
-
position: 'absolute'
|
|
3490
|
-
|
|
3281
|
+
position: 'absolute',
|
|
3282
|
+
background: theme?.palette?.background?.primary
|
|
3491
3283
|
},
|
|
3492
|
-
|
|
3493
3284
|
sectionContainer: {
|
|
3494
|
-
|
|
3285
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
3495
3286
|
boxShadow: theme?.shadows?.secondary,
|
|
3496
3287
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3497
|
-
padding:
|
|
3288
|
+
padding: '40px 80px',
|
|
3498
3289
|
position: 'relative'
|
|
3499
3290
|
},
|
|
3500
3291
|
cardHeading: {
|
|
3501
|
-
fontSize:
|
|
3502
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
3292
|
+
fontSize: '56px',
|
|
3503
3293
|
lineHeight: '71px',
|
|
3504
3294
|
letterSpacing: '-3px',
|
|
3505
3295
|
color: theme?.palette?.font?.secondary,
|
|
3506
|
-
|
|
3296
|
+
margin: '0 0 32px 0',
|
|
3507
3297
|
wordBreak: 'break-word'
|
|
3508
3298
|
},
|
|
3509
3299
|
contentContainer: {
|
|
@@ -3512,9 +3302,10 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3512
3302
|
justifyContent: 'space-between'
|
|
3513
3303
|
},
|
|
3514
3304
|
title: {
|
|
3515
|
-
fontSize:
|
|
3305
|
+
fontSize: '20px',
|
|
3516
3306
|
lineHeight: '32px',
|
|
3517
3307
|
color: theme?.palette?.font?.primary,
|
|
3308
|
+
margin: '0 80px 0 0',
|
|
3518
3309
|
width: 'calc(50% - 80px)',
|
|
3519
3310
|
wordBreak: 'break-word'
|
|
3520
3311
|
},
|
|
@@ -3552,44 +3343,42 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3552
3343
|
section: {
|
|
3553
3344
|
display: 'flex',
|
|
3554
3345
|
flexDirection: 'column',
|
|
3555
|
-
alignItems: 'center'
|
|
3346
|
+
alignItems: 'center',
|
|
3347
|
+
padding: '30px 20px'
|
|
3556
3348
|
},
|
|
3557
3349
|
sectionContainer: {
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
display: 'flex',
|
|
3561
|
-
alignItems: 'center',
|
|
3562
|
-
flexDirection: 'column'
|
|
3350
|
+
padding: '30px 20px',
|
|
3351
|
+
borderRadius: theme?.shape?.borderRadius?.large
|
|
3563
3352
|
},
|
|
3564
3353
|
partialBackground: {
|
|
3565
3354
|
height: '150px'
|
|
3566
3355
|
},
|
|
3567
3356
|
title: {
|
|
3568
3357
|
width: '100%',
|
|
3569
|
-
|
|
3570
|
-
|
|
3358
|
+
margin: '0',
|
|
3359
|
+
fontSize: '20px',
|
|
3360
|
+
lineHeight: '32px'
|
|
3571
3361
|
},
|
|
3572
3362
|
cardHeading: {
|
|
3363
|
+
fontSize: '24px',
|
|
3573
3364
|
lineHeight: '32px',
|
|
3574
3365
|
letterSpacing: '-1px',
|
|
3575
|
-
|
|
3576
|
-
lineHeight: 'normal'
|
|
3366
|
+
marginBottom: '20px'
|
|
3577
3367
|
},
|
|
3578
3368
|
contentContainer: {
|
|
3579
3369
|
display: 'flex',
|
|
3580
3370
|
flexDirection: 'column',
|
|
3581
|
-
justifyContent: 'flex-start'
|
|
3582
|
-
textAlign: 'center'
|
|
3371
|
+
justifyContent: 'flex-start'
|
|
3583
3372
|
},
|
|
3584
3373
|
inputContainer: {
|
|
3585
3374
|
display: 'block',
|
|
3586
3375
|
width: '100%',
|
|
3376
|
+
margin: '24px 16px 0 16px',
|
|
3587
3377
|
position: 'initial'
|
|
3588
3378
|
},
|
|
3589
3379
|
btnContainer: {
|
|
3590
3380
|
right: 'unset',
|
|
3591
|
-
position: 'initial'
|
|
3592
|
-
marginTop: '4px'
|
|
3381
|
+
position: 'initial'
|
|
3593
3382
|
}
|
|
3594
3383
|
}
|
|
3595
3384
|
}));
|
|
@@ -3637,59 +3426,56 @@ async function postApiCallForm(baseURLs, data, extraProps) {
|
|
|
3637
3426
|
}
|
|
3638
3427
|
}
|
|
3639
3428
|
|
|
3640
|
-
const inputStyles = createUseStyles(theme => {
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3429
|
+
const inputStyles = createUseStyles(theme => ({
|
|
3430
|
+
inputField: {
|
|
3431
|
+
width: '100%',
|
|
3432
|
+
maxWidth: '314px',
|
|
3433
|
+
background: theme?.palette?.background?.default,
|
|
3434
|
+
border: `1px solid ${theme?.palette?.border?.secondary}`,
|
|
3435
|
+
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3436
|
+
padding: '14px 12px',
|
|
3437
|
+
display: 'flex',
|
|
3438
|
+
fontWeight: '400',
|
|
3439
|
+
fontSize: '16px',
|
|
3440
|
+
lineHeight: '20px',
|
|
3441
|
+
verticalalign: 'top',
|
|
3442
|
+
resize: 'none',
|
|
3443
|
+
fontFamily: 'inherit',
|
|
3444
|
+
'&::placeholder': {
|
|
3651
3445
|
fontWeight: '400',
|
|
3652
3446
|
fontSize: '16px',
|
|
3653
3447
|
lineHeight: '20px',
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
fontFamily: 'inherit',
|
|
3657
|
-
'&::placeholder': {
|
|
3658
|
-
fontWeight: '400',
|
|
3659
|
-
fontSize: '16px',
|
|
3660
|
-
lineHeight: '20px',
|
|
3661
|
-
color: theme?.palette?.font?.primary,
|
|
3662
|
-
fontFamily: theme?.typography?.fontFamily
|
|
3663
|
-
},
|
|
3664
|
-
'&:focus': {
|
|
3665
|
-
outline: 'none'
|
|
3666
|
-
}
|
|
3667
|
-
},
|
|
3668
|
-
error: {
|
|
3669
|
-
borderBottom: '1px solid red',
|
|
3670
|
-
position: 'absolute',
|
|
3671
|
-
bottom: '-8px',
|
|
3672
|
-
width: 'calc(100% - 24px)'
|
|
3448
|
+
color: theme?.palette?.font?.primary,
|
|
3449
|
+
fontFamily: theme?.typography?.fontFamily
|
|
3673
3450
|
},
|
|
3674
|
-
|
|
3675
|
-
|
|
3451
|
+
'&:focus': {
|
|
3452
|
+
outline: 'none'
|
|
3453
|
+
}
|
|
3454
|
+
},
|
|
3455
|
+
error: {
|
|
3456
|
+
borderBottom: '1px solid red',
|
|
3457
|
+
position: 'absolute',
|
|
3458
|
+
bottom: '-8px',
|
|
3459
|
+
width: 'calc(100% - 24px)'
|
|
3460
|
+
},
|
|
3461
|
+
errorBorder: {
|
|
3462
|
+
border: `1px solid red`,
|
|
3463
|
+
color: 'red',
|
|
3464
|
+
'&::placeholder': {
|
|
3676
3465
|
color: 'red',
|
|
3677
|
-
'
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3466
|
+
opacity: '0.5'
|
|
3467
|
+
}
|
|
3468
|
+
},
|
|
3469
|
+
'@media screen and (max-width: 767px)': {
|
|
3470
|
+
inputField: {
|
|
3471
|
+
width: '100%',
|
|
3472
|
+
maxWidth: 'unset'
|
|
3681
3473
|
},
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
width: '100%',
|
|
3685
|
-
maxWidth: 'unset'
|
|
3686
|
-
},
|
|
3687
|
-
error: {
|
|
3688
|
-
bottom: '-2px'
|
|
3689
|
-
}
|
|
3474
|
+
error: {
|
|
3475
|
+
bottom: '-2px'
|
|
3690
3476
|
}
|
|
3691
|
-
}
|
|
3692
|
-
});
|
|
3477
|
+
}
|
|
3478
|
+
}));
|
|
3693
3479
|
|
|
3694
3480
|
function Input({
|
|
3695
3481
|
data,
|
|
@@ -3702,12 +3488,9 @@ function Input({
|
|
|
3702
3488
|
const {
|
|
3703
3489
|
onChange,
|
|
3704
3490
|
onBlur,
|
|
3705
|
-
onFocus
|
|
3706
|
-
theme
|
|
3491
|
+
onFocus
|
|
3707
3492
|
} = props;
|
|
3708
|
-
const classes = inputStyles(
|
|
3709
|
-
theme
|
|
3710
|
-
});
|
|
3493
|
+
const classes = inputStyles();
|
|
3711
3494
|
const Comp = inputType;
|
|
3712
3495
|
return /*#__PURE__*/React.createElement(Comp, _extends({}, inputType === 'input' ? {
|
|
3713
3496
|
type: 'text'
|
|
@@ -3740,8 +3523,7 @@ function SubscribeToNewsletter({
|
|
|
3740
3523
|
} = useContext(PageContext);
|
|
3741
3524
|
const [nodeData] = sectionData.components;
|
|
3742
3525
|
const classes = useSectionStyles$4({
|
|
3743
|
-
containerWidth
|
|
3744
|
-
isMobile
|
|
3526
|
+
containerWidth
|
|
3745
3527
|
});
|
|
3746
3528
|
let formInitialValue = nodeData?.inputField?.metadata?.value;
|
|
3747
3529
|
const [inputVal, setInputVal] = useState(formInitialValue);
|
|
@@ -3787,7 +3569,7 @@ function SubscribeToNewsletter({
|
|
|
3787
3569
|
className: classes.partialBackground
|
|
3788
3570
|
}), /*#__PURE__*/React.createElement("div", {
|
|
3789
3571
|
className: classes.sectionContainer
|
|
3790
|
-
}, /*#__PURE__*/React.createElement("
|
|
3572
|
+
}, /*#__PURE__*/React.createElement("h2", {
|
|
3791
3573
|
className: classes.cardHeading
|
|
3792
3574
|
}, /*#__PURE__*/React.createElement("span", {
|
|
3793
3575
|
ref: nodeData?.cardHeading?.refSetter,
|
|
@@ -3838,14 +3620,12 @@ function SubscribeToNewsletter({
|
|
|
3838
3620
|
type: nodeData?.cta?.metadata?.type,
|
|
3839
3621
|
size: isMobile ? 'small' : 'medium',
|
|
3840
3622
|
styling: isMobile ? {
|
|
3841
|
-
marginTop: '12px'
|
|
3842
|
-
border: 'none'
|
|
3623
|
+
marginTop: '12px'
|
|
3843
3624
|
} : {
|
|
3844
3625
|
maxWidth: '200px',
|
|
3845
3626
|
whiteSpace: 'nowrap',
|
|
3846
3627
|
overflow: 'hidden',
|
|
3847
|
-
textOverflow: 'ellipsis'
|
|
3848
|
-
border: 'none'
|
|
3628
|
+
textOverflow: 'ellipsis'
|
|
3849
3629
|
},
|
|
3850
3630
|
disabled: btnDisabled
|
|
3851
3631
|
})))))));
|
|
@@ -3856,181 +3636,171 @@ var index$h = /*#__PURE__*/Object.freeze({
|
|
|
3856
3636
|
'default': SubscribeToNewsletter
|
|
3857
3637
|
});
|
|
3858
3638
|
|
|
3859
|
-
const useTestimonialStyles = createUseStyles(theme =>
|
|
3860
|
-
|
|
3861
|
-
// background: theme?.palette?.background?.primary,
|
|
3862
|
-
overflow: 'hidden',
|
|
3863
|
-
padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
3864
|
-
'&, & *, & *:before, & *:after': {
|
|
3865
|
-
fontFamily: theme?.typography?.fontFamily,
|
|
3866
|
-
boxSizing: 'border-box'
|
|
3867
|
-
}
|
|
3868
|
-
// '& h2,& h3': {
|
|
3869
|
-
// fontWeight: '500',
|
|
3870
|
-
// '& b,& strong': {
|
|
3871
|
-
// fontWeight: '700'
|
|
3872
|
-
// }
|
|
3873
|
-
// }
|
|
3874
|
-
},
|
|
3875
|
-
|
|
3876
|
-
sectionContainer: {
|
|
3877
|
-
margin: '0 auto',
|
|
3878
|
-
maxWidth: ({
|
|
3879
|
-
containerWidth
|
|
3880
|
-
} = {}) => containerWidth
|
|
3881
|
-
},
|
|
3882
|
-
testimonialText: {
|
|
3883
|
-
color: theme?.palette?.font?.secondary,
|
|
3884
|
-
fontSize: theme.typography.fontSize.subHead,
|
|
3885
|
-
wordBreak: 'break-word',
|
|
3886
|
-
textTransform: 'uppercase'
|
|
3887
|
-
},
|
|
3888
|
-
testimonialHeader: {
|
|
3889
|
-
fontSize: theme.typography.fontSize.h2,
|
|
3890
|
-
color: theme?.palette?.font?.default,
|
|
3891
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
3892
|
-
marginBottom: theme.spacing.margin.tiny,
|
|
3893
|
-
marginTop: '8px',
|
|
3894
|
-
overflow: 'hidden',
|
|
3895
|
-
wordBreak: 'break-word',
|
|
3896
|
-
// whiteSpace: 'nowrap',
|
|
3897
|
-
textOverflow: 'ellipsis'
|
|
3898
|
-
},
|
|
3899
|
-
sliderContainer: {
|
|
3900
|
-
marginRight: `-${theme.spacing.margin.regular}px`
|
|
3901
|
-
},
|
|
3902
|
-
singleCard: {
|
|
3903
|
-
// margin: '6px 12px',
|
|
3904
|
-
position: 'relative',
|
|
3905
|
-
height: 'calc(100% - 12px)',
|
|
3906
|
-
width: 'calc(100% - 24px)',
|
|
3907
|
-
background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background1,
|
|
3908
|
-
boxShadow: theme?.shadows?.primary,
|
|
3909
|
-
borderRadius: theme?.shape?.borderRadius?.regular
|
|
3910
|
-
},
|
|
3911
|
-
contentRow: {
|
|
3912
|
-
display: 'grid',
|
|
3913
|
-
gridTemplateColumns: ({
|
|
3914
|
-
slidesToShow
|
|
3915
|
-
} = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
|
|
3916
|
-
},
|
|
3917
|
-
cardDetails: {
|
|
3918
|
-
height: '100%',
|
|
3919
|
-
display: 'flex',
|
|
3920
|
-
flexDirection: 'column',
|
|
3921
|
-
justifyContent: 'space-between',
|
|
3922
|
-
padding: '48px',
|
|
3923
|
-
borderRadius: '8px',
|
|
3924
|
-
alignItems: 'flex-start'
|
|
3925
|
-
},
|
|
3926
|
-
quoteIcon: {
|
|
3927
|
-
position: 'absolute',
|
|
3928
|
-
right: '20px'
|
|
3929
|
-
},
|
|
3930
|
-
reviewText: {
|
|
3931
|
-
// padding: '48px 41px 0 48px',
|
|
3932
|
-
marginBottom: theme.spacing.margin.tiny,
|
|
3933
|
-
fontSize: theme.typography.fontSize.subHead,
|
|
3934
|
-
wordBreak: 'break-word',
|
|
3935
|
-
color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font2,
|
|
3936
|
-
lineHeight: '22px'
|
|
3937
|
-
},
|
|
3938
|
-
userContainer: {
|
|
3939
|
-
display: 'flex',
|
|
3940
|
-
gap: '16px',
|
|
3941
|
-
alignItems: 'center'
|
|
3942
|
-
},
|
|
3943
|
-
userImageContainer: {
|
|
3944
|
-
width: '64px',
|
|
3945
|
-
height: '64px',
|
|
3946
|
-
position: 'relative',
|
|
3947
|
-
// paddingBottom: '55px',
|
|
3948
|
-
objectFit: 'cover'
|
|
3949
|
-
},
|
|
3950
|
-
userImageDummy: {
|
|
3951
|
-
width: '64px',
|
|
3952
|
-
height: '64px',
|
|
3953
|
-
borderRadius: '32px',
|
|
3954
|
-
background: '#666666',
|
|
3955
|
-
marginRight: '16px',
|
|
3956
|
-
flexShrink: '0'
|
|
3957
|
-
},
|
|
3958
|
-
userImage: {
|
|
3959
|
-
width: '64px',
|
|
3960
|
-
height: '64px',
|
|
3961
|
-
borderRadius: '32px',
|
|
3962
|
-
marginRight: '16px'
|
|
3963
|
-
},
|
|
3964
|
-
userName: {
|
|
3965
|
-
color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font2,
|
|
3966
|
-
margin: '0',
|
|
3967
|
-
fontSize: theme.typography.fontSize.h5,
|
|
3968
|
-
// paddingTop: '16px',
|
|
3969
|
-
overflow: 'hidden',
|
|
3970
|
-
whiteSpace: 'nowrap',
|
|
3971
|
-
textOverflow: 'ellipsis'
|
|
3972
|
-
},
|
|
3973
|
-
buttonContainer: {
|
|
3974
|
-
display: 'flex',
|
|
3975
|
-
gap: '20px',
|
|
3976
|
-
justifyContent: 'center',
|
|
3977
|
-
// paddingRight: theme.spacing.padding.medium,
|
|
3978
|
-
marginTop: theme.spacing.margin.tiny
|
|
3979
|
-
},
|
|
3980
|
-
'@media (max-width: 768px)': {
|
|
3639
|
+
const useTestimonialStyles = createUseStyles(theme => {
|
|
3640
|
+
return {
|
|
3981
3641
|
testimonialContainer: {
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
// textOverflow: 'ellipsis'
|
|
3996
|
-
// },
|
|
3997
|
-
userImageDummy: {
|
|
3998
|
-
width: '48px',
|
|
3999
|
-
height: '48px',
|
|
4000
|
-
borderRadius: '24px',
|
|
4001
|
-
marginRight: '16px'
|
|
3642
|
+
background: theme?.palette?.background?.primary,
|
|
3643
|
+
overflow: 'hidden',
|
|
3644
|
+
padding: '70px',
|
|
3645
|
+
'&, & *, & *:before, & *:after': {
|
|
3646
|
+
fontFamily: theme?.typography?.fontFamily,
|
|
3647
|
+
boxSizing: 'border-box'
|
|
3648
|
+
},
|
|
3649
|
+
'& h2,& h3': {
|
|
3650
|
+
fontWeight: '500',
|
|
3651
|
+
'& b,& strong': {
|
|
3652
|
+
fontWeight: '700'
|
|
3653
|
+
}
|
|
3654
|
+
}
|
|
4002
3655
|
},
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
3656
|
+
sectionContainer: {
|
|
3657
|
+
margin: '0 auto',
|
|
3658
|
+
maxWidth: ({
|
|
3659
|
+
containerWidth
|
|
3660
|
+
} = {}) => containerWidth
|
|
4008
3661
|
},
|
|
4009
|
-
|
|
4010
|
-
|
|
3662
|
+
testimonialCardAndText: {
|
|
3663
|
+
marginTop: '70px'
|
|
3664
|
+
},
|
|
3665
|
+
testimonialText: {
|
|
3666
|
+
color: theme?.palette?.font?.secondary,
|
|
3667
|
+
fontSize: '16px',
|
|
3668
|
+
marginLeft: '10px',
|
|
3669
|
+
wordBreak: 'break-word'
|
|
3670
|
+
},
|
|
3671
|
+
testimonialHeader: {
|
|
3672
|
+
fontSize: '56px',
|
|
3673
|
+
color: theme?.palette?.font?.default,
|
|
3674
|
+
margin: '10px 0 40px 10px',
|
|
3675
|
+
overflow: 'hidden',
|
|
3676
|
+
wordBreak: 'break-word',
|
|
3677
|
+
// whiteSpace: 'nowrap',
|
|
3678
|
+
textOverflow: 'ellipsis'
|
|
3679
|
+
},
|
|
3680
|
+
sliderContainer: {
|
|
3681
|
+
marginRight: '-20px'
|
|
4011
3682
|
},
|
|
4012
3683
|
singleCard: {
|
|
4013
|
-
margin: '6px
|
|
4014
|
-
|
|
3684
|
+
margin: '6px 12px',
|
|
3685
|
+
position: 'relative',
|
|
3686
|
+
height: 'calc(100% - 12px)',
|
|
3687
|
+
width: 'calc(100% - 24px)',
|
|
3688
|
+
background: theme?.palette?.background?.default,
|
|
3689
|
+
boxShadow: theme?.shadows?.primary,
|
|
3690
|
+
borderRadius: theme?.shape?.borderRadius?.regular
|
|
3691
|
+
},
|
|
3692
|
+
contentRow: {
|
|
3693
|
+
display: 'grid',
|
|
3694
|
+
gridTemplateColumns: ({
|
|
3695
|
+
slidesToShow
|
|
3696
|
+
} = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
|
|
3697
|
+
},
|
|
3698
|
+
cardDetails: {
|
|
3699
|
+
height: '100%',
|
|
3700
|
+
display: 'flex',
|
|
3701
|
+
flexDirection: 'column',
|
|
3702
|
+
justifyContent: 'space-between'
|
|
3703
|
+
},
|
|
3704
|
+
quoteIcon: {
|
|
3705
|
+
position: 'absolute',
|
|
3706
|
+
right: '20px'
|
|
3707
|
+
},
|
|
3708
|
+
reviewText: {
|
|
3709
|
+
padding: '48px 41px 0 48px',
|
|
3710
|
+
marginBottom: '48px',
|
|
3711
|
+
fontSize: '18px',
|
|
3712
|
+
wordBreak: 'break-word',
|
|
3713
|
+
color: theme?.palette?.font?.primary
|
|
3714
|
+
},
|
|
3715
|
+
userContainer: {
|
|
3716
|
+
display: 'flex',
|
|
3717
|
+
gap: '15px',
|
|
3718
|
+
padding: '0 0 29px 48px'
|
|
3719
|
+
},
|
|
3720
|
+
userImageContainer: {
|
|
3721
|
+
width: '64px',
|
|
3722
|
+
height: '64px',
|
|
3723
|
+
position: 'relative',
|
|
3724
|
+
// paddingBottom: '55px',
|
|
3725
|
+
objectFit: 'cover'
|
|
3726
|
+
},
|
|
3727
|
+
userImageDummy: {
|
|
3728
|
+
width: '64px',
|
|
3729
|
+
height: '64px',
|
|
3730
|
+
borderRadius: '32px',
|
|
3731
|
+
background: '#666666',
|
|
3732
|
+
marginRight: '16px',
|
|
3733
|
+
flexShrink: '0'
|
|
3734
|
+
},
|
|
3735
|
+
userImage: {
|
|
3736
|
+
width: '64px',
|
|
3737
|
+
height: '64px',
|
|
3738
|
+
borderRadius: '32px',
|
|
3739
|
+
marginRight: '16px'
|
|
4015
3740
|
},
|
|
4016
3741
|
userName: {
|
|
4017
|
-
|
|
3742
|
+
color: theme?.palette?.font?.default,
|
|
3743
|
+
margin: '0',
|
|
3744
|
+
fontSize: '24px',
|
|
3745
|
+
paddingTop: '16px',
|
|
4018
3746
|
overflow: 'hidden',
|
|
4019
3747
|
whiteSpace: 'nowrap',
|
|
4020
3748
|
textOverflow: 'ellipsis'
|
|
4021
3749
|
},
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
3750
|
+
buttonContainer: {
|
|
3751
|
+
display: 'flex',
|
|
3752
|
+
width: '120px',
|
|
3753
|
+
justifyContent: 'space-between',
|
|
3754
|
+
margin: '36px auto 81px auto'
|
|
4025
3755
|
},
|
|
4026
|
-
|
|
4027
|
-
|
|
3756
|
+
'@media (max-width: 768px)': {
|
|
3757
|
+
testimonialContainer: {
|
|
3758
|
+
padding: '60px 0'
|
|
3759
|
+
},
|
|
3760
|
+
testimonialCardAndText: {
|
|
3761
|
+
margin: '0 20px'
|
|
3762
|
+
},
|
|
3763
|
+
testimonialHeader: {
|
|
3764
|
+
fontSize: '24px',
|
|
3765
|
+
color: theme?.palette?.font?.default,
|
|
3766
|
+
margin: '4px 0 12px 0',
|
|
3767
|
+
overflow: 'hidden',
|
|
3768
|
+
// whiteSpace: 'nowrap',
|
|
3769
|
+
wordBreak: 'break-word',
|
|
3770
|
+
textOverflow: 'ellipsis'
|
|
3771
|
+
},
|
|
3772
|
+
userImageDummy: {
|
|
3773
|
+
width: '48px',
|
|
3774
|
+
height: '48px',
|
|
3775
|
+
borderRadius: '24px',
|
|
3776
|
+
marginRight: '16px'
|
|
3777
|
+
},
|
|
3778
|
+
userImage: {
|
|
3779
|
+
width: '48px',
|
|
3780
|
+
height: '48px',
|
|
3781
|
+
borderRadius: '24px',
|
|
3782
|
+
marginRight: '16px'
|
|
3783
|
+
},
|
|
3784
|
+
reviewText: {
|
|
3785
|
+
marginBottom: '40px'
|
|
3786
|
+
},
|
|
3787
|
+
singleCard: {
|
|
3788
|
+
margin: '6px 2px',
|
|
3789
|
+
width: 'calc(100% - 4px)'
|
|
3790
|
+
},
|
|
3791
|
+
userName: {
|
|
3792
|
+
paddingTop: '8px',
|
|
3793
|
+
overflow: 'hidden',
|
|
3794
|
+
whiteSpace: 'nowrap',
|
|
3795
|
+
textOverflow: 'ellipsis'
|
|
3796
|
+
},
|
|
3797
|
+
userImageContainer: {
|
|
3798
|
+
width: '48px',
|
|
3799
|
+
height: '48px'
|
|
3800
|
+
}
|
|
4028
3801
|
}
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
// },
|
|
4032
|
-
}
|
|
4033
|
-
}));
|
|
3802
|
+
};
|
|
3803
|
+
});
|
|
4034
3804
|
|
|
4035
3805
|
function QuotesComponent() {
|
|
4036
3806
|
const theme = useTheme();
|
|
@@ -4058,14 +3828,13 @@ function Section$1({
|
|
|
4058
3828
|
const classes = useTestimonialStyles({
|
|
4059
3829
|
containerWidth,
|
|
4060
3830
|
cardsCount,
|
|
4061
|
-
slidesToShow
|
|
4062
|
-
isMobile
|
|
3831
|
+
slidesToShow
|
|
4063
3832
|
});
|
|
4064
3833
|
const settings = {
|
|
4065
3834
|
className: classes.sliderContainer,
|
|
4066
3835
|
slidesToShow,
|
|
4067
3836
|
centerMode: true,
|
|
4068
|
-
centerPadding: isMobile ? '
|
|
3837
|
+
centerPadding: isMobile ? '10px 0 0' : '80px 0 0'
|
|
4069
3838
|
};
|
|
4070
3839
|
const carouselContent = carouselList.map((el, idx) =>
|
|
4071
3840
|
/*#__PURE__*/
|
|
@@ -4079,7 +3848,7 @@ function Section$1({
|
|
|
4079
3848
|
className: classes.quoteIcon
|
|
4080
3849
|
}, /*#__PURE__*/React.createElement(QuotesComponent, null)), /*#__PURE__*/React.createElement("div", {
|
|
4081
3850
|
className: classes.cardDetails
|
|
4082
|
-
}, /*#__PURE__*/React.createElement("
|
|
3851
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
4083
3852
|
ref: el?.cardTextContent?.refSetter,
|
|
4084
3853
|
className: classes.reviewText,
|
|
4085
3854
|
dangerouslySetInnerHTML: {
|
|
@@ -4124,7 +3893,7 @@ function Section$1({
|
|
|
4124
3893
|
dangerouslySetInnerHTML: {
|
|
4125
3894
|
__html: nodeData?.carouselHeading?.metadata?.value
|
|
4126
3895
|
}
|
|
4127
|
-
})), /*#__PURE__*/React.createElement("
|
|
3896
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
4128
3897
|
className: classes.testimonialHeader
|
|
4129
3898
|
}, /*#__PURE__*/React.createElement("span", {
|
|
4130
3899
|
ref: nodeData?.title?.refSetter,
|
|
@@ -4272,7 +4041,8 @@ const useVideoStyles$1 = createUseStyles(theme => {
|
|
|
4272
4041
|
height: '100%',
|
|
4273
4042
|
width: '100%',
|
|
4274
4043
|
objectFit: 'cover',
|
|
4275
|
-
objectPosition: 'top'
|
|
4044
|
+
objectPosition: 'top',
|
|
4045
|
+
opacity: '0.8'
|
|
4276
4046
|
},
|
|
4277
4047
|
'@media (max-width: 767px)': {
|
|
4278
4048
|
iframe: {
|
|
@@ -4307,7 +4077,10 @@ function VideoPlayer(props) {
|
|
|
4307
4077
|
}
|
|
4308
4078
|
}
|
|
4309
4079
|
return /*#__PURE__*/React.createElement(React.Fragment, null, !isLoaded && /*#__PURE__*/React.createElement("div", {
|
|
4310
|
-
className: classes.imgContainer
|
|
4080
|
+
className: classes.imgContainer,
|
|
4081
|
+
onClick: () => {
|
|
4082
|
+
setIsEnableed(true);
|
|
4083
|
+
}
|
|
4311
4084
|
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
4312
4085
|
src: imageUrl,
|
|
4313
4086
|
sectionIndex: props?.sectionIndex,
|
|
@@ -4336,23 +4109,20 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4336
4109
|
videoTestimonialSuperContainer: {
|
|
4337
4110
|
display: 'flex',
|
|
4338
4111
|
justifyContent: 'center',
|
|
4339
|
-
padding:
|
|
4340
|
-
isMobile
|
|
4341
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
4112
|
+
padding: '70px',
|
|
4342
4113
|
'&, & *, & *:before, & *:after': {
|
|
4343
|
-
fontFamily: theme?.typography?.fontFamily
|
|
4344
|
-
|
|
4114
|
+
fontFamily: theme?.typography?.fontFamily,
|
|
4115
|
+
boxSizing: 'border-box'
|
|
4116
|
+
},
|
|
4117
|
+
'& h2,& h3': {
|
|
4118
|
+
fontWeight: '500',
|
|
4119
|
+
'& b,& strong': {
|
|
4120
|
+
fontWeight: '700'
|
|
4121
|
+
}
|
|
4345
4122
|
}
|
|
4346
|
-
// '& h2,& h3': {
|
|
4347
|
-
// fontWeight: '500',
|
|
4348
|
-
// '& b,& strong': {
|
|
4349
|
-
// fontWeight: '700'
|
|
4350
|
-
// }
|
|
4351
|
-
// }
|
|
4352
4123
|
},
|
|
4353
|
-
|
|
4354
4124
|
sectionContainer: {
|
|
4355
|
-
|
|
4125
|
+
margin: '0 auto',
|
|
4356
4126
|
maxWidth: ({
|
|
4357
4127
|
containerWidth
|
|
4358
4128
|
} = {}) => containerWidth
|
|
@@ -4363,28 +4133,29 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4363
4133
|
fontFamily: theme?.typography?.fontFamily
|
|
4364
4134
|
},
|
|
4365
4135
|
videoTestimonialHeading: {
|
|
4366
|
-
fontSize:
|
|
4136
|
+
fontSize: '16px',
|
|
4367
4137
|
lineHeight: '20px',
|
|
4368
4138
|
letterSpacing: '3px',
|
|
4369
4139
|
textTransform: 'uppercase',
|
|
4370
4140
|
color: theme.palette.font.tertiary,
|
|
4371
|
-
wordBreak: 'break-word'
|
|
4372
|
-
marginBottom: '8px'
|
|
4141
|
+
wordBreak: 'break-word'
|
|
4373
4142
|
},
|
|
4374
4143
|
videoTestimonialTitle: {
|
|
4375
|
-
fontSize:
|
|
4376
|
-
|
|
4144
|
+
fontSize: '56px',
|
|
4145
|
+
lineHeight: '71px',
|
|
4377
4146
|
letterSpacing: '-3px',
|
|
4378
|
-
|
|
4379
|
-
marginBottom: theme.spacing.margin.tiny,
|
|
4147
|
+
margin: '0',
|
|
4380
4148
|
color: theme.palette.font.default,
|
|
4381
4149
|
wordBreak: 'break-word'
|
|
4382
4150
|
},
|
|
4151
|
+
videoCarouselContainer: {
|
|
4152
|
+
marginTop: '16px'
|
|
4153
|
+
},
|
|
4383
4154
|
videoCarousel: {
|
|
4384
4155
|
display: 'flex',
|
|
4385
4156
|
alignItems: 'center',
|
|
4386
4157
|
justifyContent: 'flex-start',
|
|
4387
|
-
gap:
|
|
4158
|
+
gap: '60px'
|
|
4388
4159
|
},
|
|
4389
4160
|
iframeSuperContainer: {
|
|
4390
4161
|
height: '100%',
|
|
@@ -4406,49 +4177,57 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4406
4177
|
videoDetails: {
|
|
4407
4178
|
width: '100%',
|
|
4408
4179
|
display: 'flex',
|
|
4409
|
-
gap: '24px',
|
|
4410
4180
|
flexDirection: 'column',
|
|
4411
4181
|
alignItems: 'flex-start'
|
|
4412
4182
|
},
|
|
4413
4183
|
videoDetailsHeading: {
|
|
4414
|
-
fontSize:
|
|
4184
|
+
fontSize: '40px',
|
|
4415
4185
|
lineHeight: '48px',
|
|
4416
4186
|
margin: '0',
|
|
4417
4187
|
letterSpacing: '-1px',
|
|
4418
4188
|
wordBreak: 'break-word',
|
|
4419
|
-
color: theme.palette.font.default
|
|
4420
|
-
fontWeight: theme.typography.fontWeight.bold
|
|
4189
|
+
color: theme.palette.font.default
|
|
4421
4190
|
},
|
|
4422
4191
|
videoDetailsContent: {
|
|
4423
|
-
fontSize:
|
|
4192
|
+
fontSize: '16px',
|
|
4424
4193
|
lineHeight: '24px',
|
|
4425
4194
|
wordBreak: 'break-word',
|
|
4426
|
-
color: theme.palette.font.primary
|
|
4195
|
+
color: theme.palette.font.primary,
|
|
4196
|
+
margin: '10px 0 20px'
|
|
4427
4197
|
},
|
|
4428
4198
|
videoDetailsSubContent: {
|
|
4429
|
-
fontSize:
|
|
4199
|
+
fontSize: '16px',
|
|
4430
4200
|
lineHeight: '24px',
|
|
4431
4201
|
margin: '0',
|
|
4432
4202
|
color: theme.palette.font.primary,
|
|
4433
4203
|
wordBreak: 'break-word'
|
|
4434
4204
|
},
|
|
4435
4205
|
'@media (max-width: 767px)': {
|
|
4206
|
+
videoTestimonialSuperContainer: {
|
|
4207
|
+
padding: '70px 10px 60px 20px'
|
|
4208
|
+
},
|
|
4436
4209
|
videoCarousel: {
|
|
4437
|
-
flexDirection: 'column'
|
|
4210
|
+
flexDirection: 'column',
|
|
4211
|
+
gap: '20px'
|
|
4438
4212
|
},
|
|
4439
4213
|
videoCarouselContainer: {
|
|
4440
|
-
height: 'max-content'
|
|
4214
|
+
height: 'max-content',
|
|
4215
|
+
paddingRight: '10px'
|
|
4441
4216
|
},
|
|
4442
4217
|
videoDetails: {
|
|
4443
|
-
width: '100%'
|
|
4444
|
-
gap: '16px'
|
|
4218
|
+
width: '100%'
|
|
4445
4219
|
},
|
|
4446
4220
|
videoDetailsHeading: {
|
|
4221
|
+
fontSize: '16px',
|
|
4447
4222
|
lineHeight: '20px'
|
|
4448
4223
|
},
|
|
4449
4224
|
videoTestimonialTitle: {
|
|
4225
|
+
fontSize: '24px',
|
|
4450
4226
|
lineHeight: '36px',
|
|
4451
4227
|
letterSpacing: '-1px'
|
|
4228
|
+
},
|
|
4229
|
+
videoDetailsContent: {
|
|
4230
|
+
marginTop: '4px'
|
|
4452
4231
|
}
|
|
4453
4232
|
}
|
|
4454
4233
|
};
|
|
@@ -4474,19 +4253,19 @@ const SingleVideoSlide$2 = props => {
|
|
|
4474
4253
|
sectionIndex: props?.sectionIndex
|
|
4475
4254
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
4476
4255
|
className: classes.videoDetails
|
|
4477
|
-
}, /*#__PURE__*/React.createElement("
|
|
4256
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
4478
4257
|
ref: data?.videoTextHeading?.refSetter,
|
|
4479
4258
|
className: classes.videoDetailsHeading,
|
|
4480
4259
|
dangerouslySetInnerHTML: {
|
|
4481
4260
|
__html: data.videoTextHeading.metadata.value
|
|
4482
4261
|
}
|
|
4483
|
-
}), /*#__PURE__*/React.createElement("
|
|
4262
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
4484
4263
|
ref: data?.videoTextContent?.refSetter,
|
|
4485
4264
|
className: classes.videoDetailsContent,
|
|
4486
4265
|
dangerouslySetInnerHTML: {
|
|
4487
4266
|
__html: data.videoTextContent.metadata.value
|
|
4488
4267
|
}
|
|
4489
|
-
}), /*#__PURE__*/React.createElement("
|
|
4268
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
4490
4269
|
ref: data?.videoTextSubContent?.refSetter,
|
|
4491
4270
|
className: classes.videoDetailsSubContent,
|
|
4492
4271
|
dangerouslySetInnerHTML: {
|
|
@@ -4502,12 +4281,10 @@ function VideoTestimonial({
|
|
|
4502
4281
|
const {
|
|
4503
4282
|
layout: {
|
|
4504
4283
|
containerWidth
|
|
4505
|
-
}
|
|
4506
|
-
isMobile
|
|
4284
|
+
}
|
|
4507
4285
|
} = useContext(PageContext);
|
|
4508
4286
|
const classes = useVideoTestimonialStyles({
|
|
4509
|
-
containerWidth
|
|
4510
|
-
isMobile
|
|
4287
|
+
containerWidth
|
|
4511
4288
|
});
|
|
4512
4289
|
const [videoData] = sectionData.components;
|
|
4513
4290
|
const Wrapper = videoData.videoCarousel.components.length > 1 ? Carousel : Fragment;
|
|
@@ -4524,7 +4301,7 @@ function VideoTestimonial({
|
|
|
4524
4301
|
dangerouslySetInnerHTML: {
|
|
4525
4302
|
__html: videoData.videoHeading.metadata.value
|
|
4526
4303
|
}
|
|
4527
|
-
})), /*#__PURE__*/React.createElement("
|
|
4304
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
4528
4305
|
className: classes.videoTestimonialTitle
|
|
4529
4306
|
}, /*#__PURE__*/React.createElement("span", {
|
|
4530
4307
|
ref: videoData?.title?.refSetter,
|
|
@@ -4546,51 +4323,47 @@ var index$f = /*#__PURE__*/Object.freeze({
|
|
|
4546
4323
|
const useVideoStyles = createUseStyles(theme => {
|
|
4547
4324
|
return {
|
|
4548
4325
|
videoSuperContainer: {
|
|
4549
|
-
padding:
|
|
4550
|
-
|
|
4551
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
4552
|
-
background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
|
|
4326
|
+
padding: '70px',
|
|
4327
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
4553
4328
|
'&, & *, & *:before, & *:after': {
|
|
4554
4329
|
fontFamily: theme?.typography?.fontFamily,
|
|
4555
4330
|
boxSizing: 'border-box'
|
|
4331
|
+
},
|
|
4332
|
+
'& h2,& h3': {
|
|
4333
|
+
fontWeight: '500',
|
|
4334
|
+
'& b,& strong': {
|
|
4335
|
+
fontWeight: '700'
|
|
4336
|
+
}
|
|
4556
4337
|
}
|
|
4557
|
-
// '& h2,& h3': {
|
|
4558
|
-
// fontWeight: '500',
|
|
4559
|
-
// '& b,& strong': {
|
|
4560
|
-
// fontWeight: '700'
|
|
4561
|
-
// }
|
|
4562
|
-
// }
|
|
4563
4338
|
},
|
|
4564
|
-
|
|
4565
4339
|
sectionContainer: {
|
|
4566
4340
|
margin: '0 auto',
|
|
4567
4341
|
maxWidth: ({
|
|
4568
4342
|
containerWidth
|
|
4569
4343
|
} = {}) => containerWidth
|
|
4570
4344
|
},
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4345
|
+
videoContainer: {
|
|
4346
|
+
marginTop: '70px'
|
|
4347
|
+
},
|
|
4575
4348
|
videoHeading: {
|
|
4576
|
-
fontSize:
|
|
4577
|
-
textTransform: 'uppercase',
|
|
4349
|
+
fontSize: '16px',
|
|
4578
4350
|
lineHeight: '20px',
|
|
4351
|
+
marginBottom: '4px',
|
|
4352
|
+
letterSpacing: '3px',
|
|
4579
4353
|
color: theme?.palette?.font?.primary,
|
|
4580
4354
|
wordBreak: 'break-word'
|
|
4581
4355
|
},
|
|
4582
4356
|
videoTitle: {
|
|
4583
|
-
fontSize:
|
|
4584
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
4357
|
+
fontSize: '56px',
|
|
4585
4358
|
lineHeight: '71px',
|
|
4586
4359
|
letterSpacing: '-3px',
|
|
4587
|
-
marginBottom:
|
|
4588
|
-
marginTop: '
|
|
4360
|
+
marginBottom: '20px',
|
|
4361
|
+
marginTop: '0',
|
|
4589
4362
|
color: theme?.palette?.font?.default,
|
|
4590
4363
|
wordBreak: 'break-word'
|
|
4591
4364
|
},
|
|
4592
4365
|
sliderContainer: {
|
|
4593
|
-
marginRight:
|
|
4366
|
+
marginRight: '-35px'
|
|
4594
4367
|
},
|
|
4595
4368
|
singleSlideContainer: {
|
|
4596
4369
|
backgroundColor: theme?.palette?.background?.default,
|
|
@@ -4598,7 +4371,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4598
4371
|
width: 'calc(100% - 40px)',
|
|
4599
4372
|
height: 'calc(100% - 40px)',
|
|
4600
4373
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
4601
|
-
padding: '
|
|
4374
|
+
padding: '40px',
|
|
4602
4375
|
boxShadow: theme?.shadows?.primary
|
|
4603
4376
|
},
|
|
4604
4377
|
contentRow: {
|
|
@@ -4611,7 +4384,6 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4611
4384
|
width: '100%',
|
|
4612
4385
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
4613
4386
|
position: 'relative',
|
|
4614
|
-
overflow: 'hidden',
|
|
4615
4387
|
paddingBottom: '56.25%'
|
|
4616
4388
|
},
|
|
4617
4389
|
iframe: {
|
|
@@ -4626,32 +4398,43 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4626
4398
|
margin: '12px 12px 0'
|
|
4627
4399
|
},
|
|
4628
4400
|
videoDetailsHeading: {
|
|
4629
|
-
fontSize:
|
|
4630
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
4401
|
+
fontSize: '24px',
|
|
4631
4402
|
lineHeight: '32px',
|
|
4632
|
-
|
|
4403
|
+
margin: '0',
|
|
4633
4404
|
color: theme?.palette?.font?.default,
|
|
4634
4405
|
wordBreak: 'break-word'
|
|
4635
4406
|
},
|
|
4636
4407
|
videoDetailsSubHeading: {
|
|
4637
|
-
fontSize:
|
|
4408
|
+
fontSize: '16px',
|
|
4638
4409
|
lineHeight: '24px',
|
|
4639
4410
|
wordBreak: 'break-word',
|
|
4640
4411
|
color: theme?.palette?.font?.primary
|
|
4641
4412
|
},
|
|
4642
4413
|
'@media (max-width: 767px)': {
|
|
4414
|
+
videoSuperContainer: {
|
|
4415
|
+
padding: '70px 20px 60px'
|
|
4416
|
+
},
|
|
4643
4417
|
videoHeading: {
|
|
4644
|
-
|
|
4418
|
+
fontSize: '16px',
|
|
4419
|
+
lineHeight: '20px',
|
|
4420
|
+
letterSpacing: '3px'
|
|
4421
|
+
},
|
|
4422
|
+
videoTitle: {
|
|
4423
|
+
fontSize: '24px',
|
|
4424
|
+
lineHeight: '36px',
|
|
4425
|
+
letterSpacing: '-1px',
|
|
4426
|
+
marginBottom: '0',
|
|
4427
|
+
marginTop: '0'
|
|
4645
4428
|
},
|
|
4646
4429
|
videoContainer: {
|
|
4647
4430
|
margin: '0'
|
|
4648
4431
|
},
|
|
4649
4432
|
sliderContainer: {
|
|
4650
|
-
|
|
4651
|
-
marginRight: '
|
|
4433
|
+
marginLeft: '-6px',
|
|
4434
|
+
marginRight: '-20px'
|
|
4652
4435
|
},
|
|
4653
4436
|
singleSlideContainer: {
|
|
4654
|
-
padding: '
|
|
4437
|
+
padding: '0',
|
|
4655
4438
|
width: 'calc(100% - 12px)',
|
|
4656
4439
|
height: 'calc(100% - 24px)',
|
|
4657
4440
|
margin: '12px 6px'
|
|
@@ -4663,28 +4446,14 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4663
4446
|
textAlign: 'left',
|
|
4664
4447
|
margin: '12px 12px 0'
|
|
4665
4448
|
},
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
textAlign: 'center',
|
|
4670
|
-
lineHeight: '36px',
|
|
4671
|
-
letterSpacing: '-1px'
|
|
4449
|
+
videoDetailsHeading: {
|
|
4450
|
+
fontSize: '18px',
|
|
4451
|
+
margin: '0'
|
|
4672
4452
|
},
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
textAlign: 'center'
|
|
4453
|
+
videoDetailsSubHeading: {
|
|
4454
|
+
fontSize: '12px',
|
|
4455
|
+
paddingBottom: '20px'
|
|
4677
4456
|
}
|
|
4678
|
-
|
|
4679
|
-
// videoDetailsHeading: {
|
|
4680
|
-
// fontSize: '18px',
|
|
4681
|
-
// margin: '0'
|
|
4682
|
-
// },
|
|
4683
|
-
|
|
4684
|
-
// videoDetailsSubHeading: {
|
|
4685
|
-
// fontSize: '12px',
|
|
4686
|
-
// paddingBottom: '20px'
|
|
4687
|
-
// }
|
|
4688
4457
|
}
|
|
4689
4458
|
};
|
|
4690
4459
|
});
|
|
@@ -4698,13 +4467,16 @@ const SingleSlide$1 = props => {
|
|
|
4698
4467
|
className: classes.singleSlideContainer
|
|
4699
4468
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4700
4469
|
ref: data?.videoFrame?.refSetter,
|
|
4701
|
-
className: classes.iframeContainer
|
|
4470
|
+
className: classes.iframeContainer,
|
|
4471
|
+
style: {
|
|
4472
|
+
background: 'linear-gradient(#333333,rgb(0 0 0))'
|
|
4473
|
+
}
|
|
4702
4474
|
}, /*#__PURE__*/React.createElement(VideoPlayer, {
|
|
4703
4475
|
imageUrl: data.videoFrame.metadata?.thumbnail,
|
|
4704
4476
|
videoUrl: data.videoFrame.metadata?.value
|
|
4705
4477
|
})), /*#__PURE__*/React.createElement("div", {
|
|
4706
4478
|
className: classes.videoDetailsContainer
|
|
4707
|
-
}, /*#__PURE__*/React.createElement("
|
|
4479
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
4708
4480
|
ref: data?.videoTitle?.refSetter,
|
|
4709
4481
|
className: classes.videoDetailsHeading,
|
|
4710
4482
|
dangerouslySetInnerHTML: {
|
|
@@ -4734,13 +4506,12 @@ function Video({
|
|
|
4734
4506
|
const classes = useVideoStyles({
|
|
4735
4507
|
containerWidth,
|
|
4736
4508
|
cardsCount,
|
|
4737
|
-
slidesToShow
|
|
4738
|
-
isMobile
|
|
4509
|
+
slidesToShow
|
|
4739
4510
|
});
|
|
4740
4511
|
const settings = {
|
|
4741
4512
|
className: classes.sliderContainer,
|
|
4742
4513
|
slidesToShow,
|
|
4743
|
-
centerPadding: isMobile ? '
|
|
4514
|
+
centerPadding: isMobile ? '40px 0 0' : '100px 0 0',
|
|
4744
4515
|
centerMode: true
|
|
4745
4516
|
};
|
|
4746
4517
|
const carouselContent = videoData.videoCarousel.components.map((data, index) => /*#__PURE__*/React.createElement(SingleSlide$1, {
|
|
@@ -4760,7 +4531,7 @@ function Video({
|
|
|
4760
4531
|
dangerouslySetInnerHTML: {
|
|
4761
4532
|
__html: videoData.videoHeading.metadata.value
|
|
4762
4533
|
}
|
|
4763
|
-
})), /*#__PURE__*/React.createElement("
|
|
4534
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
4764
4535
|
className: classes.videoTitle
|
|
4765
4536
|
}, /*#__PURE__*/React.createElement("span", {
|
|
4766
4537
|
ref: videoData?.videoTitle?.refSetter,
|
|
@@ -4780,10 +4551,10 @@ var index$e = /*#__PURE__*/Object.freeze({
|
|
|
4780
4551
|
'default': Video
|
|
4781
4552
|
});
|
|
4782
4553
|
|
|
4783
|
-
const useSectionStyles$3 = createUseStyles(theme => (
|
|
4554
|
+
const useSectionStyles$3 = createUseStyles(theme => ({
|
|
4784
4555
|
section: {
|
|
4785
4556
|
position: 'relative',
|
|
4786
|
-
padding:
|
|
4557
|
+
padding: '70px 0',
|
|
4787
4558
|
backgroundColor: theme?.palette?.background?.default,
|
|
4788
4559
|
'&, & *, & *:before, & *:after': {
|
|
4789
4560
|
fontFamily: theme?.typography?.fontFamily,
|
|
@@ -4807,15 +4578,16 @@ const useSectionStyles$3 = createUseStyles(theme => (console.log(theme), {
|
|
|
4807
4578
|
top: '0',
|
|
4808
4579
|
left: '0',
|
|
4809
4580
|
height: '350px',
|
|
4810
|
-
background: theme?.
|
|
4581
|
+
background: theme?.palette?.background?.primary,
|
|
4811
4582
|
width: '100%'
|
|
4812
4583
|
},
|
|
4813
4584
|
content: {
|
|
4814
|
-
position: 'relative'
|
|
4585
|
+
position: 'relative',
|
|
4586
|
+
margin: '0 70px'
|
|
4815
4587
|
},
|
|
4816
4588
|
subTitleHeading: {
|
|
4817
4589
|
width: '100%',
|
|
4818
|
-
fontSize:
|
|
4590
|
+
fontSize: '16px',
|
|
4819
4591
|
color: theme?.palette?.font?.tertiary,
|
|
4820
4592
|
textAlign: 'left',
|
|
4821
4593
|
lineHeight: '20px',
|
|
@@ -4823,8 +4595,8 @@ const useSectionStyles$3 = createUseStyles(theme => (console.log(theme), {
|
|
|
4823
4595
|
wordBreak: 'break-word'
|
|
4824
4596
|
},
|
|
4825
4597
|
heading: {
|
|
4826
|
-
margin:
|
|
4827
|
-
fontSize:
|
|
4598
|
+
margin: '8px 0 20px',
|
|
4599
|
+
fontSize: '56px',
|
|
4828
4600
|
width: '100%',
|
|
4829
4601
|
lineHeight: '70px',
|
|
4830
4602
|
color: theme?.palette?.font?.default,
|
|
@@ -4846,16 +4618,16 @@ const useSectionStyles$3 = createUseStyles(theme => (console.log(theme), {
|
|
|
4846
4618
|
height: 'calc(100% - 12px)'
|
|
4847
4619
|
},
|
|
4848
4620
|
cardContent: {
|
|
4849
|
-
padding:
|
|
4621
|
+
padding: '32px',
|
|
4850
4622
|
height: '100%',
|
|
4851
4623
|
display: 'flex',
|
|
4852
4624
|
flexDirection: 'column'
|
|
4853
4625
|
},
|
|
4854
4626
|
cardHeading: {
|
|
4855
|
-
fontSize:
|
|
4627
|
+
fontSize: '24px',
|
|
4856
4628
|
lineHeight: '32px',
|
|
4857
4629
|
color: theme?.palette?.font?.default,
|
|
4858
|
-
margin:
|
|
4630
|
+
margin: '32px 0 16px',
|
|
4859
4631
|
wordBreak: 'break-word'
|
|
4860
4632
|
},
|
|
4861
4633
|
imageContainer: {
|
|
@@ -4868,7 +4640,7 @@ const useSectionStyles$3 = createUseStyles(theme => (console.log(theme), {
|
|
|
4868
4640
|
background: theme?.palette?.background?.primary
|
|
4869
4641
|
},
|
|
4870
4642
|
cardPara: {
|
|
4871
|
-
fontSize:
|
|
4643
|
+
fontSize: '16px',
|
|
4872
4644
|
lineHeight: '24px',
|
|
4873
4645
|
color: theme?.palette?.font?.primary,
|
|
4874
4646
|
margin: '0',
|
|
@@ -4884,10 +4656,13 @@ const useSectionStyles$3 = createUseStyles(theme => (console.log(theme), {
|
|
|
4884
4656
|
'@media screen and (max-width: 767px)': {
|
|
4885
4657
|
heading: {
|
|
4886
4658
|
fontSize: '24px',
|
|
4887
|
-
margin:
|
|
4659
|
+
margin: '4px 0 12px',
|
|
4888
4660
|
lineHeight: '36px',
|
|
4889
4661
|
padding: '0'
|
|
4890
4662
|
},
|
|
4663
|
+
content: {
|
|
4664
|
+
margin: '0 20px'
|
|
4665
|
+
},
|
|
4891
4666
|
sliderContainer: {
|
|
4892
4667
|
marginLeft: '-6px',
|
|
4893
4668
|
marginRight: '-20px'
|
|
@@ -4902,6 +4677,12 @@ const useSectionStyles$3 = createUseStyles(theme => (console.log(theme), {
|
|
|
4902
4677
|
slidesToShow,
|
|
4903
4678
|
cardsCount
|
|
4904
4679
|
} = {}) => cardsCount > slidesToShow ? `6px 2px 6px 6px` : `6px 0 6px 0`
|
|
4680
|
+
},
|
|
4681
|
+
cardContent: {
|
|
4682
|
+
padding: '20px'
|
|
4683
|
+
},
|
|
4684
|
+
cardHeading: {
|
|
4685
|
+
margin: '14px 0'
|
|
4905
4686
|
}
|
|
4906
4687
|
}
|
|
4907
4688
|
}));
|
|
@@ -4998,64 +4779,67 @@ var index$d = /*#__PURE__*/Object.freeze({
|
|
|
4998
4779
|
|
|
4999
4780
|
const useSectionStyles$2 = createUseStyles(theme => ({
|
|
5000
4781
|
section: {
|
|
5001
|
-
padding:
|
|
5002
|
-
|
|
5003
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
5004
|
-
background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background1,
|
|
4782
|
+
padding: '70px',
|
|
4783
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
5005
4784
|
'&, & *, & *:before, & *:after': {
|
|
5006
4785
|
fontFamily: theme?.typography?.fontFamily,
|
|
5007
4786
|
boxSizing: 'border-box'
|
|
4787
|
+
},
|
|
4788
|
+
'& h2,& h3': {
|
|
4789
|
+
fontWeight: '500',
|
|
4790
|
+
'& b,& strong': {
|
|
4791
|
+
fontWeight: '700'
|
|
4792
|
+
}
|
|
5008
4793
|
}
|
|
5009
|
-
// '& h2,& h3': {
|
|
5010
|
-
// fontWeight: '500',
|
|
5011
|
-
// '& b,& strong': {
|
|
5012
|
-
// fontWeight: '700'
|
|
5013
|
-
// }
|
|
5014
|
-
// }
|
|
5015
4794
|
},
|
|
5016
|
-
|
|
5017
4795
|
sectionContainer: {
|
|
4796
|
+
margin: '0 auto',
|
|
5018
4797
|
maxWidth: ({
|
|
5019
4798
|
containerWidth
|
|
5020
4799
|
} = {}) => containerWidth
|
|
5021
4800
|
},
|
|
5022
4801
|
subHeading: {
|
|
5023
|
-
fontSize:
|
|
4802
|
+
fontSize: '20px',
|
|
5024
4803
|
marginBottom: '8px',
|
|
5025
|
-
color: theme?.
|
|
5026
|
-
wordBreak: 'break-word'
|
|
5027
|
-
textTransform: 'uppercase',
|
|
5028
|
-
letterSpacing: '3px'
|
|
4804
|
+
color: theme?.palette?.font?.tertiary,
|
|
4805
|
+
wordBreak: 'break-word'
|
|
5029
4806
|
},
|
|
5030
4807
|
title: {
|
|
5031
|
-
fontSize:
|
|
5032
|
-
|
|
5033
|
-
lineHeight: 'normal',
|
|
4808
|
+
fontSize: '56px',
|
|
4809
|
+
lineHeight: '70px',
|
|
5034
4810
|
margin: '0',
|
|
5035
|
-
color: theme?.
|
|
5036
|
-
wordBreak: 'break-word'
|
|
5037
|
-
marginBottom: theme.spacing.margin.tiny
|
|
4811
|
+
color: theme?.palette?.font?.default,
|
|
4812
|
+
wordBreak: 'break-word'
|
|
5038
4813
|
},
|
|
5039
4814
|
textContent: {
|
|
5040
4815
|
display: 'grid',
|
|
5041
4816
|
gridTemplateColumns: '1fr 1fr',
|
|
5042
|
-
gap: '
|
|
5043
|
-
padding: '48px 0px'
|
|
4817
|
+
gap: '80px'
|
|
5044
4818
|
},
|
|
5045
4819
|
textPara: {
|
|
5046
|
-
|
|
5047
|
-
borderRadius: '8px',
|
|
5048
|
-
padding: '40px',
|
|
4820
|
+
margin: '20px 0 0 0',
|
|
5049
4821
|
lineHeight: '24px',
|
|
5050
4822
|
color: theme?.palette?.font?.primary,
|
|
5051
|
-
wordBreak: 'break-word'
|
|
5052
|
-
fontSize: theme.typography.fontSize.subHead,
|
|
5053
|
-
boxShadow: '0px 2px 8px 0px rgba(0, 0, 0, 0.08)'
|
|
4823
|
+
wordBreak: 'break-word'
|
|
5054
4824
|
},
|
|
5055
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
|
+
},
|
|
5056
4838
|
textContent: {
|
|
5057
|
-
|
|
5058
|
-
|
|
4839
|
+
display: 'block'
|
|
4840
|
+
},
|
|
4841
|
+
textPara: {
|
|
4842
|
+
marginTop: '12px'
|
|
5059
4843
|
}
|
|
5060
4844
|
}
|
|
5061
4845
|
}));
|
|
@@ -5066,12 +4850,10 @@ const TextSection = ({
|
|
|
5066
4850
|
const {
|
|
5067
4851
|
layout: {
|
|
5068
4852
|
containerWidth
|
|
5069
|
-
}
|
|
5070
|
-
isMobile
|
|
4853
|
+
}
|
|
5071
4854
|
} = useContext(PageContext);
|
|
5072
4855
|
const classes = useSectionStyles$2({
|
|
5073
|
-
containerWidth
|
|
5074
|
-
isMobile
|
|
4856
|
+
containerWidth
|
|
5075
4857
|
});
|
|
5076
4858
|
const [nodeData] = sectionData.components;
|
|
5077
4859
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("section", {
|
|
@@ -5094,13 +4876,13 @@ const TextSection = ({
|
|
|
5094
4876
|
}
|
|
5095
4877
|
})), /*#__PURE__*/React.createElement("div", {
|
|
5096
4878
|
className: classes.textContent
|
|
5097
|
-
}, /*#__PURE__*/React.createElement("
|
|
4879
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
5098
4880
|
ref: nodeData?.textLeft?.refSetter,
|
|
5099
4881
|
className: classes.textPara,
|
|
5100
4882
|
dangerouslySetInnerHTML: {
|
|
5101
4883
|
__html: nodeData.textLeft.metadata.value
|
|
5102
4884
|
}
|
|
5103
|
-
}), /*#__PURE__*/React.createElement("
|
|
4885
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
5104
4886
|
ref: nodeData?.textRight?.refSetter,
|
|
5105
4887
|
className: classes.textPara,
|
|
5106
4888
|
dangerouslySetInnerHTML: {
|
|
@@ -5118,21 +4900,18 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5118
4900
|
return {
|
|
5119
4901
|
container: {
|
|
5120
4902
|
background: theme?.palette?.background?.default,
|
|
5121
|
-
padding:
|
|
5122
|
-
isMobile
|
|
5123
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px 0px ${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
4903
|
+
padding: '70px',
|
|
5124
4904
|
'&, & *, & *:before, & *:after': {
|
|
5125
4905
|
fontFamily: theme?.typography?.fontFamily,
|
|
5126
4906
|
boxSizing: 'border-box'
|
|
4907
|
+
},
|
|
4908
|
+
'& h2,& h3': {
|
|
4909
|
+
fontWeight: '500',
|
|
4910
|
+
'& b,& strong': {
|
|
4911
|
+
fontWeight: '700'
|
|
4912
|
+
}
|
|
5127
4913
|
}
|
|
5128
|
-
// '& h2,& h3': {
|
|
5129
|
-
// fontWeight: '500',
|
|
5130
|
-
// '& b,& strong': {
|
|
5131
|
-
// fontWeight: '700'
|
|
5132
|
-
// }
|
|
5133
|
-
// }
|
|
5134
4914
|
},
|
|
5135
|
-
|
|
5136
4915
|
sectionContainer: {
|
|
5137
4916
|
margin: '0 auto',
|
|
5138
4917
|
maxWidth: ({
|
|
@@ -5141,15 +4920,13 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5141
4920
|
},
|
|
5142
4921
|
cardHeading: {
|
|
5143
4922
|
color: theme?.palette?.font?.secondary,
|
|
5144
|
-
fontSize:
|
|
4923
|
+
fontSize: '16px',
|
|
5145
4924
|
letterSpacing: '3px',
|
|
5146
|
-
wordBreak: 'break-word'
|
|
5147
|
-
|
|
4925
|
+
wordBreak: 'break-word'
|
|
4926
|
+
},
|
|
4927
|
+
sliderContainer: {
|
|
4928
|
+
marginRight: '-70px'
|
|
5148
4929
|
},
|
|
5149
|
-
// sliderContainer: {
|
|
5150
|
-
// marginRight: '-70px'
|
|
5151
|
-
// },
|
|
5152
|
-
|
|
5153
4930
|
singleCard: {
|
|
5154
4931
|
margin: '0 1px',
|
|
5155
4932
|
width: 'calc(100% - 2px)',
|
|
@@ -5172,26 +4949,24 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5172
4949
|
height: '100%'
|
|
5173
4950
|
},
|
|
5174
4951
|
title: {
|
|
5175
|
-
fontSize:
|
|
4952
|
+
fontSize: '56px',
|
|
5176
4953
|
lineHeight: '70px',
|
|
5177
4954
|
letterSpacing: '-3px',
|
|
5178
4955
|
color: theme?.palette?.font?.default,
|
|
5179
|
-
|
|
5180
|
-
marginBottom: theme.spacing.margin.tiny,
|
|
4956
|
+
margin: '8px 0 20px',
|
|
5181
4957
|
overflow: 'hidden',
|
|
5182
4958
|
whiteSpace: 'nowrap',
|
|
5183
4959
|
textOverflow: 'ellipsis'
|
|
5184
4960
|
},
|
|
5185
4961
|
'@media (max-width: 768px)': {
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
// },
|
|
5193
|
-
|
|
4962
|
+
container: {
|
|
4963
|
+
padding: '60px 20px'
|
|
4964
|
+
},
|
|
4965
|
+
cardHeading: {
|
|
4966
|
+
marginLeft: '3px'
|
|
4967
|
+
},
|
|
5194
4968
|
title: {
|
|
4969
|
+
fontSize: '24px',
|
|
5195
4970
|
lineHeight: '36px',
|
|
5196
4971
|
letterSpacing: '-1px',
|
|
5197
4972
|
color: theme?.palette?.font?.default,
|
|
@@ -5199,11 +4974,10 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5199
4974
|
overflow: 'hidden',
|
|
5200
4975
|
whiteSpace: 'nowrap',
|
|
5201
4976
|
textOverflow: 'ellipsis'
|
|
4977
|
+
},
|
|
4978
|
+
sliderContainer: {
|
|
4979
|
+
marginRight: '-20px'
|
|
5202
4980
|
}
|
|
5203
|
-
|
|
5204
|
-
// sliderContainer: {
|
|
5205
|
-
// marginRight: '-20px'
|
|
5206
|
-
// }
|
|
5207
4981
|
}
|
|
5208
4982
|
};
|
|
5209
4983
|
});
|
|
@@ -5225,12 +4999,11 @@ function PhotoGallery({
|
|
|
5225
4999
|
const classes = usePhotoGalleryStyles({
|
|
5226
5000
|
containerWidth,
|
|
5227
5001
|
cardsCount,
|
|
5228
|
-
slidesToShow
|
|
5229
|
-
isMobile
|
|
5002
|
+
slidesToShow
|
|
5230
5003
|
});
|
|
5231
5004
|
const settings = {
|
|
5232
5005
|
className: classes.sliderContainer,
|
|
5233
|
-
dots:
|
|
5006
|
+
dots: false,
|
|
5234
5007
|
infinite: true,
|
|
5235
5008
|
speed: 500,
|
|
5236
5009
|
slidesToShow,
|
|
@@ -5284,73 +5057,64 @@ var index$b = /*#__PURE__*/Object.freeze({
|
|
|
5284
5057
|
const useFaqListStyles = createUseStyles(theme => ({
|
|
5285
5058
|
section: {
|
|
5286
5059
|
width: '100%',
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
isMobile
|
|
5290
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
5060
|
+
padding: '70px',
|
|
5061
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
5291
5062
|
'&, & *, & *:before, & *:after': {
|
|
5292
5063
|
fontFamily: theme?.typography?.fontFamily,
|
|
5293
5064
|
boxSizing: 'border-box'
|
|
5065
|
+
},
|
|
5066
|
+
'& h2,& h3': {
|
|
5067
|
+
fontWeight: '500',
|
|
5068
|
+
'& b,& strong': {
|
|
5069
|
+
fontWeight: '700'
|
|
5070
|
+
}
|
|
5294
5071
|
}
|
|
5295
|
-
// '& h2,& h3': {
|
|
5296
|
-
// fontWeight: '500',
|
|
5297
|
-
// '& b,& strong': {
|
|
5298
|
-
// fontWeight: '700'
|
|
5299
|
-
// }
|
|
5300
|
-
// }
|
|
5301
5072
|
},
|
|
5302
|
-
|
|
5303
5073
|
sectionContainer: {
|
|
5074
|
+
margin: '0 auto',
|
|
5304
5075
|
maxWidth: ({
|
|
5305
5076
|
containerWidth
|
|
5306
5077
|
} = {}) => containerWidth
|
|
5307
5078
|
},
|
|
5308
5079
|
sectionSubheading: {
|
|
5309
5080
|
color: theme?.palette?.font.tertiary,
|
|
5310
|
-
fontSize:
|
|
5081
|
+
fontSize: '16px',
|
|
5311
5082
|
marginBottom: '8px',
|
|
5312
5083
|
wordBreak: 'break-word'
|
|
5313
5084
|
},
|
|
5314
5085
|
sectionHeading: {
|
|
5315
|
-
fontSize:
|
|
5316
|
-
|
|
5086
|
+
fontSize: '56px',
|
|
5087
|
+
margin: '0 0 20px',
|
|
5317
5088
|
wordBreak: 'break-word',
|
|
5318
|
-
|
|
5089
|
+
lineHeight: '71px'
|
|
5319
5090
|
},
|
|
5320
5091
|
container: {
|
|
5321
5092
|
boxShadow: theme?.shadows?.secondary,
|
|
5322
5093
|
borderRadius: '8px',
|
|
5323
|
-
backgroundColor: theme?.palette?.background?.default
|
|
5094
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
5095
|
+
padding: '40px 60px 60px'
|
|
5324
5096
|
},
|
|
5325
5097
|
basicCardContainer: {
|
|
5326
|
-
borderBottom: theme?.borders?.secondary
|
|
5327
|
-
padding: `${theme.spacing.padding.tiny}px`
|
|
5328
|
-
},
|
|
5329
|
-
innerContainer: {
|
|
5330
|
-
display: 'flex',
|
|
5331
|
-
flexDirection: 'column',
|
|
5332
|
-
gap: ({
|
|
5333
|
-
isSelected
|
|
5334
|
-
} = {}) => isSelected ? '16px' : '0'
|
|
5335
|
-
},
|
|
5336
|
-
arrowButton: {
|
|
5337
|
-
marginLeft: theme.spacing.margin.tiny
|
|
5098
|
+
borderBottom: theme?.borders?.secondary
|
|
5338
5099
|
},
|
|
5339
5100
|
header: {
|
|
5340
5101
|
display: 'flex',
|
|
5341
5102
|
justifyContent: 'space-between',
|
|
5342
|
-
alignItems: 'center'
|
|
5103
|
+
alignItems: 'center',
|
|
5104
|
+
padding: '20px 0'
|
|
5343
5105
|
},
|
|
5344
5106
|
title: {
|
|
5345
5107
|
color: theme?.palette?.font.default,
|
|
5346
|
-
fontSize:
|
|
5347
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
5108
|
+
fontSize: '24px',
|
|
5348
5109
|
margin: '0',
|
|
5349
5110
|
wordBreak: 'break-word'
|
|
5350
5111
|
},
|
|
5351
5112
|
content: {
|
|
5113
|
+
margin: ({
|
|
5114
|
+
isSelected
|
|
5115
|
+
} = {}) => isSelected ? '0 0 20px 0' : '0',
|
|
5352
5116
|
color: theme?.palette?.font.primary,
|
|
5353
|
-
fontSize:
|
|
5117
|
+
fontSize: '16px',
|
|
5354
5118
|
lineHeight: '24px',
|
|
5355
5119
|
maxHeight: ({
|
|
5356
5120
|
isSelected
|
|
@@ -5359,12 +5123,28 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5359
5123
|
overflow: 'hidden'
|
|
5360
5124
|
},
|
|
5361
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
|
+
},
|
|
5362
5138
|
content: {
|
|
5363
5139
|
lineHeight: '20px'
|
|
5364
5140
|
},
|
|
5141
|
+
container: {
|
|
5142
|
+
padding: '0 20px'
|
|
5143
|
+
},
|
|
5365
5144
|
basicCardContainer: {
|
|
5366
5145
|
'&:last-child': {
|
|
5367
|
-
borderBottom: 'none'
|
|
5146
|
+
borderBottom: 'none',
|
|
5147
|
+
paddingBottom: '1px'
|
|
5368
5148
|
}
|
|
5369
5149
|
}
|
|
5370
5150
|
}
|
|
@@ -5377,13 +5157,11 @@ const FAQListing = ({
|
|
|
5377
5157
|
const {
|
|
5378
5158
|
layout: {
|
|
5379
5159
|
containerWidth
|
|
5380
|
-
}
|
|
5381
|
-
isMobile
|
|
5160
|
+
}
|
|
5382
5161
|
} = useContext(PageContext);
|
|
5383
5162
|
const classes = useFaqListStyles({
|
|
5384
5163
|
selectedIndex,
|
|
5385
|
-
containerWidth
|
|
5386
|
-
isMobile
|
|
5164
|
+
containerWidth
|
|
5387
5165
|
});
|
|
5388
5166
|
const [nodeData] = sectionData.components;
|
|
5389
5167
|
return /*#__PURE__*/React.createElement("section", {
|
|
@@ -5397,7 +5175,7 @@ const FAQListing = ({
|
|
|
5397
5175
|
dangerouslySetInnerHTML: {
|
|
5398
5176
|
__html: nodeData.subheading.metadata.value
|
|
5399
5177
|
}
|
|
5400
|
-
})), /*#__PURE__*/React.createElement("
|
|
5178
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
5401
5179
|
className: classes.sectionHeading
|
|
5402
5180
|
}, /*#__PURE__*/React.createElement("span", {
|
|
5403
5181
|
ref: nodeData?.title?.refSetter,
|
|
@@ -5426,8 +5204,7 @@ const Accordion = ({
|
|
|
5426
5204
|
return /*#__PURE__*/React.createElement("div", {
|
|
5427
5205
|
className: classes.basicCardContainer
|
|
5428
5206
|
}, /*#__PURE__*/React.createElement("div", {
|
|
5429
|
-
onClick: onClick
|
|
5430
|
-
className: classes.innerContainer
|
|
5207
|
+
onClick: onClick
|
|
5431
5208
|
}, /*#__PURE__*/React.createElement("div", {
|
|
5432
5209
|
className: classes.header
|
|
5433
5210
|
}, /*#__PURE__*/React.createElement("h3", {
|
|
@@ -5436,9 +5213,7 @@ const Accordion = ({
|
|
|
5436
5213
|
dangerouslySetInnerHTML: {
|
|
5437
5214
|
__html: item.question.metadata.value
|
|
5438
5215
|
}
|
|
5439
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
5440
|
-
className: classes.arrowButton
|
|
5441
|
-
}, /*#__PURE__*/React.createElement(ArrowButton, {
|
|
5216
|
+
}), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(ArrowButton, {
|
|
5442
5217
|
down: isSelected,
|
|
5443
5218
|
up: !isSelected,
|
|
5444
5219
|
size: "small"
|
|
@@ -5458,22 +5233,19 @@ var index$a = /*#__PURE__*/Object.freeze({
|
|
|
5458
5233
|
|
|
5459
5234
|
const useTextGridStyles = createUseStyles(theme => ({
|
|
5460
5235
|
section: {
|
|
5461
|
-
padding:
|
|
5462
|
-
|
|
5463
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
5464
|
-
background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
|
|
5236
|
+
padding: '70px',
|
|
5237
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
5465
5238
|
'&, & *, & *:before, & *:after': {
|
|
5466
5239
|
fontFamily: theme?.typography?.fontFamily,
|
|
5467
5240
|
boxSizing: 'border-box'
|
|
5241
|
+
},
|
|
5242
|
+
'& h2,& h3': {
|
|
5243
|
+
fontWeight: '500',
|
|
5244
|
+
'& b,& strong': {
|
|
5245
|
+
fontWeight: '700'
|
|
5246
|
+
}
|
|
5468
5247
|
}
|
|
5469
|
-
// '& h2,& h3': {
|
|
5470
|
-
// fontWeight: '500',
|
|
5471
|
-
// '& b,& strong': {
|
|
5472
|
-
// fontWeight: '700'
|
|
5473
|
-
// }
|
|
5474
|
-
// }
|
|
5475
5248
|
},
|
|
5476
|
-
|
|
5477
5249
|
sectionContainer: {
|
|
5478
5250
|
margin: '0 auto',
|
|
5479
5251
|
maxWidth: ({
|
|
@@ -5482,27 +5254,24 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5482
5254
|
},
|
|
5483
5255
|
subheading: {
|
|
5484
5256
|
color: theme?.palette?.font.tertiary,
|
|
5485
|
-
fontSize:
|
|
5257
|
+
fontSize: '16px',
|
|
5486
5258
|
lineHeight: '20px',
|
|
5487
5259
|
letterSpacing: '3px',
|
|
5488
|
-
wordBreak: 'break-word'
|
|
5489
|
-
textTransform: 'uppercase',
|
|
5490
|
-
marginBottom: '8px'
|
|
5260
|
+
wordBreak: 'break-word'
|
|
5491
5261
|
},
|
|
5492
5262
|
heading: {
|
|
5493
|
-
fontSize:
|
|
5494
|
-
lineHeight: '
|
|
5495
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
5263
|
+
fontSize: '56px',
|
|
5264
|
+
lineHeight: '70px',
|
|
5496
5265
|
letterSpacing: '-3px',
|
|
5497
|
-
|
|
5266
|
+
margin: '8px 0 16px',
|
|
5498
5267
|
wordBreak: 'break-word'
|
|
5499
5268
|
},
|
|
5500
5269
|
sliderContainer: {
|
|
5501
5270
|
margin: '0 -10px'
|
|
5502
5271
|
},
|
|
5503
5272
|
node: {
|
|
5504
|
-
margin: '
|
|
5505
|
-
padding: '
|
|
5273
|
+
margin: '6px 10px',
|
|
5274
|
+
padding: '40px',
|
|
5506
5275
|
position: 'relative',
|
|
5507
5276
|
height: 'calc(100% - 12px)',
|
|
5508
5277
|
background: theme?.palette?.background?.default,
|
|
@@ -5511,16 +5280,16 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5511
5280
|
},
|
|
5512
5281
|
nodeTitle: {
|
|
5513
5282
|
color: theme?.palette?.font.secondary,
|
|
5514
|
-
fontSize:
|
|
5515
|
-
|
|
5516
|
-
lineHeight: 'normal',
|
|
5283
|
+
fontSize: '40px',
|
|
5284
|
+
lineHeight: '48px',
|
|
5517
5285
|
margin: '0 0 20px',
|
|
5518
5286
|
wordBreak: 'break-word'
|
|
5519
5287
|
},
|
|
5520
5288
|
nodePara: {
|
|
5521
5289
|
color: theme?.palette?.font.tertiary,
|
|
5522
|
-
fontSize:
|
|
5290
|
+
fontSize: '16px',
|
|
5523
5291
|
lineHeight: '24px',
|
|
5292
|
+
margin: '20px 0',
|
|
5524
5293
|
wordBreak: 'break-word'
|
|
5525
5294
|
},
|
|
5526
5295
|
contentRow: {
|
|
@@ -5530,21 +5299,27 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5530
5299
|
} = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
|
|
5531
5300
|
},
|
|
5532
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
|
+
},
|
|
5533
5311
|
sliderContainer: {
|
|
5534
5312
|
margin: '0 -20px 0 -10px'
|
|
5535
5313
|
},
|
|
5536
5314
|
node: {
|
|
5537
|
-
padding: '
|
|
5538
|
-
margin: '0 6px'
|
|
5315
|
+
padding: '20px'
|
|
5539
5316
|
},
|
|
5540
5317
|
nodeTitle: {
|
|
5541
|
-
|
|
5318
|
+
fontSize: '24px',
|
|
5319
|
+
lineHeight: '36px'
|
|
5542
5320
|
},
|
|
5543
5321
|
nodePara: {
|
|
5544
|
-
margin: '
|
|
5545
|
-
},
|
|
5546
|
-
heading: {
|
|
5547
|
-
letterSpacing: '-1px'
|
|
5322
|
+
margin: '12px 0'
|
|
5548
5323
|
}
|
|
5549
5324
|
}
|
|
5550
5325
|
}));
|
|
@@ -5564,8 +5339,7 @@ const TextGrid = ({
|
|
|
5564
5339
|
const classes = useTextGridStyles({
|
|
5565
5340
|
containerWidth,
|
|
5566
5341
|
cardsCount,
|
|
5567
|
-
slidesToShow
|
|
5568
|
-
isMobile
|
|
5342
|
+
slidesToShow
|
|
5569
5343
|
});
|
|
5570
5344
|
const settings = {
|
|
5571
5345
|
className: classes.sliderContainer,
|
|
@@ -5582,7 +5356,7 @@ const TextGrid = ({
|
|
|
5582
5356
|
dangerouslySetInnerHTML: {
|
|
5583
5357
|
__html: item.contentHeading.metadata.value
|
|
5584
5358
|
}
|
|
5585
|
-
}), /*#__PURE__*/React.createElement("
|
|
5359
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
5586
5360
|
ref: item?.contentPara?.refSetter,
|
|
5587
5361
|
className: classes.nodePara,
|
|
5588
5362
|
dangerouslySetInnerHTML: {
|
|
@@ -5600,7 +5374,7 @@ const TextGrid = ({
|
|
|
5600
5374
|
dangerouslySetInnerHTML: {
|
|
5601
5375
|
__html: nodeData.subheading.metadata.value
|
|
5602
5376
|
}
|
|
5603
|
-
})), /*#__PURE__*/React.createElement("
|
|
5377
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
5604
5378
|
className: classes.heading
|
|
5605
5379
|
}, /*#__PURE__*/React.createElement("span", {
|
|
5606
5380
|
ref: nodeData?.title?.refSetter,
|
|
@@ -5626,46 +5400,39 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5626
5400
|
return {
|
|
5627
5401
|
coursesContainer: {
|
|
5628
5402
|
overflow: 'hidden',
|
|
5629
|
-
padding: ({
|
|
5630
|
-
isMobile
|
|
5631
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
5632
5403
|
'&, & *, & *:before, & *:after': {
|
|
5633
5404
|
fontFamily: theme?.typography?.fontFamily,
|
|
5634
5405
|
boxSizing: 'border-box'
|
|
5406
|
+
},
|
|
5407
|
+
'& h2,& h3': {
|
|
5408
|
+
fontWeight: '500',
|
|
5409
|
+
'& b,& strong': {
|
|
5410
|
+
fontWeight: '700'
|
|
5411
|
+
}
|
|
5635
5412
|
}
|
|
5636
|
-
// '& h2,& h3': {
|
|
5637
|
-
// fontWeight: '500',
|
|
5638
|
-
// '& b,& strong': {
|
|
5639
|
-
// fontWeight: '700'
|
|
5640
|
-
// }
|
|
5641
|
-
// }
|
|
5642
5413
|
},
|
|
5643
|
-
|
|
5644
5414
|
sectionContainer: {
|
|
5645
5415
|
margin: '0 auto',
|
|
5646
5416
|
maxWidth: ({
|
|
5647
5417
|
containerWidth
|
|
5648
5418
|
} = {}) => containerWidth
|
|
5649
5419
|
},
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5420
|
+
coursesCardAndText: {
|
|
5421
|
+
padding: '70px'
|
|
5422
|
+
},
|
|
5654
5423
|
coursesText: {
|
|
5655
5424
|
color: theme?.palette?.font?.secondary,
|
|
5656
5425
|
fontWeight: '400',
|
|
5657
|
-
fontSize:
|
|
5426
|
+
fontSize: '16px',
|
|
5658
5427
|
lineHeight: '20px',
|
|
5659
5428
|
textAlign: 'center',
|
|
5660
|
-
textTransform: 'uppercase',
|
|
5661
5429
|
wordBreak: 'break-word'
|
|
5662
5430
|
},
|
|
5663
5431
|
coursesHeader: {
|
|
5664
|
-
fontSize:
|
|
5432
|
+
fontSize: '56px',
|
|
5665
5433
|
lineHeight: '70px',
|
|
5666
5434
|
color: theme?.palette?.font?.default,
|
|
5667
|
-
|
|
5668
|
-
marginBottom: theme.spacing.margin.tiny,
|
|
5435
|
+
margin: '10px 0 40px 10px',
|
|
5669
5436
|
overflow: 'hidden',
|
|
5670
5437
|
whiteSpace: 'nowrap',
|
|
5671
5438
|
textOverflow: 'ellipsis',
|
|
@@ -5740,7 +5507,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5740
5507
|
courseCardName: {
|
|
5741
5508
|
color: theme?.palette?.font?.default,
|
|
5742
5509
|
fontWeight: '700',
|
|
5743
|
-
fontSize:
|
|
5510
|
+
fontSize: '24px',
|
|
5744
5511
|
lineHeight: '32px',
|
|
5745
5512
|
wordBreak: 'break-word',
|
|
5746
5513
|
padding: '12px 0px',
|
|
@@ -5755,7 +5522,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5755
5522
|
display: 'flex',
|
|
5756
5523
|
justifyContent: 'flex-start',
|
|
5757
5524
|
alignItems: 'center',
|
|
5758
|
-
fontSize:
|
|
5525
|
+
fontSize: '16px',
|
|
5759
5526
|
color: theme?.palette?.font?.primary,
|
|
5760
5527
|
'& img': {
|
|
5761
5528
|
marginRight: '5px'
|
|
@@ -5767,10 +5534,10 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5767
5534
|
display: 'flex',
|
|
5768
5535
|
justifyContent: 'space-between',
|
|
5769
5536
|
alignItems: 'center',
|
|
5770
|
-
padding: '
|
|
5537
|
+
padding: '13px 0 0 4px'
|
|
5771
5538
|
},
|
|
5772
5539
|
courseCardPrice: {
|
|
5773
|
-
fontSize:
|
|
5540
|
+
fontSize: '24px',
|
|
5774
5541
|
fontWeight: '700'
|
|
5775
5542
|
},
|
|
5776
5543
|
coursesAnchorTag: {
|
|
@@ -5791,8 +5558,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5791
5558
|
cursor: 'pointer',
|
|
5792
5559
|
background: theme?.palette?.primary?.main,
|
|
5793
5560
|
color: theme?.palette?.font?.invertedDefault,
|
|
5794
|
-
padding: '
|
|
5795
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
5561
|
+
padding: '12px 16px',
|
|
5796
5562
|
cursor: 'pointer',
|
|
5797
5563
|
borderRadius: theme.shape.borderRadius.regular
|
|
5798
5564
|
},
|
|
@@ -5837,7 +5603,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5837
5603
|
//background: theme?.palette?.background?.primary
|
|
5838
5604
|
},
|
|
5839
5605
|
coursesCardAndText: {
|
|
5840
|
-
|
|
5606
|
+
padding: '70px 30px'
|
|
5841
5607
|
},
|
|
5842
5608
|
singleCardContainer: {
|
|
5843
5609
|
gridTemplateColumns: '1fr'
|
|
@@ -5846,7 +5612,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5846
5612
|
margin: '0'
|
|
5847
5613
|
},
|
|
5848
5614
|
coursesHeader: {
|
|
5849
|
-
|
|
5615
|
+
fontSize: '24px',
|
|
5850
5616
|
lineHeight: '36px',
|
|
5851
5617
|
color: theme?.palette?.font?.default,
|
|
5852
5618
|
margin: '4px 0 12px 0',
|
|
@@ -5855,8 +5621,8 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5855
5621
|
textOverflow: 'ellipsis'
|
|
5856
5622
|
},
|
|
5857
5623
|
singleCard: {
|
|
5858
|
-
margin: '6px 2px'
|
|
5859
|
-
|
|
5624
|
+
margin: '6px 2px',
|
|
5625
|
+
width: 'calc(100% - 4px)'
|
|
5860
5626
|
}
|
|
5861
5627
|
}
|
|
5862
5628
|
};
|
|
@@ -6021,8 +5787,7 @@ function courses({
|
|
|
6021
5787
|
const [fallBackImages, setFallbackImages] = useState([]);
|
|
6022
5788
|
const [showShimmer, setShowShimmer] = useState(true);
|
|
6023
5789
|
const classes = useCourseStyles({
|
|
6024
|
-
containerWidth
|
|
6025
|
-
isMobile
|
|
5790
|
+
containerWidth
|
|
6026
5791
|
});
|
|
6027
5792
|
const [nodeData] = sectionData?.components;
|
|
6028
5793
|
const handleApiCall = () => {
|
|
@@ -6074,7 +5839,7 @@ function courses({
|
|
|
6074
5839
|
const settings = {
|
|
6075
5840
|
className: classes.slickContainer,
|
|
6076
5841
|
infinite: false,
|
|
6077
|
-
slidesToShow: isMobile ? 1 : 3.
|
|
5842
|
+
slidesToShow: isMobile ? 1.1 : 3.25
|
|
6078
5843
|
};
|
|
6079
5844
|
const Wrapper = (cardList?.length || fallBackImages?.length) > settings.slidesToShow ? Carousel : SimpleCardsContainer;
|
|
6080
5845
|
const wrapperProps = (cardList?.length || fallBackImages?.length) > settings.slidesToShow ? {
|
|
@@ -6150,22 +5915,19 @@ var index$8 = /*#__PURE__*/Object.freeze({
|
|
|
6150
5915
|
const useTeamStyles = createUseStyles(theme => {
|
|
6151
5916
|
return {
|
|
6152
5917
|
teamSuperContainer: {
|
|
6153
|
-
padding:
|
|
6154
|
-
|
|
6155
|
-
} = {}) => 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`,
|
|
6156
|
-
background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
|
|
5918
|
+
padding: '60px',
|
|
5919
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
6157
5920
|
'&, & *, & *:before, & *:after': {
|
|
6158
5921
|
fontFamily: theme?.typography?.fontFamily,
|
|
6159
5922
|
boxSizing: 'border-box'
|
|
5923
|
+
},
|
|
5924
|
+
'& h2,& h3': {
|
|
5925
|
+
fontWeight: '500',
|
|
5926
|
+
'& b,& strong': {
|
|
5927
|
+
fontWeight: '700'
|
|
5928
|
+
}
|
|
6160
5929
|
}
|
|
6161
|
-
// '& h2,& h3': {
|
|
6162
|
-
// fontWeight: '500',
|
|
6163
|
-
// '& b,& strong': {
|
|
6164
|
-
// fontWeight: '700'
|
|
6165
|
-
// }
|
|
6166
|
-
// }
|
|
6167
5930
|
},
|
|
6168
|
-
|
|
6169
5931
|
sectionContainer: {
|
|
6170
5932
|
margin: '0 auto',
|
|
6171
5933
|
maxWidth: ({
|
|
@@ -6173,20 +5935,19 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6173
5935
|
} = {}) => containerWidth
|
|
6174
5936
|
},
|
|
6175
5937
|
teamHeading: {
|
|
6176
|
-
fontSize:
|
|
6177
|
-
textTransform: 'uppercase',
|
|
5938
|
+
fontSize: '16px',
|
|
6178
5939
|
lineHeight: '20px',
|
|
6179
5940
|
letterSpacing: '3px',
|
|
6180
|
-
|
|
5941
|
+
margin: '0 0 8px',
|
|
6181
5942
|
color: theme?.palette?.font?.primary,
|
|
6182
5943
|
wordBreak: 'break-word'
|
|
6183
5944
|
},
|
|
6184
5945
|
teamTitle: {
|
|
6185
|
-
fontSize:
|
|
6186
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
5946
|
+
fontSize: '56px',
|
|
6187
5947
|
lineHeight: '70px',
|
|
6188
5948
|
letterSpacing: '-3px',
|
|
6189
5949
|
wordBreak: 'break-word',
|
|
5950
|
+
margin: '0 ',
|
|
6190
5951
|
color: theme?.palette?.font?.default
|
|
6191
5952
|
},
|
|
6192
5953
|
sliderContainer: {
|
|
@@ -6201,11 +5962,10 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6201
5962
|
singleSlideContainer: {
|
|
6202
5963
|
backgroundColor: theme?.palette?.background?.default,
|
|
6203
5964
|
margin: '20px',
|
|
6204
|
-
width: 'calc(100% -
|
|
6205
|
-
|
|
6206
|
-
border: '3px solid #D8E0F0',
|
|
5965
|
+
width: 'calc(100% - 40px)',
|
|
5966
|
+
height: 'calc(100% - 40px)',
|
|
6207
5967
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6208
|
-
padding:
|
|
5968
|
+
padding: '32px',
|
|
6209
5969
|
boxShadow: theme?.shadows?.primary
|
|
6210
5970
|
},
|
|
6211
5971
|
imageContainer: {
|
|
@@ -6230,28 +5990,32 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6230
5990
|
overflowWrap: 'break-word'
|
|
6231
5991
|
},
|
|
6232
5992
|
teamDetailsHeading: {
|
|
6233
|
-
fontSize:
|
|
6234
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
5993
|
+
fontSize: '24px',
|
|
6235
5994
|
lineHeight: '32px',
|
|
6236
5995
|
margin: '0',
|
|
6237
5996
|
color: theme?.palette?.font?.default
|
|
6238
5997
|
},
|
|
6239
5998
|
teamDetailsSubHeading: {
|
|
6240
|
-
fontSize:
|
|
5999
|
+
fontSize: '16px',
|
|
6241
6000
|
lineHeight: '24px',
|
|
6242
6001
|
margin: '12px 0 0',
|
|
6243
6002
|
color: theme?.palette?.font?.primary
|
|
6244
6003
|
},
|
|
6245
6004
|
'@media (max-width: 767px)': {
|
|
6246
|
-
|
|
6247
|
-
|
|
6248
|
-
|
|
6005
|
+
teamSuperContainer: {
|
|
6006
|
+
padding: '60px 20px'
|
|
6007
|
+
},
|
|
6249
6008
|
teamHeading: {
|
|
6250
|
-
|
|
6009
|
+
fontSize: '16px',
|
|
6010
|
+
lineHeight: '20px',
|
|
6011
|
+
letterSpacing: '3px',
|
|
6012
|
+
margin: '0'
|
|
6251
6013
|
},
|
|
6252
6014
|
teamTitle: {
|
|
6015
|
+
fontSize: '24px',
|
|
6253
6016
|
lineHeight: '36px',
|
|
6254
|
-
letterSpacing: '-1px'
|
|
6017
|
+
letterSpacing: '-1px',
|
|
6018
|
+
margin: '0'
|
|
6255
6019
|
},
|
|
6256
6020
|
sliderContainer: {
|
|
6257
6021
|
margin: '0 -4px'
|
|
@@ -6261,17 +6025,18 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6261
6025
|
margin: '12px 4px'
|
|
6262
6026
|
},
|
|
6263
6027
|
teamDetailsContainer: {
|
|
6264
|
-
textAlign: 'center'
|
|
6265
|
-
|
|
6266
|
-
|
|
6028
|
+
textAlign: 'center',
|
|
6029
|
+
margin: '15px 0 0',
|
|
6030
|
+
paddingBottom: '0'
|
|
6267
6031
|
},
|
|
6268
|
-
|
|
6269
6032
|
teamDetailsHeading: {
|
|
6033
|
+
fontSize: '16px',
|
|
6270
6034
|
lineHeight: '24px',
|
|
6271
6035
|
margin: '0',
|
|
6272
6036
|
color: theme?.palette?.font?.default
|
|
6273
6037
|
},
|
|
6274
6038
|
teamDetailsSubHeading: {
|
|
6039
|
+
fontSize: '16px',
|
|
6275
6040
|
color: theme?.palette?.font?.primary
|
|
6276
6041
|
}
|
|
6277
6042
|
}
|
|
@@ -6326,8 +6091,7 @@ function TeamCard({
|
|
|
6326
6091
|
const classes = useTeamStyles({
|
|
6327
6092
|
containerWidth,
|
|
6328
6093
|
cardsCount,
|
|
6329
|
-
slidesToShow
|
|
6330
|
-
isMobile
|
|
6094
|
+
slidesToShow
|
|
6331
6095
|
});
|
|
6332
6096
|
const settings = {
|
|
6333
6097
|
className: classes.sliderContainer,
|
|
@@ -6355,7 +6119,7 @@ function TeamCard({
|
|
|
6355
6119
|
dangerouslySetInnerHTML: {
|
|
6356
6120
|
__html: teamData.teamHeading.metadata.value
|
|
6357
6121
|
}
|
|
6358
|
-
})), /*#__PURE__*/React.createElement("
|
|
6122
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
6359
6123
|
className: classes.teamTitle
|
|
6360
6124
|
}, /*#__PURE__*/React.createElement("span", {
|
|
6361
6125
|
ref: teamData?.teamTitle?.refSetter,
|
|
@@ -6384,21 +6148,17 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6384
6148
|
flexDirection: 'column',
|
|
6385
6149
|
alignItems: 'center',
|
|
6386
6150
|
backgroundColor: theme?.palette?.background?.default,
|
|
6387
|
-
padding: ({
|
|
6388
|
-
isMobile
|
|
6389
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
6390
6151
|
'&, & *, & *:before, & *:after': {
|
|
6391
6152
|
fontFamily: theme?.typography?.fontFamily,
|
|
6392
6153
|
boxSizing: 'border-box'
|
|
6154
|
+
},
|
|
6155
|
+
'& h2,& h3': {
|
|
6156
|
+
fontWeight: '500',
|
|
6157
|
+
'& b,& strong': {
|
|
6158
|
+
fontWeight: '700'
|
|
6159
|
+
}
|
|
6393
6160
|
}
|
|
6394
|
-
// '& h2,& h3': {
|
|
6395
|
-
// fontWeight: '500',
|
|
6396
|
-
// '& b,& strong': {
|
|
6397
|
-
// fontWeight: '700'
|
|
6398
|
-
// }
|
|
6399
|
-
// }
|
|
6400
6161
|
},
|
|
6401
|
-
|
|
6402
6162
|
formContainer: {
|
|
6403
6163
|
margin: '0 auto',
|
|
6404
6164
|
maxWidth: ({
|
|
@@ -6411,20 +6171,20 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6411
6171
|
width: '100%',
|
|
6412
6172
|
height: '50%',
|
|
6413
6173
|
position: 'absolute',
|
|
6414
|
-
background: theme?.
|
|
6174
|
+
background: theme?.palette?.background?.primary
|
|
6415
6175
|
},
|
|
6416
6176
|
sectionContainer: {
|
|
6417
6177
|
backgroundColor: theme?.palette?.background?.default,
|
|
6418
6178
|
boxShadow: theme?.shadows?.secondary,
|
|
6419
6179
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6420
|
-
|
|
6180
|
+
margin: '60px 10%',
|
|
6181
|
+
padding: '40px 80px',
|
|
6421
6182
|
position: 'relative'
|
|
6422
6183
|
},
|
|
6423
6184
|
title: {
|
|
6424
6185
|
margin: '0',
|
|
6425
|
-
fontSize:
|
|
6186
|
+
fontSize: '56px',
|
|
6426
6187
|
color: theme?.palette?.font?.secondary,
|
|
6427
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
6428
6188
|
lineHeight: '71px',
|
|
6429
6189
|
letterSpacing: '-3px',
|
|
6430
6190
|
textAlign: 'left',
|
|
@@ -6432,19 +6192,16 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6432
6192
|
},
|
|
6433
6193
|
contentContainer: {
|
|
6434
6194
|
width: '100%',
|
|
6435
|
-
display: 'flex'
|
|
6436
|
-
|
|
6195
|
+
display: 'flex',
|
|
6196
|
+
alignItems: 'flex-start',
|
|
6197
|
+
marginTop: '32px'
|
|
6437
6198
|
},
|
|
6438
|
-
|
|
6439
6199
|
leftContainer: {
|
|
6440
|
-
width: '65%'
|
|
6441
|
-
display: 'flex',
|
|
6442
|
-
flexDirection: 'column',
|
|
6443
|
-
justifyContent: 'space-between'
|
|
6200
|
+
width: '65%'
|
|
6444
6201
|
},
|
|
6445
6202
|
subtitle: {
|
|
6446
|
-
|
|
6447
|
-
fontSize:
|
|
6203
|
+
margin: '0 0 40px 0',
|
|
6204
|
+
fontSize: '20px',
|
|
6448
6205
|
color: theme?.palette?.font?.primary,
|
|
6449
6206
|
lineHeight: '32px',
|
|
6450
6207
|
wordBreak: 'break-word'
|
|
@@ -6466,16 +6223,13 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6466
6223
|
padding: '4px 8px 0 0'
|
|
6467
6224
|
},
|
|
6468
6225
|
addressText: {
|
|
6469
|
-
fontSize:
|
|
6226
|
+
fontSize: '16px',
|
|
6470
6227
|
color: theme?.palette?.font?.default,
|
|
6471
6228
|
lineHeight: '24px'
|
|
6472
6229
|
},
|
|
6473
6230
|
rightContainer: {
|
|
6474
6231
|
width: '50%',
|
|
6475
|
-
padding: '0 0 0 80px'
|
|
6476
|
-
display: 'flex',
|
|
6477
|
-
flexDirection: 'column',
|
|
6478
|
-
justifyContent: 'space-between'
|
|
6232
|
+
padding: '0 0 0 80px'
|
|
6479
6233
|
},
|
|
6480
6234
|
inputDiv: {
|
|
6481
6235
|
margin: '0 0 20px 0',
|
|
@@ -6489,8 +6243,8 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6489
6243
|
alignItems: 'center'
|
|
6490
6244
|
},
|
|
6491
6245
|
sectionContainer: {
|
|
6492
|
-
|
|
6493
|
-
padding: '16px'
|
|
6246
|
+
margin: '26px 16px',
|
|
6247
|
+
padding: '32px 16px'
|
|
6494
6248
|
},
|
|
6495
6249
|
partialBackground: {
|
|
6496
6250
|
height: '150px'
|
|
@@ -6500,32 +6254,26 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6500
6254
|
marginTop: '8px'
|
|
6501
6255
|
},
|
|
6502
6256
|
leftContainer: {
|
|
6503
|
-
width: '100%'
|
|
6504
|
-
|
|
6257
|
+
width: '100%',
|
|
6258
|
+
padding: '0 16ox'
|
|
6505
6259
|
},
|
|
6506
|
-
|
|
6507
6260
|
rightContainer: {
|
|
6508
6261
|
width: '100%',
|
|
6509
6262
|
padding: '0'
|
|
6510
6263
|
},
|
|
6511
6264
|
title: {
|
|
6512
|
-
|
|
6265
|
+
fontSize: '24px',
|
|
6513
6266
|
lineHeight: '32px',
|
|
6514
|
-
letterSpacing: 'initial'
|
|
6515
|
-
margin: '0 0 16px 0',
|
|
6516
|
-
textAlign: 'center'
|
|
6267
|
+
letterSpacing: 'initial'
|
|
6517
6268
|
},
|
|
6518
6269
|
subtitle: {
|
|
6519
|
-
margin: '0 0
|
|
6520
|
-
lineHeight: '26px',
|
|
6521
|
-
textAlign: 'center'
|
|
6270
|
+
margin: '0 0 12px 0'
|
|
6522
6271
|
},
|
|
6523
6272
|
inputDiv: {
|
|
6524
|
-
margin: '0 0
|
|
6273
|
+
margin: '0 0 10px 0'
|
|
6525
6274
|
},
|
|
6526
6275
|
addressRow: {
|
|
6527
|
-
padding: '
|
|
6528
|
-
margin: '0 0 16px 0'
|
|
6276
|
+
padding: '12px 0'
|
|
6529
6277
|
}
|
|
6530
6278
|
}
|
|
6531
6279
|
}));
|
|
@@ -6544,8 +6292,7 @@ function FormEnquiry({
|
|
|
6544
6292
|
isEdit
|
|
6545
6293
|
} = useContext(PageContext);
|
|
6546
6294
|
const classes = useSectionStyles$1({
|
|
6547
|
-
containerWidth
|
|
6548
|
-
isMobile
|
|
6295
|
+
containerWidth
|
|
6549
6296
|
});
|
|
6550
6297
|
const [nodeData] = sectionData.components;
|
|
6551
6298
|
const theme = useTheme();
|
|
@@ -6604,10 +6351,6 @@ function FormEnquiry({
|
|
|
6604
6351
|
className: classes.partialBackground
|
|
6605
6352
|
}), /*#__PURE__*/React.createElement("div", {
|
|
6606
6353
|
className: classes.sectionContainer
|
|
6607
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
6608
|
-
className: classes.contentContainer
|
|
6609
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
6610
|
-
className: classes.leftContainer
|
|
6611
6354
|
}, /*#__PURE__*/React.createElement("h2", {
|
|
6612
6355
|
className: classes.title
|
|
6613
6356
|
}, /*#__PURE__*/React.createElement("span", {
|
|
@@ -6616,6 +6359,10 @@ function FormEnquiry({
|
|
|
6616
6359
|
__html: nodeData?.title?.metadata?.value
|
|
6617
6360
|
}
|
|
6618
6361
|
})), /*#__PURE__*/React.createElement("div", {
|
|
6362
|
+
className: classes.contentContainer
|
|
6363
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6364
|
+
className: classes.leftContainer
|
|
6365
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6619
6366
|
ref: nodeData?.subtitle?.refSetter,
|
|
6620
6367
|
className: classes.subtitle,
|
|
6621
6368
|
dangerouslySetInnerHTML: {
|
|
@@ -6670,7 +6417,6 @@ function FormEnquiry({
|
|
|
6670
6417
|
}, /*#__PURE__*/React.createElement("div", {
|
|
6671
6418
|
className: classes.inputDiv
|
|
6672
6419
|
}, /*#__PURE__*/React.createElement(Input, {
|
|
6673
|
-
theme: theme,
|
|
6674
6420
|
data: nodeData.nameField,
|
|
6675
6421
|
value: inputVal.name,
|
|
6676
6422
|
isValid: validData.nameValid,
|
|
@@ -6756,7 +6502,7 @@ function FormEnquiry({
|
|
|
6756
6502
|
messageValid: 1
|
|
6757
6503
|
});
|
|
6758
6504
|
}
|
|
6759
|
-
})), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement(
|
|
6505
|
+
})), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement(Button, {
|
|
6760
6506
|
ref: nodeData?.cta?.refSetter,
|
|
6761
6507
|
data: btnDisabled && validData?.messageValid && validData?.emailValid && validData?.nameValid && validData?.phoneValid ? {
|
|
6762
6508
|
value: 'Submitted'
|
|
@@ -6767,7 +6513,7 @@ function FormEnquiry({
|
|
|
6767
6513
|
type: nodeData?.cta?.metadata?.type,
|
|
6768
6514
|
size: isMobile ? 'small' : 'medium',
|
|
6769
6515
|
disabled: btnDisabled
|
|
6770
|
-
}))))))
|
|
6516
|
+
}))))));
|
|
6771
6517
|
}
|
|
6772
6518
|
|
|
6773
6519
|
var index$6 = /*#__PURE__*/Object.freeze({
|
|
@@ -6783,23 +6529,20 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6783
6529
|
justifyContent: 'center',
|
|
6784
6530
|
flexDirection: 'column',
|
|
6785
6531
|
alignItems: 'center',
|
|
6786
|
-
|
|
6787
|
-
isMobile
|
|
6788
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
6532
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
6789
6533
|
'&, & *, & *:before, & *:after': {
|
|
6790
6534
|
fontFamily: theme?.typography?.fontFamily,
|
|
6791
6535
|
boxSizing: 'border-box'
|
|
6536
|
+
},
|
|
6537
|
+
'& h2,& h3': {
|
|
6538
|
+
fontWeight: '500',
|
|
6539
|
+
'& b,& strong': {
|
|
6540
|
+
fontWeight: '700'
|
|
6541
|
+
}
|
|
6792
6542
|
}
|
|
6793
|
-
// '& h2,& h3': {
|
|
6794
|
-
// fontWeight: '500',
|
|
6795
|
-
// '& b,& strong': {
|
|
6796
|
-
// fontWeight: '700'
|
|
6797
|
-
// }
|
|
6798
|
-
// }
|
|
6799
6543
|
},
|
|
6800
|
-
|
|
6801
6544
|
contactContainer: {
|
|
6802
|
-
width: '
|
|
6545
|
+
width: '80%',
|
|
6803
6546
|
margin: '0 auto',
|
|
6804
6547
|
maxWidth: ({
|
|
6805
6548
|
containerWidth
|
|
@@ -6811,19 +6554,19 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6811
6554
|
width: '100%',
|
|
6812
6555
|
height: '50%',
|
|
6813
6556
|
position: 'absolute',
|
|
6814
|
-
|
|
6815
|
-
background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.tertiaryBlue2
|
|
6557
|
+
background: theme?.palette?.background?.primary
|
|
6816
6558
|
},
|
|
6817
6559
|
sectionContainer: {
|
|
6818
6560
|
backgroundColor: theme?.palette?.background?.default,
|
|
6819
6561
|
boxShadow: theme?.shadows?.secondary,
|
|
6820
6562
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6821
|
-
|
|
6563
|
+
margin: '60px',
|
|
6564
|
+
padding: '40px 80px',
|
|
6822
6565
|
position: 'relative'
|
|
6823
6566
|
},
|
|
6824
6567
|
title: {
|
|
6825
6568
|
margin: '0',
|
|
6826
|
-
fontSize:
|
|
6569
|
+
fontSize: '56px',
|
|
6827
6570
|
color: theme?.palette?.font?.secondary,
|
|
6828
6571
|
lineHeight: '71px',
|
|
6829
6572
|
letterSpacing: '-3px',
|
|
@@ -6833,37 +6576,36 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6833
6576
|
contentContainer: {
|
|
6834
6577
|
width: '100%',
|
|
6835
6578
|
display: 'flex',
|
|
6836
|
-
|
|
6579
|
+
alignItems: 'flex-start',
|
|
6580
|
+
marginTop: '32px',
|
|
6837
6581
|
wordBreak: 'break-word'
|
|
6838
6582
|
},
|
|
6839
6583
|
leftContainer: {
|
|
6840
|
-
width: '50%'
|
|
6841
|
-
display: 'flex',
|
|
6842
|
-
flexDirection: 'column',
|
|
6843
|
-
justifyContent: 'space-between'
|
|
6584
|
+
width: '50%'
|
|
6844
6585
|
},
|
|
6845
6586
|
subtitle: {
|
|
6846
|
-
margin: '0 0
|
|
6847
|
-
fontSize:
|
|
6587
|
+
margin: '0 0 58px 0',
|
|
6588
|
+
fontSize: '20px',
|
|
6848
6589
|
color: theme?.palette?.font?.primary,
|
|
6849
|
-
lineHeight: '32px'
|
|
6850
|
-
margin: '20px 0px'
|
|
6590
|
+
lineHeight: '32px'
|
|
6851
6591
|
},
|
|
6852
6592
|
addressContainer: {
|
|
6853
6593
|
display: 'flex',
|
|
6854
6594
|
alignItems: 'flex-start',
|
|
6855
6595
|
flexDirection: 'column',
|
|
6856
|
-
width: '
|
|
6857
|
-
position: 'relative'
|
|
6596
|
+
width: '85%',
|
|
6597
|
+
position: 'relative',
|
|
6598
|
+
paddingBottom: '55%'
|
|
6599
|
+
// '& img': {
|
|
6600
|
+
// width: '80%'
|
|
6601
|
+
// }
|
|
6858
6602
|
},
|
|
6603
|
+
|
|
6859
6604
|
telephoneImage: {
|
|
6860
6605
|
width: '80%'
|
|
6861
6606
|
},
|
|
6862
6607
|
rightContainer: {
|
|
6863
6608
|
width: '50%',
|
|
6864
|
-
display: 'flex',
|
|
6865
|
-
flexDirection: 'column',
|
|
6866
|
-
justifyContent: 'space-between',
|
|
6867
6609
|
padding: '0 0 0 80px'
|
|
6868
6610
|
},
|
|
6869
6611
|
inputDiv: {
|
|
@@ -6877,16 +6619,16 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6877
6619
|
background: theme?.palette?.background?.default,
|
|
6878
6620
|
border: `1px solid ${theme?.palette?.border?.secondary}`,
|
|
6879
6621
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6880
|
-
|
|
6622
|
+
padding: '14px 12px',
|
|
6881
6623
|
display: 'flex',
|
|
6882
6624
|
fontWeight: '400',
|
|
6883
|
-
fontSize:
|
|
6625
|
+
fontSize: '16px',
|
|
6884
6626
|
lineHeight: '20px',
|
|
6885
6627
|
fontFamily: 'inherit',
|
|
6886
6628
|
resize: 'none',
|
|
6887
6629
|
'&::placeholder': {
|
|
6888
6630
|
fontWeight: '400',
|
|
6889
|
-
fontSize:
|
|
6631
|
+
fontSize: '16px',
|
|
6890
6632
|
lineHeight: '20px',
|
|
6891
6633
|
color: theme?.palette?.font?.primary,
|
|
6892
6634
|
fontFamily: theme?.typography?.fontFamily
|
|
@@ -6916,7 +6658,8 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6916
6658
|
alignItems: 'center'
|
|
6917
6659
|
},
|
|
6918
6660
|
sectionContainer: {
|
|
6919
|
-
|
|
6661
|
+
margin: '26px 16px',
|
|
6662
|
+
padding: '32px 16px'
|
|
6920
6663
|
},
|
|
6921
6664
|
partialBackground: {
|
|
6922
6665
|
height: '150px'
|
|
@@ -6934,17 +6677,15 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6934
6677
|
padding: '0'
|
|
6935
6678
|
},
|
|
6936
6679
|
title: {
|
|
6937
|
-
|
|
6938
|
-
|
|
6939
|
-
|
|
6680
|
+
fontSize: '24px',
|
|
6681
|
+
lineHeight: '32px',
|
|
6682
|
+
letterSpacing: 'initial'
|
|
6940
6683
|
},
|
|
6941
6684
|
subtitle: {
|
|
6942
|
-
margin: '0 0 12px 0'
|
|
6943
|
-
textAlign: 'center',
|
|
6944
|
-
lineHeight: '26px'
|
|
6685
|
+
margin: '0 0 12px 0'
|
|
6945
6686
|
},
|
|
6946
6687
|
addressRow: {
|
|
6947
|
-
|
|
6688
|
+
padding: '12px 0'
|
|
6948
6689
|
},
|
|
6949
6690
|
addressContainer: {
|
|
6950
6691
|
'& img': {
|
|
@@ -6952,7 +6693,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6952
6693
|
}
|
|
6953
6694
|
},
|
|
6954
6695
|
inputDiv: {
|
|
6955
|
-
|
|
6696
|
+
margin: '0 0 10px 0'
|
|
6956
6697
|
},
|
|
6957
6698
|
inputField: {
|
|
6958
6699
|
width: '100%',
|
|
@@ -6984,8 +6725,7 @@ function Contact({
|
|
|
6984
6725
|
let [btnDisabled, setBtnDisabled] = useState(false);
|
|
6985
6726
|
const [nodeData] = sectionData.components;
|
|
6986
6727
|
const classes = useSectionStyles({
|
|
6987
|
-
containerWidth
|
|
6988
|
-
isMobile
|
|
6728
|
+
containerWidth
|
|
6989
6729
|
});
|
|
6990
6730
|
let formInitialValue = {
|
|
6991
6731
|
name: nodeData?.nameField?.metadata?.value,
|
|
@@ -7041,10 +6781,6 @@ function Contact({
|
|
|
7041
6781
|
className: classes.partialBackground
|
|
7042
6782
|
}), /*#__PURE__*/React.createElement("div", {
|
|
7043
6783
|
className: classes.sectionContainer
|
|
7044
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
7045
|
-
className: classes.contentContainer
|
|
7046
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
7047
|
-
className: classes.leftContainer
|
|
7048
6784
|
}, /*#__PURE__*/React.createElement("h2", {
|
|
7049
6785
|
className: classes.title
|
|
7050
6786
|
}, /*#__PURE__*/React.createElement("span", {
|
|
@@ -7053,6 +6789,10 @@ function Contact({
|
|
|
7053
6789
|
__html: nodeData?.title?.metadata?.value
|
|
7054
6790
|
}
|
|
7055
6791
|
})), /*#__PURE__*/React.createElement("div", {
|
|
6792
|
+
className: classes.contentContainer
|
|
6793
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6794
|
+
className: classes.leftContainer
|
|
6795
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7056
6796
|
ref: nodeData?.subtitle?.refSetter,
|
|
7057
6797
|
className: classes.subtitle,
|
|
7058
6798
|
dangerouslySetInnerHTML: {
|
|
@@ -7155,9 +6895,7 @@ function Contact({
|
|
|
7155
6895
|
messageValid: 1
|
|
7156
6896
|
});
|
|
7157
6897
|
}
|
|
7158
|
-
})), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement(
|
|
7159
|
-
className: classes.btnContainer
|
|
7160
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
6898
|
+
})), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement(Button, {
|
|
7161
6899
|
ref: nodeData?.cta?.refSetter,
|
|
7162
6900
|
data: btnDisabled && validData?.messageValid && validData?.emailValid && validData?.nameValid && validData?.phoneValid ? {
|
|
7163
6901
|
value: 'Submitted'
|
|
@@ -7169,7 +6907,7 @@ function Contact({
|
|
|
7169
6907
|
size: isMobile ? 'small' : 'medium',
|
|
7170
6908
|
disabled: btnDisabled,
|
|
7171
6909
|
name: "button"
|
|
7172
|
-
}))))))
|
|
6910
|
+
}))))));
|
|
7173
6911
|
}
|
|
7174
6912
|
|
|
7175
6913
|
var index$5 = /*#__PURE__*/Object.freeze({
|
|
@@ -7182,21 +6920,18 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7182
6920
|
webinarSuperContainer: {
|
|
7183
6921
|
display: 'flex',
|
|
7184
6922
|
justifyContent: 'center',
|
|
7185
|
-
padding:
|
|
7186
|
-
isMobile
|
|
7187
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
6923
|
+
padding: '70px',
|
|
7188
6924
|
'&, & *, & *:before, & *:after': {
|
|
7189
6925
|
fontFamily: theme?.typography?.fontFamily,
|
|
7190
6926
|
boxSizing: 'border-box'
|
|
6927
|
+
},
|
|
6928
|
+
'& h2,& h3': {
|
|
6929
|
+
fontWeight: '500',
|
|
6930
|
+
'& b,& strong': {
|
|
6931
|
+
fontWeight: '700'
|
|
6932
|
+
}
|
|
7191
6933
|
}
|
|
7192
|
-
// '& h2,& h3': {
|
|
7193
|
-
// fontWeight: '500',
|
|
7194
|
-
// '& b,& strong': {
|
|
7195
|
-
// fontWeight: '700'
|
|
7196
|
-
// }
|
|
7197
|
-
// }
|
|
7198
6934
|
},
|
|
7199
|
-
|
|
7200
6935
|
sectionContainer: {
|
|
7201
6936
|
margin: '0 auto',
|
|
7202
6937
|
maxWidth: ({
|
|
@@ -7208,34 +6943,30 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7208
6943
|
maxWidth: '1440px',
|
|
7209
6944
|
fontFamily: theme?.typography?.fontFamily
|
|
7210
6945
|
},
|
|
7211
|
-
|
|
7212
|
-
|
|
7213
|
-
|
|
7214
|
-
|
|
7215
|
-
|
|
7216
|
-
|
|
7217
|
-
|
|
7218
|
-
|
|
7219
|
-
|
|
7220
|
-
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
|
|
7230
|
-
|
|
7231
|
-
// videoCarouselContainer: {
|
|
7232
|
-
// marginTop: '16px'
|
|
7233
|
-
// },
|
|
7234
|
-
|
|
6946
|
+
videoTestimonialHeading: {
|
|
6947
|
+
fontSize: '16px',
|
|
6948
|
+
lineHeight: '20px',
|
|
6949
|
+
letterSpacing: '3px',
|
|
6950
|
+
textTransform: 'uppercase',
|
|
6951
|
+
color: theme.palette.font.tertiary,
|
|
6952
|
+
wordBreak: 'break-word',
|
|
6953
|
+
fontWeight: '700'
|
|
6954
|
+
},
|
|
6955
|
+
videoTestimonialTitle: {
|
|
6956
|
+
fontSize: '56px',
|
|
6957
|
+
lineHeight: '71px',
|
|
6958
|
+
letterSpacing: '-3px',
|
|
6959
|
+
margin: '0',
|
|
6960
|
+
color: theme.palette.font.default,
|
|
6961
|
+
wordBreak: 'break-word'
|
|
6962
|
+
},
|
|
6963
|
+
videoCarouselContainer: {
|
|
6964
|
+
marginTop: '16px'
|
|
6965
|
+
},
|
|
7235
6966
|
webinarCarousel: {
|
|
7236
6967
|
display: 'flex',
|
|
7237
6968
|
justifyContent: 'flex-start',
|
|
7238
|
-
gap: '
|
|
6969
|
+
gap: '20px'
|
|
7239
6970
|
},
|
|
7240
6971
|
'@media screen and (max-width: 767px)': {
|
|
7241
6972
|
webinarCarousel: {
|
|
@@ -7250,21 +6981,18 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7250
6981
|
alignItems: 'center'
|
|
7251
6982
|
},
|
|
7252
6983
|
iframeContainer: {
|
|
7253
|
-
width: '
|
|
6984
|
+
width: '90%',
|
|
7254
6985
|
position: 'relative',
|
|
7255
6986
|
paddingBottom: '56.25%',
|
|
7256
6987
|
// top: "6%",
|
|
7257
|
-
|
|
7258
|
-
borderRadius: '8px',
|
|
7259
|
-
overflow: 'hidden'
|
|
6988
|
+
left: '5%'
|
|
7260
6989
|
},
|
|
7261
6990
|
offerText: {
|
|
7262
6991
|
textAlign: 'center',
|
|
7263
|
-
color: theme.palette.font.primary
|
|
7264
|
-
marginBottom: '5%'
|
|
6992
|
+
color: theme.palette.font.primary
|
|
7265
6993
|
},
|
|
7266
6994
|
offerPrice: {
|
|
7267
|
-
fontSize:
|
|
6995
|
+
fontSize: '28px',
|
|
7268
6996
|
fontWeight: '600'
|
|
7269
6997
|
},
|
|
7270
6998
|
priceContainer: {
|
|
@@ -7283,10 +7011,9 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7283
7011
|
bottomContainer: {
|
|
7284
7012
|
display: 'flex',
|
|
7285
7013
|
justifyContent: 'space-between',
|
|
7286
|
-
marginTop: '5%'
|
|
7287
|
-
|
|
7014
|
+
marginTop: '5%',
|
|
7015
|
+
padding: '0px 5% 0px 5%'
|
|
7288
7016
|
},
|
|
7289
|
-
|
|
7290
7017
|
iframe: {
|
|
7291
7018
|
position: 'absolute',
|
|
7292
7019
|
width: '100%',
|
|
@@ -7297,12 +7024,10 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7297
7024
|
width: '100%',
|
|
7298
7025
|
display: 'flex',
|
|
7299
7026
|
flexDirection: 'column',
|
|
7300
|
-
alignItems: 'flex-start'
|
|
7301
|
-
gap: '20px'
|
|
7027
|
+
alignItems: 'flex-start'
|
|
7302
7028
|
},
|
|
7303
7029
|
videoDetailsHeading: {
|
|
7304
|
-
fontSize:
|
|
7305
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
7030
|
+
fontSize: '40px',
|
|
7306
7031
|
lineHeight: '48px',
|
|
7307
7032
|
margin: '0',
|
|
7308
7033
|
letterSpacing: '-1px',
|
|
@@ -7316,7 +7041,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7316
7041
|
display: 'flex',
|
|
7317
7042
|
flexDirection: 'column',
|
|
7318
7043
|
justifyContent: 'start',
|
|
7319
|
-
|
|
7044
|
+
paddingTop: '20px',
|
|
7320
7045
|
borderRadius: '10px'
|
|
7321
7046
|
},
|
|
7322
7047
|
bannerContainer: {
|
|
@@ -7329,12 +7054,14 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7329
7054
|
position: 'relative',
|
|
7330
7055
|
fontSize: '18px',
|
|
7331
7056
|
transform: 'rotate(180deg)',
|
|
7332
|
-
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
7057
|
+
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))',
|
|
7058
|
+
marginBottom: '16px'
|
|
7333
7059
|
},
|
|
7334
7060
|
bannerContainerText: {
|
|
7335
7061
|
transform: 'rotate(180deg)'
|
|
7336
7062
|
},
|
|
7337
7063
|
courseDetailsTags: {
|
|
7064
|
+
marginTop: '16px',
|
|
7338
7065
|
display: 'flex'
|
|
7339
7066
|
},
|
|
7340
7067
|
courseDetailTag: {
|
|
@@ -7342,22 +7069,23 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7342
7069
|
alignItems: 'center',
|
|
7343
7070
|
marginRight: '20px',
|
|
7344
7071
|
'& div': {
|
|
7345
|
-
fontSize:
|
|
7072
|
+
fontSize: '14px',
|
|
7346
7073
|
marginLeft: '10px'
|
|
7347
7074
|
}
|
|
7348
7075
|
},
|
|
7349
7076
|
courseDetailContent: {
|
|
7350
|
-
|
|
7077
|
+
marginTop: '16px',
|
|
7078
|
+
fontSize: '16px',
|
|
7351
7079
|
wordBreak: 'break-word',
|
|
7352
7080
|
color: theme.palette.font.primary,
|
|
7353
|
-
|
|
7354
|
-
|
|
7081
|
+
margin: '10px 0 20px',
|
|
7082
|
+
whiteSpace: 'pre-wrap'
|
|
7355
7083
|
},
|
|
7356
7084
|
courseDetailViewFullDetails: {
|
|
7357
7085
|
cursor: 'pointer',
|
|
7358
|
-
fontSize:
|
|
7086
|
+
fontSize: '16px',
|
|
7359
7087
|
lineHeight: '24px',
|
|
7360
|
-
|
|
7088
|
+
margin: '0',
|
|
7361
7089
|
color: '#00ADE7',
|
|
7362
7090
|
wordBreak: 'break-word'
|
|
7363
7091
|
},
|
|
@@ -7365,10 +7093,9 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7365
7093
|
color: '#EB5757',
|
|
7366
7094
|
fontWeight: '600'
|
|
7367
7095
|
},
|
|
7368
|
-
|
|
7369
|
-
|
|
7370
|
-
|
|
7371
|
-
|
|
7096
|
+
webinarButtonContainer: {
|
|
7097
|
+
marginBottom: '20px'
|
|
7098
|
+
},
|
|
7372
7099
|
iconBackground: {
|
|
7373
7100
|
display: 'flex',
|
|
7374
7101
|
width: '36px',
|
|
@@ -7400,10 +7127,11 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7400
7127
|
width: '100%'
|
|
7401
7128
|
},
|
|
7402
7129
|
videoDetailsHeading: {
|
|
7130
|
+
fontSize: '16px',
|
|
7403
7131
|
lineHeight: '20px'
|
|
7404
7132
|
},
|
|
7405
7133
|
videoTestimonialTitle: {
|
|
7406
|
-
|
|
7134
|
+
fontSize: '24px',
|
|
7407
7135
|
lineHeight: '36px',
|
|
7408
7136
|
letterSpacing: '-1px'
|
|
7409
7137
|
},
|
|
@@ -7518,7 +7246,7 @@ const SingleVideoSlide$1 = props => {
|
|
|
7518
7246
|
color: theme.palette.primary.main,
|
|
7519
7247
|
width: "20px",
|
|
7520
7248
|
name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
|
|
7521
|
-
})), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React.createElement("
|
|
7249
|
+
})), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React.createElement("p", {
|
|
7522
7250
|
ref: data?.videoTextContent?.refSetter,
|
|
7523
7251
|
className: classes.courseDetailContent,
|
|
7524
7252
|
dangerouslySetInnerHTML: {
|
|
@@ -7535,7 +7263,7 @@ const SingleVideoSlide$1 = props => {
|
|
|
7535
7263
|
}
|
|
7536
7264
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
7537
7265
|
className: classes.courseViewContainer
|
|
7538
|
-
}, data.isPaid !== 0 && checkIfOfferIsValid() && (data.offerPriceValidFor !== null ? data.offerPriceValidFor - conversions > 0 : true) && /*#__PURE__*/React.createElement("
|
|
7266
|
+
}, data.isPaid !== 0 && checkIfOfferIsValid() && (data.offerPriceValidFor !== null ? data.offerPriceValidFor - conversions > 0 : true) && /*#__PURE__*/React.createElement("p", {
|
|
7539
7267
|
className: classes.offerText
|
|
7540
7268
|
}, "Offer Ends in", ' ', /*#__PURE__*/React.createElement("span", {
|
|
7541
7269
|
className: classes.courseDetailTime
|
|
@@ -7559,9 +7287,10 @@ const SingleVideoSlide$1 = props => {
|
|
|
7559
7287
|
className: classes.priceContainer
|
|
7560
7288
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7561
7289
|
className: classes.offerPrice
|
|
7562
|
-
}, "\u20B9", data?.effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("
|
|
7290
|
+
}, "\u20B9", data?.effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("p", {
|
|
7563
7291
|
style: {
|
|
7564
|
-
fontSize: '20px'
|
|
7292
|
+
fontSize: '20px',
|
|
7293
|
+
marginTop: '0px'
|
|
7565
7294
|
}
|
|
7566
7295
|
}, /*#__PURE__*/React.createElement("span", {
|
|
7567
7296
|
className: classes.originalPrice
|
|
@@ -7595,14 +7324,12 @@ function CoursePromotionPage$1({
|
|
|
7595
7324
|
sectionIndex
|
|
7596
7325
|
}) {
|
|
7597
7326
|
const {
|
|
7598
|
-
isMobile,
|
|
7599
7327
|
layout: {
|
|
7600
7328
|
containerWidth
|
|
7601
7329
|
}
|
|
7602
7330
|
} = useContext(PageContext);
|
|
7603
7331
|
const classes = useWebinarPromotionPage({
|
|
7604
|
-
containerWidth
|
|
7605
|
-
isMobile
|
|
7332
|
+
containerWidth
|
|
7606
7333
|
});
|
|
7607
7334
|
return /*#__PURE__*/React.createElement("div", {
|
|
7608
7335
|
className: classes.webinarSuperContainer
|
|
@@ -7628,22 +7355,18 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7628
7355
|
courseSuperContainer: {
|
|
7629
7356
|
display: 'flex',
|
|
7630
7357
|
justifyContent: 'center',
|
|
7631
|
-
|
|
7632
|
-
padding: ({
|
|
7633
|
-
isMobile
|
|
7634
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
7358
|
+
padding: '70px ',
|
|
7635
7359
|
'&, & *, & *:before, & *:after': {
|
|
7636
7360
|
fontFamily: theme?.typography?.fontFamily,
|
|
7637
7361
|
boxSizing: 'border-box'
|
|
7362
|
+
},
|
|
7363
|
+
'& h2,& h3': {
|
|
7364
|
+
fontWeight: '500',
|
|
7365
|
+
'& b,& strong': {
|
|
7366
|
+
fontWeight: '700'
|
|
7367
|
+
}
|
|
7638
7368
|
}
|
|
7639
|
-
// '& h2,& h3': {
|
|
7640
|
-
// fontWeight: '500',
|
|
7641
|
-
// '& b,& strong': {
|
|
7642
|
-
// fontWeight: '700'
|
|
7643
|
-
// }
|
|
7644
|
-
// }
|
|
7645
7369
|
},
|
|
7646
|
-
|
|
7647
7370
|
sectionContainer: {
|
|
7648
7371
|
margin: '0 auto',
|
|
7649
7372
|
maxWidth: ({
|
|
@@ -7656,7 +7379,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7656
7379
|
fontFamily: theme?.typography?.fontFamily
|
|
7657
7380
|
},
|
|
7658
7381
|
videoTestimonialHeading: {
|
|
7659
|
-
fontSize:
|
|
7382
|
+
fontSize: '16px',
|
|
7660
7383
|
lineHeight: '20px',
|
|
7661
7384
|
letterSpacing: '3px',
|
|
7662
7385
|
textTransform: 'uppercase',
|
|
@@ -7665,7 +7388,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7665
7388
|
fontWeight: '700'
|
|
7666
7389
|
},
|
|
7667
7390
|
videoTestimonialTitle: {
|
|
7668
|
-
fontSize:
|
|
7391
|
+
fontSize: '56px',
|
|
7669
7392
|
lineHeight: '71px',
|
|
7670
7393
|
letterSpacing: '-3px',
|
|
7671
7394
|
margin: '0',
|
|
@@ -7673,12 +7396,12 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7673
7396
|
wordBreak: 'break-word'
|
|
7674
7397
|
},
|
|
7675
7398
|
videoCarouselContainer: {
|
|
7676
|
-
|
|
7399
|
+
marginTop: '16px'
|
|
7677
7400
|
},
|
|
7678
7401
|
coursePageCarousel: {
|
|
7679
7402
|
display: 'flex',
|
|
7680
7403
|
justifyContent: 'flex-start',
|
|
7681
|
-
gap: '
|
|
7404
|
+
gap: '20px'
|
|
7682
7405
|
},
|
|
7683
7406
|
'@media screen and (max-width: 767px)': {
|
|
7684
7407
|
coursePageCarousel: {
|
|
@@ -7693,19 +7416,18 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7693
7416
|
alignItems: 'center'
|
|
7694
7417
|
},
|
|
7695
7418
|
iframeContainer: {
|
|
7696
|
-
width: '
|
|
7419
|
+
width: '90%',
|
|
7697
7420
|
position: 'relative',
|
|
7698
|
-
paddingBottom: '56.25%'
|
|
7421
|
+
paddingBottom: '56.25%',
|
|
7699
7422
|
// top: "6%",
|
|
7700
|
-
|
|
7423
|
+
left: '5%'
|
|
7701
7424
|
},
|
|
7702
|
-
|
|
7703
7425
|
offerText: {
|
|
7704
7426
|
textAlign: 'center',
|
|
7705
7427
|
color: theme.palette.font.primary
|
|
7706
7428
|
},
|
|
7707
7429
|
offerPrice: {
|
|
7708
|
-
fontSize:
|
|
7430
|
+
fontSize: '28px',
|
|
7709
7431
|
fontWeight: '700'
|
|
7710
7432
|
},
|
|
7711
7433
|
priceContainer: {
|
|
@@ -7723,7 +7445,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7723
7445
|
fontWeight: '600'
|
|
7724
7446
|
},
|
|
7725
7447
|
bottomContainer: {
|
|
7726
|
-
width: '
|
|
7448
|
+
width: '90%',
|
|
7727
7449
|
marginLeft: 'auto',
|
|
7728
7450
|
marginRight: 'auto',
|
|
7729
7451
|
display: 'flex',
|
|
@@ -7740,28 +7462,25 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7740
7462
|
width: '100%',
|
|
7741
7463
|
display: 'flex',
|
|
7742
7464
|
flexDirection: 'column',
|
|
7743
|
-
alignItems: 'flex-start'
|
|
7744
|
-
gap: '20px'
|
|
7465
|
+
alignItems: 'flex-start'
|
|
7745
7466
|
},
|
|
7746
7467
|
videoDetailsHeading: {
|
|
7747
|
-
fontSize:
|
|
7468
|
+
fontSize: '40px',
|
|
7748
7469
|
lineHeight: '48px',
|
|
7749
7470
|
margin: '0',
|
|
7750
7471
|
letterSpacing: '-1px',
|
|
7751
7472
|
wordBreak: 'break-word',
|
|
7752
|
-
color: theme
|
|
7473
|
+
color: theme.palette.font.default
|
|
7753
7474
|
},
|
|
7754
7475
|
courseViewContainer: {
|
|
7755
7476
|
width: '445px',
|
|
7756
7477
|
backgroundColor: '#f4f9ff',
|
|
7757
7478
|
display: 'flex',
|
|
7758
|
-
padding: '24px',
|
|
7759
7479
|
flexDirection: 'column',
|
|
7760
|
-
borderRadius: '10px'
|
|
7761
|
-
|
|
7762
|
-
|
|
7480
|
+
borderRadius: '10px',
|
|
7481
|
+
paddingBottom: '10px',
|
|
7482
|
+
paddingTop: '10px'
|
|
7763
7483
|
},
|
|
7764
|
-
|
|
7765
7484
|
bannerContainer: {
|
|
7766
7485
|
width: '100%',
|
|
7767
7486
|
background: '#EB5757',
|
|
@@ -7770,12 +7489,11 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7770
7489
|
padding: '10px 10px 23px 40px',
|
|
7771
7490
|
wordWrap: 'break-word',
|
|
7772
7491
|
position: 'relative',
|
|
7773
|
-
fontSize:
|
|
7492
|
+
fontSize: '18px',
|
|
7774
7493
|
transform: 'rotate(180deg)',
|
|
7775
|
-
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
7776
|
-
|
|
7494
|
+
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))',
|
|
7495
|
+
marginBottom: '16px'
|
|
7777
7496
|
},
|
|
7778
|
-
|
|
7779
7497
|
bannerContainerText: {
|
|
7780
7498
|
transform: 'rotate(180deg)'
|
|
7781
7499
|
},
|
|
@@ -7786,15 +7504,16 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7786
7504
|
},
|
|
7787
7505
|
courseEmblem: {
|
|
7788
7506
|
background: '#F0F4F8',
|
|
7789
|
-
fontSize: theme.typography.fontSize.subHead,
|
|
7790
7507
|
borderRadius: '2.00337px',
|
|
7791
7508
|
padding: '8px',
|
|
7792
7509
|
display: 'flex',
|
|
7793
7510
|
alignItems: 'center',
|
|
7794
|
-
justifyContent: 'center'
|
|
7511
|
+
justifyContent: 'center',
|
|
7512
|
+
marginTop: '20px',
|
|
7513
|
+
marginBottom: '20px'
|
|
7795
7514
|
},
|
|
7796
7515
|
courseDetailsTags: {
|
|
7797
|
-
|
|
7516
|
+
marginTop: '16px',
|
|
7798
7517
|
display: 'flex',
|
|
7799
7518
|
flexWrap: 'wrap'
|
|
7800
7519
|
},
|
|
@@ -7804,26 +7523,25 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7804
7523
|
alignItems: 'center',
|
|
7805
7524
|
marginRight: '20px',
|
|
7806
7525
|
'& div': {
|
|
7807
|
-
fontSize:
|
|
7808
|
-
fontWeight: theme.typography.fontWeight.semiBold,
|
|
7526
|
+
fontSize: '14px',
|
|
7809
7527
|
marginLeft: '10px'
|
|
7810
7528
|
}
|
|
7811
7529
|
},
|
|
7812
7530
|
courseDetailContent: {
|
|
7813
|
-
|
|
7814
|
-
fontSize:
|
|
7531
|
+
marginTop: '16px',
|
|
7532
|
+
fontSize: '16px',
|
|
7815
7533
|
lineHeight: '24px',
|
|
7816
7534
|
wordBreak: 'break-word',
|
|
7817
|
-
color: theme
|
|
7535
|
+
color: theme.palette.font.primary,
|
|
7818
7536
|
whiteSpace: 'pre-wrap',
|
|
7819
7537
|
margin: '10px 0 20px'
|
|
7820
7538
|
},
|
|
7821
7539
|
courseDetailViewFullDetails: {
|
|
7822
7540
|
cursor: 'pointer',
|
|
7823
|
-
fontSize:
|
|
7541
|
+
fontSize: '16px',
|
|
7824
7542
|
lineHeight: '24px',
|
|
7825
|
-
|
|
7826
|
-
color:
|
|
7543
|
+
margin: '0',
|
|
7544
|
+
color: '#00ADE7',
|
|
7827
7545
|
wordBreak: 'break-word'
|
|
7828
7546
|
},
|
|
7829
7547
|
courseDetailTime: {
|
|
@@ -7869,7 +7587,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7869
7587
|
},
|
|
7870
7588
|
'@media (max-width: 767px)': {
|
|
7871
7589
|
bannerContainerText: {
|
|
7872
|
-
|
|
7590
|
+
fontSize: '16px'
|
|
7873
7591
|
},
|
|
7874
7592
|
courseViewContainer: {
|
|
7875
7593
|
width: '100%',
|
|
@@ -7890,12 +7608,12 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7890
7608
|
width: '100%'
|
|
7891
7609
|
},
|
|
7892
7610
|
videoDetailsHeading: {
|
|
7893
|
-
|
|
7611
|
+
fontSize: '20px',
|
|
7894
7612
|
fontWeight: '600',
|
|
7895
7613
|
lineHeight: '20px'
|
|
7896
7614
|
},
|
|
7897
7615
|
videoTestimonialTitle: {
|
|
7898
|
-
|
|
7616
|
+
fontSize: '24px',
|
|
7899
7617
|
lineHeight: '36px',
|
|
7900
7618
|
letterSpacing: '-1px'
|
|
7901
7619
|
},
|
|
@@ -8081,7 +7799,7 @@ const SingleVideoSlide = props => {
|
|
|
8081
7799
|
className: classes.offerPrice
|
|
8082
7800
|
}, "\u20B9 ", data.effectivePrice), checkForShowDiscount() && (data.endDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("p", {
|
|
8083
7801
|
style: {
|
|
8084
|
-
|
|
7802
|
+
fontSize: '20px',
|
|
8085
7803
|
marginTop: '0px'
|
|
8086
7804
|
}
|
|
8087
7805
|
}, /*#__PURE__*/React.createElement("span", {
|
|
@@ -8131,14 +7849,12 @@ function CoursePromotionPage({
|
|
|
8131
7849
|
sectionIndex
|
|
8132
7850
|
}) {
|
|
8133
7851
|
const {
|
|
8134
|
-
isMobile,
|
|
8135
7852
|
layout: {
|
|
8136
7853
|
containerWidth
|
|
8137
7854
|
}
|
|
8138
7855
|
} = useContext(PageContext);
|
|
8139
7856
|
const classes = useCoursePromotionPage({
|
|
8140
|
-
containerWidth
|
|
8141
|
-
isMobile
|
|
7857
|
+
containerWidth
|
|
8142
7858
|
});
|
|
8143
7859
|
return /*#__PURE__*/React.createElement("div", {
|
|
8144
7860
|
className: classes.courseSuperContainer
|
|
@@ -8162,9 +7878,7 @@ var index$3 = /*#__PURE__*/Object.freeze({
|
|
|
8162
7878
|
|
|
8163
7879
|
const useFormPageStyles = createUseStyles(theme => ({
|
|
8164
7880
|
formPageSection: {
|
|
8165
|
-
padding:
|
|
8166
|
-
isMobile
|
|
8167
|
-
} = {}) => 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',
|
|
8168
7882
|
background: '#F4F9FF',
|
|
8169
7883
|
'&, & *, & *:before, & *:after': {
|
|
8170
7884
|
fontFamily: theme?.typography?.fontFamily,
|
|
@@ -8175,82 +7889,77 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8175
7889
|
textAlign: 'center'
|
|
8176
7890
|
},
|
|
8177
7891
|
formPageTitle: {
|
|
8178
|
-
fontSize:
|
|
8179
|
-
fontWeight:
|
|
7892
|
+
fontSize: '50px',
|
|
7893
|
+
fontWeight: '700'
|
|
8180
7894
|
},
|
|
8181
7895
|
formPageSubtitle: {
|
|
8182
|
-
marginTop: '
|
|
8183
|
-
fontSize:
|
|
7896
|
+
marginTop: '16px',
|
|
7897
|
+
fontSize: '16px',
|
|
8184
7898
|
lineHeight: '23px',
|
|
8185
7899
|
color: 'rgba(51, 51, 51, 0.5)',
|
|
8186
|
-
marginBottom:
|
|
7900
|
+
marginBottom: '32px'
|
|
8187
7901
|
},
|
|
8188
7902
|
formPageFormContainer: {
|
|
7903
|
+
marginTop: '32px',
|
|
8189
7904
|
'& form': {
|
|
8190
|
-
padding: '
|
|
7905
|
+
padding: '35px 140px',
|
|
8191
7906
|
background: '#FFFFFF',
|
|
8192
7907
|
borderRadius: '8px',
|
|
8193
7908
|
boxShadow: '0px 4px 10px rgba(0, 0, 0, 0.16)'
|
|
8194
7909
|
}
|
|
8195
7910
|
},
|
|
8196
7911
|
inputField: {
|
|
8197
|
-
marginTop: '
|
|
8198
|
-
|
|
8199
|
-
|
|
8200
|
-
|
|
7912
|
+
marginTop: '20px',
|
|
7913
|
+
padding: '20px',
|
|
7914
|
+
border: '1px solid #D8E0F0',
|
|
7915
|
+
borderRadius: '16px'
|
|
8201
7916
|
},
|
|
8202
|
-
|
|
8203
7917
|
inputFieldLabel: {
|
|
8204
7918
|
color: '#333',
|
|
8205
|
-
fontSize:
|
|
8206
|
-
fontWeight: theme.typography.fontWeight.semiBold,
|
|
7919
|
+
fontSize: '20px',
|
|
8207
7920
|
display: 'block',
|
|
8208
|
-
|
|
8209
|
-
marginBottom: '12px'
|
|
7921
|
+
marginBottom: '10px'
|
|
8210
7922
|
},
|
|
8211
7923
|
inputFieldControl: {
|
|
8212
7924
|
width: '100%',
|
|
7925
|
+
height: '50px',
|
|
8213
7926
|
borderRadius: '8px',
|
|
8214
7927
|
border: '1px solid #D8E0F0',
|
|
8215
|
-
padding: '
|
|
7928
|
+
padding: '5px 10px',
|
|
8216
7929
|
color: '#7D8592',
|
|
8217
|
-
fontSize:
|
|
7930
|
+
fontSize: '16px'
|
|
8218
7931
|
},
|
|
8219
7932
|
checkboxField: {
|
|
8220
|
-
|
|
8221
|
-
|
|
8222
|
-
|
|
7933
|
+
marginTop: '20px',
|
|
7934
|
+
padding: '20px',
|
|
7935
|
+
border: '1px solid #D8E0F0',
|
|
7936
|
+
borderRadius: '8px'
|
|
8223
7937
|
},
|
|
8224
7938
|
checkBoxFieldLabel: {
|
|
8225
7939
|
color: '#333',
|
|
8226
|
-
fontSize:
|
|
8227
|
-
|
|
8228
|
-
marginTop: '20px',
|
|
8229
|
-
marginBottom: '12px'
|
|
7940
|
+
fontSize: '20px',
|
|
7941
|
+
margin: '10px 0'
|
|
8230
7942
|
},
|
|
8231
7943
|
inputFieldRequired: {
|
|
8232
7944
|
color: '#F41828'
|
|
8233
7945
|
},
|
|
8234
7946
|
checkboxFieldControl: {
|
|
8235
|
-
padding: '
|
|
7947
|
+
padding: '6px 0',
|
|
8236
7948
|
'& label': {
|
|
8237
|
-
|
|
7949
|
+
fontFamily: '16px',
|
|
8238
7950
|
marginLeft: '10px',
|
|
8239
7951
|
color: '#7D8592'
|
|
8240
7952
|
}
|
|
8241
7953
|
},
|
|
8242
7954
|
submitBtnContainer: {
|
|
8243
|
-
marginTop:
|
|
8244
|
-
display: 'flex',
|
|
8245
|
-
alignItems: 'center',
|
|
8246
|
-
justifyContent: 'center',
|
|
7955
|
+
marginTop: '20px',
|
|
8247
7956
|
width: '100%',
|
|
8248
7957
|
margin: '0 auto',
|
|
8249
7958
|
'& button': {
|
|
8250
|
-
|
|
8251
|
-
padding: '
|
|
7959
|
+
height: '44px',
|
|
7960
|
+
padding: '10px 40px',
|
|
8252
7961
|
color: '#FFFFFF',
|
|
8253
|
-
fontSize:
|
|
7962
|
+
fontSize: '16px',
|
|
8254
7963
|
cursor: 'pointer',
|
|
8255
7964
|
borderRadius: '8px'
|
|
8256
7965
|
}
|
|
@@ -8265,14 +7974,8 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8265
7974
|
},
|
|
8266
7975
|
formPageFormContainer: {
|
|
8267
7976
|
'& form': {
|
|
8268
|
-
padding: '
|
|
7977
|
+
padding: '24px'
|
|
8269
7978
|
}
|
|
8270
|
-
},
|
|
8271
|
-
inputFieldLabel: {
|
|
8272
|
-
marginBottom: '8px'
|
|
8273
|
-
},
|
|
8274
|
-
checkBoxFieldLabel: {
|
|
8275
|
-
marginBottom: '8px'
|
|
8276
7979
|
}
|
|
8277
7980
|
}
|
|
8278
7981
|
}));
|
|
@@ -8319,16 +8022,13 @@ const FormPage = ({
|
|
|
8319
8022
|
extraProps = {}
|
|
8320
8023
|
}) => {
|
|
8321
8024
|
const [formData, setFormData] = useState({});
|
|
8025
|
+
const classes = useFormPageStyles();
|
|
8322
8026
|
const [formSubmitted, setformSubmitted] = useState(false);
|
|
8323
8027
|
const metadata = sectionData?.components?.[0]?.metadata || formPageMock;
|
|
8324
8028
|
const {
|
|
8325
8029
|
_id,
|
|
8326
|
-
baseURLs
|
|
8327
|
-
isMobile
|
|
8030
|
+
baseURLs
|
|
8328
8031
|
} = useContext(PageContext);
|
|
8329
|
-
const classes = useFormPageStyles({
|
|
8330
|
-
isMobile
|
|
8331
|
-
});
|
|
8332
8032
|
const handleSubmit = async e => {
|
|
8333
8033
|
e.preventDefault();
|
|
8334
8034
|
let formResponse = [];
|
|
@@ -8535,18 +8235,16 @@ const useTilesStyles = createUseStyles(theme => {
|
|
|
8535
8235
|
alignItems: 'center',
|
|
8536
8236
|
display: 'flex',
|
|
8537
8237
|
flexDirection: 'column',
|
|
8538
|
-
|
|
8539
|
-
isMobile
|
|
8540
|
-
} = {}) => isMobile ? `16px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`
|
|
8238
|
+
marginTop: '20px'
|
|
8541
8239
|
},
|
|
8542
8240
|
tileDiv: {
|
|
8543
8241
|
width: '236px',
|
|
8544
|
-
|
|
8545
|
-
aspectRatio: '3/2',
|
|
8242
|
+
height: '160px',
|
|
8546
8243
|
position: 'relative',
|
|
8547
8244
|
borderRadius: '16px',
|
|
8548
8245
|
overflow: 'hidden',
|
|
8549
|
-
cursor: 'pointer'
|
|
8246
|
+
cursor: 'pointer',
|
|
8247
|
+
margin: '1rem'
|
|
8550
8248
|
},
|
|
8551
8249
|
tileImg: {
|
|
8552
8250
|
objectFit: 'cover',
|
|
@@ -8561,8 +8259,8 @@ const useTilesStyles = createUseStyles(theme => {
|
|
|
8561
8259
|
top: '12%',
|
|
8562
8260
|
left: '7%',
|
|
8563
8261
|
color: 'white',
|
|
8564
|
-
fontWeight:
|
|
8565
|
-
fontSize:
|
|
8262
|
+
fontWeight: '600',
|
|
8263
|
+
fontSize: '20px',
|
|
8566
8264
|
width: '150px'
|
|
8567
8265
|
},
|
|
8568
8266
|
row: {
|
|
@@ -8570,28 +8268,25 @@ const useTilesStyles = createUseStyles(theme => {
|
|
|
8570
8268
|
flexDirection: 'row',
|
|
8571
8269
|
justifyContent: 'center',
|
|
8572
8270
|
flexWrap: 'wrap',
|
|
8573
|
-
width: '
|
|
8574
|
-
|
|
8271
|
+
width: '85%',
|
|
8272
|
+
marginBottom: '3rem'
|
|
8575
8273
|
},
|
|
8576
8274
|
header: {
|
|
8577
|
-
fontWeight:
|
|
8578
|
-
fontSize:
|
|
8275
|
+
fontWeight: '700',
|
|
8276
|
+
fontSize: '46px',
|
|
8579
8277
|
lineHeight: '46px',
|
|
8278
|
+
marginBottom: '1rem',
|
|
8580
8279
|
textAlign: 'center',
|
|
8280
|
+
marginTop: '3rem',
|
|
8581
8281
|
color: '#2D2D2D'
|
|
8582
8282
|
},
|
|
8583
8283
|
headerTitle: {
|
|
8584
|
-
fontWeight:
|
|
8585
|
-
fontSize:
|
|
8284
|
+
fontWeight: '400',
|
|
8285
|
+
fontSize: '24px',
|
|
8586
8286
|
lineHeight: '46px',
|
|
8587
8287
|
color: '#7D8592',
|
|
8588
|
-
marginBottom:
|
|
8288
|
+
marginBottom: '3rem',
|
|
8589
8289
|
textAlign: 'center'
|
|
8590
|
-
},
|
|
8591
|
-
'@media screen and (max-width: 767px)': {
|
|
8592
|
-
tileDiv: {
|
|
8593
|
-
width: 'calc(53% - 24px)'
|
|
8594
|
-
}
|
|
8595
8290
|
}
|
|
8596
8291
|
};
|
|
8597
8292
|
});
|
|
@@ -8600,6 +8295,7 @@ function Tiles({
|
|
|
8600
8295
|
sectionData,
|
|
8601
8296
|
sectionIndex
|
|
8602
8297
|
}) {
|
|
8298
|
+
const classes = useTilesStyles({});
|
|
8603
8299
|
const {
|
|
8604
8300
|
isMobile,
|
|
8605
8301
|
layout: {
|
|
@@ -8608,9 +8304,6 @@ function Tiles({
|
|
|
8608
8304
|
isPreview,
|
|
8609
8305
|
isEdit
|
|
8610
8306
|
} = useContext(PageContext);
|
|
8611
|
-
const classes = useTilesStyles({
|
|
8612
|
-
isMobile
|
|
8613
|
-
});
|
|
8614
8307
|
const nodeData = sectionData.components;
|
|
8615
8308
|
const tilesList = nodeData[0]?.tilesList.components;
|
|
8616
8309
|
const handleClick = value => {
|