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.es.js +39 -3
- package/build/index.es.js.map +1 -1
- package/build/index.js +39 -3
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -8732,7 +8732,7 @@ var index$5 = /*#__PURE__*/Object.freeze({
|
|
|
8732
8732
|
'default': CoursePromotionPage
|
|
8733
8733
|
});
|
|
8734
8734
|
|
|
8735
|
-
const useFormPageStyles
|
|
8735
|
+
const useFormPageStyles = createUseStyles(theme => ({
|
|
8736
8736
|
formPageSection: {
|
|
8737
8737
|
padding: ({
|
|
8738
8738
|
isMobile
|
|
@@ -8898,7 +8898,7 @@ const FormPage = ({
|
|
|
8898
8898
|
isMobile,
|
|
8899
8899
|
countryCode
|
|
8900
8900
|
} = useContext(PageContext);
|
|
8901
|
-
const classes = useFormPageStyles
|
|
8901
|
+
const classes = useFormPageStyles({
|
|
8902
8902
|
isMobile
|
|
8903
8903
|
});
|
|
8904
8904
|
const handleSubmit = async e => {
|
|
@@ -10089,13 +10089,49 @@ var index$1 = /*#__PURE__*/Object.freeze({
|
|
|
10089
10089
|
'default': ABOUT_INSTITUTE
|
|
10090
10090
|
});
|
|
10091
10091
|
|
|
10092
|
+
const useTimerCallPageStyles = createUseStyles(theme => ({
|
|
10093
|
+
timerAndCallSection: {
|
|
10094
|
+
padding: ({
|
|
10095
|
+
isMobile
|
|
10096
|
+
} = {}) => isMobile ? '24px' : '80px 120px',
|
|
10097
|
+
background: theme?.colors?.white,
|
|
10098
|
+
'&, & *, & *:before, & *:after': {
|
|
10099
|
+
fontFamily: theme?.typography?.fontFamily,
|
|
10100
|
+
boxSizing: 'border-box'
|
|
10101
|
+
}
|
|
10102
|
+
},
|
|
10103
|
+
timerAndCallContainer: {
|
|
10104
|
+
padding: '72px',
|
|
10105
|
+
background: theme?.colors?.background3,
|
|
10106
|
+
borderRadius: '8px',
|
|
10107
|
+
boxShadow: '0px 4px 10px rgba(0, 0, 0, 0.16)'
|
|
10108
|
+
},
|
|
10109
|
+
timerAndCallBox: {
|
|
10110
|
+
display: 'flex',
|
|
10111
|
+
flexDirection: 'column',
|
|
10112
|
+
gap: '42px'
|
|
10113
|
+
},
|
|
10114
|
+
// SMALL SCREEN
|
|
10115
|
+
'@media screen and (max-width: 767px)': {
|
|
10116
|
+
timerAndCallSection: {
|
|
10117
|
+
padding: '24px'
|
|
10118
|
+
},
|
|
10119
|
+
timerAndCallContainer: {
|
|
10120
|
+
padding: '16px'
|
|
10121
|
+
},
|
|
10122
|
+
timerAndCallBox: {
|
|
10123
|
+
gap: '32px'
|
|
10124
|
+
}
|
|
10125
|
+
}
|
|
10126
|
+
}));
|
|
10127
|
+
|
|
10092
10128
|
const TimerAndCall = ({
|
|
10093
10129
|
sectionData,
|
|
10094
10130
|
extraProps = {}
|
|
10095
10131
|
}) => {
|
|
10096
10132
|
console.log('sid sectionData', sectionData, extraProps);
|
|
10097
10133
|
const [nodeData] = sectionData?.components;
|
|
10098
|
-
const classes =
|
|
10134
|
+
const classes = useTimerCallPageStyles({
|
|
10099
10135
|
isMobile
|
|
10100
10136
|
});
|
|
10101
10137
|
return /*#__PURE__*/React.createElement("section", {
|