diy-template-components 0.2.45 → 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 +10 -14
- package/build/index.es.js.map +1 -1
- package/build/index.js +10 -14
- package/build/index.js.map +1 -1
- package/package.json +2 -2
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,
|
|
@@ -3968,9 +3963,10 @@ const useVideoStyles$1 = createUseStyles(theme => {
|
|
|
3968
3963
|
isLoaded
|
|
3969
3964
|
} = {}) => isLoaded ? 'block' : 'none'
|
|
3970
3965
|
},
|
|
3971
|
-
icon: {
|
|
3972
|
-
|
|
3973
|
-
},
|
|
3966
|
+
// icon: {
|
|
3967
|
+
// zIndex: '999'
|
|
3968
|
+
// },
|
|
3969
|
+
|
|
3974
3970
|
imgContainer: {
|
|
3975
3971
|
position: 'absolute',
|
|
3976
3972
|
width: '100%',
|