gatsby-matrix-theme 49.0.9 → 49.0.10

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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [49.0.10](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v49.0.9...v49.0.10) (2024-08-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * updated to latest core theme version ([d828a0d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/d828a0d15258b203e0da8e8dfb3f9926a1e0617b))
7
+
1
8
  ## [49.0.9](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v49.0.8...v49.0.9) (2024-08-21)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "49.0.9",
3
+ "version": "49.0.10",
4
4
  "main": "index.js",
5
5
  "description": "Matrix Theme NPM Package",
6
6
  "author": "",
@@ -25,7 +25,7 @@
25
25
  "dependencies": {
26
26
  "@react-icons/all-files": "^4.1.0",
27
27
  "gatsby": "^5.11.0",
28
- "gatsby-core-theme": "36.0.0",
28
+ "gatsby-core-theme": "36.0.1",
29
29
  "gatsby-plugin-sharp": "^5.11.0",
30
30
  "gatsby-transformer-sharp": "^5.11.0",
31
31
  "prop-types": "15.7.2",
@@ -4,7 +4,7 @@
4
4
  import React, { useEffect } from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import { v4 as uuidv4 } from 'uuid';
7
- import { getSection } from 'gatsby-core-theme/src/helpers/getters';
7
+ import { getSection, getMarketSection } from 'gatsby-core-theme/src/helpers/getters';
8
8
  import Navigation from 'gatsby-core-theme/src/components/organisms/navigation';
9
9
  import Main from 'gatsby-core-theme/src/components/molecules/main';
10
10
  import Header from 'gatsby-core-theme/src/components/molecules/header';
@@ -29,9 +29,15 @@ function Body({ pageContext, children, serverData }) {
29
29
  const { template } = pageContext.page;
30
30
 
31
31
  const main = getBodySection('main');
32
- const navigation = getBodySection(pageTypes[template]?.section || pageTypes.default.section);
33
32
 
34
- const footer = getBodySection('footer');
33
+ const navigation = getMarketSection(
34
+ pageTypes[template]?.section || pageTypes.default.section,
35
+ pageContext
36
+ );
37
+
38
+ const footer = pageTypes[template]?.disableFooter
39
+ ? null
40
+ : getMarketSection("footer", pageContext);
35
41
 
36
42
  const links = getBodySection('links');
37
43
  const isHomePage = pageContext?.page && pageContext?.page.path === '/';
@@ -11,6 +11,7 @@ export const pageTypes = {
11
11
  disablePopup: true,
12
12
  },
13
13
  responsible_gambling_guide: {
14
+ disableFooter: true,
14
15
  section: "rg_navigation",
15
16
  showLogoWithLink: false,
16
17
  disableSearch: false,