gatsby-matrix-theme 34.0.5 → 34.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,30 @@
1
+ ## [34.0.7](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v34.0.6...v34.0.7) (2023-10-04)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update matrix version ([ec2dcd3](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/ec2dcd3c303f4d1453dd6adaa6c865cedb993aa2))
7
+
8
+
9
+ * Merge branch 'update-version' into 'master' ([a66be3a](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/a66be3a031df7347d3659425d14fbfd2a0930031))
10
+
11
+ ## [34.0.6](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v34.0.5...v34.0.6) (2023-10-04)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * add an extra prop ([2c9cf41](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/2c9cf41e01775ee4c927e29d1be0630ed5874a23))
17
+ * cleanup ([68bb2ac](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/68bb2ac90acd75a7049382c82536f21b78290e6c))
18
+ * update twitter logo ([98ffcef](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/98ffcef36585b28365c09d7746fa9644e747b8e1))
19
+ * updated h2 to span ([918dae4](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/918dae47f7d4bf6f050c4d6028041b13750784ed))
20
+ * updated h2 to span ([8026eef](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/8026eefbe63c323d2a72343a9306e04dd9e5493d))
21
+
22
+
23
+ * Merge branch 'tm-3596-popup' into 'master' ([66def3b](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/66def3b9b80d3359cd1754829c2ace4257b94636))
24
+ * Merge branch 'tm-3589-wagering-calculator' into 'master' ([981e623](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/981e62376895fc5d33bc3d1b5b938c3b40780476))
25
+ * Merge branch 'updating-twitter-logo' into 'master' ([b2ff2d6](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/b2ff2d62f41a25626184c9f74d63193f2e6caec6))
26
+ * Merge branch 'cleanup' into 'master' ([70a9d03](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/70a9d03c8c8746a20c66c736b071baa208e6b1e9))
27
+
1
28
  ## [34.0.5](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v34.0.4...v34.0.5) (2023-10-02)
2
29
 
3
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "34.0.5",
3
+ "version": "34.0.7",
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": "30.0.4",
28
+ "gatsby-core-theme": "30.0.5",
29
29
  "gatsby-plugin-sharp": "^5.11.0",
30
30
  "gatsby-plugin-sitemap": "^3.3.0",
31
31
  "gatsby-transformer-sharp": "^5.11.0",
@@ -3,7 +3,6 @@ import React from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { FaInstagram } from '@react-icons/all-files/fa/FaInstagram';
5
5
  import { FaFacebookSquare } from '@react-icons/all-files/fa/FaFacebookSquare';
6
- import { FaTwitter } from '@react-icons/all-files/fa/FaTwitter';
7
6
  import { IoLogoTiktok } from '@react-icons/all-files/io5/IoLogoTiktok';
8
7
  import { FaLinkedin } from '@react-icons/all-files/fa/FaLinkedin';
9
8
  import styles from './socials.module.scss';
@@ -13,7 +12,21 @@ export default function Socials({ className = '', author }) {
13
12
  { id: 'fb', link: author.facebook_profile, icon: <FaFacebookSquare title="Facebook Icon " /> },
14
13
  { id: 'ig', link: author.instagram_profile, icon: <FaInstagram title="Instagram Icon " /> },
15
14
  { id: 'li', link: author.linkedin_profile, icon: <FaLinkedin title="Linkedin Icon" /> },
16
- { id: 'tw', link: author.twitter_profile, icon: <FaTwitter title="Twitter Icon" /> },
15
+ {
16
+ id: 'tw',
17
+ link: author.twitter_profile,
18
+ icon: (
19
+ <svg
20
+ width="1em"
21
+ height="1em"
22
+ viewBox="0 0 13 12"
23
+ fill="currentcolor"
24
+ xmlns="http://www.w3.org/2000/svg"
25
+ >
26
+ <path d="M9.97574 0H11.9181L7.67469 4.84989L12.6667 11.4495H8.75802L5.69659 7.44685L2.19363 11.4495H0.250147L4.78881 6.26203L0 0H4.0079L6.7752 3.65856L9.97574 0ZM9.29408 10.287H10.3703L3.42314 1.1015H2.26822L9.29408 10.287Z" />
27
+ </svg>
28
+ ),
29
+ },
17
30
  { id: 'tt', link: author.tik_tok, icon: <IoLogoTiktok title="Tiktok Icon" /> },
18
31
  ].filter((socialLink) => socialLink.link);
19
32
 
@@ -17,6 +17,7 @@ const PopupCard = ({
17
17
  showTnc = false,
18
18
  showRating = false,
19
19
  showReviewLink = false,
20
+ hasCollapse = true,
20
21
  template,
21
22
  }) => {
22
23
  const operatorName = item.name;
@@ -62,7 +63,7 @@ const PopupCard = ({
62
63
  </div>
63
64
  {showTnc && tnc === '1' && (
64
65
  <div className={styles?.tandc || ''}>
65
- <Tnc onlyMobile operator={item} />
66
+ <Tnc onlyMobile operator={item} hasCollapse={hasCollapse} />
66
67
  </div>
67
68
  )}
68
69
  </div>
@@ -105,6 +106,7 @@ PopupCard.propTypes = {
105
106
  showRating: PropTypes.bool,
106
107
  showReviewLink: PropTypes.bool,
107
108
  template: PropTypes.string,
109
+ hasCollapse: PropTypes.bool,
108
110
  };
109
111
 
110
112
  export default PopupCard;
@@ -2,7 +2,6 @@
2
2
  import React, { useContext } from 'react';
3
3
  import { FaInstagram } from '@react-icons/all-files/fa/FaInstagram';
4
4
  import { FaFacebookSquare } from '@react-icons/all-files/fa/FaFacebookSquare';
5
- import { FaTwitter } from '@react-icons/all-files/fa/FaTwitter';
6
5
  import { FaLinkedin } from '@react-icons/all-files/fa/FaLinkedin';
7
6
  import { FaYoutube } from '@react-icons/all-files/fa/FaYoutube';
8
7
  import PropTypes from 'prop-types';
@@ -17,7 +16,17 @@ const SocialIcons = ({
17
16
  icons = {
18
17
  instagram: <FaInstagram title="Instagram Icon" />,
19
18
  facebook: <FaFacebookSquare title="Facebook Icon" />,
20
- twitter: <FaTwitter title="Twitter Icon" />,
19
+ twitter: (
20
+ <svg
21
+ width="1em"
22
+ height="1em"
23
+ viewBox="0 0 13 12"
24
+ fill="currentcolor"
25
+ xmlns="http://www.w3.org/2000/svg"
26
+ >
27
+ <path d="M9.97574 0H11.9181L7.67469 4.84989L12.6667 11.4495H8.75802L5.69659 7.44685L2.19363 11.4495H0.250147L4.78881 6.26203L0 0H4.0079L6.7752 3.65856L9.97574 0ZM9.29408 10.287H10.3703L3.42314 1.1015H2.26822L9.29408 10.287Z" />
28
+ </svg>
29
+ ),
21
30
  linkedin: <FaLinkedin title="Linkedin Icon" />,
22
31
  youtube: <FaYoutube title="Youtube Icon" />,
23
32
  },
@@ -131,191 +131,3 @@
131
131
  }
132
132
  }
133
133
 
134
- .ribbon {
135
- position: absolute;
136
- top: -19px;
137
- right: 0;
138
- background-color: #f1b75b;
139
- padding: 4px 8px;
140
- border-radius: 8px 4px 0px 0px;
141
- font-weight: 700;
142
- font-size: 9px;
143
-
144
- line-height: 11px;
145
- color: #1b1b1c;
146
- text-align: center;
147
- letter-spacing: 0.5px;
148
- text-transform: uppercase;
149
-
150
- @include min(tablet) {
151
- top: -29px;
152
- right: 0;
153
- padding: 7px 16px;
154
- font-size: 12px;
155
- line-height: 15px;
156
- }
157
- }
158
-
159
- .templateTwoContainer {
160
- margin: var(--operator-template-two-margin-mobile, 1.6rem);
161
- display: flex;
162
- flex-direction: column;
163
-
164
- > ul {
165
- order: 3;
166
-
167
- > li {
168
- min-height: 9.6rem;
169
- }
170
-
171
- @include min(tablet) {
172
- order: 2;
173
- }
174
- }
175
-
176
- @include min(tablet) {
177
- margin: 0 auto;
178
- margin-top: var(--operator-template-two-margin-top-desktop, 1.6rem);
179
- margin-bottom: var(--operator-template-two-margin-bottom-desktop, 1.6rem);
180
- }
181
-
182
- > div:last-child {
183
- margin: 0 1.6rem 1.6rem 1.6rem;
184
- order: 2;
185
-
186
- @include min(tablet) {
187
- order: 3;
188
- margin: 0rem;
189
- border-top-left-radius: 0px;
190
- border-top-right-radius: 0px;
191
- }
192
- }
193
- }
194
-
195
- .templateTwoTopSection {
196
- display: flex;
197
- padding-bottom: 1.8rem;
198
-
199
- a {
200
- position: static;
201
-
202
- > img {
203
- width: 80px;
204
- height: 80px;
205
- min-width: 80px;
206
- border: 1.5px solid #e9e9e9;
207
- border-radius: 16px;
208
-
209
- @include min(tablet) {
210
- width: 17.9rem;
211
- min-width: 17.9rem;
212
- height: 17.9rem;
213
- }
214
- }
215
- }
216
-
217
- @include min(tablet) {
218
- padding-bottom: 2.6rem;
219
- }
220
- }
221
-
222
- .templateTwoTopContent {
223
- margin-left: 2.4rem;
224
- margin-top: 1rem;
225
- width: 100%;
226
-
227
- @include min(tablet) {
228
- margin-left: 4.8rem;
229
- }
230
- }
231
-
232
- .templateTwoRibbon {
233
- position: static;
234
- width: fit-content;
235
- margin-top: 1.2rem;
236
-
237
- @include min(tablet) {
238
- position: absolute;
239
- top: 2.4rem;
240
- right: 2.4rem;
241
- margin-top: 0rem;
242
- }
243
- }
244
-
245
- .ratingInactive {
246
- background-color: #fbfbfb !important;
247
- color: #6b6a72 !important;
248
- font-weight: 700;
249
- font-size: 20px !important;
250
- line-height: 30px !important;
251
-
252
- > svg {
253
- margin-right: 6.32px;
254
- color: var(--icons-rating-color, #ffdb20);
255
- }
256
- }
257
-
258
- .licenses {
259
- color: red;
260
- }
261
-
262
- .ratingGuideline {
263
- color: #515156;
264
- display: block;
265
- font-size: 12px;
266
-
267
- font-weight: 400;
268
- line-height: 18px;
269
- > a {
270
- margin-left: 3px;
271
- font-weight: 500;
272
- text-decoration: underline;
273
- }
274
- }
275
-
276
- .certificateAndLicense {
277
- @include flex-direction(column);
278
- margin: 0 1.6rem 1.6rem 1.6rem;
279
- @include min(tablet) {
280
- @include flex-direction(row);
281
- gap: 1.6rem;
282
- margin: 0 3.2rem 2.4rem 3.2rem;
283
- }
284
- }
285
-
286
- .trustCertificate,
287
- .licenses {
288
- min-height: 32px;
289
- border-radius: 8px;
290
- background: #f4f4f4;
291
- padding: 8px;
292
- display: flex;
293
- align-items: center;
294
- gap: 8px;
295
-
296
- font-size: 12px;
297
- color: #1b1b1c;
298
- font-weight: 600;
299
- line-height: 18px;
300
- margin-bottom: 8px;
301
-
302
- @include min(tablet) {
303
- line-height: 26px;
304
- font-size: 16px;
305
- width: 100%;
306
- min-height: 4.8rem;
307
- margin-bottom: 0;
308
- padding: 8px 16px;
309
- }
310
- }
311
-
312
- .trustCertificate {
313
- gap: 6px;
314
- }
315
-
316
- .licenses {
317
- padding: 8px 8px 8px 12px;
318
- @include min(tablet) {
319
- padding: 8px 16px;
320
- }
321
- }
@@ -131,134 +131,6 @@
131
131
  }
132
132
  }
133
133
 
134
- .ribbon {
135
- position: absolute;
136
- top: -19px;
137
- right: 0;
138
- background-color: #f1b75b;
139
- padding: 4px 8px;
140
- border-radius: 8px 4px 0px 0px;
141
- font-weight: 700;
142
- font-size: 9px;
143
-
144
- line-height: 11px;
145
- color: #1b1b1c;
146
- text-align: center;
147
- letter-spacing: 0.5px;
148
- text-transform: uppercase;
149
-
150
- @include min(tablet) {
151
- top: -29px;
152
- right: 0;
153
- padding: 7px 16px;
154
- font-size: 12px;
155
- line-height: 15px;
156
- }
157
- }
158
-
159
- .templateTwoContainer {
160
- margin: var(--operator-template-two-margin-mobile, 1.6rem);
161
- display: flex;
162
- flex-direction: column;
163
-
164
- > ul {
165
- order: 3;
166
-
167
- > li {
168
- min-height: 9.6rem;
169
- }
170
-
171
- @include min(tablet) {
172
- order: 2;
173
- }
174
- }
175
-
176
- @include min(tablet) {
177
- margin: 0 auto;
178
- margin-top: var(--operator-template-two-margin-top-desktop, 1.6rem);
179
- margin-bottom: var(--operator-template-two-margin-bottom-desktop, 1.6rem);
180
- }
181
-
182
- > div:last-child {
183
- margin: 0 1.6rem 1.6rem 1.6rem;
184
- order: 2;
185
-
186
- @include min(tablet) {
187
- order: 3;
188
- margin: 0rem;
189
- border-top-left-radius: 0px;
190
- border-top-right-radius: 0px;
191
- }
192
- }
193
- }
194
-
195
- .templateTwoTopSection {
196
- display: flex;
197
- padding-bottom: 1.8rem;
198
-
199
- a {
200
- position: static;
201
-
202
- > img {
203
- width: 80px;
204
- height: 80px;
205
- min-width: 80px;
206
- border: 1.5px solid #e9e9e9;
207
- border-radius: 16px;
208
-
209
- @include min(tablet) {
210
- width: 17.9rem;
211
- min-width: 17.9rem;
212
- height: 17.9rem;
213
- }
214
- }
215
- }
216
-
217
- @include min(tablet) {
218
- padding-bottom: 2.6rem;
219
- }
220
- }
221
-
222
- .templateTwoTopContent {
223
- margin-left: 2.4rem;
224
- margin-top: 1rem;
225
- width: 100%;
226
-
227
- @include min(tablet) {
228
- margin-left: 4.8rem;
229
- }
230
- }
231
-
232
- .templateTwoRibbon {
233
- position: static;
234
- width: fit-content;
235
- margin-top: 1.2rem;
236
-
237
- @include min(tablet) {
238
- position: absolute;
239
- top: 2.4rem;
240
- right: 2.4rem;
241
- margin-top: 0rem;
242
- }
243
- }
244
-
245
- .ratingInactive {
246
- background-color: #fbfbfb !important;
247
- color: #6b6a72 !important;
248
- font-weight: 700;
249
- font-size: 20px !important;
250
- line-height: 30px !important;
251
-
252
- > svg {
253
- margin-right: 6.32px;
254
- color: var(--icons-rating-color, #ffdb20);
255
- }
256
- }
257
-
258
- .licenses {
259
- color: red;
260
- }
261
-
262
134
  .ratingGuideline {
263
135
  color: #515156;
264
136
  display: block;
@@ -272,50 +144,3 @@
272
144
  text-decoration: underline;
273
145
  }
274
146
  }
275
-
276
- .certificateAndLicense {
277
- @include flex-direction(column);
278
- margin: 0 1.6rem 1.6rem 1.6rem;
279
- @include min(tablet) {
280
- @include flex-direction(row);
281
- gap: 1.6rem;
282
- margin: 0 3.2rem 2.4rem 3.2rem;
283
- }
284
- }
285
-
286
- .trustCertificate,
287
- .licenses {
288
- min-height: 32px;
289
- border-radius: 8px;
290
- background: #f4f4f4;
291
- padding: 8px;
292
- display: flex;
293
- align-items: center;
294
- gap: 8px;
295
-
296
- font-size: 12px;
297
- color: #1b1b1c;
298
- font-weight: 600;
299
- line-height: 18px;
300
- margin-bottom: 8px;
301
-
302
- @include min(tablet) {
303
- line-height: 26px;
304
- font-size: 16px;
305
- width: 100%;
306
- min-height: 4.8rem;
307
- margin-bottom: 0;
308
- padding: 8px 16px;
309
- }
310
- }
311
-
312
- .trustCertificate {
313
- gap: 6px;
314
- }
315
-
316
- .licenses {
317
- padding: 8px 8px 8px 12px;
318
- @include min(tablet) {
319
- padding: 8px 16px;
320
- }
321
- }
@@ -57,7 +57,7 @@ const WageringCalculator = ({
57
57
  action="javascript:void(0);"
58
58
  target="_self"
59
59
  >
60
- <h2 className={styles.mainTitle}>
60
+ <span className={styles.mainTitle}>
61
61
  {translate(translations, 'wagecalc_main_title', mainTitle)}
62
62
  {infoTitle && infoText && (
63
63
  <InfoIcon
@@ -67,7 +67,7 @@ const WageringCalculator = ({
67
67
  title="Question Icon"
68
68
  />
69
69
  )}
70
- </h2>
70
+ </span>
71
71
  <div className={styles.inputContainer}>
72
72
  <label className={styles.label} htmlFor="deposit">
73
73
  {translate(translations, 'wagecalc_deposit_amount', 'Deposit amount')}
@@ -74,13 +74,17 @@
74
74
  }
75
75
  @include min(tablet) {
76
76
  overflow: visible;
77
- }
77
+ }
78
78
  }
79
79
 
80
80
  .mainTitle {
81
- line-height: 3.4rem;
82
- font-size: 2.4rem;
83
81
  grid-column: 1/3;
82
+ font-size: var(--h2-mobile-size, 2.4rem);
83
+ line-height: var(--h2-mobile-line-height, 3.4rem);
84
+ @include min(laptop) {
85
+ font-size: var(--h2-size, 2.4rem);
86
+ line-height: var(--h2-line-height, 3.4rem);
87
+ }
84
88
  }
85
89
 
86
90
  .infoTitle {