diy-template-components 2.0.55 → 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 -0
- package/build/index.es.js.map +1 -1
- package/build/index.js +39 -0
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -10089,12 +10089,51 @@ 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;
|
|
10134
|
+
const classes = useTimerCallPageStyles({
|
|
10135
|
+
isMobile
|
|
10136
|
+
});
|
|
10098
10137
|
return /*#__PURE__*/React.createElement("section", {
|
|
10099
10138
|
className: classes.timerAndCallSection
|
|
10100
10139
|
}, /*#__PURE__*/React.createElement("div", {
|