gatsby-matrix-theme 10.0.9 → 10.0.11
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/.ci.yml +1 -1
- package/CHANGELOG.md +46 -0
- package/package.json +2 -2
- package/src/components/atoms/cards/comparison-table/table/index.js +30 -41
- package/src/components/atoms/cards/comparison-table/table/table.module.scss +75 -47
- package/src/components/atoms/cards/comparison-table/table/table.test.js +1 -1
- package/src/gatsby-core-theme/components/atoms/spotlights/spotlights-theme.module.scss +28 -0
- package/src/gatsby-core-theme/components/atoms/spotlights/spotlights.module.scss +70 -0
- package/src/gatsby-core-theme/components/molecules/content/content.module.scss +3 -6
- package/src/gatsby-core-theme/components/molecules/module/index.js +1 -1
- package/src/helpers/strings.test.js +1 -1
- package/storybook/public/{982.c90467ab.iframe.bundle.js → 455.4a66b118.iframe.bundle.js} +4 -4
- package/storybook/public/{982.c90467ab.iframe.bundle.js.LICENSE.txt → 455.4a66b118.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook/public/{982.c90467ab.iframe.bundle.js.map → 455.4a66b118.iframe.bundle.js.map} +1 -1
- package/storybook/public/500.b8a84abc.iframe.bundle.js +1 -0
- package/storybook/public/64.4e0c1a5c.iframe.bundle.js +1 -0
- package/storybook/public/iframe.html +1 -1
- package/storybook/public/main.19dfecb4.iframe.bundle.js +1 -0
- package/storybook/public/runtime~main.66d840c7.iframe.bundle.js +1 -0
- package/src/gatsby-core-theme/components/molecules/content/content.stories.js +0 -79
- package/src/gatsby-core-theme/components/molecules/content/index.js +0 -117
- package/storybook/public/332.7c11f64e.iframe.bundle.js +0 -1
- package/storybook/public/409.d93e015c.iframe.bundle.js +0 -1
- package/storybook/public/500.845602f2.iframe.bundle.js +0 -1
- package/storybook/public/720.132d101b.iframe.bundle.js +0 -1
- package/storybook/public/main.17e05bc6.iframe.bundle.js +0 -1
- package/storybook/public/runtime~main.f720ce0d.iframe.bundle.js +0 -1
package/.ci.yml
CHANGED
|
@@ -26,7 +26,7 @@ Matrix Theme Test:
|
|
|
26
26
|
- if: '$CI_PIPELINE_SOURCE == "push" && ($CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master" || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "beta") && $PIPELINE == "automated"'
|
|
27
27
|
|
|
28
28
|
Theme Publish:
|
|
29
|
-
image:
|
|
29
|
+
image: node:18.0.0
|
|
30
30
|
stage: publish
|
|
31
31
|
tags:
|
|
32
32
|
- floyd-runner-test
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,49 @@
|
|
|
1
|
+
## [10.0.11](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v10.0.10...v10.0.11) (2023-01-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* comparison table irl border ([45cd7b5](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/45cd7b549754808c97f72699b754beaf4ffc5f6c))
|
|
7
|
+
* remove content, we will get it from core ([404b329](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/404b32971e264ae5cd8a1df8d2306e16ab1c1085))
|
|
8
|
+
* remove story books ([f9ca6a1](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/f9ca6a17cd5fa9823b566b6d739e4d7745140254))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Code Refactoring
|
|
12
|
+
|
|
13
|
+
* add spotlights style override ([785a936](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/785a936aa47b63a39515de0e29015231662b792c))
|
|
14
|
+
* update spotlights ol numbering ([27d9985](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/27d9985cb365c576d010794076af330b51669bb0))
|
|
15
|
+
* update strings.test.js with 2023 year ([bfe88ca](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/bfe88ca25d856b95302c99b2be6e5d8c55366d1b))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Config
|
|
19
|
+
|
|
20
|
+
* update core theme and publish node versions ([aa07249](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/aa072495e01fa9774fe57003ba8693a89c683b5b))
|
|
21
|
+
* update core theme version ([c3cdd03](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c3cdd033fe44539ed090c9de942feb5e0fcbb143))
|
|
22
|
+
* update publish node version to 18 ([fa31294](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/fa31294a5514b190648ef643f964f898b4411365))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
* Merge branch 'update-publish-node-version' into 'master' ([461f08c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/461f08c5a95222c2f9a336d33b367ad53eba7ab1))
|
|
26
|
+
* Merge branch 'tm-3247-update-spotlights-ol-numbering' into 'master' ([b7400ae](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/b7400ae5f33f0facb8f1df3f72ede1410ef001c1))
|
|
27
|
+
* Merge branch 'master' into 'tm-3247-update-spotlights-ol-numbering' ([e88cdb4](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/e88cdb4a116ef0e84d7e17b36be75ebd6895fd56))
|
|
28
|
+
* Merge branch 'tm-3255-content-module-show-more' into 'master' ([370a937](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/370a937359b925cbd881698bdd1d30c5b6e7a942))
|
|
29
|
+
* Merge branch 'tm-3099-comparison-table' into 'master' ([5d464dc](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/5d464dc7eac1e1cb1e4b753dd156f35f6faa7c79))
|
|
30
|
+
|
|
31
|
+
## [10.0.10](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v10.0.9...v10.0.10) (2023-01-02)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
|
|
36
|
+
* comparison table ([ce828af](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/ce828afcd759c3de602dfd9d2f1bd9429c4c064f))
|
|
37
|
+
* comparison table ([b5d67df](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/b5d67df8231c55694c568ff8cbffa6de4dc52f70))
|
|
38
|
+
* comparison table ([433a63c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/433a63c8cd38b816e253270934c021cd34bfb21c))
|
|
39
|
+
* jest error ([c4f84ce](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c4f84ce52010e16fe0869212bf4b8db4f8bd4370))
|
|
40
|
+
* tests ([37f57d0](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/37f57d0012099a62ade1f6171a7786f81b1a1e63))
|
|
41
|
+
* updated to latest core version ([3cf1c9c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/3cf1c9c8c32810ee4aab6df4dac29ee4ff90507c))
|
|
42
|
+
* using star-rating/one-star ([7335207](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/73352079d3e9ca2c197ac198cab98bdce7008192))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
* Merge branch 'tm-3099-comparison-table-matrix' into 'master' ([dfe7057](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/dfe705776f4bed45f338495ef805b95fb4ca73cd))
|
|
46
|
+
|
|
1
47
|
## [10.0.9](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v10.0.8...v10.0.9) (2022-12-28)
|
|
2
48
|
|
|
3
49
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gatsby-matrix-theme",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.11",
|
|
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": "^4.20.0",
|
|
28
|
-
"gatsby-core-theme": "17.0.
|
|
28
|
+
"gatsby-core-theme": "17.0.10",
|
|
29
29
|
"gatsby-plugin-sharp": "^4.10.2",
|
|
30
30
|
"gatsby-plugin-sitemap": "^3.3.0",
|
|
31
31
|
"gatsby-transformer-sharp": "^4.10.0",
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
/* eslint-disable jsx-a11y/click-events-have-key-events */
|
|
4
4
|
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
|
5
5
|
/* eslint-disable jsx-a11y/anchor-is-valid */
|
|
6
|
-
import React, { useContext
|
|
6
|
+
import React, { useContext } from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import { AiOutlineCheckCircle } from '@react-icons/all-files/ai/AiOutlineCheckCircle';
|
|
9
9
|
import { imagePrettyUrl, translate } from 'gatsby-core-theme/src/helpers/getters';
|
|
10
10
|
import LazyImg from 'gatsby-core-theme/src/hooks/lazy-image';
|
|
11
11
|
import OperatorCta from 'gatsby-core-theme/src/components/atoms/operator-cta';
|
|
12
|
-
import StarRating from 'gatsby-core-theme/src/components/molecules/star-rating';
|
|
12
|
+
import StarRating from 'gatsby-core-theme/src/components/molecules/star-rating/one-star';
|
|
13
13
|
import Link from 'gatsby-core-theme/src/hooks/link';
|
|
14
14
|
import Bonus from 'gatsby-core-theme/src/components/atoms/bonus';
|
|
15
15
|
import { Context } from 'gatsby-core-theme/src/context/MainProvider';
|
|
@@ -67,11 +67,7 @@ export default function ComparisonTable({
|
|
|
67
67
|
tempate,
|
|
68
68
|
}) {
|
|
69
69
|
const { translations } = useContext(Context) || {};
|
|
70
|
-
const [showAllPayment, setShowAllPayment] = useState([]);
|
|
71
70
|
|
|
72
|
-
const showAllPayments = (index) => {
|
|
73
|
-
setShowAllPayment([...showAllPayment, index]);
|
|
74
|
-
};
|
|
75
71
|
const cell = (heading, item, key, index) => {
|
|
76
72
|
const rowData = tabelInfo.find((m) => m.key === heading);
|
|
77
73
|
if (rowData && rowData.customComponent) {
|
|
@@ -80,7 +76,7 @@ export default function ComparisonTable({
|
|
|
80
76
|
}
|
|
81
77
|
const imageObject =
|
|
82
78
|
item?.relation.standardised_logo_url_object || item?.relation.logo_url_object;
|
|
83
|
-
const itemName = item?.relation
|
|
79
|
+
const itemName = item?.relation?.name;
|
|
84
80
|
|
|
85
81
|
switch (heading) {
|
|
86
82
|
case 'casino_name':
|
|
@@ -118,8 +114,13 @@ export default function ComparisonTable({
|
|
|
118
114
|
return (
|
|
119
115
|
<td key={key} className={styles.raiting}>
|
|
120
116
|
<StarRating numOfStars={5} rating={item?.relation?.rating} />
|
|
117
|
+
|
|
121
118
|
{type === 'operator' && index === 0 ? null : (
|
|
122
|
-
<Link to={item.path}>{translate(
|
|
119
|
+
<Link to={item.path}>{`${itemName} ${translate(
|
|
120
|
+
translations,
|
|
121
|
+
'review',
|
|
122
|
+
'Review'
|
|
123
|
+
)}`}</Link>
|
|
123
124
|
)}
|
|
124
125
|
</td>
|
|
125
126
|
);
|
|
@@ -144,38 +145,26 @@ export default function ComparisonTable({
|
|
|
144
145
|
case 'payment_methods':
|
|
145
146
|
return (
|
|
146
147
|
<td key={key} className={styles.paymentMethods}>
|
|
147
|
-
<div>
|
|
148
|
+
<div key={key}>
|
|
148
149
|
{item?.relation?.bonus?.deposit_methods &&
|
|
149
150
|
// eslint-disable-next-line array-callback-return
|
|
150
|
-
item?.relation?.bonus?.deposit_methods
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
}
|
|
168
|
-
})}
|
|
169
|
-
{item?.relation?.bonus?.deposit_methods?.length > 6 &&
|
|
170
|
-
!showAllPayment.includes(index) && (
|
|
171
|
-
<a
|
|
172
|
-
onClick={() => {
|
|
173
|
-
showAllPayments(index);
|
|
174
|
-
}}
|
|
175
|
-
>
|
|
176
|
-
+{item?.relation?.bonus?.deposit_methods.length - 5}
|
|
177
|
-
</a>
|
|
178
|
-
)}
|
|
151
|
+
item?.relation?.bonus?.deposit_methods?.slice(0, 5)?.map((deposit) => (
|
|
152
|
+
<Link to={deposit?.path}>
|
|
153
|
+
<LazyImg
|
|
154
|
+
key={`${key}-${deposit.name}`}
|
|
155
|
+
src={imagePrettyUrl(
|
|
156
|
+
deposit?.standardised_logo_filename_object?.filename ||
|
|
157
|
+
deposit?.standardised_logo_filename ||
|
|
158
|
+
deposit?.logo_filename,
|
|
159
|
+
72,
|
|
160
|
+
32
|
|
161
|
+
)}
|
|
162
|
+
width={72}
|
|
163
|
+
height={32}
|
|
164
|
+
alt={deposit.name}
|
|
165
|
+
/>
|
|
166
|
+
</Link>
|
|
167
|
+
))}
|
|
179
168
|
</div>
|
|
180
169
|
</td>
|
|
181
170
|
);
|
|
@@ -184,13 +173,13 @@ export default function ComparisonTable({
|
|
|
184
173
|
<td key={key} className={styles.banking}>
|
|
185
174
|
{item?.relation?.bonus?.min_deposit && (
|
|
186
175
|
<p>
|
|
187
|
-
{translate(translations, 'min_deposit', 'Min Deposit')}
|
|
176
|
+
{translate(translations, 'min_deposit', 'Min Deposit:')}
|
|
188
177
|
<span>{item.relation.bonus.min_deposit}</span>
|
|
189
178
|
</p>
|
|
190
179
|
)}
|
|
191
180
|
{item?.relation?.bonus?.max_withdrawal && (
|
|
192
181
|
<p>
|
|
193
|
-
{translate(translations, 'max_withdrawal', 'Max Withdrawal')}
|
|
182
|
+
{translate(translations, 'max_withdrawal', 'Max Withdrawal:')}
|
|
194
183
|
<span>{item.relation.bonus.max_withdrawal}</span>
|
|
195
184
|
</p>
|
|
196
185
|
)}
|
|
@@ -241,7 +230,7 @@ export default function ComparisonTable({
|
|
|
241
230
|
});
|
|
242
231
|
|
|
243
232
|
row.push(
|
|
244
|
-
<tr key={heading.key}>
|
|
233
|
+
<tr key={heading.key} className={`${styles[heading.key]}_tr`}>
|
|
245
234
|
<th>{translate(translations, heading.key, heading.defaultValue)}</th>
|
|
246
235
|
{cells}
|
|
247
236
|
</tr>
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
.table {
|
|
2
|
+
position: relative;
|
|
3
|
+
z-index: 0;
|
|
2
4
|
cursor: grabbing;
|
|
3
5
|
tr {
|
|
4
|
-
grid-template-columns:
|
|
5
|
-
grid-auto-columns:
|
|
6
|
+
grid-template-columns: var(--comparison-template-columns-mobile, 9.6rem 27rem);
|
|
7
|
+
grid-auto-columns: var(--comparison-columns-mobile, 27rem);
|
|
6
8
|
grid-auto-flow: column;
|
|
7
9
|
display: grid;
|
|
8
10
|
|
|
@@ -22,13 +24,16 @@
|
|
|
22
24
|
th {
|
|
23
25
|
@include flex-align(center, center);
|
|
24
26
|
padding: 2rem 2rem;
|
|
25
|
-
background-color: var(--comparison-header-background-color);
|
|
27
|
+
background-color: var(--comparison-header-background-color, #f9f6f3);
|
|
26
28
|
border: 1px solid var(--comparison-header-border-color);
|
|
27
29
|
border-bottom: none;
|
|
28
30
|
box-sizing: border-box;
|
|
29
|
-
color: var(--comparison-header-text-color);
|
|
31
|
+
color: var(--comparison-header-text-color, #171f49);
|
|
30
32
|
text-transform: var(--comparison-header-text-transform);
|
|
31
|
-
font-size: 1.4rem;
|
|
33
|
+
font-size: var(--comparison-th-font-size, 1.4rem);
|
|
34
|
+
font-weight: var(--comparison-th-font-weight, 600);
|
|
35
|
+
line-height: var(--comparison-th-line-height, 2.1rem);
|
|
36
|
+
z-index: 1;
|
|
32
37
|
|
|
33
38
|
@include min(laptop) {
|
|
34
39
|
position: sticky;
|
|
@@ -46,7 +51,7 @@
|
|
|
46
51
|
@include flex-align(center, flex-start);
|
|
47
52
|
padding: 1.6rem;
|
|
48
53
|
img {
|
|
49
|
-
border: 1px solid var(--color
|
|
54
|
+
border: 1px solid var(--comparison-img-border-color, #f3f2f2);
|
|
50
55
|
box-sizing: border-box;
|
|
51
56
|
margin-right: 1.6rem;
|
|
52
57
|
border-radius: 0.6rem;
|
|
@@ -54,12 +59,21 @@
|
|
|
54
59
|
> div {
|
|
55
60
|
height: 100%;
|
|
56
61
|
@include flex-direction(column);
|
|
57
|
-
@include flex-align(flex-start, space-
|
|
62
|
+
@include flex-align(flex-start, space-evenly);
|
|
58
63
|
span {
|
|
59
64
|
font-weight: bold;
|
|
60
65
|
font-size: 18px;
|
|
61
66
|
line-height: 25px;
|
|
62
|
-
|
|
67
|
+
font-weight: 700;
|
|
68
|
+
color: #000000;
|
|
69
|
+
word-break: break-word;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
a {
|
|
73
|
+
width: 100%;
|
|
74
|
+
color: var(--comparison-button-color, white) !important;
|
|
75
|
+
font-size: var(--comparison-button-font-size, 1.8rem) !important;
|
|
76
|
+
font-weight: var(--comparison-button-font-weight, 700) !important;
|
|
63
77
|
}
|
|
64
78
|
}
|
|
65
79
|
}
|
|
@@ -67,27 +81,39 @@
|
|
|
67
81
|
.bonus {
|
|
68
82
|
@include flex-direction(column);
|
|
69
83
|
@include flex-align(flex-start, column);
|
|
70
|
-
|
|
84
|
+
span:first-child {
|
|
71
85
|
font-size: 1.6rem;
|
|
86
|
+
line-height: 22px;
|
|
72
87
|
font-weight: bold;
|
|
88
|
+
color: var(--comparison-first-bonus-color, #17d670);
|
|
73
89
|
}
|
|
74
|
-
|
|
75
|
-
font-size: 1.4rem;
|
|
90
|
+
span:nth-child(2) {
|
|
76
91
|
font-weight: bold;
|
|
92
|
+
font-size: 1.4rem;
|
|
93
|
+
font-weight: 700;
|
|
94
|
+
line-height: 21px;
|
|
95
|
+
color: var(--comparison-second-bonus-color, #0f0c28);
|
|
77
96
|
}
|
|
78
97
|
}
|
|
79
98
|
|
|
80
99
|
.raiting {
|
|
81
100
|
@include flex-align(center, space-between);
|
|
82
101
|
|
|
83
|
-
> div
|
|
102
|
+
> div {
|
|
103
|
+
justify-content: left;
|
|
104
|
+
border: none;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
> div > div > span {
|
|
84
108
|
position: inherit;
|
|
85
109
|
}
|
|
86
110
|
|
|
87
111
|
a {
|
|
88
|
-
|
|
112
|
+
text-align: right;
|
|
89
113
|
font-size: 1.6rem;
|
|
90
|
-
|
|
114
|
+
line-height: 24px;
|
|
115
|
+
font-weight: 700;
|
|
116
|
+
color: var(--comparison-text-link-color, #4790fe);
|
|
91
117
|
}
|
|
92
118
|
}
|
|
93
119
|
.topFeatures {
|
|
@@ -98,11 +124,14 @@
|
|
|
98
124
|
@include flex-align(center, center);
|
|
99
125
|
margin-bottom: 0.4rem;
|
|
100
126
|
margin-top: 0.4rem;
|
|
127
|
+
font-weight: 500;
|
|
128
|
+
font-size: 16px;
|
|
129
|
+
line-height: 24px;
|
|
130
|
+
|
|
101
131
|
svg {
|
|
102
|
-
color: var(--comparison-top-features-icon-color);
|
|
103
|
-
margin-right: 0.
|
|
104
|
-
|
|
105
|
-
height: 2rem;
|
|
132
|
+
color: var(--comparison-top-features-icon-color, #ff893f);
|
|
133
|
+
margin-right: 0.25rem;
|
|
134
|
+
height: 14px;
|
|
106
135
|
}
|
|
107
136
|
}
|
|
108
137
|
}
|
|
@@ -112,14 +141,14 @@
|
|
|
112
141
|
p {
|
|
113
142
|
width: 100%;
|
|
114
143
|
@include flex-align(center, space-between);
|
|
115
|
-
font-weight:
|
|
116
|
-
font-size:
|
|
117
|
-
line-height:
|
|
118
|
-
|
|
119
|
-
color:
|
|
120
|
-
|
|
121
|
-
font-weight:
|
|
122
|
-
|
|
144
|
+
font-weight: 600;
|
|
145
|
+
font-size: 14px;
|
|
146
|
+
line-height: 36px;
|
|
147
|
+
|
|
148
|
+
color: #000000;
|
|
149
|
+
span {
|
|
150
|
+
font-weight: 700;
|
|
151
|
+
font-size: var(--comparison-banking-values, 16px);
|
|
123
152
|
}
|
|
124
153
|
}
|
|
125
154
|
}
|
|
@@ -129,33 +158,27 @@
|
|
|
129
158
|
span {
|
|
130
159
|
text-align: center;
|
|
131
160
|
margin-left: 0.4rem;
|
|
132
|
-
background: var(--comparison-currencies-background-color);
|
|
133
|
-
color: var(--comparison-currencies-text-color);
|
|
161
|
+
background-color: var(--comparison-currencies-background-color, #f3f2f2);
|
|
162
|
+
color: var(--comparison-currencies-text-color, #17182f);
|
|
134
163
|
border-radius: 2px;
|
|
135
|
-
padding: 0.3rem 0.
|
|
164
|
+
padding: 0.3rem 0.8em;
|
|
136
165
|
font-weight: bold;
|
|
137
166
|
font-size: 12px;
|
|
138
167
|
line-height: 18px;
|
|
139
168
|
width: 4.2rem;
|
|
140
169
|
height: 2.4rem;
|
|
141
|
-
padding: 0.499rem 0.8rem;
|
|
142
170
|
display: inline-block;
|
|
143
171
|
}
|
|
144
172
|
}
|
|
145
173
|
.paymentMethods {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
&::-webkit-scrollbar {
|
|
149
|
-
width: 3px;
|
|
150
|
-
}
|
|
151
|
-
&::-webkit-scrollbar-thumb {
|
|
152
|
-
background-color: darkgrey;
|
|
153
|
-
}
|
|
154
|
-
>div{
|
|
174
|
+
padding: 1.3rem 1.6rem;
|
|
175
|
+
> div {
|
|
155
176
|
display: grid;
|
|
156
177
|
grid-template-columns: repeat(3, 1fr);
|
|
157
|
-
grid-gap: 1rem;
|
|
158
|
-
|
|
178
|
+
grid-column-gap: 1rem;
|
|
179
|
+
grid-row-gap: 0.8rem;
|
|
180
|
+
span,
|
|
181
|
+
a {
|
|
159
182
|
@include flex-direction(row);
|
|
160
183
|
@include flex-align(center, center);
|
|
161
184
|
font-weight: bold;
|
|
@@ -163,14 +186,15 @@
|
|
|
163
186
|
line-height: 18px;
|
|
164
187
|
object-fit: contain;
|
|
165
188
|
color: black;
|
|
166
|
-
margin-top: 0.5rem;
|
|
167
189
|
background-color: white;
|
|
168
190
|
width: 100%;
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
191
|
+
}
|
|
192
|
+
img {
|
|
193
|
+
width: 7.2rem;
|
|
194
|
+
height: 3.2rem;
|
|
195
|
+
border-radius: 4px;
|
|
196
|
+
object-fit: contain;
|
|
197
|
+
background-color: white;
|
|
174
198
|
}
|
|
175
199
|
}
|
|
176
200
|
}
|
|
@@ -187,5 +211,9 @@
|
|
|
187
211
|
margin-bottom: 0.5rem;
|
|
188
212
|
}
|
|
189
213
|
}
|
|
214
|
+
|
|
215
|
+
@include min(tablet) {
|
|
216
|
+
grid-template-columns: var(--comparison-template-columns-desktop, 15.2rem 27rem);
|
|
217
|
+
}
|
|
190
218
|
}
|
|
191
219
|
}
|
|
@@ -67,7 +67,7 @@ describe('Comparison table test component', () => {
|
|
|
67
67
|
/>
|
|
68
68
|
);
|
|
69
69
|
const paymentMethods = container.querySelector('.paymentMethods');
|
|
70
|
-
expect(paymentMethods.querySelectorAll('span').length).toEqual(
|
|
70
|
+
expect(paymentMethods.querySelectorAll('span').length).toEqual(5);
|
|
71
71
|
});
|
|
72
72
|
});
|
|
73
73
|
afterEach(() => {
|
|
@@ -4,6 +4,20 @@
|
|
|
4
4
|
border-radius: var(--spotlight-testimonials-border-radius);
|
|
5
5
|
background-color: var(--spotlight-testimonials-background-color);
|
|
6
6
|
|
|
7
|
+
ol {
|
|
8
|
+
counter-reset: LI_ITEM;
|
|
9
|
+
|
|
10
|
+
li {
|
|
11
|
+
flex-direction: row;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
li::before {
|
|
15
|
+
margin-right: 0.4rem;
|
|
16
|
+
content: counter(LI_ITEM) '.';
|
|
17
|
+
counter-increment: LI_ITEM;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
7
21
|
img {
|
|
8
22
|
border-radius: 8rem;
|
|
9
23
|
width: 15rem !important;
|
|
@@ -62,6 +76,20 @@
|
|
|
62
76
|
justify-content: center;
|
|
63
77
|
width: calc(100% - 4.5rem);
|
|
64
78
|
|
|
79
|
+
ol {
|
|
80
|
+
counter-reset: LI_ITEM;
|
|
81
|
+
|
|
82
|
+
li {
|
|
83
|
+
flex-direction: row;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
li::before {
|
|
87
|
+
margin-right: 0.4rem;
|
|
88
|
+
content: counter(LI_ITEM) '.';
|
|
89
|
+
counter-increment: LI_ITEM;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
65
93
|
> a > img,
|
|
66
94
|
> img {
|
|
67
95
|
position: absolute;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
.spotlightsContainer {
|
|
2
|
+
margin: 0 auto;
|
|
3
|
+
width: 100%;
|
|
4
|
+
max-width: var(--main-container-max);
|
|
5
|
+
|
|
6
|
+
display: grid;
|
|
7
|
+
grid-template-columns: repeat(1, 1fr);
|
|
8
|
+
column-gap: 1rem;
|
|
9
|
+
@include min(tablet) {
|
|
10
|
+
grid-template-columns: repeat(2, 1fr);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@include min(desktop) {
|
|
14
|
+
grid-template-columns: repeat(3, 1fr);
|
|
15
|
+
column-gap: 1.6rem;
|
|
16
|
+
}
|
|
17
|
+
li {
|
|
18
|
+
text-align: center;
|
|
19
|
+
background-color: var(--color-9);
|
|
20
|
+
border: none;
|
|
21
|
+
margin-bottom: 1rem;
|
|
22
|
+
padding: 1.5rem;
|
|
23
|
+
|
|
24
|
+
@include min(desktop) {
|
|
25
|
+
margin-bottom: 1.6rem;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@include flex-direction(column);
|
|
29
|
+
|
|
30
|
+
ol {
|
|
31
|
+
counter-reset: LI_ITEM;
|
|
32
|
+
|
|
33
|
+
li {
|
|
34
|
+
flex-direction: row;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
li::before {
|
|
38
|
+
margin-right: 0.4rem;
|
|
39
|
+
content: counter(LI_ITEM) '.';
|
|
40
|
+
counter-increment: LI_ITEM;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
img {
|
|
45
|
+
margin: 0 auto;
|
|
46
|
+
margin-bottom: 1rem;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
> div > a {
|
|
50
|
+
@include flex-direction(column);
|
|
51
|
+
color: #000;
|
|
52
|
+
font-size: 2rem;
|
|
53
|
+
font-weight: 700;
|
|
54
|
+
margin-top: 1rem;
|
|
55
|
+
width: 100%;
|
|
56
|
+
|
|
57
|
+
label {
|
|
58
|
+
cursor: pointer;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
span {
|
|
63
|
+
display: block;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
svg {
|
|
67
|
+
display: none;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -141,11 +141,10 @@
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
|
|
144
|
+
|
|
145
145
|
&.showMore {
|
|
146
146
|
max-height: 17.8rem;
|
|
147
147
|
overflow: hidden;
|
|
148
|
-
position: relative;
|
|
149
148
|
|
|
150
149
|
&::before {
|
|
151
150
|
content: '';
|
|
@@ -158,7 +157,7 @@
|
|
|
158
157
|
background-image: linear-gradient(to bottom, rgba(209, 209, 209, 0), #ffffff);
|
|
159
158
|
}
|
|
160
159
|
}
|
|
161
|
-
|
|
160
|
+
|
|
162
161
|
}
|
|
163
162
|
|
|
164
163
|
.firstTable {
|
|
@@ -312,9 +311,7 @@
|
|
|
312
311
|
font-size: 1.8rem;
|
|
313
312
|
line-height: 3rem;
|
|
314
313
|
color: #171f49;
|
|
315
|
-
|
|
316
|
-
display: none;
|
|
317
|
-
}
|
|
314
|
+
|
|
318
315
|
}
|
|
319
316
|
|
|
320
317
|
.floatLeft {
|
|
@@ -16,7 +16,7 @@ const Modules = ({ module, page, pageContext, index, exclOperator }) => {
|
|
|
16
16
|
switch (name) {
|
|
17
17
|
// Modules
|
|
18
18
|
case 'content':
|
|
19
|
-
return loadable(() => import('
|
|
19
|
+
return loadable(() => import('gatsby-core-theme/src/components/molecules/content'));
|
|
20
20
|
case 'top_list':
|
|
21
21
|
return loadable(() => import('gatsby-core-theme/src/components/organisms/toplist'));
|
|
22
22
|
case 'archive':
|
|
@@ -44,7 +44,7 @@ describe('String helper component', () => {
|
|
|
44
44
|
'[OPERATOR_REVIEW_META_TITLE]',
|
|
45
45
|
'operator'
|
|
46
46
|
)
|
|
47
|
-
).toBe('Slotum
|
|
47
|
+
).toBe('Slotum 2023 90% Bonus + 50 free spins');
|
|
48
48
|
});
|
|
49
49
|
test('Meta title operator', () => {
|
|
50
50
|
expect(transformMetaTitle(singleToplistData.items[0].items[0], 'Casino', 'operator')).toBe(
|