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.js CHANGED
@@ -1903,7 +1903,7 @@ function Footer({
1903
1903
  className: classes.lowerContainer
1904
1904
  }, /*#__PURE__*/React__default["default"].createElement("div", {
1905
1905
  className: classes.bottomLeftText
1906
- }, "2022 All Rights Reserved"), /*#__PURE__*/React__default["default"].createElement("div", {
1906
+ }, "\xA9 ", new Date().getFullYear(), " All Rights Reserved"), /*#__PURE__*/React__default["default"].createElement("div", {
1907
1907
  className: classes.poweredByContainer
1908
1908
  }, /*#__PURE__*/React__default["default"].createElement("p", null, "Powered by"), /*#__PURE__*/React__default["default"].createElement("a", {
1909
1909
  title: "Powered by Classplus",
@@ -2055,18 +2055,18 @@ const fontSize = {
2055
2055
  h4: 32,
2056
2056
  h5: 24,
2057
2057
  h6: 20,
2058
- subHead: 20,
2058
+ subHead: 24,
2059
2059
  description: 20,
2060
2060
  body: 16
2061
2061
  };
2062
2062
  const fontSizeMob = {
2063
2063
  h1: 40,
2064
- h2: 20,
2065
- h3: 32,
2064
+ h2: 24,
2065
+ h3: 20,
2066
2066
  h4: 16,
2067
2067
  h5: 16,
2068
2068
  h6: 14,
2069
- subHead: 16,
2069
+ subHead: 14,
2070
2070
  description: 16,
2071
2071
  body: 14
2072
2072
  };
@@ -2372,6 +2372,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2372
2372
  subTitleHeading: {
2373
2373
  marginBottom: '8px',
2374
2374
  fontSize: theme.typography.fontSize.subHead,
2375
+ letterSpacing: '3px',
2375
2376
  color: theme?.palette?.font?.default,
2376
2377
  wordBreak: 'break-word',
2377
2378
  maxWidth: '100%'
@@ -3012,21 +3013,13 @@ const useSectionStyles$6 = createUseStyles(theme => {
3012
3013
  return {
3013
3014
  bannerCarouselCenterSection: {
3014
3015
  width: '100%',
3015
- // height: '100%',
3016
3016
  textAlign: 'center',
3017
3017
  position: 'relative',
3018
3018
  '&, & *, & *:before, & *:after': {
3019
3019
  fontFamily: theme?.typography?.fontFamily,
3020
3020
  boxSizing: 'border-box'
3021
3021
  }
3022
- // '& h2,& h3': {
3023
- // fontWeight: '500',
3024
- // '& b,& strong': {
3025
- // fontWeight: '700'
3026
- // }
3027
- // }
3028
3022
  },
3029
-
3030
3023
  sectionContainer: {
3031
3024
  width: '100%',
3032
3025
  // maxWidth: ({ containerWidth } = {}) => containerWidth,
@@ -3046,20 +3039,9 @@ const useSectionStyles$6 = createUseStyles(theme => {
3046
3039
  margin: `${theme.spacing.margin.tiny}px 0px`
3047
3040
  },
3048
3041
  contentContainer: {
3049
- // padding: '100px 0',
3050
- // height: '100%',
3051
- // display: 'flex',
3052
- // alignItems: 'center'
3053
- // height: '100%',
3054
3042
  display: 'flex',
3055
- /* padding: 100px 0; */
3056
3043
  alignItems: 'center'
3057
- // backgroundImage: ({ imageUrl } = {}) =>
3058
- // `linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%), url("${imageUrl}")`,
3059
- // backgroundPosition: 'center',
3060
- // backgroundSize: 'cover'
3061
3044
  },
3062
-
3063
3045
  centerBgImageContainer: {
3064
3046
  width: '100%',
3065
3047
  position: 'relative',
@@ -3123,17 +3105,20 @@ const useSectionStyles$6 = createUseStyles(theme => {
3123
3105
  left: 0,
3124
3106
  width: '100%',
3125
3107
  height: '100%',
3126
- backgroundColor: "rgba(0, 0, 0, 0.5)"
3108
+ backgroundColor: 'rgba(0, 0, 0, 0.5)'
3127
3109
  },
3128
3110
  '@media screen and (max-width: 767px)': {
3111
+ heading: {
3112
+ fontSize: theme.typography.fontSize.h2
3113
+ },
3129
3114
  partialBackground: {
3130
3115
  display: 'none'
3131
3116
  },
3132
3117
  contentContainer: {
3133
- display: "block"
3118
+ display: 'block'
3134
3119
  },
3135
3120
  textContainer: {
3136
- position: "absolute",
3121
+ position: 'absolute',
3137
3122
  padding: '20px 20px',
3138
3123
  height: '100%',
3139
3124
  width: '100%',
@@ -3178,8 +3163,7 @@ const Section$3 = ({
3178
3163
  isCustomWebsite,
3179
3164
  countryCode
3180
3165
  } = React.useContext(PageContext);
3181
- const hasContent = Boolean(nodeData.cardHeading.metadata.value || nodeData.title.metadata.value || nodeData.description.metadata.value);
3182
- console.log(hasContent, 'lindwlinadilwan');
3166
+ const hasContent = nodeData.cardHeading.metadata.value.length || nodeData.title.metadata.valu.length || nodeData.description.metadata.value.length;
3183
3167
  const classes = useSectionStyles$6({
3184
3168
  wordBreakValue: wordBreakValue(countryCode),
3185
3169
  imageUrl: nodeData.image.metadata.value,
@@ -3334,6 +3318,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3334
3318
  subTitleHeading: {
3335
3319
  marginBottom: '8px',
3336
3320
  fontSize: theme?.typography?.fontSize?.subHead,
3321
+ letterSpacing: '3px',
3337
3322
  color: theme?.palette?.font?.default,
3338
3323
  wordBreak: 'break-word'
3339
3324
  },
@@ -3388,7 +3373,11 @@ const useSectionStyles$5 = createUseStyles(theme => {
3388
3373
  textAlign: 'center'
3389
3374
  },
3390
3375
  heading: {
3391
- fontSize: `${theme?.typography?.fontSize?.h3}px`
3376
+ fontSize: `${theme?.typography?.fontSize?.h2}px`
3377
+ },
3378
+ subTitleHeading: {
3379
+ letterSpacing: '3px',
3380
+ lineHeight: '17px'
3392
3381
  },
3393
3382
  description: {
3394
3383
  margin: '16px 0'
@@ -5239,14 +5228,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5239
5228
  textOverflow: 'ellipsis'
5240
5229
  },
5241
5230
  '@media (max-width: 768px)': {
5242
- // container: {
5243
- // padding: '60px 20px'
5244
- // },
5245
-
5246
- // cardHeading: {
5247
- // marginLeft: '3px'
5248
- // },
5249
-
5250
5231
  title: {
5251
5232
  lineHeight: '36px',
5252
5233
  letterSpacing: '-1px',
@@ -5256,10 +5237,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5256
5237
  whiteSpace: 'nowrap',
5257
5238
  textOverflow: 'ellipsis'
5258
5239
  }
5259
-
5260
- // sliderContainer: {
5261
- // marginRight: '-20px'
5262
- // }
5263
5240
  }
5264
5241
  };
5265
5242
  });
@@ -5855,7 +5832,7 @@ const useCourseStyles = createUseStyles(theme => {
5855
5832
  textDecoration: 'none !important'
5856
5833
  },
5857
5834
  courseCardStrikePrice: {
5858
- fontSize: '10px',
5835
+ fontSize: '14px',
5859
5836
  fontWeight: '600',
5860
5837
  lineHeight: '13px',
5861
5838
  color: '#FE9B0E',
@@ -6254,7 +6231,7 @@ const useTeamStyles = createUseStyles(theme => {
6254
6231
  letterSpacing: '3px',
6255
6232
  marginBottom: '8px',
6256
6233
  color: theme?.palette?.font?.default,
6257
- wordBreak: 'break-word',
6234
+ // wordBreak: 'break-word',
6258
6235
  position: 'relative'
6259
6236
  },
6260
6237
  partialBackground: {
@@ -6286,13 +6263,13 @@ const useTeamStyles = createUseStyles(theme => {
6286
6263
  singleSlideContainer: {
6287
6264
  backgroundColor: theme?.palette?.background?.default,
6288
6265
  margin: '20px',
6289
- width: 'calc(100% - 32px)',
6266
+ width: 'calc(100% - 24px)',
6290
6267
  // height: 'calc(100% - 40px)',
6291
6268
  border: '3px solid #D8E0F0',
6292
6269
  borderRadius: theme?.shape?.borderRadius?.regular,
6293
6270
  padding: theme.spacing.padding.tiny,
6294
6271
  boxShadow: theme?.shadows?.primary,
6295
- minHeight: '390px'
6272
+ minHeight: '320px'
6296
6273
  },
6297
6274
  imageContainer: {
6298
6275
  minWidth: '100%',
@@ -6312,18 +6289,19 @@ const useTeamStyles = createUseStyles(theme => {
6312
6289
  },
6313
6290
  teamDetailsContainer: {
6314
6291
  textAlign: 'center',
6315
- margin: '20px 0 0',
6316
- overflowWrap: 'break-word'
6292
+ margin: '20px 0 0'
6293
+ // overflowWrap: 'break-word'
6317
6294
  },
6295
+
6318
6296
  teamDetailsHeading: {
6319
- fontSize: theme.typography.fontSize.h5,
6297
+ fontSize: theme.typography.fontSize.h6,
6320
6298
  fontWeight: theme.typography.fontWeight.bold,
6321
- lineHeight: '32px',
6299
+ lineHeight: '24px',
6322
6300
  margin: '0',
6323
6301
  color: theme?.palette?.font?.default
6324
6302
  },
6325
6303
  teamDetailsSubHeading: {
6326
- fontSize: theme.typography.fontSize.subHead,
6304
+ fontSize: theme.typography.fontSize.body,
6327
6305
  lineHeight: '24px',
6328
6306
  margin: '12px 0 0',
6329
6307
  color: theme?.palette?.font?.primary
@@ -6333,9 +6311,13 @@ const useTeamStyles = createUseStyles(theme => {
6333
6311
  // padding: '60px 20px'
6334
6312
  // },
6335
6313
  teamHeading: {
6336
- lineHeight: '20px'
6314
+ lineHeight: '20px',
6315
+ margin: 0,
6316
+ textAlign: 'center'
6337
6317
  },
6338
6318
  teamTitle: {
6319
+ textAlign: 'center',
6320
+ fontSize: theme.typography.fontSize.h3,
6339
6321
  lineHeight: '36px',
6340
6322
  letterSpacing: '-1px'
6341
6323
  },