gatsby-matrix-theme 52.0.92 → 52.0.94

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,17 @@
1
+ ## [52.0.94](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.93...v52.0.94) (2025-03-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * remove aside links component when ppc page ([b64259b](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/b64259bf9963cbb1b958505203fca00a2efddfbe))
7
+
8
+ ## [52.0.93](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.92...v52.0.93) (2025-03-11)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * update core version ([921fee8](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/921fee8c17a4f08a44f633cab664f638ba99a9aa))
14
+
1
15
  ## [52.0.92](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.91...v52.0.92) (2025-03-11)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "52.0.92",
3
+ "version": "52.0.94",
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": "43.0.2",
28
+ "gatsby-core-theme": "43.0.3",
29
29
  "gatsby-plugin-sharp": "^5.11.0",
30
30
  "gatsby-transformer-sharp": "^5.11.0",
31
31
  "gatsby-plugin-sitemap": "^6.13.1",
@@ -9,7 +9,7 @@ import styles from './link-menu.module.scss';
9
9
  const LinkMenu = ({
10
10
  section,
11
11
  listIcon = <FaChevronRight title="Right-pointing Arrow Icon" />,
12
- showLinks,
12
+ showLinks=true,
13
13
  }) => {
14
14
  const menuArray = getFirstModuleByName(section, 'menu');
15
15
 
@@ -42,7 +42,7 @@ function Body({ pageContext, children, serverData }) {
42
42
  const links = pageTypes[template]?.disableFooter || pageTypes[template]?.disableFooterLinks ? null : getMarketSection('links', pageContext);
43
43
 
44
44
  const isHomePage = pageContext?.page && pageContext?.page.path === '/';
45
- const showLinks = pageContext?.page && pageContext?.page?.template !== 'ppc';
45
+ const isPPC = pageContext?.page && pageContext?.page?.template === 'ppc';
46
46
  const pageType = pageContext.page.relation_type;
47
47
  const is404 = pageContext.page.path.includes('404');
48
48
 
@@ -108,9 +108,9 @@ function Body({ pageContext, children, serverData }) {
108
108
 
109
109
  {children && <main>{children}</main>}
110
110
 
111
- {links && !isContactUsPage && (
111
+ {!isPPC && links && !isContactUsPage && (
112
112
  <aside>
113
- <LinkMenu section={links} showLinks={showLinks} />
113
+ <LinkMenu section={links} />
114
114
  </aside>
115
115
  )}
116
116
  {showOpenGraph && <OpenGraph text="Del på" page={pageContext?.page} />}