diy-template-components 0.2.83 → 0.2.84
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 +1074 -969
- package/build/index.es.js.map +1 -1
- package/build/index.js +1074 -969
- package/build/index.js.map +1 -1
- package/package.json +3 -3
package/build/index.es.js
CHANGED
|
@@ -356,7 +356,7 @@ const buttonStyles = createUseStyles(theme => ({
|
|
|
356
356
|
} = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.palette?.primary?.main,
|
|
357
357
|
border: ({
|
|
358
358
|
disabled
|
|
359
|
-
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme
|
|
359
|
+
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.palette?.primary?.main}`,
|
|
360
360
|
textDecoration: 'none',
|
|
361
361
|
cursor: ({
|
|
362
362
|
disabled
|
|
@@ -579,7 +579,7 @@ var menu = "data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20v
|
|
|
579
579
|
|
|
580
580
|
var clpLogo = "478367302082f28d.svg";
|
|
581
581
|
|
|
582
|
-
var videoPlay = "data:image/svg+xml,%3Csvg%20width%3D%
|
|
582
|
+
var videoPlay = "data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%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";
|
|
583
583
|
|
|
584
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";
|
|
585
585
|
|
|
@@ -1912,20 +1912,100 @@ const palettes = {
|
|
|
1912
1912
|
rust: rustPalette
|
|
1913
1913
|
};
|
|
1914
1914
|
|
|
1915
|
-
|
|
1915
|
+
const baseFactor = 8;
|
|
1916
|
+
const mobileMargin = {
|
|
1917
|
+
tiny: baseFactor * 2,
|
|
1918
|
+
small: baseFactor * 2,
|
|
1919
|
+
regular: baseFactor * 3,
|
|
1920
|
+
medium: baseFactor * 6
|
|
1921
|
+
};
|
|
1922
|
+
const margin = {
|
|
1923
|
+
tiny: baseFactor * 4,
|
|
1924
|
+
small: baseFactor * 4 * 2,
|
|
1925
|
+
regular: baseFactor * 4 * 4,
|
|
1926
|
+
medium: baseFactor * 4 * 6,
|
|
1927
|
+
large: baseFactor * 4 * 8,
|
|
1928
|
+
xLarge: baseFactor * 4 * 12
|
|
1929
|
+
};
|
|
1930
|
+
const mobilePadding = {
|
|
1931
|
+
tiny: baseFactor * 2,
|
|
1932
|
+
// 16px
|
|
1933
|
+
small: baseFactor * 2,
|
|
1934
|
+
//16px
|
|
1935
|
+
regular: baseFactor * 3,
|
|
1936
|
+
// 24px
|
|
1937
|
+
medium: baseFactor * 6 // 48px
|
|
1938
|
+
};
|
|
1939
|
+
|
|
1940
|
+
const padding = {
|
|
1941
|
+
minute: baseFactor * 2,
|
|
1942
|
+
// 16px
|
|
1943
|
+
tiny: baseFactor * 4,
|
|
1944
|
+
// 32px
|
|
1945
|
+
small: baseFactor * 4 * 2,
|
|
1946
|
+
// 64px
|
|
1947
|
+
xSmall: baseFactor * 3 * 3,
|
|
1948
|
+
// 72px
|
|
1949
|
+
regular: baseFactor * 4 * 3,
|
|
1950
|
+
// 96 px
|
|
1951
|
+
medium: baseFactor * 4 * 4,
|
|
1952
|
+
// 128 px
|
|
1953
|
+
large: baseFactor * 4 * 5,
|
|
1954
|
+
// 160px
|
|
1955
|
+
xLarge: baseFactor * 4 * 6 // 192px
|
|
1956
|
+
};
|
|
1957
|
+
|
|
1958
|
+
const fontSize = {
|
|
1959
|
+
h1: 72,
|
|
1960
|
+
h2: 56,
|
|
1961
|
+
h3: 40,
|
|
1962
|
+
h4: 32,
|
|
1963
|
+
h5: 24,
|
|
1964
|
+
h6: 20,
|
|
1965
|
+
subHead: 16,
|
|
1966
|
+
body: 14
|
|
1967
|
+
};
|
|
1968
|
+
const fontSizeMob = {
|
|
1969
|
+
h1: 40,
|
|
1970
|
+
h2: 20,
|
|
1971
|
+
h3: 32,
|
|
1972
|
+
h4: 16,
|
|
1973
|
+
h5: 16,
|
|
1974
|
+
h6: 14,
|
|
1975
|
+
subHead: 14,
|
|
1976
|
+
body: 14
|
|
1977
|
+
};
|
|
1978
|
+
const fontWeight = {
|
|
1979
|
+
light: 300,
|
|
1980
|
+
regular: 400,
|
|
1981
|
+
medium: 500,
|
|
1982
|
+
semiBold: 600,
|
|
1983
|
+
bold: 700,
|
|
1984
|
+
superBold: 900
|
|
1985
|
+
};
|
|
1986
|
+
|
|
1987
|
+
function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
|
|
1988
|
+
console.log(isMobile, "isMobileisMobile");
|
|
1916
1989
|
const palette = palettes[colorTheme] || palettes['blue'];
|
|
1917
1990
|
const typography = {
|
|
1918
|
-
fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"
|
|
1991
|
+
fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
|
|
1992
|
+
fontSize: isMobile ? fontSizeMob : fontSize,
|
|
1993
|
+
fontWeight
|
|
1919
1994
|
};
|
|
1920
1995
|
const shape = {
|
|
1921
1996
|
borderRadius
|
|
1922
1997
|
};
|
|
1998
|
+
const spacing = {
|
|
1999
|
+
padding: isMobile ? mobilePadding : padding,
|
|
2000
|
+
margin: isMobile ? mobileMargin : margin
|
|
2001
|
+
};
|
|
1923
2002
|
return {
|
|
1924
2003
|
palette,
|
|
1925
2004
|
shape,
|
|
1926
2005
|
typography,
|
|
1927
2006
|
shadows: generateShadows(palette),
|
|
1928
|
-
borders: generateBorders(palette)
|
|
2007
|
+
borders: generateBorders(palette),
|
|
2008
|
+
spacing
|
|
1929
2009
|
};
|
|
1930
2010
|
}
|
|
1931
2011
|
|
|
@@ -2129,17 +2209,22 @@ function PageRenderer$1({
|
|
|
2129
2209
|
const useSectionStyles$8 = createUseStyles(theme => ({
|
|
2130
2210
|
bannerCarouselRightSection: {
|
|
2131
2211
|
position: 'relative',
|
|
2212
|
+
padding: ({
|
|
2213
|
+
isMobile
|
|
2214
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
2215
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
2132
2216
|
'&, & *, & *:before, & *:after': {
|
|
2133
2217
|
fontFamily: theme?.typography?.fontFamily,
|
|
2134
2218
|
boxSizing: 'border-box'
|
|
2135
|
-
},
|
|
2136
|
-
'& h2,& h3': {
|
|
2137
|
-
fontWeight: '500',
|
|
2138
|
-
'& b,& strong': {
|
|
2139
|
-
fontWeight: '700'
|
|
2140
|
-
}
|
|
2141
2219
|
}
|
|
2220
|
+
// '& h2,& h3': {
|
|
2221
|
+
// fontWeight: '500',
|
|
2222
|
+
// '& b,& strong': {
|
|
2223
|
+
// fontWeight: '700'
|
|
2224
|
+
// }
|
|
2225
|
+
// }
|
|
2142
2226
|
},
|
|
2227
|
+
|
|
2143
2228
|
sectionContainer: {
|
|
2144
2229
|
margin: '0 auto',
|
|
2145
2230
|
maxWidth: ({
|
|
@@ -2152,24 +2237,19 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2152
2237
|
justifyContent: 'center',
|
|
2153
2238
|
position: 'relative'
|
|
2154
2239
|
},
|
|
2155
|
-
partialBackground: {
|
|
2156
|
-
width: '61%',
|
|
2157
|
-
position: 'absolute',
|
|
2158
|
-
backgroundColor: theme?.palette?.background?.primary,
|
|
2159
|
-
height: '100%',
|
|
2160
|
-
top: '0',
|
|
2161
|
-
left: '0'
|
|
2162
|
-
},
|
|
2163
2240
|
contentContainer: {
|
|
2164
2241
|
position: 'relative',
|
|
2165
2242
|
width: '100%',
|
|
2166
2243
|
zIndex: '1',
|
|
2167
|
-
display: 'grid',
|
|
2168
|
-
gridTemplateColumns: 'repeat(2,minmax(0, 1fr))',
|
|
2169
|
-
|
|
2244
|
+
// display: 'grid',
|
|
2245
|
+
// gridTemplateColumns: 'repeat(2,minmax(0, 1fr))',
|
|
2246
|
+
display: 'flex',
|
|
2247
|
+
flexDirection: 'row',
|
|
2248
|
+
alignItems: 'center',
|
|
2249
|
+
maxWidth: '100%',
|
|
2250
|
+
gap: '72px'
|
|
2170
2251
|
},
|
|
2171
2252
|
textContainer: {
|
|
2172
|
-
padding: '140px 18%',
|
|
2173
2253
|
textAlign: 'left',
|
|
2174
2254
|
margin: '0 auto',
|
|
2175
2255
|
maxWidth: '100%'
|
|
@@ -2177,23 +2257,30 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2177
2257
|
imageContainer: {
|
|
2178
2258
|
width: '100%',
|
|
2179
2259
|
position: 'relative',
|
|
2180
|
-
height: '
|
|
2260
|
+
height: '100%',
|
|
2261
|
+
display: 'flex',
|
|
2262
|
+
justifyContent: 'center',
|
|
2263
|
+
alignItems: 'center',
|
|
2264
|
+
borderRadius: '8px',
|
|
2265
|
+
overflow: 'hidden'
|
|
2181
2266
|
},
|
|
2182
2267
|
subTitleHeading: {
|
|
2183
2268
|
marginBottom: '8px',
|
|
2184
|
-
fontSize:
|
|
2185
|
-
color: theme?.palette?.font?.
|
|
2269
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
2270
|
+
color: theme?.palette?.font?.default,
|
|
2186
2271
|
wordBreak: 'break-word',
|
|
2187
2272
|
maxWidth: '100%'
|
|
2188
2273
|
},
|
|
2189
2274
|
heading: {
|
|
2190
2275
|
margin: '0',
|
|
2191
|
-
fontSize:
|
|
2276
|
+
fontSize: theme.typography.fontSize.h1,
|
|
2192
2277
|
color: theme?.palette?.font?.default,
|
|
2193
|
-
wordBreak: 'break-word'
|
|
2278
|
+
wordBreak: 'break-word',
|
|
2279
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
2280
|
+
lineHeight: 'normal'
|
|
2194
2281
|
},
|
|
2195
2282
|
description: {
|
|
2196
|
-
margin:
|
|
2283
|
+
margin: `${theme.spacing.margin.tiny}px 0px`,
|
|
2197
2284
|
color: theme?.palette?.font?.primary,
|
|
2198
2285
|
lineHeight: '24px',
|
|
2199
2286
|
wordBreak: 'break-word'
|
|
@@ -2208,30 +2295,24 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2208
2295
|
display: 'flex',
|
|
2209
2296
|
gap: '20px',
|
|
2210
2297
|
justifyContent: 'center',
|
|
2211
|
-
|
|
2212
|
-
position: 'absolute',
|
|
2298
|
+
marginTop: theme.spacing.margin.tiny,
|
|
2213
2299
|
width: '100%'
|
|
2214
2300
|
},
|
|
2301
|
+
partialBackground: {
|
|
2302
|
+
display: 'none'
|
|
2303
|
+
},
|
|
2215
2304
|
'@media screen and (max-width: 767px)': {
|
|
2216
2305
|
partialBackground: {
|
|
2217
2306
|
display: 'none'
|
|
2218
2307
|
},
|
|
2219
|
-
sectionContainer: {
|
|
2220
|
-
paddingBottom: '50px'
|
|
2221
|
-
},
|
|
2222
2308
|
contentContainer: {
|
|
2223
2309
|
display: 'flex',
|
|
2224
|
-
flexFlow: 'column
|
|
2225
|
-
paddingBottom: '
|
|
2310
|
+
flexFlow: 'column',
|
|
2311
|
+
paddingBottom: '48px',
|
|
2312
|
+
gap: '24px'
|
|
2226
2313
|
},
|
|
2227
2314
|
textContainer: {
|
|
2228
|
-
|
|
2229
|
-
},
|
|
2230
|
-
heading: {
|
|
2231
|
-
fontSize: '40px'
|
|
2232
|
-
},
|
|
2233
|
-
description: {
|
|
2234
|
-
margin: '16px 0'
|
|
2315
|
+
textAlign: 'center'
|
|
2235
2316
|
},
|
|
2236
2317
|
linkButton: {
|
|
2237
2318
|
padding: '12px 16px'
|
|
@@ -2264,7 +2345,7 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2264
2345
|
'& .slick-dots': {
|
|
2265
2346
|
bottom: ({
|
|
2266
2347
|
buttonContainerClass
|
|
2267
|
-
} = {}) => !!buttonContainerClass ? '
|
|
2348
|
+
} = {}) => !!buttonContainerClass ? '10px' : 'unset',
|
|
2268
2349
|
position: ({
|
|
2269
2350
|
buttonContainerClass
|
|
2270
2351
|
} = {}) => !!buttonContainerClass ? 'absolute' : 'inherit',
|
|
@@ -2274,7 +2355,7 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2274
2355
|
textAlign: 'center',
|
|
2275
2356
|
paddingBottom: '0',
|
|
2276
2357
|
'& ul': {
|
|
2277
|
-
margin:
|
|
2358
|
+
margin: theme.spacing.margin.regular,
|
|
2278
2359
|
padding: '0',
|
|
2279
2360
|
'& li': {
|
|
2280
2361
|
width: 'unset',
|
|
@@ -2298,7 +2379,7 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2298
2379
|
display: 'flex',
|
|
2299
2380
|
gap: '20px',
|
|
2300
2381
|
justifyContent: 'center',
|
|
2301
|
-
marginTop:
|
|
2382
|
+
marginTop: theme.spacing.margin.tiny
|
|
2302
2383
|
},
|
|
2303
2384
|
dots: {
|
|
2304
2385
|
width: '4px',
|
|
@@ -2315,6 +2396,15 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2315
2396
|
background: ({
|
|
2316
2397
|
inverted
|
|
2317
2398
|
} = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.palette.primary.main
|
|
2399
|
+
},
|
|
2400
|
+
'@media screen and (max-width: 767px)': {
|
|
2401
|
+
sliderClass: {
|
|
2402
|
+
'& .slick-dots': {
|
|
2403
|
+
'& ul': {
|
|
2404
|
+
margin: '0px'
|
|
2405
|
+
}
|
|
2406
|
+
}
|
|
2407
|
+
}
|
|
2318
2408
|
}
|
|
2319
2409
|
}));
|
|
2320
2410
|
|
|
@@ -2474,7 +2564,8 @@ function Section$4({
|
|
|
2474
2564
|
isCustomWebsite
|
|
2475
2565
|
} = useContext(PageContext);
|
|
2476
2566
|
const classes = useSectionStyles$8({
|
|
2477
|
-
isCustomWebsite
|
|
2567
|
+
isCustomWebsite,
|
|
2568
|
+
isMobile
|
|
2478
2569
|
});
|
|
2479
2570
|
return /*#__PURE__*/React.createElement("div", {
|
|
2480
2571
|
className: classes.centerData
|
|
@@ -2523,12 +2614,14 @@ function BannerCarouselRight({
|
|
|
2523
2614
|
sectionIndex
|
|
2524
2615
|
}) {
|
|
2525
2616
|
const {
|
|
2617
|
+
isMobile,
|
|
2526
2618
|
layout: {
|
|
2527
2619
|
containerWidth
|
|
2528
2620
|
}
|
|
2529
2621
|
} = useContext(PageContext);
|
|
2530
2622
|
const classes = useSectionStyles$8({
|
|
2531
|
-
containerWidth
|
|
2623
|
+
containerWidth,
|
|
2624
|
+
isMobile
|
|
2532
2625
|
});
|
|
2533
2626
|
const [{
|
|
2534
2627
|
bannerCarousel
|
|
@@ -2557,7 +2650,9 @@ var index$l = /*#__PURE__*/Object.freeze({
|
|
|
2557
2650
|
const useSectionStyles$7 = createUseStyles(theme => ({
|
|
2558
2651
|
section: {
|
|
2559
2652
|
width: '100%',
|
|
2560
|
-
padding:
|
|
2653
|
+
padding: ({
|
|
2654
|
+
isMobile
|
|
2655
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
2561
2656
|
display: 'flex',
|
|
2562
2657
|
justifyContent: 'center',
|
|
2563
2658
|
flexDirection: 'column',
|
|
@@ -2568,10 +2663,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2568
2663
|
boxSizing: 'border-box'
|
|
2569
2664
|
},
|
|
2570
2665
|
'& h2,& h3': {
|
|
2571
|
-
|
|
2572
|
-
'& b,& strong': {
|
|
2573
|
-
fontWeight: '700'
|
|
2574
|
-
}
|
|
2666
|
+
marginTop: '0'
|
|
2575
2667
|
}
|
|
2576
2668
|
},
|
|
2577
2669
|
sectionContainer: {
|
|
@@ -2582,16 +2674,19 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2582
2674
|
},
|
|
2583
2675
|
subTitleHeading: {
|
|
2584
2676
|
marginBottom: '8px',
|
|
2585
|
-
fontSize:
|
|
2586
|
-
color: theme?.palette?.font?.
|
|
2677
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
2678
|
+
color: theme?.palette?.font?.default,
|
|
2587
2679
|
alignItems: 'center',
|
|
2588
2680
|
textAlign: 'center',
|
|
2589
|
-
wordBreak: 'break-word'
|
|
2681
|
+
wordBreak: 'break-word',
|
|
2682
|
+
letterSpacing: '3px',
|
|
2683
|
+
textTransform: 'uppercase'
|
|
2590
2684
|
},
|
|
2591
2685
|
heading: {
|
|
2592
|
-
|
|
2593
|
-
fontSize:
|
|
2686
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
2687
|
+
fontSize: theme.typography.fontSize.h2,
|
|
2594
2688
|
color: theme?.palette?.font?.default,
|
|
2689
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
2595
2690
|
textAlign: 'center',
|
|
2596
2691
|
wordBreak: 'break-word'
|
|
2597
2692
|
},
|
|
@@ -2612,7 +2707,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2612
2707
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
2613
2708
|
overflow: 'hidden',
|
|
2614
2709
|
minHeight: 200,
|
|
2615
|
-
|
|
2710
|
+
marginBottom: theme.spacing.margin.small,
|
|
2616
2711
|
position: 'relative',
|
|
2617
2712
|
'&:nth-child(2n)': {
|
|
2618
2713
|
alignSelf: 'flex-end',
|
|
@@ -2620,7 +2715,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2620
2715
|
right: '0'
|
|
2621
2716
|
},
|
|
2622
2717
|
'& $contentText': {
|
|
2623
|
-
marginRight: '
|
|
2718
|
+
marginRight: '170px'
|
|
2624
2719
|
}
|
|
2625
2720
|
},
|
|
2626
2721
|
'&:nth-child(2n+1)': {
|
|
@@ -2629,7 +2724,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2629
2724
|
left: '0'
|
|
2630
2725
|
},
|
|
2631
2726
|
'& $contentText': {
|
|
2632
|
-
marginLeft: '
|
|
2727
|
+
marginLeft: '170px'
|
|
2633
2728
|
}
|
|
2634
2729
|
},
|
|
2635
2730
|
'&:nth-child(7n+1) $contentNumber': {
|
|
@@ -2663,42 +2758,31 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2663
2758
|
display: 'flex',
|
|
2664
2759
|
alignItems: 'center',
|
|
2665
2760
|
justifyContent: 'center',
|
|
2761
|
+
padding: '48px',
|
|
2666
2762
|
height: '100%',
|
|
2667
2763
|
color: theme?.palette?.font?.default,
|
|
2668
|
-
width: '200px',
|
|
2669
2764
|
wordBreak: 'break-word'
|
|
2670
2765
|
},
|
|
2671
2766
|
contentText: {
|
|
2672
|
-
padding:
|
|
2767
|
+
padding: theme.spacing.padding.tiny
|
|
2673
2768
|
},
|
|
2674
2769
|
contentHeading: {
|
|
2675
2770
|
fontStyle: 'normal',
|
|
2676
|
-
fontSize:
|
|
2771
|
+
fontSize: theme.typography.fontSize.h5,
|
|
2772
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
2677
2773
|
lineHeight: '32px',
|
|
2774
|
+
marginBottom: '8px',
|
|
2678
2775
|
color: theme?.palette?.font?.default,
|
|
2679
|
-
margin: '0 48px',
|
|
2680
2776
|
wordBreak: 'break-word'
|
|
2681
2777
|
},
|
|
2682
2778
|
contentPara: {
|
|
2683
2779
|
fontStyle: 'normal',
|
|
2684
|
-
fontSize:
|
|
2780
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
2685
2781
|
lineHeight: '32px',
|
|
2686
2782
|
color: theme?.palette?.font?.primary,
|
|
2687
|
-
margin: '20px 48px 0 48px',
|
|
2688
2783
|
wordBreak: 'break-word'
|
|
2689
2784
|
},
|
|
2690
2785
|
'@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
2786
|
contentContainer: {
|
|
2703
2787
|
width: '100%'
|
|
2704
2788
|
},
|
|
@@ -2706,36 +2790,31 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2706
2790
|
display: 'flex',
|
|
2707
2791
|
flexDirection: 'column',
|
|
2708
2792
|
borderRadius: theme.shape.borderRadius.large,
|
|
2709
|
-
margin: '20px 0 10px 0',
|
|
2710
2793
|
width: '100%',
|
|
2711
2794
|
height: 'auto',
|
|
2712
2795
|
'&:nth-child(2n)': {
|
|
2713
2796
|
marginLeft: '0',
|
|
2714
2797
|
'& $contentText': {
|
|
2715
2798
|
marginRight: '0',
|
|
2716
|
-
alignSelf: 'flex-start'
|
|
2717
|
-
padding: '0'
|
|
2799
|
+
alignSelf: 'flex-start'
|
|
2800
|
+
// padding: '0'
|
|
2718
2801
|
}
|
|
2719
2802
|
},
|
|
2803
|
+
|
|
2720
2804
|
'&:nth-child(2n+1)': {
|
|
2721
2805
|
marginRight: '0',
|
|
2722
2806
|
'& $contentText': {
|
|
2723
2807
|
marginLeft: '0',
|
|
2724
|
-
alignSelf: 'flex-start'
|
|
2725
|
-
padding: '0'
|
|
2808
|
+
alignSelf: 'flex-start'
|
|
2809
|
+
// padding: '0'
|
|
2726
2810
|
}
|
|
2727
2811
|
}
|
|
2728
2812
|
},
|
|
2813
|
+
|
|
2729
2814
|
contentNumber: {
|
|
2730
2815
|
width: '100%',
|
|
2731
|
-
padding: '
|
|
2816
|
+
padding: '24px',
|
|
2732
2817
|
position: 'static'
|
|
2733
|
-
},
|
|
2734
|
-
contentHeading: {
|
|
2735
|
-
margin: '20px 20px 0 20px'
|
|
2736
|
-
},
|
|
2737
|
-
contentPara: {
|
|
2738
|
-
margin: '16px 20px 24px 20px'
|
|
2739
2818
|
}
|
|
2740
2819
|
}
|
|
2741
2820
|
}));
|
|
@@ -2746,10 +2825,12 @@ function List({
|
|
|
2746
2825
|
const {
|
|
2747
2826
|
layout: {
|
|
2748
2827
|
containerWidth
|
|
2749
|
-
}
|
|
2828
|
+
},
|
|
2829
|
+
isMobile
|
|
2750
2830
|
} = useContext(PageContext);
|
|
2751
2831
|
const classes = useSectionStyles$7({
|
|
2752
|
-
containerWidth
|
|
2832
|
+
containerWidth,
|
|
2833
|
+
isMobile
|
|
2753
2834
|
});
|
|
2754
2835
|
const [nodeData] = sectionData.components;
|
|
2755
2836
|
const getNumber = val => {
|
|
@@ -2813,29 +2894,33 @@ const useSectionStyles$6 = createUseStyles(theme => ({
|
|
|
2813
2894
|
'&, & *, & *:before, & *:after': {
|
|
2814
2895
|
fontFamily: theme?.typography?.fontFamily,
|
|
2815
2896
|
boxSizing: 'border-box'
|
|
2816
|
-
},
|
|
2817
|
-
'& h2,& h3': {
|
|
2818
|
-
fontWeight: '500',
|
|
2819
|
-
'& b,& strong': {
|
|
2820
|
-
fontWeight: '700'
|
|
2821
|
-
}
|
|
2822
2897
|
}
|
|
2898
|
+
// '& h2,& h3': {
|
|
2899
|
+
// fontWeight: '500',
|
|
2900
|
+
// '& b,& strong': {
|
|
2901
|
+
// fontWeight: '700'
|
|
2902
|
+
// }
|
|
2903
|
+
// }
|
|
2823
2904
|
},
|
|
2905
|
+
|
|
2824
2906
|
sectionContainer: {
|
|
2825
|
-
margin: '0 auto',
|
|
2826
2907
|
width: '100%',
|
|
2827
2908
|
// maxWidth: ({ containerWidth } = {}) => containerWidth,
|
|
2828
2909
|
position: 'absolute',
|
|
2829
|
-
zIndex: '9'
|
|
2910
|
+
zIndex: '9',
|
|
2911
|
+
height: '100%'
|
|
2830
2912
|
},
|
|
2831
2913
|
absoluteButtons: {
|
|
2832
2914
|
display: 'flex',
|
|
2833
2915
|
gap: '20px',
|
|
2834
2916
|
justifyContent: 'center',
|
|
2835
|
-
bottom: '
|
|
2917
|
+
bottom: '10%',
|
|
2836
2918
|
position: 'absolute',
|
|
2837
2919
|
width: '100%'
|
|
2838
2920
|
},
|
|
2921
|
+
buttonClass: {
|
|
2922
|
+
margin: `${theme.spacing.margin.tiny}px 0px`
|
|
2923
|
+
},
|
|
2839
2924
|
contentContainer: {
|
|
2840
2925
|
// padding: '100px 0',
|
|
2841
2926
|
// height: '100%',
|
|
@@ -2871,27 +2956,33 @@ const useSectionStyles$6 = createUseStyles(theme => ({
|
|
|
2871
2956
|
height: '100%'
|
|
2872
2957
|
},
|
|
2873
2958
|
textContainer: {
|
|
2874
|
-
padding:
|
|
2875
|
-
margin:
|
|
2876
|
-
width: '
|
|
2959
|
+
padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
2960
|
+
// margin: `0px ${theme.spacing.padding.medium} 0px ${theme.spacing.padding.medium}`,
|
|
2961
|
+
width: '100%',
|
|
2962
|
+
height: '100%',
|
|
2963
|
+
display: 'flex',
|
|
2964
|
+
justifyContent: 'center',
|
|
2965
|
+
alignItems: 'center',
|
|
2966
|
+
flexDirection: 'column'
|
|
2877
2967
|
},
|
|
2878
2968
|
subTitleHeading: {
|
|
2879
2969
|
color: theme?.palette?.font?.invertedDefault,
|
|
2880
2970
|
marginBottom: '8px',
|
|
2881
|
-
fontSize:
|
|
2971
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
2882
2972
|
wordBreak: 'break-word'
|
|
2883
2973
|
},
|
|
2884
2974
|
heading: {
|
|
2885
2975
|
margin: '0',
|
|
2886
|
-
fontSize:
|
|
2976
|
+
fontSize: theme.typography.fontSize.h1,
|
|
2887
2977
|
color: theme?.palette?.font?.invertedDefault,
|
|
2888
2978
|
wordBreak: 'break-word'
|
|
2889
2979
|
},
|
|
2890
2980
|
description: {
|
|
2891
|
-
margin:
|
|
2981
|
+
margin: `${theme.spacing.margin.tiny}px 0px`,
|
|
2892
2982
|
color: theme?.palette?.font?.invertedDefault,
|
|
2893
2983
|
lineHeight: '24px',
|
|
2894
|
-
wordBreak: 'break-word'
|
|
2984
|
+
wordBreak: 'break-word',
|
|
2985
|
+
fontSize: theme.typography.fontSize.subHead
|
|
2895
2986
|
},
|
|
2896
2987
|
sideBannerImage: {
|
|
2897
2988
|
width: '100%',
|
|
@@ -2909,22 +3000,19 @@ const useSectionStyles$6 = createUseStyles(theme => ({
|
|
|
2909
3000
|
justifyContent: 'center',
|
|
2910
3001
|
padding: '0px'
|
|
2911
3002
|
},
|
|
2912
|
-
textContainer: {
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
},
|
|
2918
|
-
|
|
3003
|
+
// textContainer: {
|
|
3004
|
+
// padding: '20px 20px',
|
|
3005
|
+
// height: '100%',
|
|
3006
|
+
// width: '100%'
|
|
3007
|
+
// // backgroundColor: theme?.palette?.background?.primary
|
|
3008
|
+
// },
|
|
2919
3009
|
subTitleHeading: {
|
|
2920
3010
|
color: theme?.palette?.font?.tertiary
|
|
2921
3011
|
},
|
|
2922
3012
|
heading: {
|
|
2923
|
-
fontSize: '40px',
|
|
2924
3013
|
color: theme?.palette?.font?.default
|
|
2925
3014
|
},
|
|
2926
3015
|
description: {
|
|
2927
|
-
margin: '16px 0',
|
|
2928
3016
|
color: theme?.palette?.font?.primary
|
|
2929
3017
|
},
|
|
2930
3018
|
centerBgImageContainer: {
|
|
@@ -2991,12 +3079,14 @@ const Section$3 = ({
|
|
|
2991
3079
|
dangerouslySetInnerHTML: {
|
|
2992
3080
|
__html: nodeData.description.metadata.value
|
|
2993
3081
|
}
|
|
2994
|
-
}) : null, nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React.createElement(
|
|
3082
|
+
}) : null, nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React.createElement("div", {
|
|
3083
|
+
className: classes.buttonClass
|
|
3084
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
2995
3085
|
ref: nodeData?.cta?.refSetter,
|
|
2996
3086
|
data: nodeData.cta.metadata,
|
|
2997
3087
|
type: nodeData?.cta?.metadata?.type,
|
|
2998
3088
|
size: isMobile ? 'small' : 'medium'
|
|
2999
|
-
})) : null), /*#__PURE__*/React.createElement("div", {
|
|
3089
|
+
}))) : null), /*#__PURE__*/React.createElement("div", {
|
|
3000
3090
|
className: classes?.centerBgImageContainer
|
|
3001
3091
|
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
3002
3092
|
src: nodeData.image.metadata.value,
|
|
@@ -3038,18 +3128,21 @@ var index$j = /*#__PURE__*/Object.freeze({
|
|
|
3038
3128
|
const useSectionStyles$5 = createUseStyles(theme => {
|
|
3039
3129
|
return {
|
|
3040
3130
|
section: {
|
|
3041
|
-
|
|
3131
|
+
padding: ({
|
|
3132
|
+
isMobile
|
|
3133
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
3042
3134
|
'&, & *, & *:before, & *:after': {
|
|
3043
3135
|
fontFamily: theme?.typography?.fontFamily,
|
|
3044
3136
|
boxSizing: 'border-box'
|
|
3045
|
-
},
|
|
3046
|
-
'& h2,& h3': {
|
|
3047
|
-
fontWeight: '500',
|
|
3048
|
-
'& b,& strong': {
|
|
3049
|
-
fontWeight: '700'
|
|
3050
|
-
}
|
|
3051
3137
|
}
|
|
3138
|
+
// '& h2,& h3': {
|
|
3139
|
+
// fontWeight: theme?.typography?.fontWeight?.medium,
|
|
3140
|
+
// '& b,& strong': {
|
|
3141
|
+
// fontWeight: theme?.typography?.fontWeight?.bold
|
|
3142
|
+
// }
|
|
3143
|
+
// }
|
|
3052
3144
|
},
|
|
3145
|
+
|
|
3053
3146
|
sectionContainer: {
|
|
3054
3147
|
margin: '0 auto',
|
|
3055
3148
|
maxWidth: ({
|
|
@@ -3059,9 +3152,11 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3059
3152
|
centerData: {
|
|
3060
3153
|
display: 'flex',
|
|
3061
3154
|
alignItems: 'center',
|
|
3062
|
-
justifyContent: 'center'
|
|
3063
|
-
|
|
3155
|
+
justifyContent: 'center'
|
|
3156
|
+
|
|
3157
|
+
// padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
|
|
3064
3158
|
},
|
|
3159
|
+
|
|
3065
3160
|
imageContainerDiv: {
|
|
3066
3161
|
width: '50%',
|
|
3067
3162
|
position: 'relative'
|
|
@@ -3095,25 +3190,28 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3095
3190
|
objectFit: 'cover'
|
|
3096
3191
|
},
|
|
3097
3192
|
textContainer: {
|
|
3098
|
-
|
|
3193
|
+
marginLeft: '72px',
|
|
3099
3194
|
textAlign: 'left',
|
|
3100
3195
|
margin: '0 auto',
|
|
3101
3196
|
width: '50%'
|
|
3102
3197
|
},
|
|
3103
3198
|
subTitleHeading: {
|
|
3104
3199
|
marginBottom: '8px',
|
|
3105
|
-
fontSize:
|
|
3106
|
-
color: theme?.palette?.font?.
|
|
3200
|
+
fontSize: theme?.typography?.fontSize?.subHead,
|
|
3201
|
+
color: theme?.palette?.font?.default,
|
|
3107
3202
|
wordBreak: 'break-word'
|
|
3108
3203
|
},
|
|
3109
3204
|
heading: {
|
|
3110
3205
|
margin: '0',
|
|
3111
|
-
fontSize:
|
|
3206
|
+
fontSize: theme?.typography?.fontSize?.h1,
|
|
3112
3207
|
color: theme?.palette?.font?.default,
|
|
3113
|
-
wordBreak: 'break-word'
|
|
3208
|
+
wordBreak: 'break-word',
|
|
3209
|
+
fontWeight: theme?.typography?.fontWeight?.bold,
|
|
3210
|
+
lineHeight: 'normal'
|
|
3114
3211
|
},
|
|
3115
3212
|
description: {
|
|
3116
|
-
|
|
3213
|
+
marginTop: theme.spacing.margin.tiny,
|
|
3214
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
3117
3215
|
color: theme?.palette?.font?.primary,
|
|
3118
3216
|
lineHeight: '24px',
|
|
3119
3217
|
wordBreak: 'break-word'
|
|
@@ -3123,9 +3221,9 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3123
3221
|
padding: '0 0 40px'
|
|
3124
3222
|
},
|
|
3125
3223
|
centerData: {
|
|
3126
|
-
flexDirection: 'column',
|
|
3224
|
+
flexDirection: 'column-reverse',
|
|
3127
3225
|
width: '100%',
|
|
3128
|
-
padding:
|
|
3226
|
+
padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
|
|
3129
3227
|
},
|
|
3130
3228
|
imageContainer: {
|
|
3131
3229
|
height: 'unset !important',
|
|
@@ -3145,11 +3243,11 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3145
3243
|
height: 'unset !important'
|
|
3146
3244
|
},
|
|
3147
3245
|
textContainer: {
|
|
3148
|
-
padding:
|
|
3246
|
+
padding: `${theme?.spacing?.padding?.regular}px 0px`,
|
|
3149
3247
|
width: 'unset'
|
|
3150
3248
|
},
|
|
3151
3249
|
heading: {
|
|
3152
|
-
fontSize:
|
|
3250
|
+
fontSize: `${theme?.typography?.fontSize?.h3}px`
|
|
3153
3251
|
},
|
|
3154
3252
|
description: {
|
|
3155
3253
|
margin: '16px 0'
|
|
@@ -3170,7 +3268,8 @@ function Section$2({
|
|
|
3170
3268
|
isCustomWebsite
|
|
3171
3269
|
} = useContext(PageContext);
|
|
3172
3270
|
const classes = useSectionStyles$5({
|
|
3173
|
-
isCustomWebsite
|
|
3271
|
+
isCustomWebsite,
|
|
3272
|
+
isMobile
|
|
3174
3273
|
});
|
|
3175
3274
|
return /*#__PURE__*/React.createElement("div", {
|
|
3176
3275
|
className: classes.centerData
|
|
@@ -3183,8 +3282,6 @@ function Section$2({
|
|
|
3183
3282
|
ref: nodeData?.image?.refSetter,
|
|
3184
3283
|
className: classes.sideBannerImage,
|
|
3185
3284
|
sectionIndex: sectionIndex
|
|
3186
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
3187
|
-
className: classes.imageBorder
|
|
3188
3285
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
3189
3286
|
className: classes.textContainer
|
|
3190
3287
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -3255,16 +3352,15 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3255
3352
|
width: '100%',
|
|
3256
3353
|
alignItems: 'center',
|
|
3257
3354
|
justifyContent: 'center',
|
|
3258
|
-
padding:
|
|
3355
|
+
padding: ({
|
|
3356
|
+
isMobile
|
|
3357
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
3259
3358
|
'&, & *, & *:before, & *:after': {
|
|
3260
3359
|
fontFamily: theme?.typography?.fontFamily,
|
|
3261
3360
|
boxSizing: 'border-box'
|
|
3262
3361
|
},
|
|
3263
3362
|
'& h2,& h3': {
|
|
3264
|
-
|
|
3265
|
-
'& b,& strong': {
|
|
3266
|
-
fontWeight: '700'
|
|
3267
|
-
}
|
|
3363
|
+
marginTop: '0'
|
|
3268
3364
|
}
|
|
3269
3365
|
},
|
|
3270
3366
|
newsLetterContainer: {
|
|
@@ -3285,15 +3381,16 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3285
3381
|
backgroundColor: theme?.palette?.background?.default,
|
|
3286
3382
|
boxShadow: theme?.shadows?.secondary,
|
|
3287
3383
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3288
|
-
padding:
|
|
3384
|
+
padding: theme.spacing.padding.small,
|
|
3289
3385
|
position: 'relative'
|
|
3290
3386
|
},
|
|
3291
3387
|
cardHeading: {
|
|
3292
|
-
fontSize:
|
|
3388
|
+
fontSize: theme.typography.fontSize.h2,
|
|
3389
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
3293
3390
|
lineHeight: '71px',
|
|
3294
3391
|
letterSpacing: '-3px',
|
|
3295
3392
|
color: theme?.palette?.font?.secondary,
|
|
3296
|
-
|
|
3393
|
+
marginBottom: theme.spacing.padding.tiny,
|
|
3297
3394
|
wordBreak: 'break-word'
|
|
3298
3395
|
},
|
|
3299
3396
|
contentContainer: {
|
|
@@ -3302,10 +3399,9 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3302
3399
|
justifyContent: 'space-between'
|
|
3303
3400
|
},
|
|
3304
3401
|
title: {
|
|
3305
|
-
fontSize:
|
|
3402
|
+
fontSize: theme.typography.fontSize.h6,
|
|
3306
3403
|
lineHeight: '32px',
|
|
3307
3404
|
color: theme?.palette?.font?.primary,
|
|
3308
|
-
margin: '0 80px 0 0',
|
|
3309
3405
|
width: 'calc(50% - 80px)',
|
|
3310
3406
|
wordBreak: 'break-word'
|
|
3311
3407
|
},
|
|
@@ -3343,42 +3439,44 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3343
3439
|
section: {
|
|
3344
3440
|
display: 'flex',
|
|
3345
3441
|
flexDirection: 'column',
|
|
3346
|
-
alignItems: 'center'
|
|
3347
|
-
padding: '30px 20px'
|
|
3442
|
+
alignItems: 'center'
|
|
3348
3443
|
},
|
|
3349
3444
|
sectionContainer: {
|
|
3350
|
-
|
|
3351
|
-
|
|
3445
|
+
borderRadius: theme?.shape?.borderRadius?.large,
|
|
3446
|
+
textAlign: 'center',
|
|
3447
|
+
display: 'flex',
|
|
3448
|
+
alignItems: 'center',
|
|
3449
|
+
flexDirection: 'column'
|
|
3352
3450
|
},
|
|
3353
3451
|
partialBackground: {
|
|
3354
3452
|
height: '150px'
|
|
3355
3453
|
},
|
|
3356
3454
|
title: {
|
|
3357
3455
|
width: '100%',
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
lineHeight: '32px'
|
|
3456
|
+
lineHeight: '22px',
|
|
3457
|
+
margin: '0px 0px 16px 0px'
|
|
3361
3458
|
},
|
|
3362
3459
|
cardHeading: {
|
|
3363
|
-
fontSize: '24px',
|
|
3364
3460
|
lineHeight: '32px',
|
|
3365
3461
|
letterSpacing: '-1px',
|
|
3366
|
-
|
|
3462
|
+
width: '50%',
|
|
3463
|
+
lineHeight: 'normal'
|
|
3367
3464
|
},
|
|
3368
3465
|
contentContainer: {
|
|
3369
3466
|
display: 'flex',
|
|
3370
3467
|
flexDirection: 'column',
|
|
3371
|
-
justifyContent: 'flex-start'
|
|
3468
|
+
justifyContent: 'flex-start',
|
|
3469
|
+
textAlign: 'center'
|
|
3372
3470
|
},
|
|
3373
3471
|
inputContainer: {
|
|
3374
3472
|
display: 'block',
|
|
3375
3473
|
width: '100%',
|
|
3376
|
-
margin: '24px 16px 0 16px',
|
|
3377
3474
|
position: 'initial'
|
|
3378
3475
|
},
|
|
3379
3476
|
btnContainer: {
|
|
3380
3477
|
right: 'unset',
|
|
3381
|
-
position: 'initial'
|
|
3478
|
+
position: 'initial',
|
|
3479
|
+
marginTop: '4px'
|
|
3382
3480
|
}
|
|
3383
3481
|
}
|
|
3384
3482
|
}));
|
|
@@ -3523,7 +3621,8 @@ function SubscribeToNewsletter({
|
|
|
3523
3621
|
} = useContext(PageContext);
|
|
3524
3622
|
const [nodeData] = sectionData.components;
|
|
3525
3623
|
const classes = useSectionStyles$4({
|
|
3526
|
-
containerWidth
|
|
3624
|
+
containerWidth,
|
|
3625
|
+
isMobile
|
|
3527
3626
|
});
|
|
3528
3627
|
let formInitialValue = nodeData?.inputField?.metadata?.value;
|
|
3529
3628
|
const [inputVal, setInputVal] = useState(formInitialValue);
|
|
@@ -3636,171 +3735,176 @@ var index$h = /*#__PURE__*/Object.freeze({
|
|
|
3636
3735
|
'default': SubscribeToNewsletter
|
|
3637
3736
|
});
|
|
3638
3737
|
|
|
3639
|
-
const useTestimonialStyles = createUseStyles(theme => {
|
|
3640
|
-
|
|
3738
|
+
const useTestimonialStyles = createUseStyles(theme => ({
|
|
3739
|
+
testimonialContainer: {
|
|
3740
|
+
background: theme?.palette?.background?.primary,
|
|
3741
|
+
overflow: 'hidden',
|
|
3742
|
+
padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
3743
|
+
'&, & *, & *:before, & *:after': {
|
|
3744
|
+
fontFamily: theme?.typography?.fontFamily,
|
|
3745
|
+
boxSizing: 'border-box'
|
|
3746
|
+
},
|
|
3747
|
+
'& h3,& p': {
|
|
3748
|
+
marginTop: '0'
|
|
3749
|
+
}
|
|
3750
|
+
},
|
|
3751
|
+
sectionContainer: {
|
|
3752
|
+
margin: '0 auto',
|
|
3753
|
+
maxWidth: ({
|
|
3754
|
+
containerWidth
|
|
3755
|
+
} = {}) => containerWidth
|
|
3756
|
+
},
|
|
3757
|
+
testimonialText: {
|
|
3758
|
+
color: theme?.palette?.font?.default,
|
|
3759
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
3760
|
+
wordBreak: 'break-word',
|
|
3761
|
+
textTransform: 'uppercase'
|
|
3762
|
+
},
|
|
3763
|
+
testimonialHeader: {
|
|
3764
|
+
fontSize: theme.typography.fontSize.h2,
|
|
3765
|
+
color: theme?.palette?.font?.default,
|
|
3766
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
3767
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
3768
|
+
marginTop: '8px',
|
|
3769
|
+
overflow: 'hidden',
|
|
3770
|
+
wordBreak: 'break-word',
|
|
3771
|
+
// whiteSpace: 'nowrap',
|
|
3772
|
+
textOverflow: 'ellipsis'
|
|
3773
|
+
},
|
|
3774
|
+
sliderContainer: {
|
|
3775
|
+
marginRight: `-${theme.spacing.margin.regular}px`
|
|
3776
|
+
},
|
|
3777
|
+
singleCard: {
|
|
3778
|
+
// margin: '6px 12px',
|
|
3779
|
+
position: 'relative',
|
|
3780
|
+
height: 'calc(100% - 12px)',
|
|
3781
|
+
width: 'calc(100% - 24px)',
|
|
3782
|
+
background: theme?.palette?.background?.default,
|
|
3783
|
+
boxShadow: theme?.shadows?.primary,
|
|
3784
|
+
borderRadius: theme?.shape?.borderRadius?.regular
|
|
3785
|
+
},
|
|
3786
|
+
contentRow: {
|
|
3787
|
+
display: 'grid',
|
|
3788
|
+
gridTemplateColumns: ({
|
|
3789
|
+
slidesToShow
|
|
3790
|
+
} = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
|
|
3791
|
+
},
|
|
3792
|
+
cardDetails: {
|
|
3793
|
+
height: '100%',
|
|
3794
|
+
display: 'flex',
|
|
3795
|
+
flexDirection: 'column',
|
|
3796
|
+
justifyContent: 'space-between',
|
|
3797
|
+
padding: '48px',
|
|
3798
|
+
alignItems: 'flex-start'
|
|
3799
|
+
},
|
|
3800
|
+
quoteIcon: {
|
|
3801
|
+
position: 'absolute',
|
|
3802
|
+
right: '20px'
|
|
3803
|
+
},
|
|
3804
|
+
reviewText: {
|
|
3805
|
+
// padding: '48px 41px 0 48px',
|
|
3806
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
3807
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
3808
|
+
wordBreak: 'break-word',
|
|
3809
|
+
color: theme?.palette?.font?.primary,
|
|
3810
|
+
lineHeight: '22px'
|
|
3811
|
+
},
|
|
3812
|
+
userContainer: {
|
|
3813
|
+
display: 'flex',
|
|
3814
|
+
gap: '16px',
|
|
3815
|
+
alignItems: 'center'
|
|
3816
|
+
},
|
|
3817
|
+
userImageContainer: {
|
|
3818
|
+
width: '64px',
|
|
3819
|
+
height: '64px',
|
|
3820
|
+
position: 'relative',
|
|
3821
|
+
// paddingBottom: '55px',
|
|
3822
|
+
objectFit: 'cover'
|
|
3823
|
+
},
|
|
3824
|
+
userImageDummy: {
|
|
3825
|
+
width: '64px',
|
|
3826
|
+
height: '64px',
|
|
3827
|
+
borderRadius: '32px',
|
|
3828
|
+
background: '#666666',
|
|
3829
|
+
marginRight: '16px',
|
|
3830
|
+
flexShrink: '0'
|
|
3831
|
+
},
|
|
3832
|
+
userImage: {
|
|
3833
|
+
width: '64px',
|
|
3834
|
+
height: '64px',
|
|
3835
|
+
borderRadius: '32px',
|
|
3836
|
+
marginRight: '16px'
|
|
3837
|
+
},
|
|
3838
|
+
userName: {
|
|
3839
|
+
color: theme?.palette?.font?.default,
|
|
3840
|
+
margin: '0',
|
|
3841
|
+
fontSize: theme.typography.fontSize.h5,
|
|
3842
|
+
// paddingTop: '16px',
|
|
3843
|
+
overflow: 'hidden',
|
|
3844
|
+
whiteSpace: 'nowrap',
|
|
3845
|
+
textOverflow: 'ellipsis'
|
|
3846
|
+
},
|
|
3847
|
+
buttonContainer: {
|
|
3848
|
+
display: 'flex',
|
|
3849
|
+
gap: '20px',
|
|
3850
|
+
justifyContent: 'center',
|
|
3851
|
+
// paddingRight: theme.spacing.padding.medium,
|
|
3852
|
+
marginTop: theme.spacing.margin.tiny
|
|
3853
|
+
},
|
|
3854
|
+
'@media (max-width: 768px)': {
|
|
3641
3855
|
testimonialContainer: {
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3856
|
+
padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px`
|
|
3857
|
+
},
|
|
3858
|
+
// testimonialCardAndText: {
|
|
3859
|
+
// margin: '0 20px'
|
|
3860
|
+
// },
|
|
3861
|
+
|
|
3862
|
+
// testimonialHeader: {
|
|
3863
|
+
// fontSize: '24px',
|
|
3864
|
+
// color: theme?.palette?.font?.default,
|
|
3865
|
+
// margin: '4px 0 12px 0',
|
|
3866
|
+
// overflow: 'hidden',
|
|
3867
|
+
// // whiteSpace: 'nowrap',
|
|
3868
|
+
// wordBreak: 'break-word',
|
|
3869
|
+
// textOverflow: 'ellipsis'
|
|
3870
|
+
// },
|
|
3871
|
+
userImageDummy: {
|
|
3872
|
+
width: '48px',
|
|
3873
|
+
height: '48px',
|
|
3874
|
+
borderRadius: '24px',
|
|
3875
|
+
marginRight: '16px'
|
|
3655
3876
|
},
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3877
|
+
userImage: {
|
|
3878
|
+
width: '48px',
|
|
3879
|
+
height: '48px',
|
|
3880
|
+
borderRadius: '24px',
|
|
3881
|
+
marginRight: '16px'
|
|
3661
3882
|
},
|
|
3662
|
-
|
|
3663
|
-
|
|
3883
|
+
reviewText: {
|
|
3884
|
+
marginBottom: '16px'
|
|
3664
3885
|
},
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
marginLeft: '10px',
|
|
3669
|
-
wordBreak: 'break-word'
|
|
3886
|
+
singleCard: {
|
|
3887
|
+
margin: '6px 2px',
|
|
3888
|
+
width: 'calc(100% - 14px)'
|
|
3670
3889
|
},
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
color: theme?.palette?.font?.default,
|
|
3674
|
-
margin: '10px 0 40px 10px',
|
|
3890
|
+
userName: {
|
|
3891
|
+
// paddingTop: '8px',
|
|
3675
3892
|
overflow: 'hidden',
|
|
3676
|
-
|
|
3677
|
-
// whiteSpace: 'nowrap',
|
|
3893
|
+
whiteSpace: 'nowrap',
|
|
3678
3894
|
textOverflow: 'ellipsis'
|
|
3679
3895
|
},
|
|
3680
|
-
sliderContainer: {
|
|
3681
|
-
marginRight: '-20px'
|
|
3682
|
-
},
|
|
3683
|
-
singleCard: {
|
|
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
3896
|
userImageContainer: {
|
|
3721
|
-
width: '
|
|
3722
|
-
height: '
|
|
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'
|
|
3740
|
-
},
|
|
3741
|
-
userName: {
|
|
3742
|
-
color: theme?.palette?.font?.default,
|
|
3743
|
-
margin: '0',
|
|
3744
|
-
fontSize: '24px',
|
|
3745
|
-
paddingTop: '16px',
|
|
3746
|
-
overflow: 'hidden',
|
|
3747
|
-
whiteSpace: 'nowrap',
|
|
3748
|
-
textOverflow: 'ellipsis'
|
|
3749
|
-
},
|
|
3750
|
-
buttonContainer: {
|
|
3751
|
-
display: 'flex',
|
|
3752
|
-
width: '120px',
|
|
3753
|
-
justifyContent: 'space-between',
|
|
3754
|
-
margin: '36px auto 81px auto'
|
|
3897
|
+
width: '48px',
|
|
3898
|
+
height: '48px'
|
|
3755
3899
|
},
|
|
3756
|
-
|
|
3757
|
-
|
|
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
|
-
}
|
|
3900
|
+
cardDetails: {
|
|
3901
|
+
padding: '16px'
|
|
3801
3902
|
}
|
|
3802
|
-
|
|
3803
|
-
|
|
3903
|
+
// sliderContainer: {
|
|
3904
|
+
// marginRight: '-24px'
|
|
3905
|
+
// },
|
|
3906
|
+
}
|
|
3907
|
+
}));
|
|
3804
3908
|
|
|
3805
3909
|
function QuotesComponent() {
|
|
3806
3910
|
const theme = useTheme();
|
|
@@ -3828,13 +3932,14 @@ function Section$1({
|
|
|
3828
3932
|
const classes = useTestimonialStyles({
|
|
3829
3933
|
containerWidth,
|
|
3830
3934
|
cardsCount,
|
|
3831
|
-
slidesToShow
|
|
3935
|
+
slidesToShow,
|
|
3936
|
+
isMobile
|
|
3832
3937
|
});
|
|
3833
3938
|
const settings = {
|
|
3834
3939
|
className: classes.sliderContainer,
|
|
3835
3940
|
slidesToShow,
|
|
3836
3941
|
centerMode: true,
|
|
3837
|
-
centerPadding: isMobile ? '
|
|
3942
|
+
centerPadding: isMobile ? '0px 0 0' : '80px 0 0'
|
|
3838
3943
|
};
|
|
3839
3944
|
const carouselContent = carouselList.map((el, idx) =>
|
|
3840
3945
|
/*#__PURE__*/
|
|
@@ -4041,8 +4146,7 @@ const useVideoStyles$1 = createUseStyles(theme => {
|
|
|
4041
4146
|
height: '100%',
|
|
4042
4147
|
width: '100%',
|
|
4043
4148
|
objectFit: 'cover',
|
|
4044
|
-
objectPosition: 'top'
|
|
4045
|
-
opacity: '0.8'
|
|
4149
|
+
objectPosition: 'top'
|
|
4046
4150
|
},
|
|
4047
4151
|
'@media (max-width: 767px)': {
|
|
4048
4152
|
iframe: {
|
|
@@ -4077,10 +4181,7 @@ function VideoPlayer(props) {
|
|
|
4077
4181
|
}
|
|
4078
4182
|
}
|
|
4079
4183
|
return /*#__PURE__*/React.createElement(React.Fragment, null, !isLoaded && /*#__PURE__*/React.createElement("div", {
|
|
4080
|
-
className: classes.imgContainer
|
|
4081
|
-
onClick: () => {
|
|
4082
|
-
setIsEnableed(true);
|
|
4083
|
-
}
|
|
4184
|
+
className: classes.imgContainer
|
|
4084
4185
|
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
4085
4186
|
src: imageUrl,
|
|
4086
4187
|
sectionIndex: props?.sectionIndex,
|
|
@@ -4109,20 +4210,20 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4109
4210
|
videoTestimonialSuperContainer: {
|
|
4110
4211
|
display: 'flex',
|
|
4111
4212
|
justifyContent: 'center',
|
|
4112
|
-
padding:
|
|
4213
|
+
padding: ({
|
|
4214
|
+
isMobile
|
|
4215
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
4113
4216
|
'&, & *, & *:before, & *:after': {
|
|
4114
|
-
fontFamily: theme?.typography?.fontFamily
|
|
4115
|
-
boxSizing: 'border-box'
|
|
4217
|
+
fontFamily: theme?.typography?.fontFamily
|
|
4218
|
+
// boxSizing: 'border-box'
|
|
4116
4219
|
},
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
fontWeight: '700'
|
|
4121
|
-
}
|
|
4220
|
+
|
|
4221
|
+
'& h2,& h3,& p': {
|
|
4222
|
+
marginTop: '0'
|
|
4122
4223
|
}
|
|
4123
4224
|
},
|
|
4124
4225
|
sectionContainer: {
|
|
4125
|
-
margin: '0 auto',
|
|
4226
|
+
// margin: '0 auto',
|
|
4126
4227
|
maxWidth: ({
|
|
4127
4228
|
containerWidth
|
|
4128
4229
|
} = {}) => containerWidth
|
|
@@ -4133,29 +4234,28 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4133
4234
|
fontFamily: theme?.typography?.fontFamily
|
|
4134
4235
|
},
|
|
4135
4236
|
videoTestimonialHeading: {
|
|
4136
|
-
fontSize:
|
|
4237
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
4137
4238
|
lineHeight: '20px',
|
|
4138
4239
|
letterSpacing: '3px',
|
|
4139
4240
|
textTransform: 'uppercase',
|
|
4140
|
-
color: theme.palette.font.
|
|
4141
|
-
wordBreak: 'break-word'
|
|
4241
|
+
color: theme.palette.font.default,
|
|
4242
|
+
wordBreak: 'break-word',
|
|
4243
|
+
marginBottom: '8px'
|
|
4142
4244
|
},
|
|
4143
4245
|
videoTestimonialTitle: {
|
|
4144
|
-
fontSize:
|
|
4145
|
-
lineHeight: '71px',
|
|
4246
|
+
fontSize: theme.typography.fontSize.h1,
|
|
4247
|
+
// lineHeight: '71px',
|
|
4146
4248
|
letterSpacing: '-3px',
|
|
4147
|
-
|
|
4249
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
4250
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
4148
4251
|
color: theme.palette.font.default,
|
|
4149
4252
|
wordBreak: 'break-word'
|
|
4150
4253
|
},
|
|
4151
|
-
videoCarouselContainer: {
|
|
4152
|
-
marginTop: '16px'
|
|
4153
|
-
},
|
|
4154
4254
|
videoCarousel: {
|
|
4155
4255
|
display: 'flex',
|
|
4156
4256
|
alignItems: 'center',
|
|
4157
4257
|
justifyContent: 'flex-start',
|
|
4158
|
-
gap:
|
|
4258
|
+
gap: theme.spacing.margin.small
|
|
4159
4259
|
},
|
|
4160
4260
|
iframeSuperContainer: {
|
|
4161
4261
|
height: '100%',
|
|
@@ -4177,57 +4277,49 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4177
4277
|
videoDetails: {
|
|
4178
4278
|
width: '100%',
|
|
4179
4279
|
display: 'flex',
|
|
4280
|
+
gap: '24px',
|
|
4180
4281
|
flexDirection: 'column',
|
|
4181
4282
|
alignItems: 'flex-start'
|
|
4182
4283
|
},
|
|
4183
4284
|
videoDetailsHeading: {
|
|
4184
|
-
fontSize:
|
|
4285
|
+
fontSize: theme.typography.fontSize.h3,
|
|
4185
4286
|
lineHeight: '48px',
|
|
4186
4287
|
margin: '0',
|
|
4187
4288
|
letterSpacing: '-1px',
|
|
4188
4289
|
wordBreak: 'break-word',
|
|
4189
|
-
color: theme.palette.font.default
|
|
4290
|
+
color: theme.palette.font.default,
|
|
4291
|
+
fontWeight: theme.typography.fontWeight.bold
|
|
4190
4292
|
},
|
|
4191
4293
|
videoDetailsContent: {
|
|
4192
|
-
fontSize:
|
|
4294
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
4193
4295
|
lineHeight: '24px',
|
|
4194
4296
|
wordBreak: 'break-word',
|
|
4195
|
-
color: theme.palette.font.primary
|
|
4196
|
-
margin: '10px 0 20px'
|
|
4297
|
+
color: theme.palette.font.primary
|
|
4197
4298
|
},
|
|
4198
4299
|
videoDetailsSubContent: {
|
|
4199
|
-
fontSize:
|
|
4300
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
4200
4301
|
lineHeight: '24px',
|
|
4201
4302
|
margin: '0',
|
|
4202
4303
|
color: theme.palette.font.primary,
|
|
4203
4304
|
wordBreak: 'break-word'
|
|
4204
4305
|
},
|
|
4205
4306
|
'@media (max-width: 767px)': {
|
|
4206
|
-
videoTestimonialSuperContainer: {
|
|
4207
|
-
padding: '70px 10px 60px 20px'
|
|
4208
|
-
},
|
|
4209
4307
|
videoCarousel: {
|
|
4210
|
-
flexDirection: 'column'
|
|
4211
|
-
gap: '20px'
|
|
4308
|
+
flexDirection: 'column'
|
|
4212
4309
|
},
|
|
4213
4310
|
videoCarouselContainer: {
|
|
4214
|
-
height: 'max-content'
|
|
4215
|
-
paddingRight: '10px'
|
|
4311
|
+
height: 'max-content'
|
|
4216
4312
|
},
|
|
4217
4313
|
videoDetails: {
|
|
4218
|
-
width: '100%'
|
|
4314
|
+
width: '100%',
|
|
4315
|
+
gap: '16px'
|
|
4219
4316
|
},
|
|
4220
4317
|
videoDetailsHeading: {
|
|
4221
|
-
fontSize: '16px',
|
|
4222
4318
|
lineHeight: '20px'
|
|
4223
4319
|
},
|
|
4224
4320
|
videoTestimonialTitle: {
|
|
4225
|
-
fontSize: '24px',
|
|
4226
4321
|
lineHeight: '36px',
|
|
4227
4322
|
letterSpacing: '-1px'
|
|
4228
|
-
},
|
|
4229
|
-
videoDetailsContent: {
|
|
4230
|
-
marginTop: '4px'
|
|
4231
4323
|
}
|
|
4232
4324
|
}
|
|
4233
4325
|
};
|
|
@@ -4282,11 +4374,11 @@ function VideoTestimonial({
|
|
|
4282
4374
|
layout: {
|
|
4283
4375
|
containerWidth
|
|
4284
4376
|
},
|
|
4285
|
-
|
|
4286
|
-
currencySymbol
|
|
4377
|
+
isMobile
|
|
4287
4378
|
} = useContext(PageContext);
|
|
4288
4379
|
const classes = useVideoTestimonialStyles({
|
|
4289
|
-
containerWidth
|
|
4380
|
+
containerWidth,
|
|
4381
|
+
isMobile
|
|
4290
4382
|
});
|
|
4291
4383
|
const [videoData] = sectionData.components;
|
|
4292
4384
|
const Wrapper = videoData.videoCarousel.components.length > 1 ? Carousel : Fragment;
|
|
@@ -4313,9 +4405,7 @@ function VideoTestimonial({
|
|
|
4313
4405
|
})), /*#__PURE__*/React.createElement(Wrapper, null, videoData.videoCarousel.components.map((data, index) => /*#__PURE__*/React.createElement(SingleVideoSlide$2, {
|
|
4314
4406
|
data: data,
|
|
4315
4407
|
key: index,
|
|
4316
|
-
sectionIndex: sectionIndex
|
|
4317
|
-
countryCode: countryCode,
|
|
4318
|
-
currencySymbol: currencySymbol
|
|
4408
|
+
sectionIndex: sectionIndex
|
|
4319
4409
|
}))))));
|
|
4320
4410
|
}
|
|
4321
4411
|
|
|
@@ -4327,17 +4417,16 @@ var index$f = /*#__PURE__*/Object.freeze({
|
|
|
4327
4417
|
const useVideoStyles = createUseStyles(theme => {
|
|
4328
4418
|
return {
|
|
4329
4419
|
videoSuperContainer: {
|
|
4330
|
-
padding:
|
|
4420
|
+
padding: ({
|
|
4421
|
+
isMobile
|
|
4422
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
4331
4423
|
backgroundColor: theme?.palette?.background?.primary,
|
|
4332
4424
|
'&, & *, & *:before, & *:after': {
|
|
4333
4425
|
fontFamily: theme?.typography?.fontFamily,
|
|
4334
4426
|
boxSizing: 'border-box'
|
|
4335
4427
|
},
|
|
4336
|
-
'&
|
|
4337
|
-
|
|
4338
|
-
'& b,& strong': {
|
|
4339
|
-
fontWeight: '700'
|
|
4340
|
-
}
|
|
4428
|
+
'& h3': {
|
|
4429
|
+
marginTop: '0'
|
|
4341
4430
|
}
|
|
4342
4431
|
},
|
|
4343
4432
|
sectionContainer: {
|
|
@@ -4346,28 +4435,30 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4346
4435
|
containerWidth
|
|
4347
4436
|
} = {}) => containerWidth
|
|
4348
4437
|
},
|
|
4349
|
-
videoContainer: {
|
|
4350
|
-
|
|
4351
|
-
},
|
|
4438
|
+
// videoContainer: {
|
|
4439
|
+
// marginTop: '70px'
|
|
4440
|
+
// },
|
|
4441
|
+
|
|
4352
4442
|
videoHeading: {
|
|
4353
|
-
fontSize:
|
|
4443
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
4444
|
+
textTransform: 'uppercase',
|
|
4354
4445
|
lineHeight: '20px',
|
|
4355
|
-
|
|
4446
|
+
color: theme?.palette?.font?.default,
|
|
4356
4447
|
letterSpacing: '3px',
|
|
4357
|
-
color: theme?.palette?.font?.primary,
|
|
4358
4448
|
wordBreak: 'break-word'
|
|
4359
4449
|
},
|
|
4360
4450
|
videoTitle: {
|
|
4361
|
-
fontSize:
|
|
4451
|
+
fontSize: theme.typography.fontSize.h2,
|
|
4452
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
4362
4453
|
lineHeight: '71px',
|
|
4363
4454
|
letterSpacing: '-3px',
|
|
4364
|
-
marginBottom:
|
|
4365
|
-
marginTop: '
|
|
4455
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
4456
|
+
marginTop: '8px',
|
|
4366
4457
|
color: theme?.palette?.font?.default,
|
|
4367
4458
|
wordBreak: 'break-word'
|
|
4368
4459
|
},
|
|
4369
4460
|
sliderContainer: {
|
|
4370
|
-
marginRight:
|
|
4461
|
+
marginRight: `-${theme.spacing.padding.medium}px`
|
|
4371
4462
|
},
|
|
4372
4463
|
singleSlideContainer: {
|
|
4373
4464
|
backgroundColor: theme?.palette?.background?.default,
|
|
@@ -4375,7 +4466,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4375
4466
|
width: 'calc(100% - 40px)',
|
|
4376
4467
|
height: 'calc(100% - 40px)',
|
|
4377
4468
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
4378
|
-
padding: '
|
|
4469
|
+
padding: '48px',
|
|
4379
4470
|
boxShadow: theme?.shadows?.primary
|
|
4380
4471
|
},
|
|
4381
4472
|
contentRow: {
|
|
@@ -4388,6 +4479,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4388
4479
|
width: '100%',
|
|
4389
4480
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
4390
4481
|
position: 'relative',
|
|
4482
|
+
overflow: 'hidden',
|
|
4391
4483
|
paddingBottom: '56.25%'
|
|
4392
4484
|
},
|
|
4393
4485
|
iframe: {
|
|
@@ -4402,43 +4494,32 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4402
4494
|
margin: '12px 12px 0'
|
|
4403
4495
|
},
|
|
4404
4496
|
videoDetailsHeading: {
|
|
4405
|
-
fontSize:
|
|
4497
|
+
fontSize: theme.typography.fontSize.h5,
|
|
4498
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
4406
4499
|
lineHeight: '32px',
|
|
4407
|
-
|
|
4500
|
+
marginBottom: '8px',
|
|
4408
4501
|
color: theme?.palette?.font?.default,
|
|
4409
4502
|
wordBreak: 'break-word'
|
|
4410
4503
|
},
|
|
4411
4504
|
videoDetailsSubHeading: {
|
|
4412
|
-
fontSize:
|
|
4505
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
4413
4506
|
lineHeight: '24px',
|
|
4414
4507
|
wordBreak: 'break-word',
|
|
4415
4508
|
color: theme?.palette?.font?.primary
|
|
4416
4509
|
},
|
|
4417
4510
|
'@media (max-width: 767px)': {
|
|
4418
|
-
videoSuperContainer: {
|
|
4419
|
-
padding: '70px 20px 60px'
|
|
4420
|
-
},
|
|
4421
4511
|
videoHeading: {
|
|
4422
|
-
|
|
4423
|
-
lineHeight: '20px',
|
|
4424
|
-
letterSpacing: '3px'
|
|
4425
|
-
},
|
|
4426
|
-
videoTitle: {
|
|
4427
|
-
fontSize: '24px',
|
|
4428
|
-
lineHeight: '36px',
|
|
4429
|
-
letterSpacing: '-1px',
|
|
4430
|
-
marginBottom: '0',
|
|
4431
|
-
marginTop: '0'
|
|
4512
|
+
lineHeight: '20px'
|
|
4432
4513
|
},
|
|
4433
4514
|
videoContainer: {
|
|
4434
4515
|
margin: '0'
|
|
4435
4516
|
},
|
|
4436
4517
|
sliderContainer: {
|
|
4437
|
-
marginLeft: '-6px',
|
|
4438
|
-
marginRight: '
|
|
4518
|
+
// marginLeft: '-6px',
|
|
4519
|
+
marginRight: '0px'
|
|
4439
4520
|
},
|
|
4440
4521
|
singleSlideContainer: {
|
|
4441
|
-
padding: '
|
|
4522
|
+
padding: '16px',
|
|
4442
4523
|
width: 'calc(100% - 12px)',
|
|
4443
4524
|
height: 'calc(100% - 24px)',
|
|
4444
4525
|
margin: '12px 6px'
|
|
@@ -4450,14 +4531,28 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4450
4531
|
textAlign: 'left',
|
|
4451
4532
|
margin: '12px 12px 0'
|
|
4452
4533
|
},
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4534
|
+
videoTitle: {
|
|
4535
|
+
display: 'flex',
|
|
4536
|
+
justifyContent: 'center',
|
|
4537
|
+
textAlign: 'center',
|
|
4538
|
+
lineHeight: '36px',
|
|
4539
|
+
letterSpacing: '-1px'
|
|
4456
4540
|
},
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4541
|
+
videoHeading: {
|
|
4542
|
+
display: 'flex',
|
|
4543
|
+
justifyContent: 'center',
|
|
4544
|
+
textAlign: 'center'
|
|
4460
4545
|
}
|
|
4546
|
+
|
|
4547
|
+
// videoDetailsHeading: {
|
|
4548
|
+
// fontSize: '18px',
|
|
4549
|
+
// margin: '0'
|
|
4550
|
+
// },
|
|
4551
|
+
|
|
4552
|
+
// videoDetailsSubHeading: {
|
|
4553
|
+
// fontSize: '12px',
|
|
4554
|
+
// paddingBottom: '20px'
|
|
4555
|
+
// }
|
|
4461
4556
|
}
|
|
4462
4557
|
};
|
|
4463
4558
|
});
|
|
@@ -4471,10 +4566,7 @@ const SingleSlide$1 = props => {
|
|
|
4471
4566
|
className: classes.singleSlideContainer
|
|
4472
4567
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4473
4568
|
ref: data?.videoFrame?.refSetter,
|
|
4474
|
-
className: classes.iframeContainer
|
|
4475
|
-
style: {
|
|
4476
|
-
background: 'linear-gradient(#333333,rgb(0 0 0))'
|
|
4477
|
-
}
|
|
4569
|
+
className: classes.iframeContainer
|
|
4478
4570
|
}, /*#__PURE__*/React.createElement(VideoPlayer, {
|
|
4479
4571
|
imageUrl: data.videoFrame.metadata?.thumbnail,
|
|
4480
4572
|
videoUrl: data.videoFrame.metadata?.value
|
|
@@ -4510,12 +4602,13 @@ function Video({
|
|
|
4510
4602
|
const classes = useVideoStyles({
|
|
4511
4603
|
containerWidth,
|
|
4512
4604
|
cardsCount,
|
|
4513
|
-
slidesToShow
|
|
4605
|
+
slidesToShow,
|
|
4606
|
+
isMobile
|
|
4514
4607
|
});
|
|
4515
4608
|
const settings = {
|
|
4516
4609
|
className: classes.sliderContainer,
|
|
4517
4610
|
slidesToShow,
|
|
4518
|
-
centerPadding: isMobile ? '
|
|
4611
|
+
centerPadding: isMobile ? '0px' : '100px 0 0',
|
|
4519
4612
|
centerMode: true
|
|
4520
4613
|
};
|
|
4521
4614
|
const carouselContent = videoData.videoCarousel.components.map((data, index) => /*#__PURE__*/React.createElement(SingleSlide$1, {
|
|
@@ -4558,19 +4651,20 @@ var index$e = /*#__PURE__*/Object.freeze({
|
|
|
4558
4651
|
const useSectionStyles$3 = createUseStyles(theme => ({
|
|
4559
4652
|
section: {
|
|
4560
4653
|
position: 'relative',
|
|
4561
|
-
padding:
|
|
4654
|
+
padding: `${theme?.spacing?.padding?.regular}px 0px ${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px`,
|
|
4562
4655
|
backgroundColor: theme?.palette?.background?.default,
|
|
4563
4656
|
'&, & *, & *:before, & *:after': {
|
|
4564
4657
|
fontFamily: theme?.typography?.fontFamily,
|
|
4565
4658
|
boxSizing: 'border-box'
|
|
4566
|
-
},
|
|
4567
|
-
'& h2,& h3': {
|
|
4568
|
-
fontWeight: '500',
|
|
4569
|
-
'& b,& strong': {
|
|
4570
|
-
fontWeight: '700'
|
|
4571
|
-
}
|
|
4572
4659
|
}
|
|
4660
|
+
// '& h2,& h3': {
|
|
4661
|
+
// fontWeight: '500',
|
|
4662
|
+
// '& b,& strong': {
|
|
4663
|
+
// fontWeight: '700'
|
|
4664
|
+
// }
|
|
4665
|
+
// }
|
|
4573
4666
|
},
|
|
4667
|
+
|
|
4574
4668
|
sectionContainer: {
|
|
4575
4669
|
margin: '0 auto',
|
|
4576
4670
|
maxWidth: ({
|
|
@@ -4581,26 +4675,25 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4581
4675
|
position: 'absolute',
|
|
4582
4676
|
top: '0',
|
|
4583
4677
|
left: '0',
|
|
4584
|
-
height: '
|
|
4678
|
+
height: '50%',
|
|
4585
4679
|
background: theme?.palette?.background?.primary,
|
|
4586
4680
|
width: '100%'
|
|
4587
4681
|
},
|
|
4588
4682
|
content: {
|
|
4589
|
-
position: 'relative'
|
|
4590
|
-
margin: '0 70px'
|
|
4683
|
+
position: 'relative'
|
|
4591
4684
|
},
|
|
4592
4685
|
subTitleHeading: {
|
|
4593
4686
|
width: '100%',
|
|
4594
|
-
fontSize:
|
|
4595
|
-
color: theme?.palette?.font?.
|
|
4687
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
4688
|
+
color: theme?.palette?.font?.default,
|
|
4596
4689
|
textAlign: 'left',
|
|
4597
4690
|
lineHeight: '20px',
|
|
4598
4691
|
letterSpacing: '3px',
|
|
4599
4692
|
wordBreak: 'break-word'
|
|
4600
4693
|
},
|
|
4601
4694
|
heading: {
|
|
4602
|
-
margin:
|
|
4603
|
-
fontSize:
|
|
4695
|
+
margin: `8px 0 ${theme.spacing.margin.tiny}px`,
|
|
4696
|
+
fontSize: theme.typography.fontSize.h2,
|
|
4604
4697
|
width: '100%',
|
|
4605
4698
|
lineHeight: '70px',
|
|
4606
4699
|
color: theme?.palette?.font?.default,
|
|
@@ -4622,16 +4715,17 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4622
4715
|
height: 'calc(100% - 12px)'
|
|
4623
4716
|
},
|
|
4624
4717
|
cardContent: {
|
|
4625
|
-
padding:
|
|
4718
|
+
padding: theme.spacing.padding.tiny,
|
|
4626
4719
|
height: '100%',
|
|
4627
4720
|
display: 'flex',
|
|
4628
4721
|
flexDirection: 'column'
|
|
4629
4722
|
},
|
|
4630
4723
|
cardHeading: {
|
|
4631
|
-
fontSize:
|
|
4724
|
+
fontSize: theme.typography.fontSize.h5,
|
|
4632
4725
|
lineHeight: '32px',
|
|
4726
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
4633
4727
|
color: theme?.palette?.font?.default,
|
|
4634
|
-
margin:
|
|
4728
|
+
margin: `${theme.spacing.margin.tiny}px 0px`,
|
|
4635
4729
|
wordBreak: 'break-word'
|
|
4636
4730
|
},
|
|
4637
4731
|
imageContainer: {
|
|
@@ -4643,8 +4737,16 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4643
4737
|
borderRadius: '50%',
|
|
4644
4738
|
background: theme?.palette?.background?.primary
|
|
4645
4739
|
},
|
|
4740
|
+
buttonContainerClass: {
|
|
4741
|
+
marginRight: theme.spacing.margin.regular,
|
|
4742
|
+
display: 'flex',
|
|
4743
|
+
gap: '20px',
|
|
4744
|
+
alignItems: 'center',
|
|
4745
|
+
justifyContent: 'center',
|
|
4746
|
+
marginTop: theme.spacing.margin.tiny
|
|
4747
|
+
},
|
|
4646
4748
|
cardPara: {
|
|
4647
|
-
fontSize:
|
|
4749
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
4648
4750
|
lineHeight: '24px',
|
|
4649
4751
|
color: theme?.palette?.font?.primary,
|
|
4650
4752
|
margin: '0',
|
|
@@ -4660,13 +4762,10 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4660
4762
|
'@media screen and (max-width: 767px)': {
|
|
4661
4763
|
heading: {
|
|
4662
4764
|
fontSize: '24px',
|
|
4663
|
-
margin:
|
|
4765
|
+
margin: `4px 0 ${theme.spacing.margin.tiny}px`,
|
|
4664
4766
|
lineHeight: '36px',
|
|
4665
4767
|
padding: '0'
|
|
4666
4768
|
},
|
|
4667
|
-
content: {
|
|
4668
|
-
margin: '0 20px'
|
|
4669
|
-
},
|
|
4670
4769
|
sliderContainer: {
|
|
4671
4770
|
marginLeft: '-6px',
|
|
4672
4771
|
marginRight: '-20px'
|
|
@@ -4681,12 +4780,6 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4681
4780
|
slidesToShow,
|
|
4682
4781
|
cardsCount
|
|
4683
4782
|
} = {}) => cardsCount > slidesToShow ? `6px 2px 6px 6px` : `6px 0 6px 0`
|
|
4684
|
-
},
|
|
4685
|
-
cardContent: {
|
|
4686
|
-
padding: '20px'
|
|
4687
|
-
},
|
|
4688
|
-
cardHeading: {
|
|
4689
|
-
margin: '14px 0'
|
|
4690
4783
|
}
|
|
4691
4784
|
}
|
|
4692
4785
|
}));
|
|
@@ -4770,7 +4863,8 @@ function Info({
|
|
|
4770
4863
|
}
|
|
4771
4864
|
})), cardsCount > slidesToShow ? /*#__PURE__*/React.createElement(Carousel, {
|
|
4772
4865
|
hideArrow: isMobile,
|
|
4773
|
-
settings: settings
|
|
4866
|
+
settings: settings,
|
|
4867
|
+
buttonContainerClass: classes.buttonContainerClass
|
|
4774
4868
|
}, carouselContent) : /*#__PURE__*/React.createElement("div", {
|
|
4775
4869
|
className: classes.contentRow
|
|
4776
4870
|
}, carouselContent))));
|
|
@@ -4783,67 +4877,56 @@ var index$d = /*#__PURE__*/Object.freeze({
|
|
|
4783
4877
|
|
|
4784
4878
|
const useSectionStyles$2 = createUseStyles(theme => ({
|
|
4785
4879
|
section: {
|
|
4786
|
-
padding:
|
|
4880
|
+
padding: ({
|
|
4881
|
+
isMobile
|
|
4882
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
4787
4883
|
backgroundColor: theme?.palette?.background?.default,
|
|
4788
4884
|
'&, & *, & *:before, & *:after': {
|
|
4789
4885
|
fontFamily: theme?.typography?.fontFamily,
|
|
4790
4886
|
boxSizing: 'border-box'
|
|
4791
4887
|
},
|
|
4792
|
-
'& h2,& h3': {
|
|
4793
|
-
|
|
4794
|
-
'& b,& strong': {
|
|
4795
|
-
fontWeight: '700'
|
|
4796
|
-
}
|
|
4888
|
+
'& h2,& h3,& p': {
|
|
4889
|
+
margin: '0'
|
|
4797
4890
|
}
|
|
4798
4891
|
},
|
|
4799
4892
|
sectionContainer: {
|
|
4800
|
-
margin: '0 auto',
|
|
4801
4893
|
maxWidth: ({
|
|
4802
4894
|
containerWidth
|
|
4803
4895
|
} = {}) => containerWidth
|
|
4804
4896
|
},
|
|
4805
4897
|
subHeading: {
|
|
4806
|
-
fontSize:
|
|
4898
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
4807
4899
|
marginBottom: '8px',
|
|
4808
|
-
color: theme?.palette?.font?.
|
|
4809
|
-
wordBreak: 'break-word'
|
|
4900
|
+
color: theme?.palette?.font?.default,
|
|
4901
|
+
wordBreak: 'break-word',
|
|
4902
|
+
textTransform: 'uppercase',
|
|
4903
|
+
letterSpacing: '3px'
|
|
4810
4904
|
},
|
|
4811
4905
|
title: {
|
|
4812
|
-
fontSize:
|
|
4813
|
-
|
|
4906
|
+
fontSize: theme.typography.fontSize.h2,
|
|
4907
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
4908
|
+
lineHeight: 'normal',
|
|
4814
4909
|
margin: '0',
|
|
4815
4910
|
color: theme?.palette?.font?.default,
|
|
4816
|
-
wordBreak: 'break-word'
|
|
4911
|
+
wordBreak: 'break-word',
|
|
4912
|
+
marginBottom: theme.spacing.margin.tiny
|
|
4817
4913
|
},
|
|
4818
4914
|
textContent: {
|
|
4819
4915
|
display: 'grid',
|
|
4820
4916
|
gridTemplateColumns: '1fr 1fr',
|
|
4821
|
-
gap: '
|
|
4917
|
+
gap: '48px',
|
|
4918
|
+
padding: '48px 0px'
|
|
4822
4919
|
},
|
|
4823
4920
|
textPara: {
|
|
4824
|
-
margin: '20px 0 0 0',
|
|
4825
4921
|
lineHeight: '24px',
|
|
4826
4922
|
color: theme?.palette?.font?.primary,
|
|
4827
|
-
wordBreak: 'break-word'
|
|
4923
|
+
wordBreak: 'break-word',
|
|
4924
|
+
fontSize: theme.typography.fontSize.subHead
|
|
4828
4925
|
},
|
|
4829
4926
|
'@media screen and (max-width: 767px)': {
|
|
4830
|
-
section: {
|
|
4831
|
-
padding: '60px 20px'
|
|
4832
|
-
},
|
|
4833
|
-
subHeading: {
|
|
4834
|
-
fontSize: '16px',
|
|
4835
|
-
lineHeight: '20px',
|
|
4836
|
-
marginBottom: '4px'
|
|
4837
|
-
},
|
|
4838
|
-
title: {
|
|
4839
|
-
fontSize: '24px',
|
|
4840
|
-
lineHeight: '36px'
|
|
4841
|
-
},
|
|
4842
4927
|
textContent: {
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
textPara: {
|
|
4846
|
-
marginTop: '12px'
|
|
4928
|
+
gap: '16px',
|
|
4929
|
+
padding: '16px 0px'
|
|
4847
4930
|
}
|
|
4848
4931
|
}
|
|
4849
4932
|
}));
|
|
@@ -4854,10 +4937,12 @@ const TextSection = ({
|
|
|
4854
4937
|
const {
|
|
4855
4938
|
layout: {
|
|
4856
4939
|
containerWidth
|
|
4857
|
-
}
|
|
4940
|
+
},
|
|
4941
|
+
isMobile
|
|
4858
4942
|
} = useContext(PageContext);
|
|
4859
4943
|
const classes = useSectionStyles$2({
|
|
4860
|
-
containerWidth
|
|
4944
|
+
containerWidth,
|
|
4945
|
+
isMobile
|
|
4861
4946
|
});
|
|
4862
4947
|
const [nodeData] = sectionData.components;
|
|
4863
4948
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("section", {
|
|
@@ -4904,18 +4989,21 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
4904
4989
|
return {
|
|
4905
4990
|
container: {
|
|
4906
4991
|
background: theme?.palette?.background?.default,
|
|
4907
|
-
padding:
|
|
4992
|
+
padding: ({
|
|
4993
|
+
isMobile
|
|
4994
|
+
} = {}) => 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`,
|
|
4908
4995
|
'&, & *, & *:before, & *:after': {
|
|
4909
4996
|
fontFamily: theme?.typography?.fontFamily,
|
|
4910
4997
|
boxSizing: 'border-box'
|
|
4911
|
-
},
|
|
4912
|
-
'& h2,& h3': {
|
|
4913
|
-
fontWeight: '500',
|
|
4914
|
-
'& b,& strong': {
|
|
4915
|
-
fontWeight: '700'
|
|
4916
|
-
}
|
|
4917
4998
|
}
|
|
4999
|
+
// '& h2,& h3': {
|
|
5000
|
+
// fontWeight: '500',
|
|
5001
|
+
// '& b,& strong': {
|
|
5002
|
+
// fontWeight: '700'
|
|
5003
|
+
// }
|
|
5004
|
+
// }
|
|
4918
5005
|
},
|
|
5006
|
+
|
|
4919
5007
|
sectionContainer: {
|
|
4920
5008
|
margin: '0 auto',
|
|
4921
5009
|
maxWidth: ({
|
|
@@ -4923,14 +5011,16 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
4923
5011
|
} = {}) => containerWidth
|
|
4924
5012
|
},
|
|
4925
5013
|
cardHeading: {
|
|
4926
|
-
color: theme?.palette?.font?.
|
|
4927
|
-
fontSize:
|
|
5014
|
+
color: theme?.palette?.font?.default,
|
|
5015
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
4928
5016
|
letterSpacing: '3px',
|
|
4929
|
-
wordBreak: 'break-word'
|
|
4930
|
-
|
|
4931
|
-
sliderContainer: {
|
|
4932
|
-
marginRight: '-70px'
|
|
5017
|
+
wordBreak: 'break-word',
|
|
5018
|
+
textTransform: 'uppercase'
|
|
4933
5019
|
},
|
|
5020
|
+
// sliderContainer: {
|
|
5021
|
+
// marginRight: '-70px'
|
|
5022
|
+
// },
|
|
5023
|
+
|
|
4934
5024
|
singleCard: {
|
|
4935
5025
|
margin: '0 1px',
|
|
4936
5026
|
width: 'calc(100% - 2px)',
|
|
@@ -4953,24 +5043,26 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
4953
5043
|
height: '100%'
|
|
4954
5044
|
},
|
|
4955
5045
|
title: {
|
|
4956
|
-
fontSize:
|
|
5046
|
+
fontSize: theme.typography.fontSize.h2,
|
|
4957
5047
|
lineHeight: '70px',
|
|
4958
5048
|
letterSpacing: '-3px',
|
|
4959
5049
|
color: theme?.palette?.font?.default,
|
|
4960
|
-
|
|
5050
|
+
marginTop: '8px',
|
|
5051
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
4961
5052
|
overflow: 'hidden',
|
|
4962
5053
|
whiteSpace: 'nowrap',
|
|
4963
5054
|
textOverflow: 'ellipsis'
|
|
4964
5055
|
},
|
|
4965
5056
|
'@media (max-width: 768px)': {
|
|
4966
|
-
container: {
|
|
4967
|
-
|
|
4968
|
-
},
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
5057
|
+
// container: {
|
|
5058
|
+
// padding: '60px 20px'
|
|
5059
|
+
// },
|
|
5060
|
+
|
|
5061
|
+
// cardHeading: {
|
|
5062
|
+
// marginLeft: '3px'
|
|
5063
|
+
// },
|
|
5064
|
+
|
|
4972
5065
|
title: {
|
|
4973
|
-
fontSize: '24px',
|
|
4974
5066
|
lineHeight: '36px',
|
|
4975
5067
|
letterSpacing: '-1px',
|
|
4976
5068
|
color: theme?.palette?.font?.default,
|
|
@@ -4978,10 +5070,11 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
4978
5070
|
overflow: 'hidden',
|
|
4979
5071
|
whiteSpace: 'nowrap',
|
|
4980
5072
|
textOverflow: 'ellipsis'
|
|
4981
|
-
},
|
|
4982
|
-
sliderContainer: {
|
|
4983
|
-
marginRight: '-20px'
|
|
4984
5073
|
}
|
|
5074
|
+
|
|
5075
|
+
// sliderContainer: {
|
|
5076
|
+
// marginRight: '-20px'
|
|
5077
|
+
// }
|
|
4985
5078
|
}
|
|
4986
5079
|
};
|
|
4987
5080
|
});
|
|
@@ -5003,11 +5096,12 @@ function PhotoGallery({
|
|
|
5003
5096
|
const classes = usePhotoGalleryStyles({
|
|
5004
5097
|
containerWidth,
|
|
5005
5098
|
cardsCount,
|
|
5006
|
-
slidesToShow
|
|
5099
|
+
slidesToShow,
|
|
5100
|
+
isMobile
|
|
5007
5101
|
});
|
|
5008
5102
|
const settings = {
|
|
5009
5103
|
className: classes.sliderContainer,
|
|
5010
|
-
dots:
|
|
5104
|
+
dots: isMobile,
|
|
5011
5105
|
infinite: true,
|
|
5012
5106
|
speed: 500,
|
|
5013
5107
|
slidesToShow,
|
|
@@ -5061,64 +5155,69 @@ var index$b = /*#__PURE__*/Object.freeze({
|
|
|
5061
5155
|
const useFaqListStyles = createUseStyles(theme => ({
|
|
5062
5156
|
section: {
|
|
5063
5157
|
width: '100%',
|
|
5064
|
-
padding:
|
|
5158
|
+
padding: ({
|
|
5159
|
+
isMobile
|
|
5160
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
5065
5161
|
backgroundColor: theme?.palette?.background?.primary,
|
|
5066
5162
|
'&, & *, & *:before, & *:after': {
|
|
5067
5163
|
fontFamily: theme?.typography?.fontFamily,
|
|
5068
5164
|
boxSizing: 'border-box'
|
|
5069
5165
|
},
|
|
5070
5166
|
'& h2,& h3': {
|
|
5071
|
-
|
|
5072
|
-
'& b,& strong': {
|
|
5073
|
-
fontWeight: '700'
|
|
5074
|
-
}
|
|
5167
|
+
marginTop: '0'
|
|
5075
5168
|
}
|
|
5076
5169
|
},
|
|
5077
5170
|
sectionContainer: {
|
|
5078
|
-
margin: '0 auto',
|
|
5079
5171
|
maxWidth: ({
|
|
5080
5172
|
containerWidth
|
|
5081
5173
|
} = {}) => containerWidth
|
|
5082
5174
|
},
|
|
5083
5175
|
sectionSubheading: {
|
|
5084
|
-
color: theme?.palette?.font.
|
|
5085
|
-
fontSize:
|
|
5176
|
+
color: theme?.palette?.font.default,
|
|
5177
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
5086
5178
|
marginBottom: '8px',
|
|
5087
5179
|
wordBreak: 'break-word'
|
|
5088
5180
|
},
|
|
5089
5181
|
sectionHeading: {
|
|
5090
|
-
fontSize:
|
|
5091
|
-
|
|
5182
|
+
fontSize: theme.typography.fontSize.h2,
|
|
5183
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
5092
5184
|
wordBreak: 'break-word',
|
|
5093
|
-
|
|
5185
|
+
marginBottom: `${theme.spacing.margin.tiny}px`
|
|
5094
5186
|
},
|
|
5095
5187
|
container: {
|
|
5096
5188
|
boxShadow: theme?.shadows?.secondary,
|
|
5097
5189
|
borderRadius: '8px',
|
|
5098
|
-
backgroundColor: theme?.palette?.background?.default
|
|
5099
|
-
padding: '40px 60px 60px'
|
|
5190
|
+
backgroundColor: theme?.palette?.background?.default
|
|
5100
5191
|
},
|
|
5101
5192
|
basicCardContainer: {
|
|
5102
|
-
borderBottom: theme?.borders?.secondary
|
|
5193
|
+
borderBottom: theme?.borders?.secondary,
|
|
5194
|
+
padding: `${theme.spacing.padding.tiny}px`
|
|
5195
|
+
},
|
|
5196
|
+
innerContainer: {
|
|
5197
|
+
display: 'flex',
|
|
5198
|
+
flexDirection: 'column',
|
|
5199
|
+
gap: ({
|
|
5200
|
+
isSelected
|
|
5201
|
+
} = {}) => isSelected ? '16px' : '0'
|
|
5202
|
+
},
|
|
5203
|
+
arrowButton: {
|
|
5204
|
+
marginLeft: theme.spacing.margin.tiny
|
|
5103
5205
|
},
|
|
5104
5206
|
header: {
|
|
5105
5207
|
display: 'flex',
|
|
5106
5208
|
justifyContent: 'space-between',
|
|
5107
|
-
alignItems: 'center'
|
|
5108
|
-
padding: '20px 0'
|
|
5209
|
+
alignItems: 'center'
|
|
5109
5210
|
},
|
|
5110
5211
|
title: {
|
|
5111
5212
|
color: theme?.palette?.font.default,
|
|
5112
|
-
fontSize:
|
|
5213
|
+
fontSize: theme.typography.fontSize.h5,
|
|
5214
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
5113
5215
|
margin: '0',
|
|
5114
5216
|
wordBreak: 'break-word'
|
|
5115
5217
|
},
|
|
5116
5218
|
content: {
|
|
5117
|
-
margin: ({
|
|
5118
|
-
isSelected
|
|
5119
|
-
} = {}) => isSelected ? '0 0 20px 0' : '0',
|
|
5120
5219
|
color: theme?.palette?.font.primary,
|
|
5121
|
-
fontSize:
|
|
5220
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
5122
5221
|
lineHeight: '24px',
|
|
5123
5222
|
maxHeight: ({
|
|
5124
5223
|
isSelected
|
|
@@ -5127,28 +5226,12 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5127
5226
|
overflow: 'hidden'
|
|
5128
5227
|
},
|
|
5129
5228
|
'@media screen and (max-width: 767px)': {
|
|
5130
|
-
section: {
|
|
5131
|
-
padding: '60px 20px'
|
|
5132
|
-
},
|
|
5133
|
-
sectionHeading: {
|
|
5134
|
-
fontSize: '36px'
|
|
5135
|
-
},
|
|
5136
|
-
header: {
|
|
5137
|
-
padding: '20px 0'
|
|
5138
|
-
},
|
|
5139
|
-
title: {
|
|
5140
|
-
fontSize: '18px'
|
|
5141
|
-
},
|
|
5142
5229
|
content: {
|
|
5143
5230
|
lineHeight: '20px'
|
|
5144
5231
|
},
|
|
5145
|
-
container: {
|
|
5146
|
-
padding: '0 20px'
|
|
5147
|
-
},
|
|
5148
5232
|
basicCardContainer: {
|
|
5149
5233
|
'&:last-child': {
|
|
5150
|
-
borderBottom: 'none'
|
|
5151
|
-
paddingBottom: '1px'
|
|
5234
|
+
borderBottom: 'none'
|
|
5152
5235
|
}
|
|
5153
5236
|
}
|
|
5154
5237
|
}
|
|
@@ -5161,11 +5244,13 @@ const FAQListing = ({
|
|
|
5161
5244
|
const {
|
|
5162
5245
|
layout: {
|
|
5163
5246
|
containerWidth
|
|
5164
|
-
}
|
|
5247
|
+
},
|
|
5248
|
+
isMobile
|
|
5165
5249
|
} = useContext(PageContext);
|
|
5166
5250
|
const classes = useFaqListStyles({
|
|
5167
5251
|
selectedIndex,
|
|
5168
|
-
containerWidth
|
|
5252
|
+
containerWidth,
|
|
5253
|
+
isMobile
|
|
5169
5254
|
});
|
|
5170
5255
|
const [nodeData] = sectionData.components;
|
|
5171
5256
|
return /*#__PURE__*/React.createElement("section", {
|
|
@@ -5208,7 +5293,8 @@ const Accordion = ({
|
|
|
5208
5293
|
return /*#__PURE__*/React.createElement("div", {
|
|
5209
5294
|
className: classes.basicCardContainer
|
|
5210
5295
|
}, /*#__PURE__*/React.createElement("div", {
|
|
5211
|
-
onClick: onClick
|
|
5296
|
+
onClick: onClick,
|
|
5297
|
+
className: classes.innerContainer
|
|
5212
5298
|
}, /*#__PURE__*/React.createElement("div", {
|
|
5213
5299
|
className: classes.header
|
|
5214
5300
|
}, /*#__PURE__*/React.createElement("h3", {
|
|
@@ -5217,7 +5303,9 @@ const Accordion = ({
|
|
|
5217
5303
|
dangerouslySetInnerHTML: {
|
|
5218
5304
|
__html: item.question.metadata.value
|
|
5219
5305
|
}
|
|
5220
|
-
}), /*#__PURE__*/React.createElement("div",
|
|
5306
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
5307
|
+
className: classes.arrowButton
|
|
5308
|
+
}, /*#__PURE__*/React.createElement(ArrowButton, {
|
|
5221
5309
|
down: isSelected,
|
|
5222
5310
|
up: !isSelected,
|
|
5223
5311
|
size: "small"
|
|
@@ -5237,19 +5325,26 @@ var index$a = /*#__PURE__*/Object.freeze({
|
|
|
5237
5325
|
|
|
5238
5326
|
const useTextGridStyles = createUseStyles(theme => ({
|
|
5239
5327
|
section: {
|
|
5240
|
-
padding:
|
|
5241
|
-
|
|
5328
|
+
padding: ({
|
|
5329
|
+
isMobile
|
|
5330
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
5331
|
+
// backgroundColor: theme?.palette?.background?.primary,
|
|
5332
|
+
|
|
5242
5333
|
'&, & *, & *:before, & *:after': {
|
|
5243
5334
|
fontFamily: theme?.typography?.fontFamily,
|
|
5244
5335
|
boxSizing: 'border-box'
|
|
5245
5336
|
},
|
|
5246
|
-
'& h2,& h3': {
|
|
5247
|
-
|
|
5248
|
-
'& b,& strong': {
|
|
5249
|
-
fontWeight: '700'
|
|
5250
|
-
}
|
|
5337
|
+
'& h2,& h3,& p': {
|
|
5338
|
+
marginTop: '0'
|
|
5251
5339
|
}
|
|
5340
|
+
// '& h2,& h3': {
|
|
5341
|
+
// fontWeight: '500',
|
|
5342
|
+
// '& b,& strong': {
|
|
5343
|
+
// fontWeight: '700'
|
|
5344
|
+
// }
|
|
5345
|
+
// }
|
|
5252
5346
|
},
|
|
5347
|
+
|
|
5253
5348
|
sectionContainer: {
|
|
5254
5349
|
margin: '0 auto',
|
|
5255
5350
|
maxWidth: ({
|
|
@@ -5257,25 +5352,28 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5257
5352
|
} = {}) => containerWidth
|
|
5258
5353
|
},
|
|
5259
5354
|
subheading: {
|
|
5260
|
-
color: theme?.palette?.font.
|
|
5261
|
-
fontSize:
|
|
5355
|
+
color: theme?.palette?.font.default,
|
|
5356
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
5262
5357
|
lineHeight: '20px',
|
|
5263
5358
|
letterSpacing: '3px',
|
|
5264
|
-
wordBreak: 'break-word'
|
|
5359
|
+
wordBreak: 'break-word',
|
|
5360
|
+
textTransform: 'uppercase',
|
|
5361
|
+
marginBottom: '8px'
|
|
5265
5362
|
},
|
|
5266
5363
|
heading: {
|
|
5267
|
-
fontSize:
|
|
5268
|
-
lineHeight: '
|
|
5364
|
+
fontSize: theme.typography.fontSize.h2,
|
|
5365
|
+
lineHeight: 'normal',
|
|
5366
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
5269
5367
|
letterSpacing: '-3px',
|
|
5270
|
-
|
|
5368
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
5271
5369
|
wordBreak: 'break-word'
|
|
5272
5370
|
},
|
|
5273
5371
|
sliderContainer: {
|
|
5274
5372
|
margin: '0 -10px'
|
|
5275
5373
|
},
|
|
5276
5374
|
node: {
|
|
5277
|
-
margin: '
|
|
5278
|
-
padding: '
|
|
5375
|
+
margin: '0 16px',
|
|
5376
|
+
padding: '48px',
|
|
5279
5377
|
position: 'relative',
|
|
5280
5378
|
height: 'calc(100% - 12px)',
|
|
5281
5379
|
background: theme?.palette?.background?.default,
|
|
@@ -5283,17 +5381,17 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5283
5381
|
borderRadius: theme?.shape?.borderRadius?.regular
|
|
5284
5382
|
},
|
|
5285
5383
|
nodeTitle: {
|
|
5286
|
-
color: theme?.palette?.font.
|
|
5287
|
-
fontSize:
|
|
5288
|
-
|
|
5384
|
+
color: theme?.palette?.font.default,
|
|
5385
|
+
fontSize: theme.typography.fontSize.h3,
|
|
5386
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
5387
|
+
lineHeight: 'normal',
|
|
5289
5388
|
margin: '0 0 20px',
|
|
5290
5389
|
wordBreak: 'break-word'
|
|
5291
5390
|
},
|
|
5292
5391
|
nodePara: {
|
|
5293
5392
|
color: theme?.palette?.font.tertiary,
|
|
5294
|
-
fontSize:
|
|
5393
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
5295
5394
|
lineHeight: '24px',
|
|
5296
|
-
margin: '20px 0',
|
|
5297
5395
|
wordBreak: 'break-word'
|
|
5298
5396
|
},
|
|
5299
5397
|
contentRow: {
|
|
@@ -5303,27 +5401,21 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5303
5401
|
} = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
|
|
5304
5402
|
},
|
|
5305
5403
|
'@media screen and (max-width: 767px)': {
|
|
5306
|
-
section: {
|
|
5307
|
-
padding: '60px 20px'
|
|
5308
|
-
},
|
|
5309
|
-
heading: {
|
|
5310
|
-
fontSize: '24px',
|
|
5311
|
-
lineHeight: '36px',
|
|
5312
|
-
letterSpacing: '-1px',
|
|
5313
|
-
margin: '4px 0 6px'
|
|
5314
|
-
},
|
|
5315
5404
|
sliderContainer: {
|
|
5316
5405
|
margin: '0 -20px 0 -10px'
|
|
5317
5406
|
},
|
|
5318
5407
|
node: {
|
|
5319
|
-
padding: '
|
|
5408
|
+
padding: '16px',
|
|
5409
|
+
margin: '0 6px'
|
|
5320
5410
|
},
|
|
5321
5411
|
nodeTitle: {
|
|
5322
|
-
|
|
5323
|
-
lineHeight: '36px'
|
|
5412
|
+
marginBottom: '0px'
|
|
5324
5413
|
},
|
|
5325
5414
|
nodePara: {
|
|
5326
|
-
margin: '
|
|
5415
|
+
margin: '16px 0'
|
|
5416
|
+
},
|
|
5417
|
+
heading: {
|
|
5418
|
+
letterSpacing: '-1px'
|
|
5327
5419
|
}
|
|
5328
5420
|
}
|
|
5329
5421
|
}));
|
|
@@ -5343,7 +5435,8 @@ const TextGrid = ({
|
|
|
5343
5435
|
const classes = useTextGridStyles({
|
|
5344
5436
|
containerWidth,
|
|
5345
5437
|
cardsCount,
|
|
5346
|
-
slidesToShow
|
|
5438
|
+
slidesToShow,
|
|
5439
|
+
isMobile
|
|
5347
5440
|
});
|
|
5348
5441
|
const settings = {
|
|
5349
5442
|
className: classes.sliderContainer,
|
|
@@ -5404,39 +5497,46 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5404
5497
|
return {
|
|
5405
5498
|
coursesContainer: {
|
|
5406
5499
|
overflow: 'hidden',
|
|
5500
|
+
padding: ({
|
|
5501
|
+
isMobile
|
|
5502
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
5407
5503
|
'&, & *, & *:before, & *:after': {
|
|
5408
5504
|
fontFamily: theme?.typography?.fontFamily,
|
|
5409
5505
|
boxSizing: 'border-box'
|
|
5410
|
-
},
|
|
5411
|
-
'& h2,& h3': {
|
|
5412
|
-
fontWeight: '500',
|
|
5413
|
-
'& b,& strong': {
|
|
5414
|
-
fontWeight: '700'
|
|
5415
|
-
}
|
|
5416
5506
|
}
|
|
5507
|
+
// '& h2,& h3': {
|
|
5508
|
+
// fontWeight: '500',
|
|
5509
|
+
// '& b,& strong': {
|
|
5510
|
+
// fontWeight: '700'
|
|
5511
|
+
// }
|
|
5512
|
+
// }
|
|
5417
5513
|
},
|
|
5514
|
+
|
|
5418
5515
|
sectionContainer: {
|
|
5419
5516
|
margin: '0 auto',
|
|
5420
5517
|
maxWidth: ({
|
|
5421
5518
|
containerWidth
|
|
5422
5519
|
} = {}) => containerWidth
|
|
5423
5520
|
},
|
|
5424
|
-
coursesCardAndText: {
|
|
5425
|
-
|
|
5426
|
-
},
|
|
5521
|
+
// coursesCardAndText: {
|
|
5522
|
+
// padding: '70px'
|
|
5523
|
+
// },
|
|
5524
|
+
|
|
5427
5525
|
coursesText: {
|
|
5428
5526
|
color: theme?.palette?.font?.secondary,
|
|
5429
5527
|
fontWeight: '400',
|
|
5430
|
-
fontSize:
|
|
5528
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
5431
5529
|
lineHeight: '20px',
|
|
5432
5530
|
textAlign: 'center',
|
|
5531
|
+
textTransform: 'uppercase',
|
|
5433
5532
|
wordBreak: 'break-word'
|
|
5434
5533
|
},
|
|
5435
5534
|
coursesHeader: {
|
|
5436
|
-
fontSize:
|
|
5535
|
+
fontSize: theme.typography.fontSize.h2,
|
|
5437
5536
|
lineHeight: '70px',
|
|
5438
5537
|
color: theme?.palette?.font?.default,
|
|
5439
|
-
|
|
5538
|
+
marginTop: '8px',
|
|
5539
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
5440
5540
|
overflow: 'hidden',
|
|
5441
5541
|
whiteSpace: 'nowrap',
|
|
5442
5542
|
textOverflow: 'ellipsis',
|
|
@@ -5511,7 +5611,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5511
5611
|
courseCardName: {
|
|
5512
5612
|
color: theme?.palette?.font?.default,
|
|
5513
5613
|
fontWeight: '700',
|
|
5514
|
-
fontSize:
|
|
5614
|
+
fontSize: theme.typography.fontSize.h5,
|
|
5515
5615
|
lineHeight: '32px',
|
|
5516
5616
|
wordBreak: 'break-word',
|
|
5517
5617
|
padding: '12px 0px',
|
|
@@ -5526,7 +5626,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5526
5626
|
display: 'flex',
|
|
5527
5627
|
justifyContent: 'flex-start',
|
|
5528
5628
|
alignItems: 'center',
|
|
5529
|
-
fontSize:
|
|
5629
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
5530
5630
|
color: theme?.palette?.font?.primary,
|
|
5531
5631
|
'& img': {
|
|
5532
5632
|
marginRight: '5px'
|
|
@@ -5538,10 +5638,10 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5538
5638
|
display: 'flex',
|
|
5539
5639
|
justifyContent: 'space-between',
|
|
5540
5640
|
alignItems: 'center',
|
|
5541
|
-
padding: '
|
|
5641
|
+
padding: '12px 0 0 4px'
|
|
5542
5642
|
},
|
|
5543
5643
|
courseCardPrice: {
|
|
5544
|
-
fontSize:
|
|
5644
|
+
fontSize: theme.typography.fontSize.h5,
|
|
5545
5645
|
fontWeight: '700'
|
|
5546
5646
|
},
|
|
5547
5647
|
coursesAnchorTag: {
|
|
@@ -5562,7 +5662,8 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5562
5662
|
cursor: 'pointer',
|
|
5563
5663
|
background: theme?.palette?.primary?.main,
|
|
5564
5664
|
color: theme?.palette?.font?.invertedDefault,
|
|
5565
|
-
padding: '
|
|
5665
|
+
padding: '8px 16px',
|
|
5666
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
5566
5667
|
cursor: 'pointer',
|
|
5567
5668
|
borderRadius: theme.shape.borderRadius.regular
|
|
5568
5669
|
},
|
|
@@ -5607,7 +5708,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5607
5708
|
//background: theme?.palette?.background?.primary
|
|
5608
5709
|
},
|
|
5609
5710
|
coursesCardAndText: {
|
|
5610
|
-
padding: '70px 30px'
|
|
5711
|
+
// padding: '70px 30px'
|
|
5611
5712
|
},
|
|
5612
5713
|
singleCardContainer: {
|
|
5613
5714
|
gridTemplateColumns: '1fr'
|
|
@@ -5616,7 +5717,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5616
5717
|
margin: '0'
|
|
5617
5718
|
},
|
|
5618
5719
|
coursesHeader: {
|
|
5619
|
-
fontSize: '24px',
|
|
5720
|
+
// fontSize: '24px',
|
|
5620
5721
|
lineHeight: '36px',
|
|
5621
5722
|
color: theme?.palette?.font?.default,
|
|
5622
5723
|
margin: '4px 0 12px 0',
|
|
@@ -5625,8 +5726,8 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5625
5726
|
textOverflow: 'ellipsis'
|
|
5626
5727
|
},
|
|
5627
5728
|
singleCard: {
|
|
5628
|
-
margin: '6px 2px'
|
|
5629
|
-
width: 'calc(100% -
|
|
5729
|
+
margin: '6px 2px'
|
|
5730
|
+
// width: 'calc(100% - 12px)'
|
|
5630
5731
|
}
|
|
5631
5732
|
}
|
|
5632
5733
|
};
|
|
@@ -5791,7 +5892,8 @@ function courses({
|
|
|
5791
5892
|
const [fallBackImages, setFallbackImages] = useState([]);
|
|
5792
5893
|
const [showShimmer, setShowShimmer] = useState(true);
|
|
5793
5894
|
const classes = useCourseStyles({
|
|
5794
|
-
containerWidth
|
|
5895
|
+
containerWidth,
|
|
5896
|
+
isMobile
|
|
5795
5897
|
});
|
|
5796
5898
|
const [nodeData] = sectionData?.components;
|
|
5797
5899
|
const handleApiCall = () => {
|
|
@@ -5843,7 +5945,7 @@ function courses({
|
|
|
5843
5945
|
const settings = {
|
|
5844
5946
|
className: classes.slickContainer,
|
|
5845
5947
|
infinite: false,
|
|
5846
|
-
slidesToShow: isMobile ? 1
|
|
5948
|
+
slidesToShow: isMobile ? 1 : 3.5
|
|
5847
5949
|
};
|
|
5848
5950
|
const Wrapper = (cardList?.length || fallBackImages?.length) > settings.slidesToShow ? Carousel : SimpleCardsContainer;
|
|
5849
5951
|
const wrapperProps = (cardList?.length || fallBackImages?.length) > settings.slidesToShow ? {
|
|
@@ -5919,17 +6021,17 @@ var index$8 = /*#__PURE__*/Object.freeze({
|
|
|
5919
6021
|
const useTeamStyles = createUseStyles(theme => {
|
|
5920
6022
|
return {
|
|
5921
6023
|
teamSuperContainer: {
|
|
5922
|
-
padding:
|
|
5923
|
-
|
|
6024
|
+
padding: ({
|
|
6025
|
+
isMobile
|
|
6026
|
+
} = {}) => 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`,
|
|
6027
|
+
// backgroundColor: theme?.palette?.background?.primary,
|
|
6028
|
+
|
|
5924
6029
|
'&, & *, & *:before, & *:after': {
|
|
5925
6030
|
fontFamily: theme?.typography?.fontFamily,
|
|
5926
6031
|
boxSizing: 'border-box'
|
|
5927
6032
|
},
|
|
5928
6033
|
'& h2,& h3': {
|
|
5929
|
-
|
|
5930
|
-
'& b,& strong': {
|
|
5931
|
-
fontWeight: '700'
|
|
5932
|
-
}
|
|
6034
|
+
margin: '0'
|
|
5933
6035
|
}
|
|
5934
6036
|
},
|
|
5935
6037
|
sectionContainer: {
|
|
@@ -5939,20 +6041,31 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
5939
6041
|
} = {}) => containerWidth
|
|
5940
6042
|
},
|
|
5941
6043
|
teamHeading: {
|
|
5942
|
-
fontSize:
|
|
6044
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
6045
|
+
textTransform: 'uppercase',
|
|
5943
6046
|
lineHeight: '20px',
|
|
5944
6047
|
letterSpacing: '3px',
|
|
5945
|
-
|
|
5946
|
-
color: theme?.palette?.font?.
|
|
5947
|
-
wordBreak: 'break-word'
|
|
6048
|
+
marginBottom: '8px',
|
|
6049
|
+
color: theme?.palette?.font?.default,
|
|
6050
|
+
wordBreak: 'break-word',
|
|
6051
|
+
position: 'relative'
|
|
6052
|
+
},
|
|
6053
|
+
partialBackground: {
|
|
6054
|
+
position: 'absolute',
|
|
6055
|
+
top: '0',
|
|
6056
|
+
left: '0',
|
|
6057
|
+
height: '50%',
|
|
6058
|
+
background: theme?.palette?.background?.primary,
|
|
6059
|
+
width: '100%'
|
|
5948
6060
|
},
|
|
5949
6061
|
teamTitle: {
|
|
5950
|
-
fontSize:
|
|
6062
|
+
fontSize: theme.typography.fontSize.h2,
|
|
6063
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
5951
6064
|
lineHeight: '70px',
|
|
5952
6065
|
letterSpacing: '-3px',
|
|
5953
6066
|
wordBreak: 'break-word',
|
|
5954
|
-
|
|
5955
|
-
|
|
6067
|
+
color: theme?.palette?.font?.default,
|
|
6068
|
+
position: 'relative'
|
|
5956
6069
|
},
|
|
5957
6070
|
sliderContainer: {
|
|
5958
6071
|
margin: '0 -20px'
|
|
@@ -5966,10 +6079,11 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
5966
6079
|
singleSlideContainer: {
|
|
5967
6080
|
backgroundColor: theme?.palette?.background?.default,
|
|
5968
6081
|
margin: '20px',
|
|
5969
|
-
width: 'calc(100% -
|
|
5970
|
-
height: 'calc(100% - 40px)',
|
|
6082
|
+
width: 'calc(100% - 32px)',
|
|
6083
|
+
// height: 'calc(100% - 40px)',
|
|
6084
|
+
border: '3px solid #D8E0F0',
|
|
5971
6085
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
5972
|
-
padding:
|
|
6086
|
+
padding: theme.spacing.padding.tiny,
|
|
5973
6087
|
boxShadow: theme?.shadows?.primary
|
|
5974
6088
|
},
|
|
5975
6089
|
imageContainer: {
|
|
@@ -5994,32 +6108,28 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
5994
6108
|
overflowWrap: 'break-word'
|
|
5995
6109
|
},
|
|
5996
6110
|
teamDetailsHeading: {
|
|
5997
|
-
fontSize:
|
|
6111
|
+
fontSize: theme.typography.fontSize.h5,
|
|
6112
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
5998
6113
|
lineHeight: '32px',
|
|
5999
6114
|
margin: '0',
|
|
6000
6115
|
color: theme?.palette?.font?.default
|
|
6001
6116
|
},
|
|
6002
6117
|
teamDetailsSubHeading: {
|
|
6003
|
-
fontSize:
|
|
6118
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
6004
6119
|
lineHeight: '24px',
|
|
6005
6120
|
margin: '12px 0 0',
|
|
6006
6121
|
color: theme?.palette?.font?.primary
|
|
6007
6122
|
},
|
|
6008
6123
|
'@media (max-width: 767px)': {
|
|
6009
|
-
teamSuperContainer: {
|
|
6010
|
-
|
|
6011
|
-
},
|
|
6012
|
-
teamHeading: {
|
|
6013
|
-
|
|
6014
|
-
lineHeight: '20px',
|
|
6015
|
-
letterSpacing: '3px',
|
|
6016
|
-
margin: '0'
|
|
6124
|
+
// teamSuperContainer: {
|
|
6125
|
+
// padding: '60px 20px'
|
|
6126
|
+
// },
|
|
6127
|
+
teamHeading: {
|
|
6128
|
+
lineHeight: '20px'
|
|
6017
6129
|
},
|
|
6018
6130
|
teamTitle: {
|
|
6019
|
-
fontSize: '24px',
|
|
6020
6131
|
lineHeight: '36px',
|
|
6021
|
-
letterSpacing: '-1px'
|
|
6022
|
-
margin: '0'
|
|
6132
|
+
letterSpacing: '-1px'
|
|
6023
6133
|
},
|
|
6024
6134
|
sliderContainer: {
|
|
6025
6135
|
margin: '0 -4px'
|
|
@@ -6029,18 +6139,17 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6029
6139
|
margin: '12px 4px'
|
|
6030
6140
|
},
|
|
6031
6141
|
teamDetailsContainer: {
|
|
6032
|
-
textAlign: 'center'
|
|
6033
|
-
margin: '15px 0 0',
|
|
6034
|
-
paddingBottom: '0'
|
|
6142
|
+
textAlign: 'center'
|
|
6143
|
+
// margin: '15px 0 0',
|
|
6144
|
+
// paddingBottom: '0'
|
|
6035
6145
|
},
|
|
6146
|
+
|
|
6036
6147
|
teamDetailsHeading: {
|
|
6037
|
-
fontSize: '16px',
|
|
6038
6148
|
lineHeight: '24px',
|
|
6039
6149
|
margin: '0',
|
|
6040
6150
|
color: theme?.palette?.font?.default
|
|
6041
6151
|
},
|
|
6042
6152
|
teamDetailsSubHeading: {
|
|
6043
|
-
fontSize: '16px',
|
|
6044
6153
|
color: theme?.palette?.font?.primary
|
|
6045
6154
|
}
|
|
6046
6155
|
}
|
|
@@ -6095,7 +6204,8 @@ function TeamCard({
|
|
|
6095
6204
|
const classes = useTeamStyles({
|
|
6096
6205
|
containerWidth,
|
|
6097
6206
|
cardsCount,
|
|
6098
|
-
slidesToShow
|
|
6207
|
+
slidesToShow,
|
|
6208
|
+
isMobile
|
|
6099
6209
|
});
|
|
6100
6210
|
const settings = {
|
|
6101
6211
|
className: classes.sliderContainer,
|
|
@@ -6152,17 +6262,21 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6152
6262
|
flexDirection: 'column',
|
|
6153
6263
|
alignItems: 'center',
|
|
6154
6264
|
backgroundColor: theme?.palette?.background?.default,
|
|
6265
|
+
padding: ({
|
|
6266
|
+
isMobile
|
|
6267
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
6155
6268
|
'&, & *, & *:before, & *:after': {
|
|
6156
6269
|
fontFamily: theme?.typography?.fontFamily,
|
|
6157
6270
|
boxSizing: 'border-box'
|
|
6158
|
-
},
|
|
6159
|
-
'& h2,& h3': {
|
|
6160
|
-
fontWeight: '500',
|
|
6161
|
-
'& b,& strong': {
|
|
6162
|
-
fontWeight: '700'
|
|
6163
|
-
}
|
|
6164
6271
|
}
|
|
6272
|
+
// '& h2,& h3': {
|
|
6273
|
+
// fontWeight: '500',
|
|
6274
|
+
// '& b,& strong': {
|
|
6275
|
+
// fontWeight: '700'
|
|
6276
|
+
// }
|
|
6277
|
+
// }
|
|
6165
6278
|
},
|
|
6279
|
+
|
|
6166
6280
|
formContainer: {
|
|
6167
6281
|
margin: '0 auto',
|
|
6168
6282
|
maxWidth: ({
|
|
@@ -6181,14 +6295,14 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6181
6295
|
backgroundColor: theme?.palette?.background?.default,
|
|
6182
6296
|
boxShadow: theme?.shadows?.secondary,
|
|
6183
6297
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6184
|
-
|
|
6185
|
-
padding: '40px 80px',
|
|
6298
|
+
padding: '48px',
|
|
6186
6299
|
position: 'relative'
|
|
6187
6300
|
},
|
|
6188
6301
|
title: {
|
|
6189
6302
|
margin: '0',
|
|
6190
|
-
fontSize:
|
|
6303
|
+
fontSize: theme.typography.fontSize.h2,
|
|
6191
6304
|
color: theme?.palette?.font?.secondary,
|
|
6305
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
6192
6306
|
lineHeight: '71px',
|
|
6193
6307
|
letterSpacing: '-3px',
|
|
6194
6308
|
textAlign: 'left',
|
|
@@ -6196,16 +6310,19 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6196
6310
|
},
|
|
6197
6311
|
contentContainer: {
|
|
6198
6312
|
width: '100%',
|
|
6199
|
-
display: 'flex'
|
|
6200
|
-
alignItems: 'flex-start',
|
|
6201
|
-
marginTop: '32px'
|
|
6313
|
+
display: 'flex'
|
|
6314
|
+
// alignItems: 'flex-start',
|
|
6202
6315
|
},
|
|
6316
|
+
|
|
6203
6317
|
leftContainer: {
|
|
6204
|
-
width: '65%'
|
|
6318
|
+
width: '65%',
|
|
6319
|
+
display: 'flex',
|
|
6320
|
+
flexDirection: 'column',
|
|
6321
|
+
justifyContent: 'space-between'
|
|
6205
6322
|
},
|
|
6206
6323
|
subtitle: {
|
|
6207
|
-
margin: '0 0 40px 0',
|
|
6208
|
-
fontSize:
|
|
6324
|
+
// margin: '0 0 40px 0',
|
|
6325
|
+
fontSize: theme.typography.fontSize.h6,
|
|
6209
6326
|
color: theme?.palette?.font?.primary,
|
|
6210
6327
|
lineHeight: '32px',
|
|
6211
6328
|
wordBreak: 'break-word'
|
|
@@ -6227,13 +6344,16 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6227
6344
|
padding: '4px 8px 0 0'
|
|
6228
6345
|
},
|
|
6229
6346
|
addressText: {
|
|
6230
|
-
fontSize:
|
|
6347
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
6231
6348
|
color: theme?.palette?.font?.default,
|
|
6232
6349
|
lineHeight: '24px'
|
|
6233
6350
|
},
|
|
6234
6351
|
rightContainer: {
|
|
6235
6352
|
width: '50%',
|
|
6236
|
-
padding: '0 0 0 80px'
|
|
6353
|
+
padding: '0 0 0 80px',
|
|
6354
|
+
display: 'flex',
|
|
6355
|
+
flexDirection: 'column',
|
|
6356
|
+
justifyContent: 'space-between'
|
|
6237
6357
|
},
|
|
6238
6358
|
inputDiv: {
|
|
6239
6359
|
margin: '0 0 20px 0',
|
|
@@ -6247,8 +6367,8 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6247
6367
|
alignItems: 'center'
|
|
6248
6368
|
},
|
|
6249
6369
|
sectionContainer: {
|
|
6250
|
-
margin: '26px 16px',
|
|
6251
|
-
padding: '
|
|
6370
|
+
// margin: '26px 16px',
|
|
6371
|
+
padding: '16px'
|
|
6252
6372
|
},
|
|
6253
6373
|
partialBackground: {
|
|
6254
6374
|
height: '150px'
|
|
@@ -6258,26 +6378,32 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6258
6378
|
marginTop: '8px'
|
|
6259
6379
|
},
|
|
6260
6380
|
leftContainer: {
|
|
6261
|
-
width: '100%'
|
|
6262
|
-
padding: '0 16ox'
|
|
6381
|
+
width: '100%'
|
|
6382
|
+
// padding: '0 16ox'
|
|
6263
6383
|
},
|
|
6384
|
+
|
|
6264
6385
|
rightContainer: {
|
|
6265
6386
|
width: '100%',
|
|
6266
6387
|
padding: '0'
|
|
6267
6388
|
},
|
|
6268
6389
|
title: {
|
|
6269
|
-
fontSize: '24px',
|
|
6390
|
+
// fontSize: '24px',
|
|
6270
6391
|
lineHeight: '32px',
|
|
6271
|
-
letterSpacing: 'initial'
|
|
6392
|
+
letterSpacing: 'initial',
|
|
6393
|
+
margin: '0 0 16px 0',
|
|
6394
|
+
textAlign: 'center'
|
|
6272
6395
|
},
|
|
6273
6396
|
subtitle: {
|
|
6274
|
-
margin: '0 0
|
|
6397
|
+
margin: '0 0 16px 0',
|
|
6398
|
+
lineHeight: '26px',
|
|
6399
|
+
textAlign: 'center'
|
|
6275
6400
|
},
|
|
6276
6401
|
inputDiv: {
|
|
6277
|
-
margin: '0 0
|
|
6402
|
+
margin: '0 0 16px 0'
|
|
6278
6403
|
},
|
|
6279
6404
|
addressRow: {
|
|
6280
|
-
padding: '
|
|
6405
|
+
padding: '0px',
|
|
6406
|
+
margin: '0 0 16px 0'
|
|
6281
6407
|
}
|
|
6282
6408
|
}
|
|
6283
6409
|
}));
|
|
@@ -6296,7 +6422,8 @@ function FormEnquiry({
|
|
|
6296
6422
|
isEdit
|
|
6297
6423
|
} = useContext(PageContext);
|
|
6298
6424
|
const classes = useSectionStyles$1({
|
|
6299
|
-
containerWidth
|
|
6425
|
+
containerWidth,
|
|
6426
|
+
isMobile
|
|
6300
6427
|
});
|
|
6301
6428
|
const [nodeData] = sectionData.components;
|
|
6302
6429
|
const theme = useTheme();
|
|
@@ -6355,6 +6482,10 @@ function FormEnquiry({
|
|
|
6355
6482
|
className: classes.partialBackground
|
|
6356
6483
|
}), /*#__PURE__*/React.createElement("div", {
|
|
6357
6484
|
className: classes.sectionContainer
|
|
6485
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6486
|
+
className: classes.contentContainer
|
|
6487
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6488
|
+
className: classes.leftContainer
|
|
6358
6489
|
}, /*#__PURE__*/React.createElement("h2", {
|
|
6359
6490
|
className: classes.title
|
|
6360
6491
|
}, /*#__PURE__*/React.createElement("span", {
|
|
@@ -6363,10 +6494,6 @@ function FormEnquiry({
|
|
|
6363
6494
|
__html: nodeData?.title?.metadata?.value
|
|
6364
6495
|
}
|
|
6365
6496
|
})), /*#__PURE__*/React.createElement("div", {
|
|
6366
|
-
className: classes.contentContainer
|
|
6367
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
6368
|
-
className: classes.leftContainer
|
|
6369
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
6370
6497
|
ref: nodeData?.subtitle?.refSetter,
|
|
6371
6498
|
className: classes.subtitle,
|
|
6372
6499
|
dangerouslySetInnerHTML: {
|
|
@@ -6506,7 +6633,7 @@ function FormEnquiry({
|
|
|
6506
6633
|
messageValid: 1
|
|
6507
6634
|
});
|
|
6508
6635
|
}
|
|
6509
|
-
})), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement(Button, {
|
|
6636
|
+
})), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
|
|
6510
6637
|
ref: nodeData?.cta?.refSetter,
|
|
6511
6638
|
data: btnDisabled && validData?.messageValid && validData?.emailValid && validData?.nameValid && validData?.phoneValid ? {
|
|
6512
6639
|
value: 'Submitted'
|
|
@@ -6517,7 +6644,7 @@ function FormEnquiry({
|
|
|
6517
6644
|
type: nodeData?.cta?.metadata?.type,
|
|
6518
6645
|
size: isMobile ? 'small' : 'medium',
|
|
6519
6646
|
disabled: btnDisabled
|
|
6520
|
-
}))))));
|
|
6647
|
+
})))))));
|
|
6521
6648
|
}
|
|
6522
6649
|
|
|
6523
6650
|
var index$6 = /*#__PURE__*/Object.freeze({
|
|
@@ -6533,20 +6660,24 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6533
6660
|
justifyContent: 'center',
|
|
6534
6661
|
flexDirection: 'column',
|
|
6535
6662
|
alignItems: 'center',
|
|
6663
|
+
padding: ({
|
|
6664
|
+
isMobile
|
|
6665
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
6536
6666
|
backgroundColor: theme?.palette?.background?.default,
|
|
6537
6667
|
'&, & *, & *:before, & *:after': {
|
|
6538
6668
|
fontFamily: theme?.typography?.fontFamily,
|
|
6539
6669
|
boxSizing: 'border-box'
|
|
6540
|
-
},
|
|
6541
|
-
'& h2,& h3': {
|
|
6542
|
-
fontWeight: '500',
|
|
6543
|
-
'& b,& strong': {
|
|
6544
|
-
fontWeight: '700'
|
|
6545
|
-
}
|
|
6546
6670
|
}
|
|
6671
|
+
// '& h2,& h3': {
|
|
6672
|
+
// fontWeight: '500',
|
|
6673
|
+
// '& b,& strong': {
|
|
6674
|
+
// fontWeight: '700'
|
|
6675
|
+
// }
|
|
6676
|
+
// }
|
|
6547
6677
|
},
|
|
6678
|
+
|
|
6548
6679
|
contactContainer: {
|
|
6549
|
-
width: '
|
|
6680
|
+
width: '100%',
|
|
6550
6681
|
margin: '0 auto',
|
|
6551
6682
|
maxWidth: ({
|
|
6552
6683
|
containerWidth
|
|
@@ -6564,13 +6695,12 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6564
6695
|
backgroundColor: theme?.palette?.background?.default,
|
|
6565
6696
|
boxShadow: theme?.shadows?.secondary,
|
|
6566
6697
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6567
|
-
|
|
6568
|
-
padding: '40px 80px',
|
|
6698
|
+
padding: '48px',
|
|
6569
6699
|
position: 'relative'
|
|
6570
6700
|
},
|
|
6571
6701
|
title: {
|
|
6572
6702
|
margin: '0',
|
|
6573
|
-
fontSize:
|
|
6703
|
+
fontSize: theme.typography.fontSize.h2,
|
|
6574
6704
|
color: theme?.palette?.font?.secondary,
|
|
6575
6705
|
lineHeight: '71px',
|
|
6576
6706
|
letterSpacing: '-3px',
|
|
@@ -6580,36 +6710,37 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6580
6710
|
contentContainer: {
|
|
6581
6711
|
width: '100%',
|
|
6582
6712
|
display: 'flex',
|
|
6583
|
-
|
|
6584
|
-
marginTop: '32px',
|
|
6713
|
+
justifyContent: 'space-between',
|
|
6585
6714
|
wordBreak: 'break-word'
|
|
6586
6715
|
},
|
|
6587
6716
|
leftContainer: {
|
|
6588
|
-
width: '50%'
|
|
6717
|
+
width: '50%',
|
|
6718
|
+
display: 'flex',
|
|
6719
|
+
flexDirection: 'column',
|
|
6720
|
+
justifyContent: 'space-between'
|
|
6589
6721
|
},
|
|
6590
6722
|
subtitle: {
|
|
6591
|
-
margin: '0 0
|
|
6592
|
-
fontSize:
|
|
6723
|
+
margin: '0 0 auto 0',
|
|
6724
|
+
fontSize: theme.typography.fontSize.h6,
|
|
6593
6725
|
color: theme?.palette?.font?.primary,
|
|
6594
|
-
lineHeight: '32px'
|
|
6726
|
+
lineHeight: '32px',
|
|
6727
|
+
margin: '20px 0px'
|
|
6595
6728
|
},
|
|
6596
6729
|
addressContainer: {
|
|
6597
6730
|
display: 'flex',
|
|
6598
6731
|
alignItems: 'flex-start',
|
|
6599
6732
|
flexDirection: 'column',
|
|
6600
|
-
width: '
|
|
6601
|
-
position: 'relative'
|
|
6602
|
-
paddingBottom: '55%'
|
|
6603
|
-
// '& img': {
|
|
6604
|
-
// width: '80%'
|
|
6605
|
-
// }
|
|
6733
|
+
width: '100%',
|
|
6734
|
+
position: 'relative'
|
|
6606
6735
|
},
|
|
6607
|
-
|
|
6608
6736
|
telephoneImage: {
|
|
6609
6737
|
width: '80%'
|
|
6610
6738
|
},
|
|
6611
6739
|
rightContainer: {
|
|
6612
6740
|
width: '50%',
|
|
6741
|
+
display: 'flex',
|
|
6742
|
+
flexDirection: 'column',
|
|
6743
|
+
justifyContent: 'space-between',
|
|
6613
6744
|
padding: '0 0 0 80px'
|
|
6614
6745
|
},
|
|
6615
6746
|
inputDiv: {
|
|
@@ -6623,16 +6754,16 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6623
6754
|
background: theme?.palette?.background?.default,
|
|
6624
6755
|
border: `1px solid ${theme?.palette?.border?.secondary}`,
|
|
6625
6756
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6626
|
-
padding: '14px 12px',
|
|
6757
|
+
// padding: '14px 12px',
|
|
6627
6758
|
display: 'flex',
|
|
6628
6759
|
fontWeight: '400',
|
|
6629
|
-
fontSize:
|
|
6760
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
6630
6761
|
lineHeight: '20px',
|
|
6631
6762
|
fontFamily: 'inherit',
|
|
6632
6763
|
resize: 'none',
|
|
6633
6764
|
'&::placeholder': {
|
|
6634
6765
|
fontWeight: '400',
|
|
6635
|
-
fontSize:
|
|
6766
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
6636
6767
|
lineHeight: '20px',
|
|
6637
6768
|
color: theme?.palette?.font?.primary,
|
|
6638
6769
|
fontFamily: theme?.typography?.fontFamily
|
|
@@ -6662,8 +6793,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6662
6793
|
alignItems: 'center'
|
|
6663
6794
|
},
|
|
6664
6795
|
sectionContainer: {
|
|
6665
|
-
|
|
6666
|
-
padding: '32px 16px'
|
|
6796
|
+
padding: '16px'
|
|
6667
6797
|
},
|
|
6668
6798
|
partialBackground: {
|
|
6669
6799
|
height: '150px'
|
|
@@ -6681,15 +6811,17 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6681
6811
|
padding: '0'
|
|
6682
6812
|
},
|
|
6683
6813
|
title: {
|
|
6684
|
-
|
|
6685
|
-
|
|
6686
|
-
|
|
6814
|
+
lineHeight: '26px',
|
|
6815
|
+
letterSpacing: 'initial',
|
|
6816
|
+
textAlign: 'center'
|
|
6687
6817
|
},
|
|
6688
6818
|
subtitle: {
|
|
6689
|
-
margin: '0 0 12px 0'
|
|
6819
|
+
margin: '0 0 12px 0',
|
|
6820
|
+
textAlign: 'center',
|
|
6821
|
+
lineHeight: '26px'
|
|
6690
6822
|
},
|
|
6691
6823
|
addressRow: {
|
|
6692
|
-
padding: '12px 0'
|
|
6824
|
+
// padding: '12px 0'
|
|
6693
6825
|
},
|
|
6694
6826
|
addressContainer: {
|
|
6695
6827
|
'& img': {
|
|
@@ -6697,7 +6829,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6697
6829
|
}
|
|
6698
6830
|
},
|
|
6699
6831
|
inputDiv: {
|
|
6700
|
-
margin: '0 0 10px 0'
|
|
6832
|
+
// margin: '0 0 10px 0'
|
|
6701
6833
|
},
|
|
6702
6834
|
inputField: {
|
|
6703
6835
|
width: '100%',
|
|
@@ -6729,7 +6861,8 @@ function Contact({
|
|
|
6729
6861
|
let [btnDisabled, setBtnDisabled] = useState(false);
|
|
6730
6862
|
const [nodeData] = sectionData.components;
|
|
6731
6863
|
const classes = useSectionStyles({
|
|
6732
|
-
containerWidth
|
|
6864
|
+
containerWidth,
|
|
6865
|
+
isMobile
|
|
6733
6866
|
});
|
|
6734
6867
|
let formInitialValue = {
|
|
6735
6868
|
name: nodeData?.nameField?.metadata?.value,
|
|
@@ -6785,6 +6918,10 @@ function Contact({
|
|
|
6785
6918
|
className: classes.partialBackground
|
|
6786
6919
|
}), /*#__PURE__*/React.createElement("div", {
|
|
6787
6920
|
className: classes.sectionContainer
|
|
6921
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6922
|
+
className: classes.contentContainer
|
|
6923
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6924
|
+
className: classes.leftContainer
|
|
6788
6925
|
}, /*#__PURE__*/React.createElement("h2", {
|
|
6789
6926
|
className: classes.title
|
|
6790
6927
|
}, /*#__PURE__*/React.createElement("span", {
|
|
@@ -6793,10 +6930,6 @@ function Contact({
|
|
|
6793
6930
|
__html: nodeData?.title?.metadata?.value
|
|
6794
6931
|
}
|
|
6795
6932
|
})), /*#__PURE__*/React.createElement("div", {
|
|
6796
|
-
className: classes.contentContainer
|
|
6797
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
6798
|
-
className: classes.leftContainer
|
|
6799
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
6800
6933
|
ref: nodeData?.subtitle?.refSetter,
|
|
6801
6934
|
className: classes.subtitle,
|
|
6802
6935
|
dangerouslySetInnerHTML: {
|
|
@@ -6899,7 +7032,9 @@ function Contact({
|
|
|
6899
7032
|
messageValid: 1
|
|
6900
7033
|
});
|
|
6901
7034
|
}
|
|
6902
|
-
})), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement(
|
|
7035
|
+
})), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement("div", {
|
|
7036
|
+
className: classes.btnContainer
|
|
7037
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
6903
7038
|
ref: nodeData?.cta?.refSetter,
|
|
6904
7039
|
data: btnDisabled && validData?.messageValid && validData?.emailValid && validData?.nameValid && validData?.phoneValid ? {
|
|
6905
7040
|
value: 'Submitted'
|
|
@@ -6911,7 +7046,7 @@ function Contact({
|
|
|
6911
7046
|
size: isMobile ? 'small' : 'medium',
|
|
6912
7047
|
disabled: btnDisabled,
|
|
6913
7048
|
name: "button"
|
|
6914
|
-
}))))));
|
|
7049
|
+
})))))));
|
|
6915
7050
|
}
|
|
6916
7051
|
|
|
6917
7052
|
var index$5 = /*#__PURE__*/Object.freeze({
|
|
@@ -6924,16 +7059,15 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
6924
7059
|
webinarSuperContainer: {
|
|
6925
7060
|
display: 'flex',
|
|
6926
7061
|
justifyContent: 'center',
|
|
6927
|
-
padding:
|
|
7062
|
+
padding: ({
|
|
7063
|
+
isMobile
|
|
7064
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
6928
7065
|
'&, & *, & *:before, & *:after': {
|
|
6929
7066
|
fontFamily: theme?.typography?.fontFamily,
|
|
6930
7067
|
boxSizing: 'border-box'
|
|
6931
7068
|
},
|
|
6932
|
-
'& h2,& h3': {
|
|
6933
|
-
|
|
6934
|
-
'& b,& strong': {
|
|
6935
|
-
fontWeight: '700'
|
|
6936
|
-
}
|
|
7069
|
+
'& h2,& h3,& p': {
|
|
7070
|
+
margin: '0'
|
|
6937
7071
|
}
|
|
6938
7072
|
},
|
|
6939
7073
|
sectionContainer: {
|
|
@@ -6947,30 +7081,34 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
6947
7081
|
maxWidth: '1440px',
|
|
6948
7082
|
fontFamily: theme?.typography?.fontFamily
|
|
6949
7083
|
},
|
|
6950
|
-
videoTestimonialHeading: {
|
|
6951
|
-
|
|
6952
|
-
|
|
6953
|
-
|
|
6954
|
-
|
|
6955
|
-
|
|
6956
|
-
|
|
6957
|
-
|
|
6958
|
-
},
|
|
6959
|
-
|
|
6960
|
-
|
|
6961
|
-
|
|
6962
|
-
|
|
6963
|
-
|
|
6964
|
-
|
|
6965
|
-
|
|
6966
|
-
|
|
6967
|
-
|
|
6968
|
-
|
|
6969
|
-
|
|
7084
|
+
// videoTestimonialHeading: {
|
|
7085
|
+
// fontSize: theme.typography.fontSize.subHead,
|
|
7086
|
+
// lineHeight: '20px',
|
|
7087
|
+
// letterSpacing: '3px',
|
|
7088
|
+
// textTransform: 'uppercase',
|
|
7089
|
+
// color: theme.palette.font.tertiary,
|
|
7090
|
+
// wordBreak: 'break-word',
|
|
7091
|
+
// fontWeight: theme.typography.fontWeight.bold,
|
|
7092
|
+
// },
|
|
7093
|
+
|
|
7094
|
+
// videoTestimonialTitle: {
|
|
7095
|
+
// fontSize: theme.typography.fontSize.h2,
|
|
7096
|
+
// lineHeight: '71px',
|
|
7097
|
+
// fontWeight: theme.typography.fontWeight.bold,
|
|
7098
|
+
// letterSpacing: '-3px',
|
|
7099
|
+
// margin: '0',
|
|
7100
|
+
// color: theme.palette.font.default,
|
|
7101
|
+
// wordBreak: 'break-word'
|
|
7102
|
+
// },
|
|
7103
|
+
|
|
7104
|
+
// videoCarouselContainer: {
|
|
7105
|
+
// marginTop: '16px'
|
|
7106
|
+
// },
|
|
7107
|
+
|
|
6970
7108
|
webinarCarousel: {
|
|
6971
7109
|
display: 'flex',
|
|
6972
7110
|
justifyContent: 'flex-start',
|
|
6973
|
-
gap: '
|
|
7111
|
+
gap: '32px'
|
|
6974
7112
|
},
|
|
6975
7113
|
'@media screen and (max-width: 767px)': {
|
|
6976
7114
|
webinarCarousel: {
|
|
@@ -6985,18 +7123,21 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
6985
7123
|
alignItems: 'center'
|
|
6986
7124
|
},
|
|
6987
7125
|
iframeContainer: {
|
|
6988
|
-
width: '
|
|
7126
|
+
width: '100%',
|
|
6989
7127
|
position: 'relative',
|
|
6990
7128
|
paddingBottom: '56.25%',
|
|
6991
7129
|
// top: "6%",
|
|
6992
|
-
left: '5%'
|
|
7130
|
+
// left: '5%'
|
|
7131
|
+
borderRadius: '8px',
|
|
7132
|
+
overflow: 'hidden'
|
|
6993
7133
|
},
|
|
6994
7134
|
offerText: {
|
|
6995
7135
|
textAlign: 'center',
|
|
6996
|
-
color: theme.palette.font.primary
|
|
7136
|
+
color: theme.palette.font.primary,
|
|
7137
|
+
marginBottom: '5%'
|
|
6997
7138
|
},
|
|
6998
7139
|
offerPrice: {
|
|
6999
|
-
fontSize:
|
|
7140
|
+
fontSize: theme.typography.fontSize.h5,
|
|
7000
7141
|
fontWeight: '600'
|
|
7001
7142
|
},
|
|
7002
7143
|
priceContainer: {
|
|
@@ -7015,9 +7156,10 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7015
7156
|
bottomContainer: {
|
|
7016
7157
|
display: 'flex',
|
|
7017
7158
|
justifyContent: 'space-between',
|
|
7018
|
-
marginTop: '5%'
|
|
7019
|
-
padding: '0px 5% 0px 5%'
|
|
7159
|
+
marginTop: '5%'
|
|
7160
|
+
// padding: '0px 5% 0px 5%'
|
|
7020
7161
|
},
|
|
7162
|
+
|
|
7021
7163
|
iframe: {
|
|
7022
7164
|
position: 'absolute',
|
|
7023
7165
|
width: '100%',
|
|
@@ -7028,10 +7170,12 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7028
7170
|
width: '100%',
|
|
7029
7171
|
display: 'flex',
|
|
7030
7172
|
flexDirection: 'column',
|
|
7031
|
-
alignItems: 'flex-start'
|
|
7173
|
+
alignItems: 'flex-start',
|
|
7174
|
+
gap: '20px'
|
|
7032
7175
|
},
|
|
7033
7176
|
videoDetailsHeading: {
|
|
7034
|
-
fontSize:
|
|
7177
|
+
fontSize: theme.typography.fontSize.h3,
|
|
7178
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
7035
7179
|
lineHeight: '48px',
|
|
7036
7180
|
margin: '0',
|
|
7037
7181
|
letterSpacing: '-1px',
|
|
@@ -7045,7 +7189,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7045
7189
|
display: 'flex',
|
|
7046
7190
|
flexDirection: 'column',
|
|
7047
7191
|
justifyContent: 'start',
|
|
7048
|
-
|
|
7192
|
+
padding: '24px',
|
|
7049
7193
|
borderRadius: '10px'
|
|
7050
7194
|
},
|
|
7051
7195
|
bannerContainer: {
|
|
@@ -7058,14 +7202,12 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7058
7202
|
position: 'relative',
|
|
7059
7203
|
fontSize: '18px',
|
|
7060
7204
|
transform: 'rotate(180deg)',
|
|
7061
|
-
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
7062
|
-
marginBottom: '16px'
|
|
7205
|
+
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
7063
7206
|
},
|
|
7064
7207
|
bannerContainerText: {
|
|
7065
7208
|
transform: 'rotate(180deg)'
|
|
7066
7209
|
},
|
|
7067
7210
|
courseDetailsTags: {
|
|
7068
|
-
marginTop: '16px',
|
|
7069
7211
|
display: 'flex'
|
|
7070
7212
|
},
|
|
7071
7213
|
courseDetailTag: {
|
|
@@ -7073,23 +7215,22 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7073
7215
|
alignItems: 'center',
|
|
7074
7216
|
marginRight: '20px',
|
|
7075
7217
|
'& div': {
|
|
7076
|
-
fontSize:
|
|
7218
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7077
7219
|
marginLeft: '10px'
|
|
7078
7220
|
}
|
|
7079
7221
|
},
|
|
7080
7222
|
courseDetailContent: {
|
|
7081
|
-
|
|
7082
|
-
fontSize: '16px',
|
|
7223
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7083
7224
|
wordBreak: 'break-word',
|
|
7084
7225
|
color: theme.palette.font.primary,
|
|
7085
|
-
|
|
7086
|
-
|
|
7226
|
+
whiteSpace: 'pre-wrap',
|
|
7227
|
+
width: '80%'
|
|
7087
7228
|
},
|
|
7088
7229
|
courseDetailViewFullDetails: {
|
|
7089
7230
|
cursor: 'pointer',
|
|
7090
|
-
fontSize:
|
|
7231
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7091
7232
|
lineHeight: '24px',
|
|
7092
|
-
|
|
7233
|
+
marginTop: '-20px',
|
|
7093
7234
|
color: '#00ADE7',
|
|
7094
7235
|
wordBreak: 'break-word'
|
|
7095
7236
|
},
|
|
@@ -7097,9 +7238,10 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7097
7238
|
color: '#EB5757',
|
|
7098
7239
|
fontWeight: '600'
|
|
7099
7240
|
},
|
|
7100
|
-
webinarButtonContainer: {
|
|
7101
|
-
|
|
7102
|
-
},
|
|
7241
|
+
// webinarButtonContainer: {
|
|
7242
|
+
// marginBottom: '20px'
|
|
7243
|
+
// },
|
|
7244
|
+
|
|
7103
7245
|
iconBackground: {
|
|
7104
7246
|
display: 'flex',
|
|
7105
7247
|
width: '36px',
|
|
@@ -7131,11 +7273,10 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7131
7273
|
width: '100%'
|
|
7132
7274
|
},
|
|
7133
7275
|
videoDetailsHeading: {
|
|
7134
|
-
fontSize: '16px',
|
|
7135
7276
|
lineHeight: '20px'
|
|
7136
7277
|
},
|
|
7137
7278
|
videoTestimonialTitle: {
|
|
7138
|
-
fontSize: '24px',
|
|
7279
|
+
// fontSize: '24px',
|
|
7139
7280
|
lineHeight: '36px',
|
|
7140
7281
|
letterSpacing: '-1px'
|
|
7141
7282
|
},
|
|
@@ -7165,9 +7306,7 @@ const SingleVideoSlide$1 = props => {
|
|
|
7165
7306
|
const {
|
|
7166
7307
|
data,
|
|
7167
7308
|
webinarCtaClick,
|
|
7168
|
-
conversions = 0
|
|
7169
|
-
countryCode,
|
|
7170
|
-
currencySymbol
|
|
7309
|
+
conversions = 0
|
|
7171
7310
|
} = props;
|
|
7172
7311
|
const renderer = ({
|
|
7173
7312
|
days,
|
|
@@ -7177,14 +7316,11 @@ const SingleVideoSlide$1 = props => {
|
|
|
7177
7316
|
completed
|
|
7178
7317
|
}) => {
|
|
7179
7318
|
if (days === 0 && hours < 24) {
|
|
7180
|
-
if (countryCode === 'KR') {
|
|
7181
|
-
return /*#__PURE__*/React.createElement("span", null, hours, " \uC2DC\uAC04 ", minutes, " \uBD84 ", seconds, "\uCD08");
|
|
7182
|
-
}
|
|
7183
7319
|
return /*#__PURE__*/React.createElement("span", null, hours, "h ", minutes, "m ", seconds, "s");
|
|
7184
7320
|
} else {
|
|
7185
7321
|
let given = moment(props.data.offerPriceEndDate);
|
|
7186
7322
|
let current = moment().startOf('day');
|
|
7187
|
-
return /*#__PURE__*/React.createElement("span", null, Math.floor(moment.duration(given.diff(current)).asDays()),
|
|
7323
|
+
return /*#__PURE__*/React.createElement("span", null, Math.floor(moment.duration(given.diff(current)).asDays()), " day(s)");
|
|
7188
7324
|
}
|
|
7189
7325
|
};
|
|
7190
7326
|
const checkIfOfferIsValid = () => moment().diff(moment(props.data.offerPriceEndDate)) < 0;
|
|
@@ -7216,44 +7352,6 @@ const SingleVideoSlide$1 = props => {
|
|
|
7216
7352
|
return (discount / price * 100).toFixed(2);
|
|
7217
7353
|
};
|
|
7218
7354
|
const classes = useWebinarPromotionPage();
|
|
7219
|
-
const effectivePrice = formatCurrency(countryCode, data?.effectivePrice, currencySymbol);
|
|
7220
|
-
const renderHurryUpBannerText = () => {
|
|
7221
|
-
let count = data.offerPriceValidFor - conversions;
|
|
7222
|
-
if (countryCode === 'KR') {
|
|
7223
|
-
if (count > 1) {
|
|
7224
|
-
return `서두르세요! 현재 신청 가능 인원은 ${count}명 입니다.`;
|
|
7225
|
-
} else {
|
|
7226
|
-
return `서두르세요! ${count}명까지만 신청 가능이 가능합니다.`;
|
|
7227
|
-
}
|
|
7228
|
-
} else {
|
|
7229
|
-
return `Hurry up! Offer left for ${count} ${count > 1 ? 'users now' : 'user only'}`;
|
|
7230
|
-
}
|
|
7231
|
-
};
|
|
7232
|
-
const limitedPeriodOfferText = countryCode === 'KR' ? '기간 한정 딜이므로 서두르세요!' : 'Hurry up! Offer for limited period only';
|
|
7233
|
-
const renderOfferEndsInText = () => {
|
|
7234
|
-
if (countryCode === 'KR') {
|
|
7235
|
-
return /*#__PURE__*/React.createElement("p", {
|
|
7236
|
-
className: classes.offerText
|
|
7237
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
7238
|
-
className: classes.courseDetailTime
|
|
7239
|
-
}, /*#__PURE__*/React.createElement(Countdown, {
|
|
7240
|
-
renderer: renderer,
|
|
7241
|
-
date: data.offerPriceEndDate
|
|
7242
|
-
})), ' ', "\uD6C4\xA0\uC2E0\uCCAD\xA0\uB9C8\uAC10\xA0\uC608\uC815");
|
|
7243
|
-
} else {
|
|
7244
|
-
return /*#__PURE__*/React.createElement("p", {
|
|
7245
|
-
className: classes.offerText
|
|
7246
|
-
}, "Offer Ends in", ' ', /*#__PURE__*/React.createElement("span", {
|
|
7247
|
-
className: classes.courseDetailTime
|
|
7248
|
-
}, /*#__PURE__*/React.createElement(Countdown, {
|
|
7249
|
-
renderer: renderer,
|
|
7250
|
-
date: data.offerPriceEndDate
|
|
7251
|
-
})));
|
|
7252
|
-
}
|
|
7253
|
-
};
|
|
7254
|
-
const finalPrice = formatCurrency(countryCode, data?.price, currencySymbol);
|
|
7255
|
-
const buyNowText = countryCode === 'KR' ? '이 강좌를 수강하세요.' : 'BUY NOW';
|
|
7256
|
-
const registerNowText = countryCode === 'KR' ? '지금 신청하기' : 'REGISTER NOW';
|
|
7257
7355
|
return /*#__PURE__*/React.createElement("div", {
|
|
7258
7356
|
className: classes.videoCarouselContainer
|
|
7259
7357
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -7266,11 +7364,11 @@ const SingleVideoSlide$1 = props => {
|
|
|
7266
7364
|
className: classes.bannerContainer
|
|
7267
7365
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7268
7366
|
className: classes.bannerContainerText
|
|
7269
|
-
},
|
|
7367
|
+
}, "Hurry up! Offer left for", ' ', data.offerPriceValidFor - conversions, ' ', data.offerPriceValidFor - conversions > 1 ? 'users now' : 'user only')) : checkIfOfferIsValid() && data.offerPriceValidFor !== null ? data.offerPriceValidFor - conversions > 0 : /*#__PURE__*/React.createElement("div", {
|
|
7270
7368
|
className: classes.bannerContainer
|
|
7271
7369
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7272
7370
|
className: classes.bannerContainerText
|
|
7273
|
-
},
|
|
7371
|
+
}, "Hurry up! Offer for limited period only"))), /*#__PURE__*/React.createElement("h3", {
|
|
7274
7372
|
ref: data?.videoTextHeading?.refSetter,
|
|
7275
7373
|
className: classes.videoDetailsHeading,
|
|
7276
7374
|
dangerouslySetInnerHTML: {
|
|
@@ -7310,7 +7408,14 @@ const SingleVideoSlide$1 = props => {
|
|
|
7310
7408
|
}
|
|
7311
7409
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
7312
7410
|
className: classes.courseViewContainer
|
|
7313
|
-
}, data.isPaid !== 0 && checkIfOfferIsValid() && (data.offerPriceValidFor !== null ? data.offerPriceValidFor - conversions > 0 : true) &&
|
|
7411
|
+
}, data.isPaid !== 0 && checkIfOfferIsValid() && (data.offerPriceValidFor !== null ? data.offerPriceValidFor - conversions > 0 : true) && /*#__PURE__*/React.createElement("p", {
|
|
7412
|
+
className: classes.offerText
|
|
7413
|
+
}, "Offer Ends in", ' ', /*#__PURE__*/React.createElement("span", {
|
|
7414
|
+
className: classes.courseDetailTime
|
|
7415
|
+
}, /*#__PURE__*/React.createElement(Countdown, {
|
|
7416
|
+
renderer: renderer,
|
|
7417
|
+
date: data.offerPriceEndDate
|
|
7418
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
7314
7419
|
ref: data?.videoFrame?.refSetter,
|
|
7315
7420
|
className: classes.iframeContainer
|
|
7316
7421
|
}, /*#__PURE__*/React.createElement(VideoPlayer, {
|
|
@@ -7327,14 +7432,13 @@ const SingleVideoSlide$1 = props => {
|
|
|
7327
7432
|
className: classes.priceContainer
|
|
7328
7433
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7329
7434
|
className: classes.offerPrice
|
|
7330
|
-
}, effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("p", {
|
|
7435
|
+
}, "\u20B9", data?.effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("p", {
|
|
7331
7436
|
style: {
|
|
7332
|
-
fontSize: '20px'
|
|
7333
|
-
marginTop: '0px'
|
|
7437
|
+
fontSize: '20px'
|
|
7334
7438
|
}
|
|
7335
7439
|
}, /*#__PURE__*/React.createElement("span", {
|
|
7336
7440
|
className: classes.originalPrice
|
|
7337
|
-
},
|
|
7441
|
+
}, "\u20B9", data?.price), ' ', /*#__PURE__*/React.createElement("span", {
|
|
7338
7442
|
className: classes.offerDiscount
|
|
7339
7443
|
}, `${data && discount(data)}%`))) : null, /*#__PURE__*/React.createElement("div", {
|
|
7340
7444
|
className: classes.webinarButtonContainer
|
|
@@ -7346,7 +7450,7 @@ const SingleVideoSlide$1 = props => {
|
|
|
7346
7450
|
data: {
|
|
7347
7451
|
// link: 'headerData?.loginCtaLink',
|
|
7348
7452
|
// isLink: 1,
|
|
7349
|
-
value: data.isPaid ?
|
|
7453
|
+
value: data.isPaid ? 'BUY NOW' : 'REGISTER NOW'
|
|
7350
7454
|
// isExternal: 1
|
|
7351
7455
|
},
|
|
7352
7456
|
|
|
@@ -7364,14 +7468,14 @@ function CoursePromotionPage$1({
|
|
|
7364
7468
|
sectionIndex
|
|
7365
7469
|
}) {
|
|
7366
7470
|
const {
|
|
7471
|
+
isMobile,
|
|
7367
7472
|
layout: {
|
|
7368
7473
|
containerWidth
|
|
7369
|
-
}
|
|
7370
|
-
countryCode,
|
|
7371
|
-
currencySymbol
|
|
7474
|
+
}
|
|
7372
7475
|
} = useContext(PageContext);
|
|
7373
7476
|
const classes = useWebinarPromotionPage({
|
|
7374
|
-
containerWidth
|
|
7477
|
+
containerWidth,
|
|
7478
|
+
isMobile
|
|
7375
7479
|
});
|
|
7376
7480
|
return /*#__PURE__*/React.createElement("div", {
|
|
7377
7481
|
className: classes.webinarSuperContainer
|
|
@@ -7383,9 +7487,7 @@ function CoursePromotionPage$1({
|
|
|
7383
7487
|
data: sectionData.components[0].metadata,
|
|
7384
7488
|
webinarCtaClick: extraProps.webinarCtaClick,
|
|
7385
7489
|
conversions: extraProps.conversions,
|
|
7386
|
-
sectionIndex: sectionIndex
|
|
7387
|
-
countryCode: countryCode,
|
|
7388
|
-
currencySymbol: currencySymbol
|
|
7490
|
+
sectionIndex: sectionIndex
|
|
7389
7491
|
}))));
|
|
7390
7492
|
}
|
|
7391
7493
|
|
|
@@ -7399,18 +7501,21 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7399
7501
|
courseSuperContainer: {
|
|
7400
7502
|
display: 'flex',
|
|
7401
7503
|
justifyContent: 'center',
|
|
7402
|
-
padding:
|
|
7504
|
+
padding: ({
|
|
7505
|
+
isMobile
|
|
7506
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
7403
7507
|
'&, & *, & *:before, & *:after': {
|
|
7404
7508
|
fontFamily: theme?.typography?.fontFamily,
|
|
7405
7509
|
boxSizing: 'border-box'
|
|
7406
|
-
},
|
|
7407
|
-
'& h2,& h3': {
|
|
7408
|
-
fontWeight: '500',
|
|
7409
|
-
'& b,& strong': {
|
|
7410
|
-
fontWeight: '700'
|
|
7411
|
-
}
|
|
7412
7510
|
}
|
|
7511
|
+
// '& h2,& h3': {
|
|
7512
|
+
// fontWeight: '500',
|
|
7513
|
+
// '& b,& strong': {
|
|
7514
|
+
// fontWeight: '700'
|
|
7515
|
+
// }
|
|
7516
|
+
// }
|
|
7413
7517
|
},
|
|
7518
|
+
|
|
7414
7519
|
sectionContainer: {
|
|
7415
7520
|
margin: '0 auto',
|
|
7416
7521
|
maxWidth: ({
|
|
@@ -7423,7 +7528,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7423
7528
|
fontFamily: theme?.typography?.fontFamily
|
|
7424
7529
|
},
|
|
7425
7530
|
videoTestimonialHeading: {
|
|
7426
|
-
fontSize:
|
|
7531
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7427
7532
|
lineHeight: '20px',
|
|
7428
7533
|
letterSpacing: '3px',
|
|
7429
7534
|
textTransform: 'uppercase',
|
|
@@ -7432,7 +7537,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7432
7537
|
fontWeight: '700'
|
|
7433
7538
|
},
|
|
7434
7539
|
videoTestimonialTitle: {
|
|
7435
|
-
fontSize:
|
|
7540
|
+
fontSize: theme.typography.fontSize.h2,
|
|
7436
7541
|
lineHeight: '71px',
|
|
7437
7542
|
letterSpacing: '-3px',
|
|
7438
7543
|
margin: '0',
|
|
@@ -7440,12 +7545,12 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7440
7545
|
wordBreak: 'break-word'
|
|
7441
7546
|
},
|
|
7442
7547
|
videoCarouselContainer: {
|
|
7443
|
-
marginTop: '16px'
|
|
7548
|
+
// marginTop: '16px'
|
|
7444
7549
|
},
|
|
7445
7550
|
coursePageCarousel: {
|
|
7446
7551
|
display: 'flex',
|
|
7447
7552
|
justifyContent: 'flex-start',
|
|
7448
|
-
gap: '
|
|
7553
|
+
gap: '32px'
|
|
7449
7554
|
},
|
|
7450
7555
|
'@media screen and (max-width: 767px)': {
|
|
7451
7556
|
coursePageCarousel: {
|
|
@@ -7460,18 +7565,19 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7460
7565
|
alignItems: 'center'
|
|
7461
7566
|
},
|
|
7462
7567
|
iframeContainer: {
|
|
7463
|
-
width: '
|
|
7568
|
+
width: '100%',
|
|
7464
7569
|
position: 'relative',
|
|
7465
|
-
paddingBottom: '56.25%'
|
|
7570
|
+
paddingBottom: '56.25%'
|
|
7466
7571
|
// top: "6%",
|
|
7467
|
-
left: '5%'
|
|
7572
|
+
// left: '5%'
|
|
7468
7573
|
},
|
|
7574
|
+
|
|
7469
7575
|
offerText: {
|
|
7470
7576
|
textAlign: 'center',
|
|
7471
7577
|
color: theme.palette.font.primary
|
|
7472
7578
|
},
|
|
7473
7579
|
offerPrice: {
|
|
7474
|
-
fontSize:
|
|
7580
|
+
fontSize: theme.typography.fontSize.h4,
|
|
7475
7581
|
fontWeight: '700'
|
|
7476
7582
|
},
|
|
7477
7583
|
priceContainer: {
|
|
@@ -7489,7 +7595,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7489
7595
|
fontWeight: '600'
|
|
7490
7596
|
},
|
|
7491
7597
|
bottomContainer: {
|
|
7492
|
-
width: '
|
|
7598
|
+
width: '100%',
|
|
7493
7599
|
marginLeft: 'auto',
|
|
7494
7600
|
marginRight: 'auto',
|
|
7495
7601
|
display: 'flex',
|
|
@@ -7506,10 +7612,11 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7506
7612
|
width: '100%',
|
|
7507
7613
|
display: 'flex',
|
|
7508
7614
|
flexDirection: 'column',
|
|
7509
|
-
alignItems: 'flex-start'
|
|
7615
|
+
alignItems: 'flex-start',
|
|
7616
|
+
gap: '20px'
|
|
7510
7617
|
},
|
|
7511
7618
|
videoDetailsHeading: {
|
|
7512
|
-
fontSize:
|
|
7619
|
+
fontSize: theme.typography.fontSize.h3,
|
|
7513
7620
|
lineHeight: '48px',
|
|
7514
7621
|
margin: '0',
|
|
7515
7622
|
letterSpacing: '-1px',
|
|
@@ -7520,11 +7627,13 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7520
7627
|
width: '445px',
|
|
7521
7628
|
backgroundColor: '#f4f9ff',
|
|
7522
7629
|
display: 'flex',
|
|
7630
|
+
padding: '24px',
|
|
7523
7631
|
flexDirection: 'column',
|
|
7524
|
-
borderRadius: '10px'
|
|
7525
|
-
paddingBottom: '10px',
|
|
7526
|
-
paddingTop: '10px'
|
|
7632
|
+
borderRadius: '10px'
|
|
7633
|
+
// paddingBottom: '10px',
|
|
7634
|
+
// paddingTop: '10px'
|
|
7527
7635
|
},
|
|
7636
|
+
|
|
7528
7637
|
bannerContainer: {
|
|
7529
7638
|
width: '100%',
|
|
7530
7639
|
background: '#EB5757',
|
|
@@ -7533,11 +7642,12 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7533
7642
|
padding: '10px 10px 23px 40px',
|
|
7534
7643
|
wordWrap: 'break-word',
|
|
7535
7644
|
position: 'relative',
|
|
7536
|
-
fontSize:
|
|
7645
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7537
7646
|
transform: 'rotate(180deg)',
|
|
7538
|
-
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
7539
|
-
marginBottom: '16px'
|
|
7647
|
+
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
7648
|
+
// marginBottom: '16px'
|
|
7540
7649
|
},
|
|
7650
|
+
|
|
7541
7651
|
bannerContainerText: {
|
|
7542
7652
|
transform: 'rotate(180deg)'
|
|
7543
7653
|
},
|
|
@@ -7548,16 +7658,15 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7548
7658
|
},
|
|
7549
7659
|
courseEmblem: {
|
|
7550
7660
|
background: '#F0F4F8',
|
|
7661
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7551
7662
|
borderRadius: '2.00337px',
|
|
7552
7663
|
padding: '8px',
|
|
7553
7664
|
display: 'flex',
|
|
7554
7665
|
alignItems: 'center',
|
|
7555
|
-
justifyContent: 'center'
|
|
7556
|
-
marginTop: '20px',
|
|
7557
|
-
marginBottom: '20px'
|
|
7666
|
+
justifyContent: 'center'
|
|
7558
7667
|
},
|
|
7559
7668
|
courseDetailsTags: {
|
|
7560
|
-
marginTop: '16px',
|
|
7669
|
+
// marginTop: '16px',
|
|
7561
7670
|
display: 'flex',
|
|
7562
7671
|
flexWrap: 'wrap'
|
|
7563
7672
|
},
|
|
@@ -7567,13 +7676,14 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7567
7676
|
alignItems: 'center',
|
|
7568
7677
|
marginRight: '20px',
|
|
7569
7678
|
'& div': {
|
|
7570
|
-
fontSize:
|
|
7679
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7680
|
+
fontWeight: theme.typography.fontWeight.semiBold,
|
|
7571
7681
|
marginLeft: '10px'
|
|
7572
7682
|
}
|
|
7573
7683
|
},
|
|
7574
7684
|
courseDetailContent: {
|
|
7575
|
-
marginTop: '16px',
|
|
7576
|
-
fontSize:
|
|
7685
|
+
// marginTop: '16px',
|
|
7686
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7577
7687
|
lineHeight: '24px',
|
|
7578
7688
|
wordBreak: 'break-word',
|
|
7579
7689
|
color: theme.palette.font.primary,
|
|
@@ -7582,9 +7692,9 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7582
7692
|
},
|
|
7583
7693
|
courseDetailViewFullDetails: {
|
|
7584
7694
|
cursor: 'pointer',
|
|
7585
|
-
fontSize:
|
|
7695
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7586
7696
|
lineHeight: '24px',
|
|
7587
|
-
|
|
7697
|
+
marginTop: '-24px',
|
|
7588
7698
|
color: '#00ADE7',
|
|
7589
7699
|
wordBreak: 'break-word'
|
|
7590
7700
|
},
|
|
@@ -7631,33 +7741,34 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7631
7741
|
},
|
|
7632
7742
|
'@media (max-width: 767px)': {
|
|
7633
7743
|
bannerContainerText: {
|
|
7634
|
-
fontSize: '16px'
|
|
7744
|
+
// fontSize: '16px'
|
|
7635
7745
|
},
|
|
7636
7746
|
courseViewContainer: {
|
|
7637
7747
|
width: '100%',
|
|
7638
7748
|
paddingBottom: '10px'
|
|
7639
7749
|
},
|
|
7640
|
-
courseSuperContainer: {
|
|
7641
|
-
|
|
7642
|
-
},
|
|
7750
|
+
// courseSuperContainer: {
|
|
7751
|
+
// padding: '20px 10px 60px 20px'
|
|
7752
|
+
// },
|
|
7643
7753
|
videoCarousel: {
|
|
7644
7754
|
flexDirection: 'column-reverse',
|
|
7645
7755
|
gap: '20px'
|
|
7646
7756
|
},
|
|
7647
7757
|
videoCarouselContainer: {
|
|
7648
|
-
height: 'max-content'
|
|
7649
|
-
paddingRight: '10px'
|
|
7758
|
+
height: 'max-content'
|
|
7759
|
+
// paddingRight: '10px'
|
|
7650
7760
|
},
|
|
7761
|
+
|
|
7651
7762
|
videoDetails: {
|
|
7652
7763
|
width: '100%'
|
|
7653
7764
|
},
|
|
7654
7765
|
videoDetailsHeading: {
|
|
7655
|
-
fontSize: '20px',
|
|
7766
|
+
// fontSize: '20px',
|
|
7656
7767
|
fontWeight: '600',
|
|
7657
7768
|
lineHeight: '20px'
|
|
7658
7769
|
},
|
|
7659
7770
|
videoTestimonialTitle: {
|
|
7660
|
-
fontSize: '24px',
|
|
7771
|
+
// fontSize: '24px',
|
|
7661
7772
|
lineHeight: '36px',
|
|
7662
7773
|
letterSpacing: '-1px'
|
|
7663
7774
|
},
|
|
@@ -7695,23 +7806,18 @@ const SingleVideoSlide = props => {
|
|
|
7695
7806
|
completed
|
|
7696
7807
|
}) => {
|
|
7697
7808
|
if (days === 0 && hours < 24) {
|
|
7698
|
-
if (countryCode === 'KR') {
|
|
7699
|
-
return /*#__PURE__*/React.createElement("span", null, hours, " \uC2DC\uAC04 ", minutes, " \uBD84 ", seconds, "\uCD08");
|
|
7700
|
-
}
|
|
7701
7809
|
return /*#__PURE__*/React.createElement("span", null, hours, "h ", minutes, "m ", seconds, "s");
|
|
7702
7810
|
} else {
|
|
7703
7811
|
let given = moment(props.data.endDate);
|
|
7704
7812
|
let current = moment().startOf('day');
|
|
7705
|
-
return /*#__PURE__*/React.createElement("span", null, Math.floor(moment.duration(given.diff(current)).asDays()),
|
|
7813
|
+
return /*#__PURE__*/React.createElement("span", null, Math.floor(moment.duration(given.diff(current)).asDays()), " day(s)");
|
|
7706
7814
|
}
|
|
7707
7815
|
};
|
|
7708
7816
|
const {
|
|
7709
7817
|
data,
|
|
7710
7818
|
courseBuyNow,
|
|
7711
7819
|
conversions = 20,
|
|
7712
|
-
showCourseInstallment
|
|
7713
|
-
countryCode,
|
|
7714
|
-
currencySymbol
|
|
7820
|
+
showCourseInstallment
|
|
7715
7821
|
} = props;
|
|
7716
7822
|
const showCourseInstallmentData = data?.courseOverviewData;
|
|
7717
7823
|
const InstalmentData = isEdit ? data?.courseOverviewData?.installments?.formData?.installments[0].installmentAmount : data?.courseOverviewData?.installments?.formData?.installmentInfo?.installments[0].installmentPrice;
|
|
@@ -7744,34 +7850,6 @@ const SingleVideoSlide = props => {
|
|
|
7744
7850
|
}) => {
|
|
7745
7851
|
return (discount / price * 100).toFixed(2);
|
|
7746
7852
|
};
|
|
7747
|
-
const renderHurryUpBannerText = () => {
|
|
7748
|
-
return countryCode === 'KR' ? `서두르세요! 현재 신청 가능 인원은 ${data.offerPriceValidFor - conversions}명 입니다.` : `Hurry up! Offer left for ${data.offerPriceValidFor - conversions} users now`;
|
|
7749
|
-
};
|
|
7750
|
-
const limitedPeriodOfferText = countryCode === 'KR' ? `기간 한정 딜이므로 서두르세요!` : 'Hurry up! Offer for limited period only';
|
|
7751
|
-
const renderOfferEndsInText = () => {
|
|
7752
|
-
if (countryCode === 'KR') {
|
|
7753
|
-
return /*#__PURE__*/React.createElement("p", {
|
|
7754
|
-
className: classes.offerText
|
|
7755
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
7756
|
-
className: classes.courseDetailTime
|
|
7757
|
-
}, /*#__PURE__*/React.createElement(Countdown, {
|
|
7758
|
-
renderer: renderer,
|
|
7759
|
-
date: data.endDate
|
|
7760
|
-
})), ' ', "\uD6C4\xA0\uC2E0\uCCAD\xA0\uB9C8\uAC10\xA0\uC608\uC815");
|
|
7761
|
-
} else {
|
|
7762
|
-
return /*#__PURE__*/React.createElement("p", {
|
|
7763
|
-
className: classes.offerText
|
|
7764
|
-
}, "Offer Ends in", ' ', /*#__PURE__*/React.createElement("span", {
|
|
7765
|
-
className: classes.courseDetailTime
|
|
7766
|
-
}, /*#__PURE__*/React.createElement(Countdown, {
|
|
7767
|
-
renderer: renderer,
|
|
7768
|
-
date: data.endDate
|
|
7769
|
-
})));
|
|
7770
|
-
}
|
|
7771
|
-
};
|
|
7772
|
-
const effectivePrice = formatCurrency(countryCode, data?.effectivePrice, currencySymbol);
|
|
7773
|
-
const finalPrice = formatCurrency(countryCode, data?.price, currencySymbol);
|
|
7774
|
-
const buyNowText = countryCode === 'KR' ? '이 강좌를 수강하세요.' : 'BUY NOW';
|
|
7775
7853
|
return /*#__PURE__*/React.createElement("div", {
|
|
7776
7854
|
className: classes.videoCarouselContainer
|
|
7777
7855
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -7784,11 +7862,11 @@ const SingleVideoSlide = props => {
|
|
|
7784
7862
|
className: classes.bannerContainer
|
|
7785
7863
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7786
7864
|
className: classes.bannerContainerText
|
|
7787
|
-
},
|
|
7865
|
+
}, "Hurry up! Offer left for", ' ', data.offerPriceValidFor - conversions, " users now")) : checkIfOfferIsValid() && /*#__PURE__*/React.createElement("div", {
|
|
7788
7866
|
className: classes.bannerContainer
|
|
7789
7867
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7790
7868
|
className: classes.bannerContainerText
|
|
7791
|
-
},
|
|
7869
|
+
}, "Hurry up! Offer for limited period only"))), /*#__PURE__*/React.createElement("div", {
|
|
7792
7870
|
className: classes.emblemContainer
|
|
7793
7871
|
}, data?.courseOverviewData?.courseTagList.length && data?.courseOverviewData?.courseTagList?.map(data => {
|
|
7794
7872
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -7853,7 +7931,14 @@ const SingleVideoSlide = props => {
|
|
|
7853
7931
|
}
|
|
7854
7932
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7855
7933
|
className: classes.courseViewContainer
|
|
7856
|
-
}, checkIfOfferIsValid() && (data.offerPriceValidFor !== null ? data.offerPriceValidFor - conversions > 0 : true) &&
|
|
7934
|
+
}, checkIfOfferIsValid() && (data.offerPriceValidFor !== null ? data.offerPriceValidFor - conversions > 0 : true) && /*#__PURE__*/React.createElement("p", {
|
|
7935
|
+
className: classes.offerText
|
|
7936
|
+
}, "Offer Ends in", ' ', /*#__PURE__*/React.createElement("span", {
|
|
7937
|
+
className: classes.courseDetailTime
|
|
7938
|
+
}, /*#__PURE__*/React.createElement(Countdown, {
|
|
7939
|
+
renderer: renderer,
|
|
7940
|
+
date: data.endDate
|
|
7941
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
7857
7942
|
ref: data?.videoFrame?.refSetter,
|
|
7858
7943
|
className: classes.iframeContainer
|
|
7859
7944
|
}, /*#__PURE__*/React.createElement(VideoPlayer, {
|
|
@@ -7867,14 +7952,14 @@ const SingleVideoSlide = props => {
|
|
|
7867
7952
|
className: classes.priceContainer
|
|
7868
7953
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7869
7954
|
className: classes.offerPrice
|
|
7870
|
-
}, effectivePrice), checkForShowDiscount() && (data.endDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("p", {
|
|
7955
|
+
}, "\u20B9 ", data.effectivePrice), checkForShowDiscount() && (data.endDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("p", {
|
|
7871
7956
|
style: {
|
|
7872
|
-
fontSize: '20px',
|
|
7957
|
+
// fontSize: '20px',
|
|
7873
7958
|
marginTop: '0px'
|
|
7874
7959
|
}
|
|
7875
7960
|
}, /*#__PURE__*/React.createElement("span", {
|
|
7876
7961
|
className: classes.originalPrice
|
|
7877
|
-
},
|
|
7962
|
+
}, "\u20B9 ", data.price), ' ', /*#__PURE__*/React.createElement("span", {
|
|
7878
7963
|
className: classes.offerDiscount
|
|
7879
7964
|
}, `${data && discount(data)}%`))), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
|
|
7880
7965
|
style: {
|
|
@@ -7883,7 +7968,7 @@ const SingleVideoSlide = props => {
|
|
|
7883
7968
|
data: {
|
|
7884
7969
|
// link: 'headerData?.loginCtaLink',
|
|
7885
7970
|
// isLink: 1,
|
|
7886
|
-
value:
|
|
7971
|
+
value: 'BUY NOW'
|
|
7887
7972
|
// isExternal: 1
|
|
7888
7973
|
},
|
|
7889
7974
|
|
|
@@ -7919,14 +8004,14 @@ function CoursePromotionPage({
|
|
|
7919
8004
|
sectionIndex
|
|
7920
8005
|
}) {
|
|
7921
8006
|
const {
|
|
8007
|
+
isMobile,
|
|
7922
8008
|
layout: {
|
|
7923
8009
|
containerWidth
|
|
7924
|
-
}
|
|
7925
|
-
countryCode,
|
|
7926
|
-
currencySymbol
|
|
8010
|
+
}
|
|
7927
8011
|
} = useContext(PageContext);
|
|
7928
8012
|
const classes = useCoursePromotionPage({
|
|
7929
|
-
containerWidth
|
|
8013
|
+
containerWidth,
|
|
8014
|
+
isMobile
|
|
7930
8015
|
});
|
|
7931
8016
|
return /*#__PURE__*/React.createElement("div", {
|
|
7932
8017
|
className: classes.courseSuperContainer
|
|
@@ -7939,9 +8024,7 @@ function CoursePromotionPage({
|
|
|
7939
8024
|
courseBuyNow: extraProps.courseBuyNow,
|
|
7940
8025
|
showCourseInstallment: extraProps.showCourseInstallment,
|
|
7941
8026
|
conversions: extraProps.conversions,
|
|
7942
|
-
sectionIndex: sectionIndex
|
|
7943
|
-
countryCode: countryCode,
|
|
7944
|
-
currencySymbol: currencySymbol
|
|
8027
|
+
sectionIndex: sectionIndex
|
|
7945
8028
|
}))));
|
|
7946
8029
|
}
|
|
7947
8030
|
|
|
@@ -7952,7 +8035,9 @@ var index$3 = /*#__PURE__*/Object.freeze({
|
|
|
7952
8035
|
|
|
7953
8036
|
const useFormPageStyles = createUseStyles(theme => ({
|
|
7954
8037
|
formPageSection: {
|
|
7955
|
-
padding:
|
|
8038
|
+
padding: ({
|
|
8039
|
+
isMobile
|
|
8040
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
7956
8041
|
background: '#F4F9FF',
|
|
7957
8042
|
'&, & *, & *:before, & *:after': {
|
|
7958
8043
|
fontFamily: theme?.typography?.fontFamily,
|
|
@@ -7963,77 +8048,82 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
7963
8048
|
textAlign: 'center'
|
|
7964
8049
|
},
|
|
7965
8050
|
formPageTitle: {
|
|
7966
|
-
fontSize:
|
|
7967
|
-
fontWeight:
|
|
8051
|
+
fontSize: theme.typography.fontSize.h2,
|
|
8052
|
+
fontWeight: theme.typography.fontWeight.bold
|
|
7968
8053
|
},
|
|
7969
8054
|
formPageSubtitle: {
|
|
7970
|
-
marginTop: '
|
|
7971
|
-
fontSize:
|
|
8055
|
+
marginTop: '8px',
|
|
8056
|
+
fontSize: theme.typography.fontSize.h6,
|
|
7972
8057
|
lineHeight: '23px',
|
|
7973
8058
|
color: 'rgba(51, 51, 51, 0.5)',
|
|
7974
|
-
marginBottom:
|
|
8059
|
+
marginBottom: theme.spacing.margin.tiny
|
|
7975
8060
|
},
|
|
7976
8061
|
formPageFormContainer: {
|
|
7977
|
-
marginTop: '32px',
|
|
7978
8062
|
'& form': {
|
|
7979
|
-
padding: '
|
|
8063
|
+
padding: '72px',
|
|
7980
8064
|
background: '#FFFFFF',
|
|
7981
8065
|
borderRadius: '8px',
|
|
7982
8066
|
boxShadow: '0px 4px 10px rgba(0, 0, 0, 0.16)'
|
|
7983
8067
|
}
|
|
7984
8068
|
},
|
|
7985
8069
|
inputField: {
|
|
7986
|
-
marginTop: '
|
|
7987
|
-
padding: '
|
|
7988
|
-
border: '1px solid #D8E0F0',
|
|
7989
|
-
borderRadius: '16px'
|
|
8070
|
+
marginTop: '12px'
|
|
8071
|
+
// padding: '12px 16px',
|
|
8072
|
+
// border: '1px solid #D8E0F0',
|
|
8073
|
+
// borderRadius: '16px'
|
|
7990
8074
|
},
|
|
8075
|
+
|
|
7991
8076
|
inputFieldLabel: {
|
|
7992
8077
|
color: '#333',
|
|
7993
|
-
fontSize:
|
|
8078
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8079
|
+
fontWeight: theme.typography.fontWeight.semiBold,
|
|
7994
8080
|
display: 'block',
|
|
7995
|
-
|
|
8081
|
+
marginTop: '20px',
|
|
8082
|
+
marginBottom: '12px'
|
|
7996
8083
|
},
|
|
7997
8084
|
inputFieldControl: {
|
|
7998
8085
|
width: '100%',
|
|
7999
|
-
height: '50px',
|
|
8000
8086
|
borderRadius: '8px',
|
|
8001
8087
|
border: '1px solid #D8E0F0',
|
|
8002
|
-
padding: '
|
|
8088
|
+
padding: '12px 16px',
|
|
8003
8089
|
color: '#7D8592',
|
|
8004
|
-
fontSize:
|
|
8090
|
+
fontSize: theme.typography.fontSize.subHead
|
|
8005
8091
|
},
|
|
8006
8092
|
checkboxField: {
|
|
8007
|
-
|
|
8008
|
-
|
|
8009
|
-
|
|
8010
|
-
borderRadius: '8px'
|
|
8093
|
+
// padding: '20px',
|
|
8094
|
+
// border: '1px solid #D8E0F0',
|
|
8095
|
+
// borderRadius: '8px'
|
|
8011
8096
|
},
|
|
8012
8097
|
checkBoxFieldLabel: {
|
|
8013
8098
|
color: '#333',
|
|
8014
|
-
fontSize:
|
|
8015
|
-
|
|
8099
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8100
|
+
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8101
|
+
marginTop: '20px',
|
|
8102
|
+
marginBottom: '12px'
|
|
8016
8103
|
},
|
|
8017
8104
|
inputFieldRequired: {
|
|
8018
8105
|
color: '#F41828'
|
|
8019
8106
|
},
|
|
8020
8107
|
checkboxFieldControl: {
|
|
8021
|
-
padding: '
|
|
8108
|
+
padding: '8px 0',
|
|
8022
8109
|
'& label': {
|
|
8023
|
-
|
|
8110
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8024
8111
|
marginLeft: '10px',
|
|
8025
8112
|
color: '#7D8592'
|
|
8026
8113
|
}
|
|
8027
8114
|
},
|
|
8028
8115
|
submitBtnContainer: {
|
|
8029
|
-
marginTop:
|
|
8116
|
+
marginTop: theme.spacing.margin.tiny,
|
|
8117
|
+
display: 'flex',
|
|
8118
|
+
alignItems: 'center',
|
|
8119
|
+
justifyContent: 'center',
|
|
8030
8120
|
width: '100%',
|
|
8031
8121
|
margin: '0 auto',
|
|
8032
8122
|
'& button': {
|
|
8033
|
-
height: '44px',
|
|
8034
|
-
padding: '
|
|
8123
|
+
// height: '44px',
|
|
8124
|
+
padding: '16px 24px',
|
|
8035
8125
|
color: '#FFFFFF',
|
|
8036
|
-
fontSize:
|
|
8126
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8037
8127
|
cursor: 'pointer',
|
|
8038
8128
|
borderRadius: '8px'
|
|
8039
8129
|
}
|
|
@@ -8048,8 +8138,14 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8048
8138
|
},
|
|
8049
8139
|
formPageFormContainer: {
|
|
8050
8140
|
'& form': {
|
|
8051
|
-
padding: '
|
|
8141
|
+
padding: '16px'
|
|
8052
8142
|
}
|
|
8143
|
+
},
|
|
8144
|
+
inputFieldLabel: {
|
|
8145
|
+
marginBottom: '8px'
|
|
8146
|
+
},
|
|
8147
|
+
checkBoxFieldLabel: {
|
|
8148
|
+
marginBottom: '8px'
|
|
8053
8149
|
}
|
|
8054
8150
|
}
|
|
8055
8151
|
}));
|
|
@@ -8096,13 +8192,16 @@ const FormPage = ({
|
|
|
8096
8192
|
extraProps = {}
|
|
8097
8193
|
}) => {
|
|
8098
8194
|
const [formData, setFormData] = useState({});
|
|
8099
|
-
const classes = useFormPageStyles();
|
|
8100
8195
|
const [formSubmitted, setformSubmitted] = useState(false);
|
|
8101
8196
|
const metadata = sectionData?.components?.[0]?.metadata || formPageMock;
|
|
8102
8197
|
const {
|
|
8103
8198
|
_id,
|
|
8104
|
-
baseURLs
|
|
8199
|
+
baseURLs,
|
|
8200
|
+
isMobile
|
|
8105
8201
|
} = useContext(PageContext);
|
|
8202
|
+
const classes = useFormPageStyles({
|
|
8203
|
+
isMobile
|
|
8204
|
+
});
|
|
8106
8205
|
const handleSubmit = async e => {
|
|
8107
8206
|
e.preventDefault();
|
|
8108
8207
|
let formResponse = [];
|
|
@@ -8309,16 +8408,18 @@ const useTilesStyles = createUseStyles(theme => {
|
|
|
8309
8408
|
alignItems: 'center',
|
|
8310
8409
|
display: 'flex',
|
|
8311
8410
|
flexDirection: 'column',
|
|
8312
|
-
|
|
8411
|
+
padding: ({
|
|
8412
|
+
isMobile
|
|
8413
|
+
} = {}) => isMobile ? `16px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`
|
|
8313
8414
|
},
|
|
8314
8415
|
tileDiv: {
|
|
8315
8416
|
width: '236px',
|
|
8316
|
-
height: '160px',
|
|
8417
|
+
// height: '160px',
|
|
8418
|
+
aspectRatio: '3/2',
|
|
8317
8419
|
position: 'relative',
|
|
8318
8420
|
borderRadius: '16px',
|
|
8319
8421
|
overflow: 'hidden',
|
|
8320
|
-
cursor: 'pointer'
|
|
8321
|
-
margin: '1rem'
|
|
8422
|
+
cursor: 'pointer'
|
|
8322
8423
|
},
|
|
8323
8424
|
tileImg: {
|
|
8324
8425
|
objectFit: 'cover',
|
|
@@ -8333,8 +8434,8 @@ const useTilesStyles = createUseStyles(theme => {
|
|
|
8333
8434
|
top: '12%',
|
|
8334
8435
|
left: '7%',
|
|
8335
8436
|
color: 'white',
|
|
8336
|
-
fontWeight:
|
|
8337
|
-
fontSize:
|
|
8437
|
+
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8438
|
+
fontSize: theme.typography.fontSize.h5,
|
|
8338
8439
|
width: '150px'
|
|
8339
8440
|
},
|
|
8340
8441
|
row: {
|
|
@@ -8342,25 +8443,28 @@ const useTilesStyles = createUseStyles(theme => {
|
|
|
8342
8443
|
flexDirection: 'row',
|
|
8343
8444
|
justifyContent: 'center',
|
|
8344
8445
|
flexWrap: 'wrap',
|
|
8345
|
-
width: '
|
|
8346
|
-
|
|
8446
|
+
width: '100%',
|
|
8447
|
+
gap: '24px'
|
|
8347
8448
|
},
|
|
8348
8449
|
header: {
|
|
8349
|
-
fontWeight:
|
|
8350
|
-
fontSize:
|
|
8450
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
8451
|
+
fontSize: theme.typography.fontSize.h2,
|
|
8351
8452
|
lineHeight: '46px',
|
|
8352
|
-
marginBottom: '1rem',
|
|
8353
8453
|
textAlign: 'center',
|
|
8354
|
-
marginTop: '3rem',
|
|
8355
8454
|
color: '#2D2D2D'
|
|
8356
8455
|
},
|
|
8357
8456
|
headerTitle: {
|
|
8358
|
-
fontWeight:
|
|
8359
|
-
fontSize:
|
|
8457
|
+
fontWeight: theme.typography.fontWeight.regular,
|
|
8458
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8360
8459
|
lineHeight: '46px',
|
|
8361
8460
|
color: '#7D8592',
|
|
8362
|
-
marginBottom:
|
|
8461
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
8363
8462
|
textAlign: 'center'
|
|
8463
|
+
},
|
|
8464
|
+
'@media screen and (max-width: 767px)': {
|
|
8465
|
+
tileDiv: {
|
|
8466
|
+
width: 'calc(53% - 24px)'
|
|
8467
|
+
}
|
|
8364
8468
|
}
|
|
8365
8469
|
};
|
|
8366
8470
|
});
|
|
@@ -8369,7 +8473,6 @@ function Tiles({
|
|
|
8369
8473
|
sectionData,
|
|
8370
8474
|
sectionIndex
|
|
8371
8475
|
}) {
|
|
8372
|
-
const classes = useTilesStyles({});
|
|
8373
8476
|
const {
|
|
8374
8477
|
isMobile,
|
|
8375
8478
|
layout: {
|
|
@@ -8378,6 +8481,9 @@ function Tiles({
|
|
|
8378
8481
|
isPreview,
|
|
8379
8482
|
isEdit
|
|
8380
8483
|
} = useContext(PageContext);
|
|
8484
|
+
const classes = useTilesStyles({
|
|
8485
|
+
isMobile
|
|
8486
|
+
});
|
|
8381
8487
|
const nodeData = sectionData.components;
|
|
8382
8488
|
const tilesList = nodeData[0]?.tilesList.components;
|
|
8383
8489
|
const handleClick = value => {
|
|
@@ -8588,8 +8694,7 @@ function Section({
|
|
|
8588
8694
|
style: {
|
|
8589
8695
|
textAlign: 'center',
|
|
8590
8696
|
width: '100%',
|
|
8591
|
-
backgroundColor: '#ffffff'
|
|
8592
|
-
padding: '0px 24px'
|
|
8697
|
+
backgroundColor: '#ffffff'
|
|
8593
8698
|
}
|
|
8594
8699
|
}, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("p", {
|
|
8595
8700
|
style: {
|
|
@@ -8616,10 +8721,10 @@ function Section({
|
|
|
8616
8721
|
marginBottom: '15px'
|
|
8617
8722
|
},
|
|
8618
8723
|
ref: body?.components[1]?.refSetter
|
|
8619
|
-
}, body?.components[1]?.metadata?.text), /*#__PURE__*/React.createElement("
|
|
8724
|
+
}, body?.components[1]?.metadata?.text), /*#__PURE__*/React.createElement("p", {
|
|
8620
8725
|
style: {
|
|
8621
8726
|
maxWidth: '435px',
|
|
8622
|
-
|
|
8727
|
+
margin: 'auto',
|
|
8623
8728
|
// fontFamily: 'Roboto',
|
|
8624
8729
|
fontStyle: 'normal',
|
|
8625
8730
|
fontWeight: '400',
|