diy-template-components 1.0.42 → 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 CHANGED
@@ -1887,7 +1887,7 @@ function Footer({
1887
1887
  className: classes.lowerContainer
1888
1888
  }, /*#__PURE__*/React.createElement("div", {
1889
1889
  className: classes.bottomLeftText
1890
- }, "2022 All Rights Reserved"), /*#__PURE__*/React.createElement("div", {
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",
@@ -3089,7 +3089,7 @@ const useSectionStyles$6 = createUseStyles(theme => {
3089
3089
  left: 0,
3090
3090
  width: '100%',
3091
3091
  height: '100%',
3092
- backgroundColor: "rgba(0, 0, 0, 0.5)"
3092
+ backgroundColor: 'rgba(0, 0, 0, 0.5)'
3093
3093
  },
3094
3094
  '@media screen and (max-width: 767px)': {
3095
3095
  heading: {
@@ -3099,10 +3099,10 @@ const useSectionStyles$6 = createUseStyles(theme => {
3099
3099
  display: 'none'
3100
3100
  },
3101
3101
  contentContainer: {
3102
- display: "block"
3102
+ display: 'block'
3103
3103
  },
3104
3104
  textContainer: {
3105
- position: "absolute",
3105
+ position: 'absolute',
3106
3106
  padding: '20px 20px',
3107
3107
  height: '100%',
3108
3108
  width: '100%',
@@ -3147,7 +3147,7 @@ const Section$3 = ({
3147
3147
  isCustomWebsite,
3148
3148
  countryCode
3149
3149
  } = useContext(PageContext);
3150
- const hasContent = Boolean(nodeData.cardHeading.metadata.value || nodeData.title.metadata.value || nodeData.description.metadata.value);
3150
+ const hasContent = nodeData.cardHeading.metadata.value.length || nodeData.title.metadata.valu.length || nodeData.description.metadata.value.length;
3151
3151
  const classes = useSectionStyles$6({
3152
3152
  wordBreakValue: wordBreakValue(countryCode),
3153
3153
  imageUrl: nodeData.image.metadata.value,
@@ -5816,7 +5816,7 @@ const useCourseStyles = createUseStyles(theme => {
5816
5816
  textDecoration: 'none !important'
5817
5817
  },
5818
5818
  courseCardStrikePrice: {
5819
- fontSize: '10px',
5819
+ fontSize: '14px',
5820
5820
  fontWeight: '600',
5821
5821
  lineHeight: '13px',
5822
5822
  color: '#FE9B0E',