gatsby-core-theme 44.4.31 → 44.4.32
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/CHANGELOG.md +8 -0
- package/gatsby-node.mjs +17 -28
- package/package.json +1 -1
- package/src/components/organisms/navigation/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [44.4.32](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.31...v44.4.32) (2025-08-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* added translation for site logo in nav ([2dda714](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/2dda714b9481a6cd479e85b03e5b410fa2c59f08))
|
|
7
|
+
* revert redirects ([9a1cbc4](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/9a1cbc40e857138709c02587603b5e352bab8aeb))
|
|
8
|
+
|
|
1
9
|
## [44.4.31](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.30...v44.4.31) (2025-08-18)
|
|
2
10
|
|
|
3
11
|
|
package/gatsby-node.mjs
CHANGED
|
@@ -71,7 +71,7 @@ const relations = {};
|
|
|
71
71
|
|
|
72
72
|
// eslint-disable-next-line import/prefer-default-export
|
|
73
73
|
export const createPages = async (
|
|
74
|
-
{ actions: { createPage
|
|
74
|
+
{ actions: { createPage } },
|
|
75
75
|
themeOptions
|
|
76
76
|
) => {
|
|
77
77
|
process.env.GATSBY_SITE_NAME = String(themeOptions.siteName);
|
|
@@ -282,34 +282,23 @@ export const createPages = async (
|
|
|
282
282
|
}
|
|
283
283
|
});
|
|
284
284
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
? "app-tracker-ssr.js"
|
|
301
|
-
: "app-tracker.js"
|
|
302
|
-
}`,
|
|
303
|
-
context: {
|
|
304
|
-
page,
|
|
305
|
-
siteGeneralData,
|
|
306
|
-
operator,
|
|
307
|
-
isTracker: true,
|
|
308
|
-
isLiveStreamProvider: false,
|
|
309
|
-
},
|
|
310
|
-
});
|
|
285
|
+
trackingPages.forEach(({ path, page, operator }) => {
|
|
286
|
+
createPage({
|
|
287
|
+
path,
|
|
288
|
+
component: `${__dirname}/src/components/${
|
|
289
|
+
process.env.IS_TRACKING_SSR === "true"
|
|
290
|
+
? "app-tracker-ssr.js"
|
|
291
|
+
: "app-tracker.js"
|
|
292
|
+
}`,
|
|
293
|
+
context: {
|
|
294
|
+
page,
|
|
295
|
+
siteGeneralData,
|
|
296
|
+
operator,
|
|
297
|
+
isTracker: true,
|
|
298
|
+
isLiveStreamProvider: false,
|
|
299
|
+
},
|
|
311
300
|
});
|
|
312
|
-
}
|
|
301
|
+
});
|
|
313
302
|
};
|
|
314
303
|
|
|
315
304
|
export const onCreatePage = async ({ page, actions }) => {
|
package/package.json
CHANGED
|
@@ -56,7 +56,7 @@ const Navigation = ({
|
|
|
56
56
|
pageTypes[template]?.showLogoWithLink ?? pageTypes.default.showLogoWithLink;
|
|
57
57
|
|
|
58
58
|
const logoImg = (
|
|
59
|
-
<img alt={logoAlt} src={logo} width={logoWidth} height={logoHeight} />
|
|
59
|
+
<img alt={useTranslate('nav_site_logo', logoAlt)} src={logo} width={logoWidth} height={logoHeight} />
|
|
60
60
|
);
|
|
61
61
|
|
|
62
62
|
if (stopScrollOnOpen) toggleScroll("", true);
|