gatsby-matrix-theme 25.1.6 → 25.1.8

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,18 @@
1
+ ## [25.1.8](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v25.1.7...v25.1.8) (2023-06-13)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * wagering calc styling ([6900f5a](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/6900f5abf61cf4d18413f095806e29eacadf97ef))
7
+ * wagering calc styling ([582610e](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/582610ed84d53999dc4760b9f273c58d01035b9f))
8
+
9
+ ## [25.1.7](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v25.1.6...v25.1.7) (2023-06-13)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * wagering calculator styling ([85f83ba](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/85f83ba584c1f13a021325b28519174bdb285daf))
15
+
1
16
  ## [25.1.6](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v25.1.5...v25.1.6) (2023-06-12)
2
17
 
3
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "25.1.6",
3
+ "version": "25.1.8",
4
4
  "main": "index.js",
5
5
  "description": "Matrix Theme NPM Package",
6
6
  "author": "",
@@ -18,7 +18,7 @@ import styles from './small-welcome-bonus.module.scss';
18
18
 
19
19
  const Index = ({ page }) => {
20
20
  const operator = page?.extra_fields?.game_review_summary_operator;
21
- const { logo_url, status } = operator;
21
+ const { status } = operator;
22
22
  const { translations } = useContext(Context) || {};
23
23
  const prettyLink = prettyTracker(operator, 'main', false, page.template);
24
24
  let playNow = translate(translations, 'play_now', 'Play now');
@@ -47,7 +47,7 @@ const Index = ({ page }) => {
47
47
  width={120}
48
48
  height={50}
49
49
  alt={getAltText(logUrlObject, operator?.name)}
50
- src={imagePrettyUrl(logo_url, 120, 50)}
50
+ src={imagePrettyUrl(logUrlObject.filename, 120, 50)}
51
51
  />
52
52
  </a>
53
53
  </div>
@@ -108,8 +108,11 @@ const WageringCalculator = ({
108
108
 
109
109
  {!!result && (
110
110
  <div className={styles.resultContainer}>
111
- <span>{translate(translations, 'wagecalc_result', 'Result')}</span>
112
- <span>{result}</span>
111
+ <span>{translate(translations, 'wagecalc_result', 'Results:')}</span>
112
+ <span>
113
+ {translate(translations, 'wagecalc_result_currency', '€')}
114
+ {result}
115
+ </span>
113
116
  </div>
114
117
  )}
115
118
  </form>
@@ -7,7 +7,6 @@
7
7
  border-radius: 1.2rem;
8
8
  box-shadow: 0px -3px 14px rgba(0, 0, 0, 0.09);
9
9
  background-color: var(--color-4);
10
- z-index: 1;
11
10
 
12
11
  @include min(tablet) {
13
12
  padding: 2.4rem;
@@ -19,7 +18,7 @@
19
18
  gap: 1rem;
20
19
  @include flex-direction(column);
21
20
  svg {
22
- margin-left: 1.2rem;
21
+ margin-left: 3.5rem;
23
22
  height: 2.67rem;
24
23
  width: 2.67rem;
25
24
  vertical-align: text-bottom;
@@ -36,6 +35,20 @@
36
35
  display: grid;
37
36
  grid-template-columns: 1fr 1fr;
38
37
  gap: 1rem;
38
+ column-gap: 4.8rem;
39
+ }
40
+
41
+ > div:nth-child(5) {
42
+ position: relative;
43
+ &:after {
44
+ @include arrow(var(--primary-text-color), 1rem, down, false);
45
+ position: absolute;
46
+ right: 2rem;
47
+ top: 40%;
48
+ @include min(tablet) {
49
+ top: 65%;
50
+ }
51
+ }
39
52
  }
40
53
  }
41
54
  }
@@ -46,11 +59,10 @@
46
59
  }
47
60
 
48
61
  .info {
49
- height: 100vh;
62
+ height: 100%;
50
63
  position: absolute;
51
64
  top: 0;
52
65
  left: 0;
53
- z-index: 3;
54
66
  background: white;
55
67
  padding: 2.4rem;
56
68
  svg {
@@ -83,16 +95,21 @@
83
95
  .mainTitle,
84
96
  .infoTitle {
85
97
  margin-top: 0;
86
- margin-bottom: 2.4rem;
98
+ margin-bottom: 3.2rem;
87
99
  width: 100%;
88
100
  }
89
101
 
102
+ .mainTitle {
103
+ margin-bottom: 1.4rem;
104
+ @include min(tablet) {
105
+ margin-bottom: 3.2rem;
106
+ }
107
+ }
108
+
90
109
  .label {
91
110
  line-height: 2.6rem;
92
111
  font-size: 1.6rem;
93
- @include min(tablet) {
94
- margin-top: 1.6rem;
95
- }
112
+ margin-bottom: 0.8rem;
96
113
  }
97
114
 
98
115
  .input,
@@ -101,6 +118,15 @@
101
118
  height: 4.8rem;
102
119
  background: #f8f7f5;
103
120
  border-radius: 4px;
121
+ border: 0px;
122
+ outline: 0px;
123
+ }
124
+
125
+ .select {
126
+ -webkit-appearance: none;
127
+ -moz-appearance: none;
128
+ padding-right: 1rem;
129
+ position: relative;
104
130
  }
105
131
 
106
132
  .input:invalid:required {
@@ -116,7 +142,7 @@
116
142
  .resultContainer {
117
143
  position: relative;
118
144
  order: 11;
119
- margin-top: 3.2rem;
145
+ margin-top: 2.2rem;
120
146
  width: 100%;
121
147
  @include flex-align(center, space-between);
122
148
  padding: 1.6rem;
@@ -127,11 +153,8 @@
127
153
  flex-direction: column;
128
154
  gap: 1rem;
129
155
  grid-column: 1/3;
130
-
131
- @include min(tablet) {
132
- flex-direction: row;
133
- gap: 0;
134
- }
156
+ flex-direction: row;
157
+ gap: 0;
135
158
 
136
159
  &:before {
137
160
  content: '';
@@ -164,7 +187,12 @@
164
187
 
165
188
  .reccommendedCasinos {
166
189
  > h3 {
167
- margin-top: 1rem;
190
+ margin-top: 2.4rem;
191
+ margin-bottom: 1.6rem;
192
+
193
+ @include min(tablet) {
194
+ margin-top: 3.2rem;
195
+ }
168
196
  }
169
197
 
170
198
  > div {
@@ -172,19 +200,45 @@
172
200
  background: #f1efec;
173
201
  border-radius: 1.6rem;
174
202
  @include flex-align(center, space-between);
175
- padding: 1.6rem;
203
+ padding: 0.8rem;
176
204
  gap: 1rem;
205
+ @include min(tablet) {
206
+ padding: 1.6rem;
207
+ }
208
+
209
+ &:last-child {
210
+ margin-bottom: 0;
211
+ }
212
+
213
+ a:first-child {
214
+ height: 6.4rem;
215
+ width: 6.4rem;
216
+ flex-grow: 1;
217
+ @include min(tablet) {
218
+ flex-grow: inherit;
219
+ }
220
+ }
177
221
 
178
222
  img {
179
223
  border-radius: 0.8rem;
224
+ height: 100%;
225
+ }
226
+
227
+ a:last-child {
228
+ padding: 0.8rem 1.3rem;
229
+ @include min(tablet) {
230
+ padding: 0.9rem 3rem;
231
+ }
180
232
  }
181
233
 
182
234
  > div {
183
- flex-grow: 1;
235
+ flex-grow: inherit;
184
236
  @include flex-align(flex-start, center);
185
237
  @include flex-direction(column);
186
-
238
+ flex-basis: 39%;
187
239
  @include min(tablet) {
240
+ flex-basis: auto;
241
+ flex-grow: 1;
188
242
  @include flex-align(center, flex-start);
189
243
  @include flex-direction(row);
190
244
  }
@@ -345,4 +345,4 @@
345
345
 
346
346
 
347
347
 
348
- window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"}];</script><script src="runtime~main.349b6fb9.iframe.bundle.js"></script><script src="134.8ffd6917.iframe.bundle.js"></script><script src="main.0c963906.iframe.bundle.js"></script></body></html>
348
+ window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"}];</script><script src="runtime~main.349b6fb9.iframe.bundle.js"></script><script src="134.8ffd6917.iframe.bundle.js"></script><script src="main.391cddf6.iframe.bundle.js"></script></body></html>