gatsby-matrix-theme 53.2.45 → 54.0.0-poc.2

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.
Files changed (100) hide show
  1. package/.ci.yml +26 -0
  2. package/CHANGELOG.md +25 -6
  3. package/package.json +2 -2
  4. package/release.config.js +5 -0
  5. package/src/components/atoms/cards/operator-card/template-four/index.js +3 -4
  6. package/src/components/atoms/cards/operator-card/template-four/template-four.stories.js +3 -3
  7. package/src/components/atoms/cards/operator-card/template-one/index.js +3 -4
  8. package/src/components/atoms/cards/operator-card/template-one/template-one.stories.js +3 -4
  9. package/src/components/atoms/cards/operator-card/template-three/index.js +3 -4
  10. package/src/components/atoms/cards/operator-card/template-two/index.js +3 -4
  11. package/src/components/atoms/disclaimer/affiliate-disclaimer/index.js +3 -4
  12. package/src/components/atoms/review-credits/index.js +7 -8
  13. package/src/components/molecules/header/variants/author/assets/name/index.js +3 -4
  14. package/src/components/molecules/header/variants/operator/template-five/index.js +3 -4
  15. package/src/components/molecules/header/variants/operator/template-four/index.js +3 -4
  16. package/src/components/molecules/header/variants/operator/template-three/index.js +3 -4
  17. package/src/components/molecules/header/variants/payment/template-five/index.js +3 -4
  18. package/src/components/molecules/header/variants/payment/template-four/index.js +3 -4
  19. package/src/components/molecules/header/variants/payment/template-one-three/index.js +4 -5
  20. package/src/components/molecules/header/variants/payment/template-two/index.js +4 -5
  21. package/src/components/molecules/header/variants/slot/template-one/index.js +5 -5
  22. package/src/components/molecules/header/variants/slot/template-two/index.js +6 -6
  23. package/src/components/organisms/cards/index.js +13 -47
  24. package/src/gatsby-core-theme/components/molecules/header/index.js +8 -11
  25. package/storybook/public/0.e5489f12ab94aa497491.manager.bundle.js +0 -2
  26. package/storybook/public/0.e5489f12ab94aa497491.manager.bundle.js.LICENSE.txt +0 -8
  27. package/storybook/public/1.7d0dd704b26935d06a04.manager.bundle.js +0 -1
  28. package/storybook/public/10.398dd7a0522c1ff2b3a8.manager.bundle.js +0 -1
  29. package/storybook/public/127.5e3a1d21.iframe.bundle.js +0 -1
  30. package/storybook/public/177.ac764a45.iframe.bundle.js +0 -1
  31. package/storybook/public/179.cf86fb79.iframe.bundle.js +0 -2
  32. package/storybook/public/179.cf86fb79.iframe.bundle.js.LICENSE.txt +0 -31
  33. package/storybook/public/232.e2508c7f.iframe.bundle.js +0 -1
  34. package/storybook/public/240.f9a869fb.iframe.bundle.js +0 -1
  35. package/storybook/public/242.150ae3e2.iframe.bundle.js +0 -1
  36. package/storybook/public/333.4e379536.iframe.bundle.js +0 -1
  37. package/storybook/public/36.6d7d7dac.iframe.bundle.js +0 -1
  38. package/storybook/public/384.4217d9dc.iframe.bundle.js +0 -7
  39. package/storybook/public/384.4217d9dc.iframe.bundle.js.LICENSE.txt +0 -103
  40. package/storybook/public/384.4217d9dc.iframe.bundle.js.map +0 -1
  41. package/storybook/public/395.c1efbb64.iframe.bundle.js +0 -2
  42. package/storybook/public/395.c1efbb64.iframe.bundle.js.LICENSE.txt +0 -19
  43. package/storybook/public/409.2220e9bb.iframe.bundle.js +0 -1
  44. package/storybook/public/421.bcd59807.iframe.bundle.js +0 -1
  45. package/storybook/public/449.b926d2e5.iframe.bundle.js +0 -2
  46. package/storybook/public/449.b926d2e5.iframe.bundle.js.LICENSE.txt +0 -8
  47. package/storybook/public/472.5c5f9f3f.iframe.bundle.js +0 -1
  48. package/storybook/public/477.0df7d903.iframe.bundle.js +0 -1
  49. package/storybook/public/5.23ef655b5acff6eac8ad.manager.bundle.js +0 -1
  50. package/storybook/public/504.6c39549e.iframe.bundle.js +0 -1
  51. package/storybook/public/537.0a21c102.iframe.bundle.js +0 -1
  52. package/storybook/public/563.e1e66d81.iframe.bundle.js +0 -1
  53. package/storybook/public/582.966b7510.iframe.bundle.js +0 -1
  54. package/storybook/public/591.d001ec8b.iframe.bundle.js +0 -1
  55. package/storybook/public/6.d2f96bcf3b11b0f1a44b.manager.bundle.js +0 -1
  56. package/storybook/public/604.1ff7045f.iframe.bundle.js +0 -1
  57. package/storybook/public/61.24d29b3a.iframe.bundle.js +0 -1
  58. package/storybook/public/620.006a92ae.iframe.bundle.js +0 -2
  59. package/storybook/public/620.006a92ae.iframe.bundle.js.LICENSE.txt +0 -12
  60. package/storybook/public/631.8d388e4d.iframe.bundle.js +0 -1
  61. package/storybook/public/638.f09af860.iframe.bundle.js +0 -1
  62. package/storybook/public/650.4189a741.iframe.bundle.js +0 -1
  63. package/storybook/public/672.3058d279.iframe.bundle.js +0 -1
  64. package/storybook/public/679.4baf924a.iframe.bundle.js +0 -1
  65. package/storybook/public/693.bafcff12.iframe.bundle.js +0 -1
  66. package/storybook/public/7.a1c5467faea0833b53d1.manager.bundle.js +0 -1
  67. package/storybook/public/733.7566cbec.iframe.bundle.js +0 -1
  68. package/storybook/public/776.71c64a44.iframe.bundle.js +0 -1
  69. package/storybook/public/777.13ebb172.iframe.bundle.js +0 -1
  70. package/storybook/public/780.3a6a2927.iframe.bundle.js +0 -2
  71. package/storybook/public/780.3a6a2927.iframe.bundle.js.LICENSE.txt +0 -8
  72. package/storybook/public/786.149e758a.iframe.bundle.js +0 -1
  73. package/storybook/public/794.7bc8e2ea.iframe.bundle.js +0 -1
  74. package/storybook/public/796.8a8f559c.iframe.bundle.js +0 -1
  75. package/storybook/public/8.65ec2749796fb05c258c.manager.bundle.js +0 -2
  76. package/storybook/public/8.65ec2749796fb05c258c.manager.bundle.js.LICENSE.txt +0 -12
  77. package/storybook/public/854.9fc784ba.iframe.bundle.js +0 -1
  78. package/storybook/public/9.acd0ef9064e0667433ac.manager.bundle.js +0 -2
  79. package/storybook/public/9.acd0ef9064e0667433ac.manager.bundle.js.LICENSE.txt +0 -31
  80. package/storybook/public/941.96151ba5.iframe.bundle.js +0 -1
  81. package/storybook/public/942.7a3b5e99.iframe.bundle.js +0 -1
  82. package/storybook/public/943.3f7c32be.iframe.bundle.js +0 -1
  83. package/storybook/public/964.64e24ece.iframe.bundle.js +0 -1
  84. package/storybook/public/995.2db3ebc3.iframe.bundle.js +0 -1
  85. package/storybook/public/favicon.ico +0 -0
  86. package/storybook/public/iframe.html +0 -364
  87. package/storybook/public/index.html +0 -51
  88. package/storybook/public/main.7326bf32.iframe.bundle.js +0 -1
  89. package/storybook/public/main.93d2c8aa127bed373c8a.manager.bundle.js +0 -2
  90. package/storybook/public/main.93d2c8aa127bed373c8a.manager.bundle.js.LICENSE.txt +0 -54
  91. package/storybook/public/project.json +0 -1
  92. package/storybook/public/runtime~main.21787271.iframe.bundle.js +0 -1
  93. package/storybook/public/runtime~main.8e5cf3a9715a0d32d390.manager.bundle.js +0 -1
  94. package/storybook/public/static/media/game-card-bg-banner.9efe5ba6.png +0 -0
  95. package/storybook/public/static/media/game-card-bg-thumb.4d0155e0.png +0 -0
  96. package/storybook/public/static/media/game-card-operator-logo.680c33a6.webp +0 -0
  97. package/storybook/public/static/media/logo.515c40a9.svg +0 -8
  98. package/storybook/public/static/media/popup-bg.51d14d2d.webp +0 -0
  99. package/storybook/public/vendors~main.7c47903ea43e951c3707.manager.bundle.js +0 -2
  100. package/storybook/public/vendors~main.7c47903ea43e951c3707.manager.bundle.js.LICENSE.txt +0 -55
package/.ci.yml CHANGED
@@ -55,6 +55,8 @@ Theme Beta Publish:
55
55
  tags:
56
56
  - gatsby-runner-dev-docker
57
57
  before_script:
58
+ - echo "@gigmedia:registry=https://registry.npmjs.org/" >> ~/.npmrc
59
+ - echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" >> ~/.npmrc
58
60
  - git config --global http.sslverify false
59
61
  - git config --global user.email "floyd@gig.com"
60
62
  - git config --global user.name "floyd"
@@ -70,3 +72,27 @@ Theme Beta Publish:
70
72
  - beta
71
73
  variables:
72
74
  - $PIPELINE != "beta-content"
75
+
76
+ Theme POC Publish:
77
+ image: node:18.17.0
78
+ stage: publish-poc
79
+ tags:
80
+ - gatsby-runner-dev-docker
81
+ before_script:
82
+ - echo "@gigmedia:registry=https://registry.npmjs.org/" >> ~/.npmrc
83
+ - echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" >> ~/.npmrc
84
+ - git config --global http.sslverify false
85
+ - git config --global user.email "floyd@gig.com"
86
+ - git config --global user.name "floyd"
87
+ script:
88
+ - export HUSKY=0
89
+ - yarn config set cache-folder .yarn
90
+ - yarn
91
+ - cd matrix-theme/
92
+ - npx semantic-release@22.0.0
93
+ when: manual
94
+ only:
95
+ refs:
96
+ - poc
97
+ variables:
98
+ - $PIPELINE != "content-trigger"
package/CHANGELOG.md CHANGED
@@ -1,15 +1,34 @@
1
- ## [53.2.45](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v53.2.44...v53.2.45) (2025-09-05)
1
+ # [54.0.0-poc.2](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v54.0.0-poc.1...v54.0.0-poc.2) (2025-09-05)
2
+
3
+
4
+ ### Config
5
+
6
+ * update poc version ([c08fc2a](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/c08fc2ad0e5bdb45c6348e8cb1c1d6cb771a4758))
7
+
8
+ # [54.0.0-poc.1](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v53.2.44...v54.0.0-poc.1) (2025-09-04)
2
9
 
3
10
 
4
11
  ### Bug Fixes
5
12
 
6
- * add lazy load for icon ([c9e5c9a](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/c9e5c9a9e08578ae1e0e834f720ca23171d300a3))
7
- * fix icon ([dd6bddc](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/dd6bddc0c37f5e6d4ae9e4e71801371a1e7ad363))
8
- * update lazy ([0610a04](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/0610a040dd040042257ba77eb6d74986ea61ea92))
9
- * update theme ([7a676b8](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/7a676b8888dd43e30412daf88b28a72a4001f444))
13
+ * "@endemolshinegroup/cosmiconfig-typescript-loader" "^3.0.2" ([de1010c](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/de1010cfd94fae08954af66af49f2babc167f50e))
14
+ * added ci cd ([bca9431](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/bca94314f737f408c342932de9a9ec65438667b1))
15
+ * path ([84a9b14](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/84a9b14e8d79ffe3786954a526c30d83a9e2cb5c))
16
+ * publish poc ([1920c0b](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/1920c0b3d1a0db050e6c268b3e86b5f73404399d))
17
+ * switch to live hercules ([76bff27](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/76bff27421d16a0ecace231e05a1f6ef9f7d1c65))
18
+
19
+
20
+ ### chore
21
+
22
+ * **release:** 53.2.35-poc.1 [skip ci] ([f5a3ac5](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/f5a3ac51f42d0dfdd281db1442e58739b39e6d9e))
23
+ * **release:** 53.2.35-poc.2 [skip ci] ([9df783d](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/9df783d9eb1c236fb9e802b03908b4fcfe7b5bc1))
24
+
25
+
26
+ ### Config
27
+
28
+ * switch core theme to poc version ([f6fe61f](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/f6fe61f5299507f85c50df803126bdeeb5960729))
10
29
 
11
30
 
12
- * Merge branch 'en-8-perfomence' into 'master' ([8926354](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/8926354efca5f2feb9e2bec783cef26ba6b4508a))
31
+ * Merge branch 'master' into poc ([e308aa1](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/e308aa174e645443cb49291568bc08d6fcc68bec))
13
32
 
14
33
  ## [53.2.44](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v53.2.43...v53.2.44) (2025-09-02)
15
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "53.2.45",
3
+ "version": "54.0.0-poc.2",
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": "44.4.52",
28
+ "gatsby-core-theme": "44.5.0-poc.2 ",
29
29
  "gatsby-plugin-sharp": "^5.11.0",
30
30
  "gatsby-transformer-sharp": "^5.11.0",
31
31
  "gatsby-plugin-sitemap": "^6.13.1",
package/release.config.js CHANGED
@@ -92,6 +92,11 @@ module.exports = {
92
92
 
93
93
  '@semantic-release/git',
94
94
  ],
95
+ branches: [
96
+ 'master',
97
+ { name: 'beta', prerelease: true },
98
+ { name: 'poc', prerelease: true }
99
+ ],
95
100
  release: {
96
101
  extends: '@semantic-release/gitlab-config',
97
102
  prepare: [
@@ -1,17 +1,16 @@
1
1
  /* eslint-disable import/no-extraneous-dependencies */
2
- import React, { Suspense, lazy } from 'react';
2
+ import React from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { BiLike } from '@react-icons/all-files/bi/BiLike';
5
5
  import { BiDislike } from '@react-icons/all-files/bi/BiDislike';
6
6
  import BonusTemplateDefault from 'gatsby-core-theme/src/components/molecules/bonus-box/template-three';
7
7
  import ReviewLink from 'gatsby-core-theme/src/components/atoms/review-link';
8
8
  import Rating from 'gatsby-core-theme/src/components/atoms/ratings';
9
+ import Verify from '~images/icons/verify';
9
10
  import OperatorDetails from '../../../../molecules/operator-details';
10
11
  import { TrackingKeys } from '~constants/tracking-api'
11
12
  import styles from './template-four.module.scss';
12
13
 
13
- const VerifyIcon = lazy(() => import('~images/icons/verify'));
14
-
15
14
  const TemplateFour = ({
16
15
  item,
17
16
  useOneStarRating = true,
@@ -21,7 +20,7 @@ const TemplateFour = ({
21
20
  showRatingLabel = false,
22
21
  showRatingDecimal = false,
23
22
  authorTemplateTwo = true,
24
- verifyIcon = <Suspense fallback={<></>}><VerifyIcon /></Suspense>,
23
+ verifyIcon = <Verify />,
25
24
  showBonusForAll = false,
26
25
  width = 88,
27
26
  height = 88,
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable import/no-extraneous-dependencies */
2
- import React, { lazy, Suspense } from 'react';
2
+ import React from 'react';
3
3
  import {
4
4
  Title,
5
5
  Description,
@@ -8,11 +8,11 @@ import {
8
8
  ArgsTable,
9
9
  } from '@storybook/addon-docs/blocks';
10
10
  import { getSampleOperatorCards } from 'gatsby-core-theme/tests/factories/modules/card.factory';
11
+ import Verify from '~images/icons/verify';
11
12
  import TemplateFour from '.';
12
13
  import styles from './template-four.module.scss';
13
14
 
14
15
  const operatorData = getSampleOperatorCards();
15
- const VerifyIcon = lazy(() => import('~images/icons/verify'));
16
16
 
17
17
  export default {
18
18
  title: 'Theme/Modules/Cards/Operator/Template Four',
@@ -27,7 +27,7 @@ export default {
27
27
  verifyIcon: {
28
28
  name: 'verifyIcon',
29
29
  type: { name: 'element', required: false },
30
- defaultValue: <Suspense fallback={<></>}><VerifyIcon /></Suspense>,
30
+ defaultValue: <Verify />,
31
31
  description: 'verify icon',
32
32
  },
33
33
  page: {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable import/no-extraneous-dependencies */
2
- import React, { lazy, Suspense } from 'react';
2
+ import React from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { FaCheck } from '@react-icons/all-files/fa/FaCheck';
5
5
  import { FaArrowRight } from '@react-icons/all-files/fa/FaArrowRight';
@@ -10,14 +10,13 @@ import ReviewLink from 'gatsby-core-theme/src/components/atoms/review-link';
10
10
  import Tnc from 'gatsby-core-theme/src/components/molecules/tnc';
11
11
  import OperatorCta from 'gatsby-core-theme/src/components/atoms/button/operator-cta';
12
12
  import SellingPoints from 'gatsby-core-theme/src/components/atoms/selling-points';
13
+ import Verify from '~images/icons/verify';
13
14
  import OperatorDetails from '../../../../molecules/operator-details';
14
15
  import styles from './template-one.module.scss';
15
16
  import Bonus from '~molecules/bonus-box/template-one';
16
17
  import { TrackingKeys } from '~constants/tracking-api';
17
18
  import VariableComponent from '../variables';
18
19
 
19
- const VerifyIcon = lazy(() => import('~images/icons/verify'));
20
-
21
20
  const TemplateOne = ({
22
21
  showRibbon = false,
23
22
  item,
@@ -32,7 +31,7 @@ const TemplateOne = ({
32
31
  authorTemplateTwo = true,
33
32
  sellingPointsIcon = <FaCheck title="Check Icon" />,
34
33
  showBonusForAll = false,
35
- verifyIcon = <Suspense fallback={<></>}><VerifyIcon /></Suspense>,
34
+ verifyIcon = <Verify />,
36
35
  showOperatorCta = true,
37
36
  operatorLogoWidth = 88,
38
37
  operatorLogoHeight = 88,
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable import/no-extraneous-dependencies */
2
- import React, { lazy, Suspense } from 'react';
2
+ import React from 'react';
3
3
  import {
4
4
  Title,
5
5
  Description,
@@ -8,10 +8,9 @@ import {
8
8
  ArgsTable,
9
9
  } from '@storybook/addon-docs/blocks';
10
10
  import { getSampleOperatorCards } from 'gatsby-core-theme/tests/factories/modules/card.factory';
11
+ import Verify from '~images/icons/verify';
11
12
  import TemplateOne from '.';
12
13
 
13
- const VerifyIcon = lazy(() => import('~images/icons/verify'));
14
-
15
14
  const operatorData = getSampleOperatorCards();
16
15
 
17
16
  export default {
@@ -34,7 +33,7 @@ export default {
34
33
  verifyIcon: {
35
34
  name: 'verifyIcon',
36
35
  type: { name: 'element', required: false },
37
- defaultValue: <Suspense fallback={<></>}><VerifyIcon /></Suspense>,
36
+ defaultValue: <Verify />,
38
37
  description: 'verify icon',
39
38
  },
40
39
  page: {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable import/no-extraneous-dependencies */
2
- import React, { lazy, Suspense } from 'react';
2
+ import React from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { BiLike } from '@react-icons/all-files/bi/BiLike';
5
5
  import { BiDislike } from '@react-icons/all-files/bi/BiDislike';
@@ -7,20 +7,19 @@ import { FaArrowRight } from '@react-icons/all-files/fa/FaArrowRight';
7
7
  import ReviewLink from 'gatsby-core-theme/src/components/atoms/review-link';
8
8
  import BonusTemplateDefault from 'gatsby-core-theme/src/components/molecules/bonus-box/template-three';
9
9
  import OperatorCta from 'gatsby-core-theme/src/components/atoms/button/operator-cta';
10
+ import Verify from '~images/icons/verify';
10
11
  import OperatorDetails from '../../../../molecules/operator-details';
11
12
  import VariableComponent from '../variables';
12
13
  import { TrackingKeys } from '~constants/tracking-api'
13
14
  import styles from './template-three.module.scss';
14
15
 
15
- const VerifyIcon = lazy(() => import('~images/icons/verify'));
16
-
17
16
  const TemplateThree = ({
18
17
  showRibbon = false,
19
18
  item,
20
19
  useOneStarRating = true,
21
20
  page,
22
21
  showAuthor = true,
23
- verifyIcon = <Suspense fallback={<></>}><VerifyIcon /></Suspense>,
22
+ verifyIcon = <Verify />,
24
23
  showRatingLabel = false,
25
24
  showRatingDecimal = false,
26
25
  authorTemplateTwo = true,
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable import/no-extraneous-dependencies */
2
- import React, { lazy, Suspense } from 'react';
2
+ import React from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { imagePrettyUrl } from 'gatsby-core-theme/src/helpers/getters';
5
5
  import Link from 'gatsby-core-theme/src/hooks/link';
@@ -7,13 +7,12 @@ import BonusTemplateDefault from 'gatsby-core-theme/src/components/molecules/bon
7
7
  import LazyImage from 'gatsby-core-theme/src/hooks/lazy-image';
8
8
  import ReviewLink from 'gatsby-core-theme/src/components/atoms/review-link';
9
9
  import Tnc from 'gatsby-core-theme/src/components/molecules/tnc';
10
+ import Verify from '~images/icons/verify';
10
11
  import VariableComponent from '../variables';
11
12
  import OperatorDetails from '../../../../molecules/operator-details';
12
13
  import { TrackingKeys } from '~constants/tracking-api'
13
14
  import styles from './template-two.module.scss';
14
15
 
15
- const VerifyIcon = lazy(() => import('~images/icons/verify'));
16
-
17
16
  const TemplateTwo = ({
18
17
  showRibbon = false,
19
18
  item,
@@ -26,7 +25,7 @@ const TemplateTwo = ({
26
25
  authorTemplateTwo = true,
27
26
  contentRibbon = false,
28
27
  hasVariableComponent = false,
29
- verifyIcon = <Suspense fallback={<></>}><VerifyIcon /></Suspense>,
28
+ verifyIcon = <Verify />,
30
29
  showBonusForAll = false,
31
30
  operatorLogoWidth = 88,
32
31
  operatorLogoHeight = 88,
@@ -1,17 +1,16 @@
1
1
  /* eslint-disable import/no-extraneous-dependencies */
2
2
  /* eslint-disable camelcase */
3
- import React, { lazy, Suspense } from 'react';
3
+ import React from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import useTranslate from '~hooks/useTranslate/useTranslate';
6
6
 
7
7
  import Tooltip from '../../tooltip';
8
+ import AffiliateDisclaimerIcon from '../../../../images/icons/affiliate-disclaimer';
8
9
  import styles from './affiliate-disclaimer.module.scss';
9
10
 
10
- const AffiliateDisclaimerIcon = lazy(() => import('../../../../images/icons/affiliate-disclaimer'));
11
-
12
11
  const AffiliateDisclaimer = ({
13
12
  showIcon = true,
14
- icon = <Suspense fallback={<></>}><AffiliateDisclaimerIcon /></Suspense>,
13
+ icon = <AffiliateDisclaimerIcon />,
15
14
  className = '',
16
15
  direction = 'bottom',
17
16
  content,
@@ -1,22 +1,21 @@
1
1
  /* eslint-disable arrow-body-style */
2
- import React, { lazy, Suspense } from 'react';
2
+ import React from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { IoOpenOutline } from '@react-icons/all-files/io5/IoOpenOutline';
5
5
  import { formatDate } from '~helpers/date-time';
6
6
  import useTranslate from '~hooks/useTranslate/useTranslate';
7
7
  import Collapse from '~atoms/collapse';
8
8
  import Author from '../author/template-three';
9
+ import ContributorsIcon from '../../../images/icons/contributors';
10
+ import FactCheckIcon from '~images/icons/fact-check';
11
+ import Clock from '~images/icons/clock';
9
12
  import styles from './review-credits.module.scss';
10
13
 
11
- const ContributorsIcon = lazy(() => import('../../../images/icons/contributors'));
12
- const FactCheckIcon = lazy(() => import('~images/icons/fact-check'));
13
- const Clock = lazy(() => import('~images/icons/clock'));
14
-
15
14
  const ReviewCredits = ({
16
15
  authors,
17
16
  authorImageWidth = 48,
18
17
  authorImageHeight = 48,
19
- clock = <Suspense fallback={<></>}><Clock /></Suspense>,
18
+ clock = <Clock />,
20
19
  date,
21
20
  dateFormat = 'DD.MM.YYYY',
22
21
  showLinks=true,
@@ -42,7 +41,7 @@ const ReviewCredits = ({
42
41
  showVerification = true,
43
42
  splitDateFormat = '.',
44
43
  type = 'default',
45
- verifyIcon = <Suspense fallback={<></>}><FactCheckIcon width={15} height={15} /></Suspense>,
44
+ verifyIcon = <FactCheckIcon width={15} height={15} />,
46
45
  incommingClass='',
47
46
  }) => {
48
47
  const getPrefixBasedOnPage = type.includes('review')
@@ -153,7 +152,7 @@ const ReviewCredits = ({
153
152
 
154
153
  const buttonText = (
155
154
  <>
156
- <Suspense fallback={<></>}><ContributorsIcon /></Suspense>
155
+ <ContributorsIcon />
157
156
  {useTranslate('contributors', 'About this page')}
158
157
  </>
159
158
  );
@@ -1,10 +1,9 @@
1
- import React, { lazy, Suspense } from 'react';
1
+ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
+ import Verify from '~images/icons/verify';
3
4
  import styles from './name.module.scss';
4
5
 
5
- const VerifyIcon = lazy(() => import('~images/icons/verify'));
6
-
7
- export default function Name({ className = '', name, icon = <Suspense fallback={<></>}><VerifyIcon /></Suspense>, pronouns = '' }) {
6
+ export default function Name({ className = '', name, icon = <Verify />, pronouns = '' }) {
8
7
  return (
9
8
  <div className={styles.title}>
10
9
  <h1 className={`${className || ''} ${styles?.name || ''}`}>
@@ -1,4 +1,4 @@
1
- import React, { lazy, Suspense } from 'react';
1
+ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { FaStar } from '@react-icons/all-files/fa/FaStar';
4
4
  import { imagePrettyUrl, getObjectValue } from '~helpers/getters';
@@ -10,12 +10,11 @@ import OperatorBanner from '~atoms/header-operator-bannner';
10
10
  import { operatorRatings } from '~constants/ratings-constant';
11
11
  import useTranslate from '~hooks/useTranslate/useTranslate';
12
12
  import { TrackingKeys } from '~constants/tracking-api'
13
+ import Verify from '~images/icons/verify';
13
14
  import PrettyLink from '~atoms/pretty-link';
14
15
 
15
16
  import styles from './template-five.module.scss';
16
17
 
17
- const VerifyIcon = lazy(() => import('~images/icons/verify'));
18
-
19
18
  const TemplateFive = ({
20
19
  relation,
21
20
  image,
@@ -25,7 +24,7 @@ const TemplateFive = ({
25
24
  extraFields,
26
25
  type,
27
26
  numOfStars = 5,
28
- icon = <Suspense fallback={<></>}><VerifyIcon /></Suspense>,
27
+ icon = <Verify color="#295DD6" />,
29
28
  showRoundedRating = false,
30
29
  operatorLogoWidth = 208,
31
30
  operatorLogoHeight = 208,
@@ -1,4 +1,4 @@
1
- import React, { lazy, Suspense } from 'react';
1
+ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  // eslint-disable-next-line import/no-extraneous-dependencies
4
4
  import { FaStar } from '@react-icons/all-files/fa/FaStar';
@@ -10,13 +10,12 @@ import OperatorBanner from '~atoms/header-operator-bannner';
10
10
  import Ribbon from '~atoms/ribbons';
11
11
  import Rating from '~atoms/ratings';
12
12
  import useTranslate from '~hooks/useTranslate/useTranslate';
13
+ import Verify from '~images/icons/verify';
13
14
  import VariableComponent from '../variables';
14
15
  import { TrackingKeys } from '~constants/tracking-api'
15
16
  import styles from './template-four.module.scss';
16
17
  import PrettyLink from '~atoms/pretty-link';
17
18
 
18
- const VerifyIcon = lazy(() => import('~images/icons/verify'));
19
-
20
19
  const TemplateFour = ({
21
20
  relation,
22
21
  type,
@@ -24,7 +23,7 @@ const TemplateFour = ({
24
23
  name,
25
24
  ribbons,
26
25
  pageTemplate,
27
- icon = <Suspense fallback={<></>}><VerifyIcon /></Suspense>,
26
+ icon = <Verify color="#295DD6" />,
28
27
  numOfStars = 5,
29
28
  hasVariableComponent = false,
30
29
  showRoundedRating = false,
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable import/no-extraneous-dependencies */
2
- import React, { lazy, Suspense } from 'react';
2
+ import React from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { imagePrettyUrl } from '~helpers/getters';
5
5
  import { getAltText } from '~helpers/image';
@@ -7,13 +7,12 @@ import LazyImage from '~hooks/lazy-image';
7
7
  import Rating from '~atoms/ratings';
8
8
  import OperatorBanner from '~atoms/header-operator-bannner';
9
9
  import Ribbons from '~atoms/ribbons';
10
+ import Verify from '~images/icons/verify';
10
11
  import VariableComponent from '../variables';
11
12
  import { TrackingKeys } from '~constants/tracking-api'
12
13
  import styles from './template-three.module.scss';
13
14
  import PrettyLink from '~atoms/pretty-link';
14
15
 
15
- const VerifyIcon = lazy(() => import('~images/icons/verify'));
16
-
17
16
  const TemplateThree = ({
18
17
  relation,
19
18
  type,
@@ -22,7 +21,7 @@ const TemplateThree = ({
22
21
  ribbons,
23
22
  numOfStars,
24
23
  pageTemplate,
25
- icon = <Suspense fallback={<></>}><VerifyIcon /></Suspense>,
24
+ icon = <Verify color="#295DD6" />,
26
25
  hasVariableComponent = false,
27
26
  width = 179,
28
27
  height = 179,
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable react/no-danger */
2
- import React, { useState, useRef, lazy, Suspense } from 'react';
2
+ import React, { useState, useRef } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { imagePrettyUrl, textWordsLimit } from '~helpers/getters';
5
5
  import { getAltText } from '~helpers/image';
@@ -9,11 +9,10 @@ import OperatorBanner from '~atoms/header-operator-bannner';
9
9
  import Rating from '~atoms/ratings';
10
10
  import useTranslate from '~hooks/useTranslate/useTranslate';
11
11
  import { TrackingKeys } from '~constants/tracking-api';
12
+ import Verify from '~images/icons/verify';
12
13
 
13
14
  import styles from './template-five.module.scss';
14
15
 
15
- const VerifyIcon = lazy(() => import('~images/icons/verify'));
16
-
17
16
  const TemplateOneThree = ({
18
17
  relation,
19
18
  type,
@@ -21,7 +20,7 @@ const TemplateOneThree = ({
21
20
  image,
22
21
  sections = {},
23
22
  pageTemplate,
24
- icon = <Suspense fallback={<></>}><VerifyIcon /></Suspense>,
23
+ icon = <Verify color="#295DD6" />,
25
24
  description,
26
25
  numOfStars,
27
26
  CostumeComponent = null,
@@ -1,15 +1,14 @@
1
- import React, { lazy, Suspense } from 'react';
1
+ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { imagePrettyUrl } from '~helpers/getters';
4
4
  import { getAltText } from '~helpers/image';
5
5
  import LazyImage from '~hooks/lazy-image';
6
6
  import Rating from '~atoms/ratings';
7
7
  import OperatorBanner from '~atoms/header-operator-bannner';
8
+ import Verify from '~images/icons/verify';
8
9
  import { TrackingKeys } from '~constants/tracking-api'
9
10
  import styles from './template-four.module.scss';
10
11
 
11
- const VerifyIcon = lazy(() => import('~images/icons/verify'));
12
-
13
12
  const TemplateFour = ({
14
13
  relation,
15
14
  type,
@@ -17,7 +16,7 @@ const TemplateFour = ({
17
16
  name,
18
17
  sections = {},
19
18
  pageTemplate,
20
- icon = <Suspense fallback={<></>}><VerifyIcon /></Suspense>,
19
+ icon = <Verify color="#295DD6" />,
21
20
  numOfStars = 5,
22
21
  showRoundedRating = false,
23
22
  width = 300,
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable react/no-danger */
2
- import React, { useState, useRef, lazy, Suspense } from 'react';
2
+ import React, { useState, useRef } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { FaStar } from '@react-icons/all-files/fa/FaStar';
5
5
  import { imagePrettyUrl, textWordsLimit } from '~helpers/getters';
@@ -10,10 +10,9 @@ import OperatorBanner from '~atoms/header-operator-bannner';
10
10
  import Rating from '~atoms/ratings';
11
11
  import useTranslate from '~hooks/useTranslate/useTranslate';
12
12
  import { TrackingKeys } from '~constants/tracking-api';
13
- import styles from './template-one-three.module.scss';
14
-
15
- const VerifyIcon = lazy(() => import('~images/icons/verify'));
13
+ import Verify from '~images/icons/verify';
16
14
 
15
+ import styles from './template-one-three.module.scss';
17
16
 
18
17
  const TemplateOneThree = ({
19
18
  relation,
@@ -22,7 +21,7 @@ const TemplateOneThree = ({
22
21
  image,
23
22
  sections = {},
24
23
  pageTemplate,
25
- icon = <Suspense fallback={<></>}><VerifyIcon /></Suspense>,
24
+ icon = <Verify color="#295DD6" />,
26
25
  description,
27
26
  numOfStars,
28
27
  template = 'template_one',
@@ -1,8 +1,7 @@
1
1
  /* eslint-disable react/no-danger */
2
- import React, { useState, useRef, lazy, Suspense } from 'react';
2
+ import React, { useState, useRef } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { FaStar } from '@react-icons/all-files/fa/FaStar';
5
- import styles from './template-two.module.scss';
6
5
  import { getAltText } from '~helpers/image';
7
6
  import { imagePrettyUrl, textWordsLimit } from '~helpers/getters';
8
7
  import LazyImage from '~hooks/lazy-image';
@@ -11,9 +10,9 @@ import OperatorBanner from '~atoms/header-operator-bannner';
11
10
  import useTranslate from '~hooks/useTranslate/useTranslate';
12
11
  import { TrackingKeys } from '~constants/tracking-api';
13
12
 
14
- const VerifyIcon = lazy(() => import('~images/icons/verify'));
15
-
13
+ import Verify from '~images/icons/verify';
16
14
 
15
+ import styles from './template-two.module.scss';
17
16
 
18
17
  const TemplateTwo = ({
19
18
  relation,
@@ -21,7 +20,7 @@ const TemplateTwo = ({
21
20
  image,
22
21
  sections = {},
23
22
  pageTemplate,
24
- icon = <Suspense fallback={<></>}><VerifyIcon /></Suspense>,
23
+ icon = <Verify color="#295DD6" />,
25
24
  description,
26
25
  numOfStars,
27
26
  showRoundedRating = false,
@@ -1,19 +1,19 @@
1
- import React, { lazy, Suspense } from 'react';
1
+ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
+
3
4
  import { FaStar } from '@react-icons/all-files/fa/FaStar';
4
- import styles from './slot.module.scss';
5
5
  import { imagePrettyUrl } from '~helpers/getters';
6
6
  import { getAltText } from '~helpers/image';
7
7
  import OperatorBanner from '~atoms/header-operator-bannner';
8
8
  import Rating from '~atoms/ratings';
9
+ import Verify from '~images/icons/verify';
9
10
  import { TrackingKeys } from '~constants/tracking-api'
10
11
 
11
- const VerifyIcon = lazy(() => import('~images/icons/verify'));
12
-
12
+ import styles from './slot.module.scss';
13
13
 
14
14
  export default function SlotHeader({
15
15
  page,
16
- image = <Suspense fallback={<></>}><VerifyIcon /></Suspense>,
16
+ image = <Verify />,
17
17
  showExtraRatings = false,
18
18
  width = 170,
19
19
  height = 170,
@@ -1,6 +1,6 @@
1
- import React, { lazy, Suspense } from 'react';
1
+ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import styles from './template-two.module.scss';
3
+
4
4
  import { imagePrettyUrl } from '~helpers/getters';
5
5
  import { getAltText } from '~helpers/image';
6
6
  import Tnc from '~molecules/tnc';
@@ -8,13 +8,13 @@ import LazyImage from '~hooks/lazy-image';
8
8
  import OperatorBanner from '~atoms/header-operator-bannner';
9
9
  import Rating from '~atoms/ratings';
10
10
  import useTranslate from '~hooks/useTranslate/useTranslate';
11
+ import Verify from '~images/icons/verify';
11
12
  import { TrackingKeys } from '~constants/tracking-api'
12
13
 
13
- const VerifyIcon = lazy(() => import('~images/icons/verify'));
14
-
14
+ import styles from './template-two.module.scss';
15
15
 
16
- const TemplateTwo = ({ page, image = <Suspense fallback={<></>}><VerifyIcon /></Suspense>, width = 259, height = 259, moduleName = TrackingKeys?.HEADERSLOTS }) => {
17
- const imageObject = page.relation?.logo;
16
+ const TemplateTwo = ({ page, image = <Verify />, width = 259, height = 259, moduleName = TrackingKeys?.HEADERSLOTS }) => {
17
+ const imageObject = page.relation?.logo
18
18
  // eslint-disable-next-line react/prop-types
19
19
  const headerBonus = page?.sections?.header?.modules?.find((bonus) => bonus?.name === 'bonus');
20
20
  return (