diy-template-components 0.2.45 → 0.2.47
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 +13 -15
- package/build/index.es.js.map +1 -1
- package/build/index.js +13 -15
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -1141,7 +1141,7 @@ const NextImageRenderer = ({
|
|
|
1141
1141
|
refSetter,
|
|
1142
1142
|
className
|
|
1143
1143
|
} = props;
|
|
1144
|
-
if (isCustomWebsite
|
|
1144
|
+
if (isCustomWebsite) {
|
|
1145
1145
|
const classes = nextImageRendererStyles();
|
|
1146
1146
|
const imageLoader = ({
|
|
1147
1147
|
src,
|
|
@@ -1156,8 +1156,9 @@ const NextImageRenderer = ({
|
|
|
1156
1156
|
return `${process.env.NEXT_PUBLIC_ENV_ASSET_PREFIX}/_next/image?url=${src}&q=${quality || 75}&w=${dynamicWidth}`;
|
|
1157
1157
|
};
|
|
1158
1158
|
const NextImage = require('next/image').default;
|
|
1159
|
+
console.log('next image succes');
|
|
1159
1160
|
return /*#__PURE__*/React.createElement(NextImage, _extends({
|
|
1160
|
-
priority: sectionIndex
|
|
1161
|
+
priority: sectionIndex === '0' ? true : false,
|
|
1161
1162
|
loader: imageLoader,
|
|
1162
1163
|
src: src,
|
|
1163
1164
|
layout: 'fill',
|
|
@@ -1167,6 +1168,7 @@ const NextImageRenderer = ({
|
|
|
1167
1168
|
alt: "image"
|
|
1168
1169
|
}));
|
|
1169
1170
|
} else {
|
|
1171
|
+
console.log('next image failed image tag');
|
|
1170
1172
|
return /*#__PURE__*/React.createElement("img", {
|
|
1171
1173
|
ref: refSetter,
|
|
1172
1174
|
className: className,
|
|
@@ -1734,8 +1736,7 @@ function Footer({
|
|
|
1734
1736
|
className: classes.socialMediaCta,
|
|
1735
1737
|
onClick: () => {
|
|
1736
1738
|
window.open(data?.facebookLink?.metadata?.value, '_blank');
|
|
1737
|
-
}
|
|
1738
|
-
"aria-label": "Name"
|
|
1739
|
+
}
|
|
1739
1740
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
1740
1741
|
name: 'Facebook Solid',
|
|
1741
1742
|
color: theme.palette.background.default,
|
|
@@ -1746,8 +1747,7 @@ function Footer({
|
|
|
1746
1747
|
className: classes.socialMediaCta,
|
|
1747
1748
|
onClick: () => {
|
|
1748
1749
|
window.open(data?.twitterLink?.metadata?.value, '_blank');
|
|
1749
|
-
}
|
|
1750
|
-
"aria-label": "Name"
|
|
1750
|
+
}
|
|
1751
1751
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
1752
1752
|
name: 'Twitter Solid',
|
|
1753
1753
|
color: theme.palette.background.default,
|
|
@@ -1758,8 +1758,7 @@ function Footer({
|
|
|
1758
1758
|
className: classes.socialMediaCta,
|
|
1759
1759
|
onClick: () => {
|
|
1760
1760
|
window.open(data?.instagramLink?.metadata?.value, '_blank');
|
|
1761
|
-
}
|
|
1762
|
-
"aria-label": "Name"
|
|
1761
|
+
}
|
|
1763
1762
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
1764
1763
|
name: 'Instagram',
|
|
1765
1764
|
color: theme.palette.background.default,
|
|
@@ -1770,8 +1769,7 @@ function Footer({
|
|
|
1770
1769
|
className: classes.socialMediaCta,
|
|
1771
1770
|
onClick: () => {
|
|
1772
1771
|
window.open(data?.telegramLink?.metadata?.value, '_blank');
|
|
1773
|
-
}
|
|
1774
|
-
"aria-label": "Name"
|
|
1772
|
+
}
|
|
1775
1773
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
1776
1774
|
name: 'Telegram',
|
|
1777
1775
|
color: theme.palette.background.default,
|
|
@@ -1782,8 +1780,7 @@ function Footer({
|
|
|
1782
1780
|
className: classes.socialMediaCta,
|
|
1783
1781
|
onClick: () => {
|
|
1784
1782
|
window.open(data?.youtubeLink?.metadata?.value, '_blank');
|
|
1785
|
-
}
|
|
1786
|
-
"aria-label": "Name"
|
|
1783
|
+
}
|
|
1787
1784
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
1788
1785
|
name: 'YouTube',
|
|
1789
1786
|
color: theme.palette.background.default,
|
|
@@ -3968,9 +3965,10 @@ const useVideoStyles$1 = createUseStyles(theme => {
|
|
|
3968
3965
|
isLoaded
|
|
3969
3966
|
} = {}) => isLoaded ? 'block' : 'none'
|
|
3970
3967
|
},
|
|
3971
|
-
icon: {
|
|
3972
|
-
|
|
3973
|
-
},
|
|
3968
|
+
// icon: {
|
|
3969
|
+
// zIndex: '999'
|
|
3970
|
+
// },
|
|
3971
|
+
|
|
3974
3972
|
imgContainer: {
|
|
3975
3973
|
position: 'absolute',
|
|
3976
3974
|
width: '100%',
|