gatsby-core-theme 44.5.0-poc.3 → 44.5.1

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