gatsby-core-theme 44.5.0-poc.2 → 44.5.0

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 (47) hide show
  1. package/.ci.yml +2 -28
  2. package/CHANGELOG.md +233 -29
  3. package/gatsby-browser.js +48 -100
  4. package/gatsby-node.mjs +25 -21
  5. package/package.json +1 -1
  6. package/release.config.js +0 -5
  7. package/src/components/atoms/admin/button/index.js +1 -1
  8. package/src/components/atoms/author/index.js +6 -5
  9. package/src/components/atoms/collapse/collapse.test.js +113 -26
  10. package/src/components/atoms/collapse/index.js +23 -1
  11. package/src/components/atoms/comment-votes/comment-votes.module.scss +34 -0
  12. package/src/components/atoms/comment-votes/index.js +93 -0
  13. package/src/components/atoms/ratings/index.js +7 -0
  14. package/src/components/atoms/ratings/rating.test.js +1 -1
  15. package/src/components/molecules/comment/comment.module.scss +42 -74
  16. package/src/components/molecules/comment/index.js +108 -134
  17. package/src/components/molecules/header/variants/operator/template-one-two/index.js +4 -3
  18. package/src/components/molecules/header/variants/operator/template-one-two/template-one-two.stories.js +4 -3
  19. package/src/components/molecules/header/variants/operator/template-one-two/template-one-two.test.js +8 -8
  20. package/src/components/molecules/header/variants/slot/template-one/index.js +4 -3
  21. package/src/components/molecules/header/variants/slot/template-one/template-one.stories.js +4 -3
  22. package/src/components/molecules/leave-comment-form/index.js +25 -19
  23. package/src/components/molecules/spotlights_v2/icon/template-one/index.js +1 -1
  24. package/src/components/organisms/anchor/template-one/anchor.module.scss +19 -11
  25. package/src/components/organisms/archive/index.js +5 -2
  26. package/src/components/organisms/comments/comment-tree/comment-tree.module.scss +47 -0
  27. package/src/components/organisms/comments/comment-tree/index.js +8 -7
  28. package/src/components/organisms/comments/index.js +14 -26
  29. package/src/components/organisms/cookie-consent/index.js +48 -34
  30. package/src/components/organisms/form/fields/fields.module.scss +7 -4
  31. package/src/components/organisms/form/fields/index.js +101 -56
  32. package/src/components/organisms/form/form.module.scss +131 -39
  33. package/src/components/organisms/form/form.test.js +28 -33
  34. package/src/components/organisms/form/index.js +138 -78
  35. package/src/constants/forms.js +65 -14
  36. package/src/constants/ratings-constant.js +5 -0
  37. package/src/constants/schema.js +1 -0
  38. package/src/constants/settings.mjs +0 -1
  39. package/src/context/VotesProvider.js +49 -0
  40. package/src/helpers/replaceMedia.js +44 -1
  41. package/src/helpers/schema.js +32 -0
  42. package/src/helpers/tracker.mjs +2 -2
  43. package/src/resolver/index.mjs +8 -4
  44. package/src/resolver/modules.mjs +9 -6
  45. package/src/resolver/modules.test.js +1 -1
  46. package/src/resolver/redirect.mjs +23 -0
  47. package/src/resolver/redirect.test.js +65 -1
package/.ci.yml CHANGED
@@ -20,7 +20,7 @@ Theme Tests:
20
20
  - if: '$CI_PIPELINE_SOURCE == "push" && ($CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master" || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "beta") && $PIPELINE == "automated"'
21
21
 
22
22
  Theme Publish:
23
- image: node:18.17.0
23
+ image: node:20.8.1
24
24
  stage: publish
25
25
  tags:
26
26
  - gatsby-runner-dev-docker
@@ -44,13 +44,11 @@ Theme Publish:
44
44
  - $PIPELINE != "content-trigger"
45
45
 
46
46
  Theme Beta Publish:
47
- image: node:18.17.0
47
+ image: node:20.8.1
48
48
  stage: publish-beta
49
49
  tags:
50
50
  - gatsby-runner-dev-docker
51
51
  before_script:
52
- - echo "@gigmedia:registry=https://registry.npmjs.org/" >> ~/.npmrc
53
- - echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" >> ~/.npmrc
54
52
  - git config --global http.sslverify false
55
53
  - git config --global user.email "floyd@gig.com"
56
54
  - git config --global user.name "floyd"
@@ -66,27 +64,3 @@ Theme Beta Publish:
66
64
  - beta
67
65
  variables:
68
66
  - $PIPELINE != "content-trigger"
69
-
70
- Theme POC Publish:
71
- image: node:18.17.0
72
- stage: publish-poc
73
- tags:
74
- - gatsby-runner-dev-docker
75
- before_script:
76
- - echo "@gigmedia:registry=https://registry.npmjs.org/" >> ~/.npmrc
77
- - echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" >> ~/.npmrc
78
- - git config --global http.sslverify false
79
- - git config --global user.email "floyd@gig.com"
80
- - git config --global user.name "floyd"
81
- script:
82
- - export HUSKY=0
83
- - yarn config set cache-folder .yarn
84
- - yarn
85
- - cd gatsby-theme/
86
- - npx semantic-release@22.0.0
87
- when: manual
88
- only:
89
- refs:
90
- - poc
91
- variables:
92
- - $PIPELINE != "content-trigger"
package/CHANGELOG.md CHANGED
@@ -1,57 +1,261 @@
1
- # [44.5.0-poc.2](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.5.0-poc.1...v44.5.0-poc.2) (2025-09-05)
1
+ # [44.5.0](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.62...v44.5.0) (2025-10-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * fix the content logic on preview ([c2baa91](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/c2baa913816189b8ebba88c140f48a79f9bacd39))
7
+ * remove filter tbody rows ([1fdcd8e](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/1fdcd8e98abea64c7554eb9ad24e4972ffa1e63f))
8
+ * update payout time ([ddcc0d3](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/ddcc0d3c42ada27858db0757a8bbc5576fb303a1))
9
+ * update tests ([931aa14](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/931aa1446150c7dc057d997afa49facc0ff1b36e))
10
+
11
+
12
+ * Merge branch 'en-91-preview' into 'master' ([07317e4](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/07317e45ea83edbcd607a1a2ca49a834cb169354))
13
+ * Merge branch 'en-110-thead-tag' into 'master' ([9f68b38](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/9f68b38fbf4f15d39fa3dc58bcf60d68094cf0d3))
14
+ * Merge branch 'en-140-payout-time' into 'master' ([b86aca2](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/b86aca22dd9b45cb5af02821737d5013100a059f))
2
15
 
3
16
 
4
17
  ### Features
5
18
 
6
- * yield before event push ([58f1f6d](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/58f1f6daea0e6a39a329869e9acd506928343714))
19
+ * create thead tag on table content ([8bd4564](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/8bd45641ac459f0cb4a0ca724711681c81567259))
7
20
 
8
- # [44.5.0-poc.1](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.35-poc.2...v44.5.0-poc.1) (2025-09-04)
21
+ ## [44.4.62](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.61...v44.4.62) (2025-10-13)
9
22
 
10
23
 
11
24
  ### Bug Fixes
12
25
 
13
- * deploy fix ([42e33b3](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/42e33b3a434cde10e899afef41852dff49fe9700))
14
- * gtm id ([52c86e7](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/52c86e77884fc12da1db4f1aea6ef739d44d224b))
15
- * test deploy ([fa38562](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/fa3856257c8149dc84bf72e57e0fcc5ece8839af))
16
- * test deploy ([6d649ce](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/6d649ce3343a61792522be16a792fcc2c7aa158d))
17
- * yield only on one place ([52acd92](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/52acd92131461b781f1b8e60e9f366239878ca3e))
26
+ * add title comment section as props ([a265fde](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/a265fde61aa044113be71008c9340ea51e82b42d))
27
+
28
+ ## [44.4.61](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.60...v44.4.61) (2025-10-10)
18
29
 
19
30
 
20
- * Merge branch 'poc' of gitlab.com:g2m-gentoo/team-floyd/themes/gatsby-themes into poc ([cb72402](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/cb72402d1e34e427742f6ae335f77bbb9ad77785))
21
- * Merge branch 'revert-2a55f352' into 'poc' ([eb0069c](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/eb0069cd14b7a01c85e911cf6bf4abf8b4bb0fce))
22
- * Revert "fix: remove multiple templates" ([0e1a8ca](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/0e1a8ca0d1f7d21d059eff734aa040ef02f0e9b9))
31
+ ### Bug Fixes
23
32
 
33
+ * add validation and translation ([558d589](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/558d589bbca711780ad24ec41de9ed9ffeb56524))
34
+ * clean up ([08f80b1](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/08f80b1fbf9dda07a801aced5ab93a4717c5b614))
35
+ * do style ([a9818f5](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/a9818f53d6ec14e8741b756f5774a15c3100c3ba))
36
+ * fix tests ([f11785c](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/f11785c7e9a53949e28e532af12282abd4e56f54))
24
37
 
25
- ### Features
26
38
 
27
- * yield scripts and gtm crossOrigin ([88858d5](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/88858d558d516f267cce68056a43513c18248ba6))
39
+ * Merge branch 'valdation&translation' into 'master' ([4fe896a](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/4fe896aa8678fba227bf00cbf7ad5abe4dd425a6))
40
+
41
+ ## [44.4.60](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.59...v44.4.60) (2025-10-08)
42
+
43
+
44
+ ### Bug Fixes
45
+
46
+ * improve comment logic ([f1786b8](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/f1786b87f4705fea44dad32cd058734c65db6a5b))
47
+
48
+ ## [44.4.59](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.58...v44.4.59) (2025-10-01)
49
+
50
+
51
+ ### Config
52
+
53
+ * update node version on semantic release ([4803297](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/4803297d6e6e032e732de2c4c7e95c51a3de890e))
54
+
55
+ ## [44.4.58](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.57...v44.4.58) (2025-09-26)
56
+
57
+
58
+ ### Bug Fixes
59
+
60
+ * fix the issue ([8a70580](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/8a70580120d69d82cdc8e023c0df5509849e3b21))
61
+ * fix toplist redirection on admin bar and comments form ([4c0f3b5](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/4c0f3b568d3a57d7f17e3a1c1908f0e91f70e108))
62
+
63
+
64
+ * Merge branch 'comments-fix' into 'master' ([d12464e](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/d12464e81f04c0858f38a4876d9c5fd04afbc96a))
65
+
66
+ ## [44.4.57](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.56...v44.4.57) (2025-09-11)
67
+
68
+
69
+ ### Bug Fixes
70
+
71
+ * added option to include toplist in schema ([f335572](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/f3355722385dc2c9cc27de4f5b4ddf9b3728bc36))
72
+
73
+ ## [44.4.56](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.55...v44.4.56) (2025-09-10)
74
+
75
+
76
+ ### Bug Fixes
77
+
78
+ * update checkbox ([6787100](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/6787100195fd2613a874d876c6f8f8af7e395ba4))
79
+
80
+ ## [44.4.55](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.54...v44.4.55) (2025-09-09)
81
+
82
+
83
+ ### Bug Fixes
84
+
85
+ * update styling ([33b8f06](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/33b8f0669b65617d481379ab42989a56c98e792f))
86
+
87
+ ## [44.4.54](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.53...v44.4.54) (2025-09-08)
88
+
89
+
90
+ ### Bug Fixes
91
+
92
+ * fixed tests ([bbe1370](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/bbe1370f5eef7787e8c7865b1fbfc2ca8c936bb5))
93
+ * remove content id when content is empty, for the moment when content is empty is showing the id ([7a55cc1](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/7a55cc16eb012270d2c9d192fd4da92abb7d5fb7))
94
+ * remove livegoals from SSR till they want to use matrix theme ([854e7fd](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/854e7fd43b1a059514be414fb85550556e2f8598))
95
+ * update alt ([9ef63e3](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/9ef63e333909472eb3242a0d0eb571ea4581c41f))
96
+
97
+
98
+ * Merge branch 'remove-content-id' into 'master' ([36eb1c2](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/36eb1c20625401ed1ae3e814324656223bdcb96b))
99
+ * Merge branch 'sheet' into 'master' ([3682181](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/36821815a5b79ac165b4837b3041c8188e583fc6))
100
+
101
+ ## [44.4.53](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.52...v44.4.53) (2025-09-06)
102
+
103
+
104
+ ### Bug Fixes
105
+
106
+ * added vars for comments ([bae7841](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/bae784144e2253f8ee4d9ca9698a32312f3d426f))
107
+ * update gtm id ([efedd77](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/efedd7751e36c891bbd770c6ff38f4668d1bb833))
28
108
 
29
- ## [44.4.35-poc.2](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.35-poc.1...v44.4.35-poc.2) (2025-09-01)
109
+ ## [44.4.52](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.51...v44.4.52) (2025-09-02)
30
110
 
31
111
 
32
112
  ### Bug Fixes
33
113
 
34
- * remove multiple templates ([2a55f35](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/2a55f3521f55a51f11200b098abec0e978f7ecfa))
114
+ * revert gtm changes ([4f05ce2](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/4f05ce26a89137acb82d638f9ffceb29168127a8))
115
+
116
+ ## [44.4.51](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.50...v44.4.51) (2025-09-02)
117
+
118
+
119
+ ### Bug Fixes
120
+
121
+ * testing gtm scripts ([9fc6ffb](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/9fc6ffbcd00472155df82315dffa42a093a0cec7))
122
+
123
+ ## [44.4.50](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.49...v44.4.50) (2025-09-02)
124
+
125
+
126
+ ### Bug Fixes
127
+
128
+ * testing INP ([397a9cd](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/397a9cda61065a81b9d596a07679a722e534d788))
129
+
130
+ ## [44.4.49](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.48...v44.4.49) (2025-09-02)
131
+
132
+
133
+ ### Bug Fixes
134
+
135
+ * updated gtm inclusion ([b7f0360](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/b7f03605d1984351042fa06a1cd67812d39e435e))
136
+
137
+ ## [44.4.48](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.47...v44.4.48) (2025-09-02)
138
+
139
+
140
+ ### Bug Fixes
141
+
142
+ * add lazy for comoponents ([732fdf7](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/732fdf7c10c3bbd1e46ca1d2f4bef04d879c8409))
143
+
144
+
145
+ * Merge branch 'en-8-cwv-unused-js' into 'master' ([bcc5448](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/bcc5448cfce871e8189c7fbd42493c6f1d4c477e))
146
+
147
+ ## [44.4.47](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.46...v44.4.47) (2025-09-01)
148
+
149
+
150
+ ### Bug Fixes
151
+
152
+ * checkbox issue ([dac5349](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/dac5349111ebd0c38bf1d84f05a35f34280dfe31))
153
+
154
+ ## [44.4.46](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.45...v44.4.46) (2025-09-01)
155
+
156
+
157
+ ### Bug Fixes
158
+
159
+ * comment vote logic ([a09a3bd](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/a09a3bd5ef047976362b12099fb37e84c682cb69))
160
+
161
+ ## [44.4.45](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.44...v44.4.45) (2025-08-29)
162
+
163
+
164
+ ### Bug Fixes
165
+
166
+ * voting logic ([15a7af0](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/15a7af00ac73f71837d083c913d83fb9d6c95ca9))
167
+
168
+ ## [44.4.44](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.43...v44.4.44) (2025-08-29)
169
+
170
+
171
+ ### Bug Fixes
172
+
173
+ * bug ([47ff70b](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/47ff70b136bbcbd7efe441637dbd28d5ff0a3818))
174
+ * bug ([2c76971](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/2c76971d6dca396f1c793786e9907d84f7b8fc15))
175
+ * styling fixes ([da45e7d](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/da45e7d745c79953f5f2d830d0c7c86c8a72f4a6))
176
+
177
+ ## [44.4.43](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.42...v44.4.43) (2025-08-29)
178
+
179
+
180
+ ### Bug Fixes
181
+
182
+ * voting ([2c38c8f](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/2c38c8ff3e2ee8b9aadeceb2e2318b47359d11b5))
183
+
184
+ ## [44.4.42](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.41...v44.4.42) (2025-08-29)
185
+
186
+
187
+ ### Bug Fixes
188
+
189
+ * outside click ([8b88022](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/8b88022dafe14a4c7c7d3d8efe08207a76659724))
190
+ * test collapse ([a5dc747](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/a5dc7471eae5df4ab4b3eda3e91856a2e728476c))
191
+ * test coverage ([bbd1138](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/bbd1138c1c668e745923917ddc5b08c5d994f64d))
192
+ * test outside click ([c616f66](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/c616f66192927bc53366f5ede49827614dcdf847))
193
+ * voting ([2f2eb5c](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/2f2eb5c696d96c591af536a81f45bc7d4484e632))
194
+
195
+
196
+ * Merge branch 'collapse-outside-click' into 'master' ([ade0483](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/ade0483aef0a470638e1b3132e11c850db0662b2))
197
+
198
+ ## [44.4.41](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.40...v44.4.41) (2025-08-28)
199
+
200
+
201
+ ### Bug Fixes
202
+
203
+ * removed logs ([8930faa](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/8930faa83e1561dfb9c9bbb993fc167a2527363a))
204
+
205
+ ## [44.4.40](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.39...v44.4.40) (2025-08-28)
206
+
207
+
208
+ ### Bug Fixes
209
+
210
+ * changed limit of chars ([c1649bf](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/c1649bf408e3f14bbb070f2988306d5e84ba15a2))
211
+ * test ([0d6646b](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/0d6646be600d5c977b8f0c4ee90ab4326f604eed))
212
+ * update env ([849fc61](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/849fc61d6f0f33b2be2c2336061344b4a39c6f91))
213
+
214
+ ## [44.4.39](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.38...v44.4.39) (2025-08-26)
215
+
216
+
217
+ ### Bug Fixes
218
+
219
+ * env handling ([149b8f2](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/149b8f2de79af7532ce434223d12ef9249ba2047))
220
+
221
+ ## [44.4.38](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.37...v44.4.38) (2025-08-26)
222
+
223
+
224
+ ### Bug Fixes
225
+
226
+ * redirect logic for affiliates ([f88bc07](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/f88bc07ac8e48f90cc25c57ddecb75eed774a284))
227
+ * redirects ([c6ba3a0](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/c6ba3a00e7a794e7d7d816611bc72ae4531bf4ce))
228
+ * redirects ([c8358be](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/c8358be986550b149677e7ec0eee484db913120e))
229
+ * tests ([9e90c50](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/9e90c50ef0a77ae246033225f111a3ecc6d5f302))
230
+
231
+ ## [44.4.37](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.36...v44.4.37) (2025-08-25)
232
+
233
+
234
+ ### Bug Fixes
235
+
236
+ * added x robots tag ([e549a5e](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/e549a5ebfd8e42ae32f6c283be4059b4c06d888f))
237
+ * test ([7630b92](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/7630b92b621e6117c400af243d2b4c300422a833))
238
+ * test ([385538b](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/385538b233d94cb8416f31eedd5f509efa1d1c1e))
239
+
240
+ ## [44.4.36](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.35...v44.4.36) (2025-08-25)
241
+
242
+
243
+ ### Bug Fixes
244
+
245
+ * add load more translation based on type of module cards ([0bf050c](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/0bf050cdb0fb0d43605ab6bc93478aaf0b46378e))
246
+ * added env var to enable server redirects instead of splash screens ([c67368f](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/c67368f1f11184ba52d2a32ea35e78e53e79b1a4))
247
+ * updated env ([dde7f3b](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/dde7f3b11987fa88f018bd69b96b8ca4db1765d8))
248
+
249
+
250
+ * Merge branch 'tm-5657-redirect-logic' into 'master' ([04f2c5b](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/04f2c5b863246c0889f232d65a7c375ea8e417d4))
251
+ * Merge branch 'tm-5331-load-more-archive' into 'master' ([22da05c](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/22da05cf57b9bc77fe5f37bb5fc955ad7ec9351e))
35
252
 
36
- ## [44.4.35-poc.1](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.34...v44.4.35-poc.1) (2025-08-22)
253
+ ## [44.4.35](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.34...v44.4.35) (2025-08-21)
37
254
 
38
255
 
39
256
  ### Bug Fixes
40
257
 
41
- * added commit pipelines ([0d583de](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/0d583de2d5683794918c6bb89e59a2a7ab88848f))
42
- * added stage ci cd ([9fa7040](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/9fa7040c89379832385b0d0a0fb4830c093601fa))
43
- * added utils to publush script ([2c78e6e](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/2c78e6e276e034739b8fb08228ad637cf8a96122))
44
258
  * added validation to comments ([64cd409](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/64cd40908393328d83fa10d933b834b74b418894))
45
- * ci cd ([86d0f72](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/86d0f725b51853c019d4c492136e525b29d50285))
46
- * deploy pm2 name ([0574aa7](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/0574aa77c25be5eda6a8f5131965ad36680d3152))
47
- * deploy pm2 name ([70fbbe7](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/70fbbe7026b584967bffcb9b3d169150e834a9fd))
48
- * deploy pm2 name ([e937f5f](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/e937f5f9183d9f050211079a65b6c22b8e3c7f32))
49
- * deploy pm2 name ([a384b54](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/a384b545c3112742c9d9126cac655aa20a2aadbc))
50
- * deploy pm2 name ([ef636b1](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/ef636b125cccc81158298bd0a2ca3f3c2e9be2ed))
51
- * deploy pm2 name ([24662d5](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/24662d5464dd6227da04c25c9a4a07ce2ab4fbfc))
52
- * pm2 name ([9c26e31](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/9c26e3103a4f01313a2aa67812eaa699e6fb6ddd))
53
- * poc stages added ([502f386](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/502f386fe8f7a9444daab822e798db48a5873a1b))
54
- * semantic release ([ccc3375](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/ccc3375e46d8c563cd62f6268c61c6d6394f6676))
55
259
  * tnc validation ([f4bb891](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/f4bb8914e4f73e8f33952df2209f212ca677cafb))
56
260
 
57
261
  ## [44.4.34](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.33...v44.4.34) (2025-08-21)
package/gatsby-browser.js CHANGED
@@ -9,58 +9,42 @@
9
9
  /* eslint-disable prefer-destructuring */
10
10
 
11
11
  // Main Vars
12
- require("./src/styles/utils/variables/_colors.scss");
13
- require("./src/styles/utils/variables/_main.scss");
14
- require("./src/styles/base/_typography.scss");
15
- require("./src/styles/base/_reset.scss");
16
- require("./src/styles/base/_spacing.scss");
17
- require("./src/styles/layouts/_grid.scss");
18
-
19
- async function yieldToMain() {
20
- if (globalThis.scheduler?.yield) {
21
- return scheduler.yield();
22
- }
23
-
24
- // Fall back to yielding with setTimeout.
25
- return new Promise((resolve) => {
26
- setTimeout(resolve, 0);
27
- });
28
- }
12
+ require('./src/styles/utils/variables/_colors.scss');
13
+ require('./src/styles/utils/variables/_main.scss');
14
+ require('./src/styles/base/_typography.scss');
15
+ require('./src/styles/base/_reset.scss');
16
+ require('./src/styles/base/_spacing.scss');
17
+ require('./src/styles/layouts/_grid.scss');
29
18
 
30
19
  function initGTM() {
31
- if (
32
- window.loadGTM === false ||
33
- window.gtmDidInit ||
34
- process.env.DISABLE_GTM === "true"
35
- ) {
20
+ if (window.loadGTM === false || window.gtmDidInit || process.env.DISABLE_GTM === 'true') {
36
21
  return false;
37
22
  }
38
23
 
39
24
  window.gtmDidInit = true; // flag to ensure script does not get added to DOM more than once.
40
25
  const trackingLink = `https://www.googletagmanager.com/gtm.js?id=${process.env.GA_TRACKING_ID}`;
41
26
 
42
- const script = document.createElement("script");
43
- script.type = "text/javascript";
27
+ const script = document.createElement('script');
28
+ script.type = 'text/javascript';
44
29
  script.async = true;
45
- script.crossOrigin = "anonymous";
46
30
  script.src = trackingLink;
47
31
 
48
32
  script.onload = () => {
49
33
  // eslint-disable-next-line no-undef
50
34
  dataLayer.push({
51
35
  // ensure PageViews are always tracked
52
- event: "gtm.js",
53
- "gtm.start": new Date().getTime(),
54
- "gtm.uniqueEventId": 0,
36
+ event: 'gtm.js',
37
+ 'gtm.start': new Date().getTime(),
38
+ 'gtm.uniqueEventId': 0,
55
39
  });
56
40
  };
57
41
  document.head.appendChild(script);
58
42
 
59
- const noscript = document.createElement("noscript");
60
- const iframe = document.createElement("iframe");
43
+ const noscript = document.createElement('noscript');
44
+ const iframe = document.createElement('iframe');
61
45
  iframe.src = trackingLink;
62
- iframe.style.display = "none";
63
- iframe.style.visibility = "hidden";
46
+ iframe.style.display = 'none';
47
+ iframe.style.visibility = 'hidden';
64
48
  iframe.height = 0;
65
49
  iframe.width = 0;
66
50
  noscript.innerHTML += iframe.outerHTML;
@@ -68,15 +52,16 @@ function initGTM() {
68
52
  }
69
53
 
70
54
  function optinMonster() {
71
- const script = document.createElement("script");
72
- script.id = "optin-monstr";
73
- script.setAttribute("data-user", process.env.OPTINMONSTR_USER);
74
- script.setAttribute("data-account", process.env.OPTINMONSTR_ACC);
75
- script.src = "https://a.omappapi.com/app/js/api.min.js";
55
+ const script = document.createElement('script');
56
+ script.id = 'optin-monstr';
57
+ script.setAttribute('data-user', process.env.OPTINMONSTR_USER);
58
+ script.setAttribute('data-account', process.env.OPTINMONSTR_ACC);
59
+ script.src = 'https://a.omappapi.com/app/js/api.min.js';
76
60
  script.async = true;
77
61
  document.head.appendChild(script);
78
62
  }
79
63
 
64
+
80
65
  const loadFacebookPixel = () => {
81
66
  !(function (f, b, e, v, n, t, s) {
82
67
  // eslint-disable-next-line no-multi-assign
@@ -90,20 +75,15 @@ const loadFacebookPixel = () => {
90
75
  if (!f._fbq) f._fbq = n;
91
76
  n.push = n;
92
77
  n.loaded = !0;
93
- n.version = "2.0";
78
+ n.version = '2.0';
94
79
  n.queue = [];
95
80
  t = b.createElement(e);
96
81
  t.async = !0;
97
- t.id = "pixel-code";
82
+ t.id = 'pixel-code';
98
83
  t.src = v;
99
84
  s = b.getElementsByTagName(e)[0];
100
85
  s.parentNode.insertBefore(t, s);
101
- })(
102
- window,
103
- document,
104
- "script",
105
- "https://connect.facebook.net/en_US/fbevents.js"
106
- );
86
+ })(window, document, 'script', 'https://connect.facebook.net/en_US/fbevents.js');
107
87
  };
108
88
 
109
89
  const microsoftAdvertising = () => {
@@ -111,105 +91,73 @@ const microsoftAdvertising = () => {
111
91
  var f, n, i;
112
92
  (w[u] = w[u] || []),
113
93
  (f = function () {
114
- var o = { ti: "187106455", enableAutoSpaTracking: true };
115
- (o.q = w[u]), (w[u] = new UET(o)), w[u].push("pageLoad");
94
+ var o = { ti: '187106455', enableAutoSpaTracking: true };
95
+ (o.q = w[u]), (w[u] = new UET(o)), w[u].push('pageLoad');
116
96
  }),
117
97
  (n = d.createElement(t)),
118
98
  (n.src = r),
119
99
  (n.async = 1),
120
- (n.id = "microsoft-code"),
100
+ (n.id = 'microsoft-code'),
121
101
  (n.onload = n.onreadystatechange =
122
102
  function () {
123
103
  var s = this.readyState;
124
- (s && s !== "loaded" && s !== "complete") ||
104
+ (s && s !== 'loaded' && s !== 'complete') ||
125
105
  (f(), (n.onload = n.onreadystatechange = null));
126
106
  }),
127
107
  (i = d.getElementsByTagName(t)[0]),
128
108
  i.parentNode.insertBefore(n, i);
129
- })(window, document, "script", "//bat.bing.com/bat.js", "uetq");
109
+ })(window, document, 'script', '//bat.bing.com/bat.js', 'uetq');
130
110
  };
131
111
 
132
- const piguard = () => {
112
+ const piguard = () =>{
133
113
  if (window.loadGTM === false) {
134
114
  return false;
135
115
  }
136
116
 
137
- const script = document.createElement("script");
138
- script.id = "piguard";
117
+ const script = document.createElement('script');
118
+ script.id = 'piguard';
139
119
  script.src = `https://pg.${process.env.GATSBY_SITE_NAME}/analytics.js?tid=PP-${process.env.PIGUARD_ID}`;
140
120
  script.async = true;
141
121
  document.head.appendChild(script);
142
- };
122
+ }
143
123
 
144
- async function scrollEvent(event) {
145
- await yieldToMain();
124
+ function scrollEvent(event) {
146
125
  initGTM();
147
- if (
148
- !document.getElementById("piguard") &&
149
- process.env.ENABLE_PIGUARD === "true"
150
- ) {
126
+
127
+ if (!document.getElementById('piguard') && process.env.ENABLE_PIGUARD === 'true') {
151
128
  piguard();
152
129
  }
153
130
 
154
- if (
155
- process.env.ENABLE_MICROSOFT === "true" &&
156
- !document.getElementById("microsoft-code")
157
- )
131
+ if (process.env.ENABLE_MICROSOFT === 'true' && !document.getElementById('microsoft-code'))
158
132
  microsoftAdvertising();
159
133
 
160
- if (
161
- process.env.ENABLE_OPTINMONSTR === "true" &&
162
- !document.getElementById("optin-monstr")
163
- )
134
+ if (process.env.ENABLE_OPTINMONSTR === 'true' && !document.getElementById('optin-monstr'))
164
135
  optinMonster();
165
- if (
166
- process.env.ENABLE_PIXEL === "true" &&
167
- !document.getElementById("pixel-code")
168
- ) {
136
+ if (process.env.ENABLE_PIXEL === 'true' && !document.getElementById('pixel-code')) {
169
137
  if (
170
- typeof window !== "undefined" &&
138
+ typeof window !== 'undefined' &&
171
139
  window.location.pathname !== process.env.PAGE_EXCLUDE_PIXEL
172
140
  ) {
173
141
  loadFacebookPixel();
174
142
 
175
- fbq("init", process.env.PIXEL_ID);
143
+ fbq('init', process.env.PIXEL_ID);
176
144
 
177
145
  // Initialize and track the PageView event
178
- fbq("track", "PageView");
146
+ fbq('track', 'PageView');
179
147
  }
180
148
  }
181
149
 
182
150
  if (event) {
183
- event.currentTarget?.removeEventListener(event.type, scrollEvent); // remove the event listener that got triggered
151
+ event.currentTarget.removeEventListener(event.type, scrollEvent); // remove the event listener that got triggered
184
152
  }
185
153
  }
186
154
 
187
155
  exports.onClientEntry = () => {
188
- if (process.env.PPC === "true") {
156
+ if (process.env.PPC === 'true') {
189
157
  scrollEvent(null);
190
158
  } else {
191
- // detect if is mobile
192
- if (
193
- /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
194
- navigator.userAgent
195
- )
196
- ) {
197
- scrollEvent(null);
198
- return;
199
- }
200
-
201
- document.addEventListener("scroll", scrollEvent);
202
- document.addEventListener("mousemove", scrollEvent);
203
- document.addEventListener("touchstart", scrollEvent, { passive: true });
204
- }
205
- if (window.dataLayer && typeof window.dataLayer.push === "function") {
206
- const originalPush = window.dataLayer.push.bind(window.dataLayer);
207
-
208
- window.dataLayer.push = function (...args) {
209
- (async () => {
210
- await yieldToMain();
211
- originalPush(...args);
212
- })();
213
- };
159
+ document.addEventListener('scroll', scrollEvent, { passive: true });
160
+ document.addEventListener('mousemove', scrollEvent, { passive: true });
161
+ document.addEventListener('touchstart', scrollEvent, { passive: true });
214
162
  }
215
163
  };