gatsby-matrix-theme 52.0.59 → 52.0.61

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.61](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.60...v52.0.61) (2025-01-16)
2
+
3
+
4
+ ### Config
5
+
6
+ * update theme ([ea7abe0](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/ea7abe08d3e828c22ccd461e11c741e3e9ea9791))
7
+
8
+ ## [52.0.60](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.59...v52.0.60) (2025-01-15)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * update theme ([230bbd8](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/230bbd8c7d624fa48eec822e5e9e804915d3d572))
14
+
1
15
  ## [52.0.59](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.58...v52.0.59) (2025-01-15)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "52.0.59",
3
+ "version": "52.0.61",
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": "41.1.21",
28
+ "gatsby-core-theme": "41.1.26",
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,6 +9,7 @@ import DefaulTemplateOne from 'gatsby-core-theme/src/components/molecules/header
9
9
  import DefaulTemplateTwo from '../../../../components/molecules/header/variants/default/template-two';
10
10
  import ReviewCredits from '../../../../components/atoms/review-credits';
11
11
  import Author from '~atoms/author';
12
+ import useTranslate from '~hooks/useTranslate/useTranslate';
12
13
  import Verify from '~images/icons/verify';
13
14
  import styles from './header.module.scss';
14
15
 
@@ -242,11 +243,13 @@ export default function Header({ section, numOfStarsRating = 5, showAuthor }) {
242
243
  (module) => module.name === 'contact_form'
243
244
  ).length;
244
245
 
246
+ const sitemapTranslation = useTranslate('sitemap', 'sitemap');
247
+
245
248
  const showReviewCredits =
246
249
  section.page.path !== '/' &&
247
250
  !isContactUsPage &&
248
251
  section.page.path !== 'news' &&
249
- section.page.path !== 'sitemap' &&
252
+ section.page.path !== sitemapTranslation &&
250
253
  section.page.template !== 'ppc' &&
251
254
  section.page.author_id &&
252
255
  showAuthor;
@@ -255,7 +258,7 @@ export default function Header({ section, numOfStarsRating = 5, showAuthor }) {
255
258
  section.page.path !== '/' &&
256
259
  !isContactUsPage &&
257
260
  section.page.path !== 'news' &&
258
- section.page.path !== 'sitemap' &&
261
+ section.page.path !== sitemapTranslation &&
259
262
  section.page.template !== 'ppc' &&
260
263
  section.page.author_id &&
261
264
  showAuthor;
@@ -11,6 +11,7 @@ import NotFound from 'gatsby-core-theme/src/components/atoms/not-found';
11
11
  import FeedBackModule from '../../../../components/atoms/feedBackModule';
12
12
  import AuthorBox from '~atoms/author-box';
13
13
  import { isSearchPath } from '~helpers/isSearchPath';
14
+ import useTranslate from '~hooks/useTranslate/useTranslate';
14
15
  import styles from './main.module.scss';
15
16
 
16
17
  const Main = ({
@@ -56,12 +57,13 @@ const Main = ({
56
57
  process.env.GATSBY_SITE_NAME === 'playcasino.co.za';
57
58
 
58
59
  const showAuthorBox = page.author && page.author_id && !isContactUsPage && !page?.allAuthors;
60
+ const sitemapTranslation = useTranslate('sitemap', 'sitemap');
59
61
 
60
62
  const ReviewCredits =
61
63
  page.path !== '/' &&
62
64
  !isContactUsPage &&
63
65
  page.path !== 'news' &&
64
- page.path !== 'sitemap' &&
66
+ page.path !== sitemapTranslation &&
65
67
  page.template !== 'ppc' &&
66
68
  page.author_id &&
67
69
  showAuthor
@@ -72,7 +74,7 @@ const Main = ({
72
74
  page.path !== '/' &&
73
75
  !isContactUsPage &&
74
76
  page.path !== 'news' &&
75
- page.path !== 'sitemap' &&
77
+ page.path !== sitemapTranslation &&
76
78
  page.template !== 'ppc' &&
77
79
  page.author_id &&
78
80
  showAuthor