diy-template-components 2.0.56 → 2.0.57

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
@@ -8748,7 +8748,7 @@ var index$5 = /*#__PURE__*/Object.freeze({
8748
8748
  'default': CoursePromotionPage
8749
8749
  });
8750
8750
 
8751
- const useFormPageStyles$1 = createUseStyles(theme => ({
8751
+ const useFormPageStyles = createUseStyles(theme => ({
8752
8752
  formPageSection: {
8753
8753
  padding: ({
8754
8754
  isMobile
@@ -8914,7 +8914,7 @@ const FormPage = ({
8914
8914
  isMobile,
8915
8915
  countryCode
8916
8916
  } = React.useContext(PageContext);
8917
- const classes = useFormPageStyles$1({
8917
+ const classes = useFormPageStyles({
8918
8918
  isMobile
8919
8919
  });
8920
8920
  const handleSubmit = async e => {
@@ -10105,13 +10105,49 @@ var index$1 = /*#__PURE__*/Object.freeze({
10105
10105
  'default': ABOUT_INSTITUTE
10106
10106
  });
10107
10107
 
10108
+ const useTimerCallPageStyles = createUseStyles(theme => ({
10109
+ timerAndCallSection: {
10110
+ padding: ({
10111
+ isMobile
10112
+ } = {}) => isMobile ? '24px' : '80px 120px',
10113
+ background: theme?.colors?.white,
10114
+ '&, & *, & *:before, & *:after': {
10115
+ fontFamily: theme?.typography?.fontFamily,
10116
+ boxSizing: 'border-box'
10117
+ }
10118
+ },
10119
+ timerAndCallContainer: {
10120
+ padding: '72px',
10121
+ background: theme?.colors?.background3,
10122
+ borderRadius: '8px',
10123
+ boxShadow: '0px 4px 10px rgba(0, 0, 0, 0.16)'
10124
+ },
10125
+ timerAndCallBox: {
10126
+ display: 'flex',
10127
+ flexDirection: 'column',
10128
+ gap: '42px'
10129
+ },
10130
+ // SMALL SCREEN
10131
+ '@media screen and (max-width: 767px)': {
10132
+ timerAndCallSection: {
10133
+ padding: '24px'
10134
+ },
10135
+ timerAndCallContainer: {
10136
+ padding: '16px'
10137
+ },
10138
+ timerAndCallBox: {
10139
+ gap: '32px'
10140
+ }
10141
+ }
10142
+ }));
10143
+
10108
10144
  const TimerAndCall = ({
10109
10145
  sectionData,
10110
10146
  extraProps = {}
10111
10147
  }) => {
10112
10148
  console.log('sid sectionData', sectionData, extraProps);
10113
10149
  const [nodeData] = sectionData?.components;
10114
- const classes = useFormPageStyles({
10150
+ const classes = useTimerCallPageStyles({
10115
10151
  isMobile
10116
10152
  });
10117
10153
  return /*#__PURE__*/React__default["default"].createElement("section", {