gatsby-core-theme 36.0.2 → 36.0.4

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
+ ## [36.0.4](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v36.0.3...v36.0.4) (2024-08-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * cta ([a894d95](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/a894d95180a2cc50aedd3a70e8a353712d611782))
7
+
8
+ ## [36.0.3](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v36.0.2...v36.0.3) (2024-08-22)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * body component and game attributes ([d069921](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/d069921b7a98295b67d30f5508796e29b1d3c17d))
14
+
1
15
  ## [36.0.2](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v36.0.1...v36.0.2) (2024-08-21)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "36.0.2",
3
+ "version": "36.0.4",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -71,12 +71,12 @@ const OperatorCtaButton = ({
71
71
  buttonSize ? styles[`${buttonSize}_size`] : ''
72
72
  } `;
73
73
 
74
+ // Note: Check if the default link is savailable otherwise hide
74
75
  const trackerLinkActive = () => {
75
76
  if (!operator || !operator?.links) {
76
77
  return false;
77
78
  }
78
-
79
- return operator?.links[tracker]
79
+ return operator?.links?.main
80
80
  };
81
81
 
82
82
  return (
@@ -49,7 +49,7 @@ const Main = ({
49
49
 
50
50
  return (
51
51
  <main className={styles.modulePage || ""}>
52
- {section.modules &&
52
+ {section && section.modules &&
53
53
  section.modules.map((module, index) => (
54
54
  <Module
55
55
  key={keygen()}
@@ -62,7 +62,7 @@ function Body({ pageContext, children, serverData }) {
62
62
  />
63
63
  )}
64
64
  {!is404 && <Header serverData={serverData} section={pageContext} />}
65
- {main && !children && (
65
+ {!children && (
66
66
  <Main
67
67
  serverData={serverData}
68
68
  section={main}
@@ -88,12 +88,24 @@ export const pickRelationKeys = {
88
88
  'first_rating',
89
89
  'second_rating',
90
90
  'third_rating',
91
- 'markets',
92
91
  'fourth_rating',
93
92
  'standardised_logo_filename_object',
94
93
  'thumbnail_filename',
95
94
  'thumbnail_filename_object',
96
95
  'name',
96
+ 'iframe',
97
+ 'markets',
98
+ 'average_rating',
99
+ 'maximum_bet',
100
+ 'volatility',
101
+ 'rtp',
102
+ 'freespins',
103
+ 'number_of_reels',
104
+ 'winning_lines',
105
+ 'affiliate_games',
106
+ 'minimum_bet',
107
+ 'jackpots',
108
+ 'launch_date'
97
109
  ],
98
110
  software_provider: [
99
111
  'logo_filename_object',