diy-template-components 1.0.41 → 1.0.43
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 +34 -52
- package/build/index.es.js.map +1 -1
- package/build/index.js +34 -52
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -1887,7 +1887,7 @@ function Footer({
|
|
|
1887
1887
|
className: classes.lowerContainer
|
|
1888
1888
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1889
1889
|
className: classes.bottomLeftText
|
|
1890
|
-
}, "
|
|
1890
|
+
}, "\xA9 ", new Date().getFullYear(), " All Rights Reserved"), /*#__PURE__*/React.createElement("div", {
|
|
1891
1891
|
className: classes.poweredByContainer
|
|
1892
1892
|
}, /*#__PURE__*/React.createElement("p", null, "Powered by"), /*#__PURE__*/React.createElement("a", {
|
|
1893
1893
|
title: "Powered by Classplus",
|
|
@@ -2039,18 +2039,18 @@ const fontSize = {
|
|
|
2039
2039
|
h4: 32,
|
|
2040
2040
|
h5: 24,
|
|
2041
2041
|
h6: 20,
|
|
2042
|
-
subHead:
|
|
2042
|
+
subHead: 24,
|
|
2043
2043
|
description: 20,
|
|
2044
2044
|
body: 16
|
|
2045
2045
|
};
|
|
2046
2046
|
const fontSizeMob = {
|
|
2047
2047
|
h1: 40,
|
|
2048
|
-
h2:
|
|
2049
|
-
h3:
|
|
2048
|
+
h2: 24,
|
|
2049
|
+
h3: 20,
|
|
2050
2050
|
h4: 16,
|
|
2051
2051
|
h5: 16,
|
|
2052
2052
|
h6: 14,
|
|
2053
|
-
subHead:
|
|
2053
|
+
subHead: 14,
|
|
2054
2054
|
description: 16,
|
|
2055
2055
|
body: 14
|
|
2056
2056
|
};
|
|
@@ -2356,6 +2356,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2356
2356
|
subTitleHeading: {
|
|
2357
2357
|
marginBottom: '8px',
|
|
2358
2358
|
fontSize: theme.typography.fontSize.subHead,
|
|
2359
|
+
letterSpacing: '3px',
|
|
2359
2360
|
color: theme?.palette?.font?.default,
|
|
2360
2361
|
wordBreak: 'break-word',
|
|
2361
2362
|
maxWidth: '100%'
|
|
@@ -2996,21 +2997,13 @@ const useSectionStyles$6 = createUseStyles(theme => {
|
|
|
2996
2997
|
return {
|
|
2997
2998
|
bannerCarouselCenterSection: {
|
|
2998
2999
|
width: '100%',
|
|
2999
|
-
// height: '100%',
|
|
3000
3000
|
textAlign: 'center',
|
|
3001
3001
|
position: 'relative',
|
|
3002
3002
|
'&, & *, & *:before, & *:after': {
|
|
3003
3003
|
fontFamily: theme?.typography?.fontFamily,
|
|
3004
3004
|
boxSizing: 'border-box'
|
|
3005
3005
|
}
|
|
3006
|
-
// '& h2,& h3': {
|
|
3007
|
-
// fontWeight: '500',
|
|
3008
|
-
// '& b,& strong': {
|
|
3009
|
-
// fontWeight: '700'
|
|
3010
|
-
// }
|
|
3011
|
-
// }
|
|
3012
3006
|
},
|
|
3013
|
-
|
|
3014
3007
|
sectionContainer: {
|
|
3015
3008
|
width: '100%',
|
|
3016
3009
|
// maxWidth: ({ containerWidth } = {}) => containerWidth,
|
|
@@ -3030,20 +3023,9 @@ const useSectionStyles$6 = createUseStyles(theme => {
|
|
|
3030
3023
|
margin: `${theme.spacing.margin.tiny}px 0px`
|
|
3031
3024
|
},
|
|
3032
3025
|
contentContainer: {
|
|
3033
|
-
// padding: '100px 0',
|
|
3034
|
-
// height: '100%',
|
|
3035
|
-
// display: 'flex',
|
|
3036
|
-
// alignItems: 'center'
|
|
3037
|
-
// height: '100%',
|
|
3038
3026
|
display: 'flex',
|
|
3039
|
-
/* padding: 100px 0; */
|
|
3040
3027
|
alignItems: 'center'
|
|
3041
|
-
// backgroundImage: ({ imageUrl } = {}) =>
|
|
3042
|
-
// `linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%), url("${imageUrl}")`,
|
|
3043
|
-
// backgroundPosition: 'center',
|
|
3044
|
-
// backgroundSize: 'cover'
|
|
3045
3028
|
},
|
|
3046
|
-
|
|
3047
3029
|
centerBgImageContainer: {
|
|
3048
3030
|
width: '100%',
|
|
3049
3031
|
position: 'relative',
|
|
@@ -3107,17 +3089,20 @@ const useSectionStyles$6 = createUseStyles(theme => {
|
|
|
3107
3089
|
left: 0,
|
|
3108
3090
|
width: '100%',
|
|
3109
3091
|
height: '100%',
|
|
3110
|
-
backgroundColor:
|
|
3092
|
+
backgroundColor: 'rgba(0, 0, 0, 0.5)'
|
|
3111
3093
|
},
|
|
3112
3094
|
'@media screen and (max-width: 767px)': {
|
|
3095
|
+
heading: {
|
|
3096
|
+
fontSize: theme.typography.fontSize.h2
|
|
3097
|
+
},
|
|
3113
3098
|
partialBackground: {
|
|
3114
3099
|
display: 'none'
|
|
3115
3100
|
},
|
|
3116
3101
|
contentContainer: {
|
|
3117
|
-
display:
|
|
3102
|
+
display: 'block'
|
|
3118
3103
|
},
|
|
3119
3104
|
textContainer: {
|
|
3120
|
-
position:
|
|
3105
|
+
position: 'absolute',
|
|
3121
3106
|
padding: '20px 20px',
|
|
3122
3107
|
height: '100%',
|
|
3123
3108
|
width: '100%',
|
|
@@ -3162,8 +3147,7 @@ const Section$3 = ({
|
|
|
3162
3147
|
isCustomWebsite,
|
|
3163
3148
|
countryCode
|
|
3164
3149
|
} = useContext(PageContext);
|
|
3165
|
-
const hasContent =
|
|
3166
|
-
console.log(hasContent, 'lindwlinadilwan');
|
|
3150
|
+
const hasContent = nodeData.cardHeading.metadata.value.length || nodeData.title.metadata.valu.length || nodeData.description.metadata.value.length;
|
|
3167
3151
|
const classes = useSectionStyles$6({
|
|
3168
3152
|
wordBreakValue: wordBreakValue(countryCode),
|
|
3169
3153
|
imageUrl: nodeData.image.metadata.value,
|
|
@@ -3318,6 +3302,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3318
3302
|
subTitleHeading: {
|
|
3319
3303
|
marginBottom: '8px',
|
|
3320
3304
|
fontSize: theme?.typography?.fontSize?.subHead,
|
|
3305
|
+
letterSpacing: '3px',
|
|
3321
3306
|
color: theme?.palette?.font?.default,
|
|
3322
3307
|
wordBreak: 'break-word'
|
|
3323
3308
|
},
|
|
@@ -3372,7 +3357,11 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3372
3357
|
textAlign: 'center'
|
|
3373
3358
|
},
|
|
3374
3359
|
heading: {
|
|
3375
|
-
fontSize: `${theme?.typography?.fontSize?.
|
|
3360
|
+
fontSize: `${theme?.typography?.fontSize?.h2}px`
|
|
3361
|
+
},
|
|
3362
|
+
subTitleHeading: {
|
|
3363
|
+
letterSpacing: '3px',
|
|
3364
|
+
lineHeight: '17px'
|
|
3376
3365
|
},
|
|
3377
3366
|
description: {
|
|
3378
3367
|
margin: '16px 0'
|
|
@@ -5223,14 +5212,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5223
5212
|
textOverflow: 'ellipsis'
|
|
5224
5213
|
},
|
|
5225
5214
|
'@media (max-width: 768px)': {
|
|
5226
|
-
// container: {
|
|
5227
|
-
// padding: '60px 20px'
|
|
5228
|
-
// },
|
|
5229
|
-
|
|
5230
|
-
// cardHeading: {
|
|
5231
|
-
// marginLeft: '3px'
|
|
5232
|
-
// },
|
|
5233
|
-
|
|
5234
5215
|
title: {
|
|
5235
5216
|
lineHeight: '36px',
|
|
5236
5217
|
letterSpacing: '-1px',
|
|
@@ -5240,10 +5221,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5240
5221
|
whiteSpace: 'nowrap',
|
|
5241
5222
|
textOverflow: 'ellipsis'
|
|
5242
5223
|
}
|
|
5243
|
-
|
|
5244
|
-
// sliderContainer: {
|
|
5245
|
-
// marginRight: '-20px'
|
|
5246
|
-
// }
|
|
5247
5224
|
}
|
|
5248
5225
|
};
|
|
5249
5226
|
});
|
|
@@ -5839,7 +5816,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5839
5816
|
textDecoration: 'none !important'
|
|
5840
5817
|
},
|
|
5841
5818
|
courseCardStrikePrice: {
|
|
5842
|
-
fontSize: '
|
|
5819
|
+
fontSize: '14px',
|
|
5843
5820
|
fontWeight: '600',
|
|
5844
5821
|
lineHeight: '13px',
|
|
5845
5822
|
color: '#FE9B0E',
|
|
@@ -6238,7 +6215,7 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6238
6215
|
letterSpacing: '3px',
|
|
6239
6216
|
marginBottom: '8px',
|
|
6240
6217
|
color: theme?.palette?.font?.default,
|
|
6241
|
-
wordBreak: 'break-word',
|
|
6218
|
+
// wordBreak: 'break-word',
|
|
6242
6219
|
position: 'relative'
|
|
6243
6220
|
},
|
|
6244
6221
|
partialBackground: {
|
|
@@ -6270,13 +6247,13 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6270
6247
|
singleSlideContainer: {
|
|
6271
6248
|
backgroundColor: theme?.palette?.background?.default,
|
|
6272
6249
|
margin: '20px',
|
|
6273
|
-
width: 'calc(100% -
|
|
6250
|
+
width: 'calc(100% - 24px)',
|
|
6274
6251
|
// height: 'calc(100% - 40px)',
|
|
6275
6252
|
border: '3px solid #D8E0F0',
|
|
6276
6253
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6277
6254
|
padding: theme.spacing.padding.tiny,
|
|
6278
6255
|
boxShadow: theme?.shadows?.primary,
|
|
6279
|
-
minHeight: '
|
|
6256
|
+
minHeight: '320px'
|
|
6280
6257
|
},
|
|
6281
6258
|
imageContainer: {
|
|
6282
6259
|
minWidth: '100%',
|
|
@@ -6296,18 +6273,19 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6296
6273
|
},
|
|
6297
6274
|
teamDetailsContainer: {
|
|
6298
6275
|
textAlign: 'center',
|
|
6299
|
-
margin: '20px 0 0'
|
|
6300
|
-
overflowWrap: 'break-word'
|
|
6276
|
+
margin: '20px 0 0'
|
|
6277
|
+
// overflowWrap: 'break-word'
|
|
6301
6278
|
},
|
|
6279
|
+
|
|
6302
6280
|
teamDetailsHeading: {
|
|
6303
|
-
fontSize: theme.typography.fontSize.
|
|
6281
|
+
fontSize: theme.typography.fontSize.h6,
|
|
6304
6282
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6305
|
-
lineHeight: '
|
|
6283
|
+
lineHeight: '24px',
|
|
6306
6284
|
margin: '0',
|
|
6307
6285
|
color: theme?.palette?.font?.default
|
|
6308
6286
|
},
|
|
6309
6287
|
teamDetailsSubHeading: {
|
|
6310
|
-
fontSize: theme.typography.fontSize.
|
|
6288
|
+
fontSize: theme.typography.fontSize.body,
|
|
6311
6289
|
lineHeight: '24px',
|
|
6312
6290
|
margin: '12px 0 0',
|
|
6313
6291
|
color: theme?.palette?.font?.primary
|
|
@@ -6317,9 +6295,13 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6317
6295
|
// padding: '60px 20px'
|
|
6318
6296
|
// },
|
|
6319
6297
|
teamHeading: {
|
|
6320
|
-
lineHeight: '20px'
|
|
6298
|
+
lineHeight: '20px',
|
|
6299
|
+
margin: 0,
|
|
6300
|
+
textAlign: 'center'
|
|
6321
6301
|
},
|
|
6322
6302
|
teamTitle: {
|
|
6303
|
+
textAlign: 'center',
|
|
6304
|
+
fontSize: theme.typography.fontSize.h3,
|
|
6323
6305
|
lineHeight: '36px',
|
|
6324
6306
|
letterSpacing: '-1px'
|
|
6325
6307
|
},
|