gatsby-core-theme 2.0.8 → 2.0.12

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,45 @@
1
+ ## [2.0.12](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v2.0.11...v2.0.12) (2022-01-04)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * ppc tournaments data ([d9e66e9](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/d9e66e953da58a4c31885edd305e75d8f4c5fa18))
7
+
8
+
9
+ * Merge branch 'master' of git.ilcd.rocks:team-floyd/themes/gatsby-themes ([9ef964b](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/9ef964bbe20b037026abfcbb3e0289703f81d501))
10
+
11
+ ## [2.0.11](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v2.0.10...v2.0.11) (2022-01-04)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * sports tracker pages ([d241b52](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/d241b5268c9c0451e9d05ad3db44ce2138a84b06))
17
+
18
+
19
+ * Merge branch 'master' of git.ilcd.rocks:team-floyd/themes/gatsby-themes ([9481c20](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/9481c20dd68a400cf8d58d6f0165724a452f60b5))
20
+
21
+ ## [2.0.10](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v2.0.9...v2.0.10) (2022-01-03)
22
+
23
+
24
+ ### Bug Fixes
25
+
26
+ * added sample data ([9adb171](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/9adb1717b3a1060abc2e943991e371a3a3155843))
27
+
28
+
29
+ * Merge branch 'master' of git.ilcd.rocks:team-floyd/themes/gatsby-themes ([104b2c9](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/104b2c9c657e0f77d0b00b85bb6265da7c0fe3fd))
30
+
31
+ ## [2.0.9](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v2.0.8...v2.0.9) (2022-01-03)
32
+
33
+
34
+ ### Bug Fixes
35
+
36
+ * added translatable text in author ([8a3c5e5](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/8a3c5e5491f45077f7e97e869097cadbd30c719b))
37
+
38
+
39
+ ### Tests
40
+
41
+ * added sample data ([6d930cf](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/6d930cfa577cd58a583594f64e7658a77ad4d6af))
42
+
1
43
  ## [2.0.8](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v2.0.7...v2.0.8) (2022-01-03)
2
44
 
3
45
 
@@ -303,11 +303,22 @@ exports.createPages = async ({ actions: { createPage } }, themeOptions) => {
303
303
  return { tracker, providerObject };
304
304
  });
305
305
  providerData.forEach((provider) => {
306
+ const trackerPageObject = {
307
+ meta_title: 'Tracker',
308
+ template: 'tracker',
309
+ title: 'Tracker',
310
+ type: 'page',
311
+ language: languageKey,
312
+ path: provider.tracker,
313
+ meta_robots: ['noindex', 'nofollow'],
314
+ };
306
315
  createPage({
307
316
  path: provider.tracker,
308
317
  component: require.resolve('./src/components/app.js'),
309
318
  context: {
319
+ page: trackerPageObject,
310
320
  provider: provider.providerObject,
321
+ isTracker: true,
311
322
  },
312
323
  });
313
324
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "2.0.8",
3
+ "version": "2.0.12",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "main": "index.js",
6
6
  "GATSBY_RECAPTCHA_SITEKEY": "6LfoyvMUAAAAAO4nl_MQnqHb4XdHxEiu5cXgIqeB",
@@ -38,7 +38,7 @@ export default function AuthorBox({ author }) {
38
38
  target="_blank"
39
39
  rel="noreferrer"
40
40
  >
41
- Email
41
+ {translate(translations, 'email', 'Email')}
42
42
  </a>
43
43
  )}
44
44
  {author.personal_website && (
@@ -48,7 +48,7 @@ export default function AuthorBox({ author }) {
48
48
  target="_blank"
49
49
  rel="noreferrer"
50
50
  >
51
- Website
51
+ {translate(translations, 'website', 'Website')}
52
52
  </a>
53
53
  )}
54
54
  {author.additional_url && (
@@ -58,7 +58,7 @@ export default function AuthorBox({ author }) {
58
58
  target="_blank"
59
59
  rel="noreferrer"
60
60
  >
61
- Contact
61
+ {translate(translations, 'contact', 'Contact')}
62
62
  </a>
63
63
  )}
64
64
  </p>
@@ -55,7 +55,7 @@ function updateSchedule(schedule) {
55
55
 
56
56
  return Object.keys(schedule).reduce((acc, key) => {
57
57
  const { tournaments } = schedule[key] || {};
58
- if (!tournaments && ['soccer', 'handball', 'tennis', 'cricket'].includes(key)) {
58
+ if (!tournaments && ['soccer', 'handball', 'tennis', 'cricket', 'darts'].includes(key)) {
59
59
  const value = updateSchedule(schedule[key]);
60
60
  acc[key] = value;
61
61
  return acc;
@@ -165,6 +165,7 @@ export function getSampleOperatorCards(type) {
165
165
  items: [
166
166
  {
167
167
  path: '/rizk',
168
+ title: 'rizk',
168
169
  relation: {
169
170
  name: 'Rizk',
170
171
  rating: '5',
@@ -183,6 +184,32 @@ export function getSampleOperatorCards(type) {
183
184
  'Great website and app design',
184
185
  'Wager-free free spins',
185
186
  ],
187
+ bonus: {
188
+ deposit_methods: [
189
+ {
190
+ logo_filename: 'apple.png',
191
+ },
192
+ {
193
+ logo_filename: 'visapng339205421f-original.png',
194
+ },
195
+ {
196
+ logo_filename: 'mastercard-logo.png',
197
+ },
198
+ ],
199
+ license_objects: [
200
+ {
201
+ logo_filename: 'mga-6.png',
202
+ },
203
+ ],
204
+ currencies: [
205
+ {
206
+ iso_code: 'ZAR',
207
+ },
208
+ {
209
+ iso_code: 'EUR',
210
+ },
211
+ ],
212
+ },
186
213
  },
187
214
  extra_fields: {
188
215
  card_background_image: '2831afbf54038c1266f8c7fbcff20857.png',
@@ -190,6 +217,7 @@ export function getSampleOperatorCards(type) {
190
217
  },
191
218
  {
192
219
  path: '/captain-spins',
220
+ title: 'captain spins',
193
221
  relation: {
194
222
  name: 'Captain Spins',
195
223
  logo_url: 'captain-spins-logopng07b24ceb59-original.png',
@@ -203,11 +231,32 @@ export function getSampleOperatorCards(type) {
203
231
  ribbon_color: '#FFC740',
204
232
  ribbon_text: 'Exclusive Bonus',
205
233
  },
234
+ bonus: {
235
+ deposit_methods: [
236
+ {
237
+ logo_filename: 'visapng339205421f-original.png',
238
+ },
239
+ {
240
+ logo_filename: 'mastercard-logo.png',
241
+ },
242
+ ],
243
+ license_objects: [
244
+ {
245
+ logo_filename: 'curacao-casino-license.png',
246
+ },
247
+ ],
248
+ currencies: [
249
+ {
250
+ iso_code: 'EUR',
251
+ },
252
+ ],
253
+ },
206
254
  selling_points: ['Over 1000 games', 'Loyalty Programme', 'Wager-free free spins'],
207
255
  },
208
256
  },
209
257
  {
210
258
  path: '/casoola',
259
+ title: 'casoola',
211
260
  relation: {
212
261
  name: 'Casoola',
213
262
  logo_url: 'casoola-logopng381ab5c04f-original.png',
@@ -217,6 +266,32 @@ export function getSampleOperatorCards(type) {
217
266
  one_liner: '100% up to €500 + 400 spins',
218
267
  },
219
268
  },
269
+ bonus: {
270
+ deposit_methods: [
271
+ {
272
+ logo_filename: 'apple.png',
273
+ },
274
+ {
275
+ logo_filename: 'visapng339205421f-original.png',
276
+ },
277
+ ],
278
+ license_objects: [
279
+ {
280
+ logo_filename: 'mga-6.png',
281
+ },
282
+ {
283
+ logo_filename: 'curacao-casino-license.png',
284
+ },
285
+ ],
286
+ currencies: [
287
+ {
288
+ iso_code: 'GBP',
289
+ },
290
+ {
291
+ iso_code: 'EUR',
292
+ },
293
+ ],
294
+ },
220
295
  selling_points: ['Over 1000 games', 'Slick, modern interface'],
221
296
  },
222
297
  },