gatsby-matrix-theme 52.0.75 → 52.0.77
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 +18 -0
- package/package.json +2 -2
- package/src/components/molecules/header/variants/slot/template-two/index.js +12 -5
- package/storybook/public/{536.bf79d4a6.iframe.bundle.js → 536.ca9a3a95.iframe.bundle.js} +4 -4
- package/storybook/public/{536.bf79d4a6.iframe.bundle.js.map → 536.ca9a3a95.iframe.bundle.js.map} +1 -1
- package/storybook/public/964.af5ad47f.iframe.bundle.js +1 -0
- package/storybook/public/iframe.html +1 -1
- package/storybook/public/{main.99deaf42.iframe.bundle.js → main.3847748f.iframe.bundle.js} +1 -1
- package/storybook/public/project.json +1 -1
- package/storybook/public/{runtime~main.50a0e6ef.iframe.bundle.js → runtime~main.1a72ad25.iframe.bundle.js} +1 -1
- package/storybook/public/964.718a6c8c.iframe.bundle.js +0 -1
- /package/storybook/public/{536.bf79d4a6.iframe.bundle.js.LICENSE.txt → 536.ca9a3a95.iframe.bundle.js.LICENSE.txt} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## [52.0.77](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.76...v52.0.77) (2025-02-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* update version ([7f4bb70](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/7f4bb70026f012a2c1a3c90b53825dea03631058))
|
|
7
|
+
|
|
8
|
+
## [52.0.76](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.75...v52.0.76) (2025-02-21)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* make rating guidelines translatable ([dab49bb](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/dab49bba3abd4c7ffccbc99e14391f66f34ace65))
|
|
14
|
+
* updatre version ([b878350](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/b878350bf51dbe07cdc2ba67195d0fa33cb5f0c1))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
* Merge branch 'update-translate' into 'master' ([9865709](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/9865709777fbcfef4eda8fec94bc760d60584ead))
|
|
18
|
+
|
|
1
19
|
## [52.0.75](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.74...v52.0.75) (2025-02-20)
|
|
2
20
|
|
|
3
21
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gatsby-matrix-theme",
|
|
3
|
-
"version": "52.0.
|
|
3
|
+
"version": "52.0.77",
|
|
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": "42.0.
|
|
28
|
+
"gatsby-core-theme": "42.0.17",
|
|
29
29
|
"gatsby-plugin-sharp": "^5.11.0",
|
|
30
30
|
"gatsby-transformer-sharp": "^5.11.0",
|
|
31
31
|
"gatsby-plugin-sitemap": "^6.13.1",
|
|
@@ -2,11 +2,11 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
|
|
4
4
|
import { imagePrettyUrl, getAltText } from 'gatsby-core-theme/src/helpers/getters';
|
|
5
|
-
import Link from 'gatsby-core-theme/src/hooks/link';
|
|
6
5
|
import Tnc from 'gatsby-core-theme/src/components/molecules/tnc';
|
|
7
6
|
import LazyImage from 'gatsby-core-theme/src/hooks/lazy-image';
|
|
8
7
|
import OperatorBanner from 'gatsby-core-theme/src/components/atoms/header-operator-bannner';
|
|
9
8
|
import Rating from 'gatsby-core-theme/src/components/atoms/ratings';
|
|
9
|
+
import useTranslate from '~hooks/useTranslate/useTranslate';
|
|
10
10
|
import Verify from '~images/icons/verify';
|
|
11
11
|
import { TrackingKeys } from '~constants/tracking-api'
|
|
12
12
|
|
|
@@ -32,10 +32,17 @@ const TemplateTwo = ({ page, image = <Verify />, width = '259', height = '259',
|
|
|
32
32
|
{image}
|
|
33
33
|
</div>
|
|
34
34
|
<Rating item={page.relation} type="game" />
|
|
35
|
-
<span
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
<span
|
|
36
|
+
className={styles?.ratingGuideline || ''}
|
|
37
|
+
// eslint-disable-next-line react/no-danger
|
|
38
|
+
dangerouslySetInnerHTML={{
|
|
39
|
+
__html: useTranslate(
|
|
40
|
+
'rating_guideline',
|
|
41
|
+
`This unbiased rating score is given by our casino & gambling experts according to our
|
|
42
|
+
<a href="/rating-guide" class="link-class">Rating Guidelines</a> to provide honest reviews`
|
|
43
|
+
),
|
|
44
|
+
}}
|
|
45
|
+
/>
|
|
39
46
|
</div>
|
|
40
47
|
</div>
|
|
41
48
|
{headerBonus && (
|