diy-template-components 0.2.44 → 0.2.46
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 +12 -15
- package/build/index.es.js.map +1 -1
- package/build/index.js +12 -15
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -1157,7 +1157,7 @@ const NextImageRenderer = ({
|
|
|
1157
1157
|
};
|
|
1158
1158
|
const NextImage = require('next/image').default;
|
|
1159
1159
|
return /*#__PURE__*/React.createElement(NextImage, _extends({
|
|
1160
|
-
priority: sectionIndex
|
|
1160
|
+
priority: sectionIndex === '0' ? true : false,
|
|
1161
1161
|
loader: imageLoader,
|
|
1162
1162
|
src: src,
|
|
1163
1163
|
layout: 'fill',
|
|
@@ -1734,8 +1734,7 @@ function Footer({
|
|
|
1734
1734
|
className: classes.socialMediaCta,
|
|
1735
1735
|
onClick: () => {
|
|
1736
1736
|
window.open(data?.facebookLink?.metadata?.value, '_blank');
|
|
1737
|
-
}
|
|
1738
|
-
"aria-label": "Name"
|
|
1737
|
+
}
|
|
1739
1738
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
1740
1739
|
name: 'Facebook Solid',
|
|
1741
1740
|
color: theme.palette.background.default,
|
|
@@ -1746,8 +1745,7 @@ function Footer({
|
|
|
1746
1745
|
className: classes.socialMediaCta,
|
|
1747
1746
|
onClick: () => {
|
|
1748
1747
|
window.open(data?.twitterLink?.metadata?.value, '_blank');
|
|
1749
|
-
}
|
|
1750
|
-
"aria-label": "Name"
|
|
1748
|
+
}
|
|
1751
1749
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
1752
1750
|
name: 'Twitter Solid',
|
|
1753
1751
|
color: theme.palette.background.default,
|
|
@@ -1758,8 +1756,7 @@ function Footer({
|
|
|
1758
1756
|
className: classes.socialMediaCta,
|
|
1759
1757
|
onClick: () => {
|
|
1760
1758
|
window.open(data?.instagramLink?.metadata?.value, '_blank');
|
|
1761
|
-
}
|
|
1762
|
-
"aria-label": "Name"
|
|
1759
|
+
}
|
|
1763
1760
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
1764
1761
|
name: 'Instagram',
|
|
1765
1762
|
color: theme.palette.background.default,
|
|
@@ -1770,8 +1767,7 @@ function Footer({
|
|
|
1770
1767
|
className: classes.socialMediaCta,
|
|
1771
1768
|
onClick: () => {
|
|
1772
1769
|
window.open(data?.telegramLink?.metadata?.value, '_blank');
|
|
1773
|
-
}
|
|
1774
|
-
"aria-label": "Name"
|
|
1770
|
+
}
|
|
1775
1771
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
1776
1772
|
name: 'Telegram',
|
|
1777
1773
|
color: theme.palette.background.default,
|
|
@@ -1782,8 +1778,7 @@ function Footer({
|
|
|
1782
1778
|
className: classes.socialMediaCta,
|
|
1783
1779
|
onClick: () => {
|
|
1784
1780
|
window.open(data?.youtubeLink?.metadata?.value, '_blank');
|
|
1785
|
-
}
|
|
1786
|
-
"aria-label": "Name"
|
|
1781
|
+
}
|
|
1787
1782
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
1788
1783
|
name: 'YouTube',
|
|
1789
1784
|
color: theme.palette.background.default,
|
|
@@ -2882,7 +2877,8 @@ const useSectionStyles$6 = createUseStyles(theme => ({
|
|
|
2882
2877
|
padding: '0px'
|
|
2883
2878
|
},
|
|
2884
2879
|
textContainer: {
|
|
2885
|
-
padding: '20px'
|
|
2880
|
+
padding: '0px 20px',
|
|
2881
|
+
height: '100%'
|
|
2886
2882
|
},
|
|
2887
2883
|
heading: {
|
|
2888
2884
|
fontSize: '40px'
|
|
@@ -3967,9 +3963,10 @@ const useVideoStyles$1 = createUseStyles(theme => {
|
|
|
3967
3963
|
isLoaded
|
|
3968
3964
|
} = {}) => isLoaded ? 'block' : 'none'
|
|
3969
3965
|
},
|
|
3970
|
-
icon: {
|
|
3971
|
-
|
|
3972
|
-
},
|
|
3966
|
+
// icon: {
|
|
3967
|
+
// zIndex: '999'
|
|
3968
|
+
// },
|
|
3969
|
+
|
|
3973
3970
|
imgContainer: {
|
|
3974
3971
|
position: 'absolute',
|
|
3975
3972
|
width: '100%',
|