gatsby-core-theme 21.0.4 → 21.0.5
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,19 @@
|
|
|
1
|
+
## [21.0.5](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v21.0.4...v21.0.5) (2023-04-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* geo targeting ([fda3769](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/fda37694e6fcfb30fed909095faa6132b64805c0))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Code Refactoring
|
|
10
|
+
|
|
11
|
+
* update operator banner cta styling ([dbca77e](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/dbca77e78d6ce56372a23be0e9c806fc17d3341a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
* Merge branch 'geo-targeting-fix' into 'master' ([e345c3f](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/e345c3fa86a9eaca722ea9e1d6a268afa25242a6))
|
|
15
|
+
* Merge branch 'tm-3401-operator-banner-cta-style-update' into 'master' ([3b00e0c](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/3b00e0c3ecbc91cdfc62ae9e3cb9a6d997d74b79))
|
|
16
|
+
|
|
1
17
|
## [21.0.4](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v21.0.3...v21.0.4) (2023-04-26)
|
|
2
18
|
|
|
3
19
|
|
package/gatsby-node.esm.js
CHANGED
|
@@ -338,37 +338,42 @@ exports.createPages = async ({ actions: { createPage } }, themeOptions) => {
|
|
|
338
338
|
});
|
|
339
339
|
});
|
|
340
340
|
|
|
341
|
-
const
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
const
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
341
|
+
const operatorsByType = groupBy(operatorsAllMarket, 'type');
|
|
342
|
+
|
|
343
|
+
Object.keys(operatorsByType).forEach((type) => {
|
|
344
|
+
const operatorsByMarket = groupBy(operatorsByType[type], 'market');
|
|
345
|
+
console.log(trackerNames);
|
|
346
|
+
|
|
347
|
+
trackerNames.forEach((link) => {
|
|
348
|
+
const trackerLinkPath = generateTrackerLink(
|
|
349
|
+
operatorsByType[type][0],
|
|
350
|
+
link,
|
|
351
|
+
false,
|
|
352
|
+
pageTemplate
|
|
353
|
+
)
|
|
354
|
+
.toLowerCase()
|
|
355
|
+
.replace(' ', '_');
|
|
356
|
+
console.log(trackerLinkPath);
|
|
357
|
+
const trackerPageObject = {
|
|
358
|
+
meta_title: 'Tracker',
|
|
359
|
+
template: pageTemplate,
|
|
360
|
+
title: 'Tracker',
|
|
361
|
+
relation_type: 'page',
|
|
362
|
+
language: languageKey,
|
|
363
|
+
path: trackerLinkPath,
|
|
364
|
+
meta_robots: ['noindex', 'nofollow'],
|
|
365
|
+
};
|
|
366
|
+
createPage({
|
|
367
|
+
path: trackerLinkPath,
|
|
368
|
+
component: require.resolve('./src/components/app.js'),
|
|
369
|
+
context: {
|
|
370
|
+
page: trackerPageObject,
|
|
371
|
+
siteInfo,
|
|
372
|
+
operatorsByMarket,
|
|
373
|
+
isTrackeGeo: true,
|
|
374
|
+
isLiveStreamProvider: false,
|
|
375
|
+
},
|
|
376
|
+
});
|
|
372
377
|
});
|
|
373
378
|
});
|
|
374
379
|
});
|
package/package.json
CHANGED
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
z-index: var(--cookie-consent-index);
|
|
32
32
|
padding: 1.5rem 1.6rem;
|
|
33
33
|
bottom: 22rem;
|
|
34
|
-
|
|
35
|
-
&.cookieAccepted {
|
|
36
|
-
bottom: 0;
|
|
34
|
+
|
|
35
|
+
&.cookieAccepted {
|
|
36
|
+
bottom: 0;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
@include min(tablet){
|
|
39
|
+
@include min(tablet) {
|
|
40
40
|
bottom: 16.2rem;
|
|
41
41
|
}
|
|
42
|
-
|
|
43
|
-
@include min(laptop){
|
|
42
|
+
|
|
43
|
+
@include min(laptop) {
|
|
44
44
|
bottom: 7.4rem;
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -58,18 +58,18 @@
|
|
|
58
58
|
> * {
|
|
59
59
|
align-self: center;
|
|
60
60
|
}
|
|
61
|
-
|
|
62
|
-
> a:first-of-type {
|
|
61
|
+
|
|
62
|
+
> a:first-of-type:not([class^='operator-cta']) {
|
|
63
63
|
@include min(tablet) {
|
|
64
64
|
grid-row: 1/3;
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
|
|
67
|
+
|
|
68
68
|
.logo {
|
|
69
69
|
@include min(tablet) {
|
|
70
70
|
display: flex;
|
|
71
71
|
}
|
|
72
|
-
|
|
72
|
+
|
|
73
73
|
img {
|
|
74
74
|
@include min(tablet) {
|
|
75
75
|
max-height: 8rem;
|
|
@@ -77,14 +77,15 @@
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
|
|
81
|
-
> a
|
|
80
|
+
|
|
81
|
+
> a[class^='operator-cta'],
|
|
82
|
+
> div[class^='operator-cta'] {
|
|
82
83
|
grid-column: 1/3;
|
|
83
|
-
|
|
84
|
+
|
|
84
85
|
@include min-max(tablet, laptop) {
|
|
85
86
|
margin-right: 2rem; // Space for clicking close icon
|
|
86
87
|
}
|
|
87
|
-
|
|
88
|
+
|
|
88
89
|
@include min(tablet) {
|
|
89
90
|
font-size: 2.4rem;
|
|
90
91
|
grid-area: 1/3/3/4;
|
|
@@ -93,15 +94,15 @@
|
|
|
93
94
|
}
|
|
94
95
|
}
|
|
95
96
|
}
|
|
96
|
-
|
|
97
|
-
> div {
|
|
97
|
+
|
|
98
|
+
> div:not([class^='operator-cta']) {
|
|
98
99
|
@include common-bonus();
|
|
99
100
|
}
|
|
100
|
-
|
|
101
|
+
|
|
101
102
|
> p:last-of-type {
|
|
102
103
|
grid-column: 1/3;
|
|
103
104
|
margin-top: 0.8rem;
|
|
104
|
-
|
|
105
|
+
|
|
105
106
|
@include min(tablet) {
|
|
106
107
|
grid-column: 2/3;
|
|
107
108
|
text-align: unset;
|
|
@@ -110,9 +111,9 @@
|
|
|
110
111
|
}
|
|
111
112
|
}
|
|
112
113
|
}
|
|
113
|
-
|
|
114
|
+
|
|
114
115
|
&.inGamePage {
|
|
115
|
-
.operatorBannerContainer{
|
|
116
|
+
.operatorBannerContainer {
|
|
116
117
|
width: 100%;
|
|
117
118
|
background-color: var(--color-9);
|
|
118
119
|
padding: 0.5rem 1.6rem;
|
|
@@ -122,19 +123,19 @@
|
|
|
122
123
|
@include flex-align(center, space-between);
|
|
123
124
|
flex-direction: row;
|
|
124
125
|
}
|
|
125
|
-
|
|
126
|
+
|
|
126
127
|
.bonusTnc {
|
|
127
128
|
margin: 0;
|
|
128
129
|
text-align: center;
|
|
129
130
|
width: 100%;
|
|
130
|
-
|
|
131
|
+
|
|
131
132
|
> p:last-of-type {
|
|
132
133
|
@include min(tablet) {
|
|
133
134
|
font-size: 1.2rem;
|
|
134
135
|
margin-top: 0.4rem;
|
|
135
136
|
}
|
|
136
137
|
}
|
|
137
|
-
|
|
138
|
+
|
|
138
139
|
@include min(tablet) {
|
|
139
140
|
text-align: left;
|
|
140
141
|
width: auto;
|
|
@@ -149,63 +150,64 @@
|
|
|
149
150
|
padding: 0 1.6rem;
|
|
150
151
|
@include flex-align(flex-start, center);
|
|
151
152
|
width: 100%;
|
|
152
|
-
|
|
153
|
+
|
|
153
154
|
@include min(tablet) {
|
|
154
155
|
@include flex-align(center, space-between);
|
|
155
156
|
flex-direction: row;
|
|
156
157
|
}
|
|
157
|
-
|
|
158
|
-
> div:first-child {
|
|
158
|
+
|
|
159
|
+
> div:first-child:not([class^='operator-cta']) {
|
|
159
160
|
.nameTitle a {
|
|
160
161
|
@include link-color(var(--color-18));
|
|
161
162
|
}
|
|
162
|
-
|
|
163
|
+
|
|
163
164
|
> a {
|
|
164
165
|
text-decoration: underline;
|
|
165
166
|
font-weight: 700;
|
|
166
167
|
}
|
|
167
168
|
}
|
|
168
|
-
|
|
169
|
+
|
|
169
170
|
.bonusTnc {
|
|
170
171
|
margin: 1rem 0 0.8rem;
|
|
171
|
-
|
|
172
|
+
|
|
172
173
|
@include min(tablet) {
|
|
173
174
|
margin: 0;
|
|
174
175
|
text-align: center;
|
|
175
176
|
}
|
|
176
|
-
|
|
177
|
-
> div {
|
|
177
|
+
|
|
178
|
+
> div:not([class^='operator-cta']) {
|
|
178
179
|
@include common-bonus();
|
|
179
180
|
}
|
|
180
|
-
|
|
181
|
+
|
|
181
182
|
> p:last-of-type {
|
|
182
183
|
margin-top: 0.8rem;
|
|
183
184
|
color: var(--color-34);
|
|
184
185
|
}
|
|
185
186
|
}
|
|
186
|
-
|
|
187
|
-
> a
|
|
187
|
+
|
|
188
|
+
> a[class^='operator-cta'],
|
|
189
|
+
> div[class^='operator-cta'] {
|
|
188
190
|
width: 100%;
|
|
189
191
|
margin-top: 1rem;
|
|
190
|
-
|
|
192
|
+
|
|
191
193
|
@include min(tablet) {
|
|
192
194
|
margin-top: inherit;
|
|
193
195
|
width: auto;
|
|
194
196
|
}
|
|
195
197
|
}
|
|
196
|
-
|
|
198
|
+
|
|
197
199
|
.logo {
|
|
198
200
|
margin: 0;
|
|
199
201
|
text-align: center;
|
|
200
|
-
|
|
202
|
+
|
|
201
203
|
img {
|
|
202
204
|
max-width: 10rem;
|
|
203
205
|
max-height: 6rem;
|
|
204
|
-
|
|
206
|
+
|
|
205
207
|
@include max(mobile) {
|
|
206
208
|
margin: 1.5rem 0 1rem;
|
|
207
209
|
}
|
|
208
|
-
|
|
210
|
+
|
|
209
211
|
@include min(tablet) {
|
|
210
212
|
max-width: 12rem;
|
|
211
213
|
}
|
|
@@ -223,4 +225,4 @@
|
|
|
223
225
|
|
|
224
226
|
.operatorBanner.close {
|
|
225
227
|
display: none;
|
|
226
|
-
}
|
|
228
|
+
}
|