gatsby-matrix-theme 3.2.7 → 3.2.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/CHANGELOG.md +62 -0
- package/package.json +2 -2
- package/src/components/atoms/cards/base-card/index.js +14 -12
- package/src/components/atoms/cards/comparison-table/table/index.js +55 -39
- package/src/components/atoms/cards/comparison-table/table/table.module.scss +58 -7
- package/src/components/atoms/cards/operators-table/index.js +3 -1
- package/src/components/atoms/newsletter/form/index.js +2 -2
- package/src/components/molecules/faq/index.js +5 -3
- package/src/gatsby-core-theme/components/atoms/bonus/bonus.module.scss +5 -5
- package/src/gatsby-core-theme/components/atoms/bonus/index.js +4 -4
- package/src/gatsby-core-theme/components/atoms/module-title/index.js +27 -21
- package/src/gatsby-core-theme/components/molecules/footer/index.js +5 -0
- package/src/gatsby-core-theme/components/organisms/head/index.js +0 -1
- package/storybook/public/{0.4c2881f4.iframe.bundle.js → 0.ec2c65bb.iframe.bundle.js} +1 -1
- package/storybook/public/{1.318fc035.iframe.bundle.js → 1.fc1fb4aa.iframe.bundle.js} +1 -1
- package/storybook/public/{5.3751341c.iframe.bundle.js → 5.23a17f5a.iframe.bundle.js} +3 -3
- package/storybook/public/{5.3751341c.iframe.bundle.js.LICENSE.txt → 5.23a17f5a.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook/public/5.23a17f5a.iframe.bundle.js.map +1 -0
- package/storybook/public/{6.78854fa8.iframe.bundle.js → 6.069b5bfa.iframe.bundle.js} +1 -1
- package/storybook/public/7.600a6e84.iframe.bundle.js +1 -0
- package/storybook/public/{8.88be3011.iframe.bundle.js → 8.fd6b3f00.iframe.bundle.js} +1 -1
- package/storybook/public/{9.c2b37d15.iframe.bundle.js → 9.b7047aeb.iframe.bundle.js} +3 -3
- package/storybook/public/{9.c2b37d15.iframe.bundle.js.LICENSE.txt → 9.b7047aeb.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook/public/9.b7047aeb.iframe.bundle.js.map +1 -0
- package/storybook/public/iframe.html +1 -1
- package/storybook/public/main.35c61ead.iframe.bundle.js +1 -0
- package/storybook/public/{runtime~main.0dbefcaa.iframe.bundle.js → runtime~main.ce98447d.iframe.bundle.js} +1 -1
- package/storybook/public/vendors~main.8e6f3896.iframe.bundle.js +7 -0
- package/storybook/public/{vendors~main.3242482d.iframe.bundle.js.LICENSE.txt → vendors~main.8e6f3896.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook/public/vendors~main.8e6f3896.iframe.bundle.js.map +1 -0
- package/storybook/public/5.3751341c.iframe.bundle.js.map +0 -1
- package/storybook/public/7.7dfb34cd.iframe.bundle.js +0 -1
- package/storybook/public/9.c2b37d15.iframe.bundle.js.map +0 -1
- package/storybook/public/main.b7e13342.iframe.bundle.js +0 -1
- package/storybook/public/vendors~main.3242482d.iframe.bundle.js +0 -7
- package/storybook/public/vendors~main.3242482d.iframe.bundle.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,65 @@
|
|
|
1
|
+
## [3.2.11](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.10...v3.2.11) (2022-01-13)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Code Refactoring
|
|
5
|
+
|
|
6
|
+
* update newsletter form for w3 validator ([11243b9](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/11243b94527d6dc2a62310c60d530199e9be1516))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
* Merge branch 'tm-2567-update-theme-for-w3-validator' into 'master' ([82c4eaf](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/82c4eafbdac22cde92706d82a6e7365878f1854d))
|
|
10
|
+
|
|
11
|
+
## [3.2.10](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.9...v3.2.10) (2022-01-13)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* add coupon code logic ([a78dbca](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/a78dbca6c26f2c4e880c04ccfe6c41e1d615c7d7))
|
|
17
|
+
* add padding ([c9273eb](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c9273eb3e5da3703df8b5ba4af0cea29afd32b63))
|
|
18
|
+
* add some space ([1f511ef](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/1f511ef0aa10554b9732b3d162e28a1e0d69e85d))
|
|
19
|
+
* added yarn lock ([ee50cd3](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/ee50cd3017a6daf71d588823e31234f4bca6f7c9))
|
|
20
|
+
* dmca fixes ([752a65f](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/752a65f633e5934307a45a3cbae8c1766266f470))
|
|
21
|
+
* dmca script and hardcoded ([c2f70bb](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c2f70bba5618b3e8d0ef488229af3f236b806e1d))
|
|
22
|
+
* fix small issue ([bc5a03d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/bc5a03d440d9e298b235ee94f5bd25f1104aee9e))
|
|
23
|
+
* fix space ([874c3a5](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/874c3a5f28a02c48e80907acb542c747cf011df1))
|
|
24
|
+
* import dmca in footer from core theme ([ccaa070](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/ccaa070d6daf3cf7689cdf8aec8569bb9524e08c))
|
|
25
|
+
* make style ([7ee8177](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/7ee8177530662322e871a7e4d0e5f9bf507c7d36))
|
|
26
|
+
* make style for comparison table ([b5acb4c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/b5acb4c8e058736ea30fc58362c0bfcd17fbe0b7))
|
|
27
|
+
* merged master branch ([0dc9fad](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/0dc9fad624948eb6b4d0271871c61eaf1b59035c))
|
|
28
|
+
* small fix ([6c0d8c8](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/6c0d8c8b64ab1371439b78bbfae6bf497a3a383d))
|
|
29
|
+
* update new core theme version ([66fe211](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/66fe211293c89dff450cbfcad220fad68ac1b4fd))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
* Merge branch 'tm-2625-dmca-implementation' into 'master' ([54d8b7a](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/54d8b7adff19085a2768cdef7f8791aae9a96b78))
|
|
33
|
+
* Merge branch 'tm-2585-comparisonTabel' into 'master' ([ef11b91](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/ef11b917bd4b6a875cf66bf8b1d6a373e636911b))
|
|
34
|
+
* Update index.js ([e5985b2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/e5985b2665e6259bed07b81cd55285730432b2e1))
|
|
35
|
+
|
|
36
|
+
## [3.2.9](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.8...v3.2.9) (2022-01-12)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
* operators table bug fix ([3fba8a3](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/3fba8a30274c740dc6f37935f42f0dedce164439))
|
|
42
|
+
|
|
43
|
+
## [3.2.8](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.7...v3.2.8) (2022-01-11)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Bug Fixes
|
|
47
|
+
|
|
48
|
+
* bonus remove extra div ([5e108d0](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/5e108d024d9e671d9e12192436bb1c183a804977))
|
|
49
|
+
* removed extra div in module title ([a483704](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/a4837049445250db1641d49e055a173ac77d42cd))
|
|
50
|
+
* removing extra divs ([1280197](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/12801975b30e758820e3a405a3e1eaafe02a45c9))
|
|
51
|
+
* test bonus ([3bb0bd7](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/3bb0bd7713067852232579d62928902a1116c3fa))
|
|
52
|
+
* updated core version and updated cards html ([6c22ad7](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/6c22ad752db25073d21e0d36d0b344bc39d1d6ad))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### Config
|
|
56
|
+
|
|
57
|
+
* changed site ([20d1730](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/20d17303c4e8716d82a7d57d2b0c1d67b44620e0))
|
|
58
|
+
* updated theme ([f5304b1](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/f5304b1efd50e45d3b72cc846e1bd7abae6fe41c))
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
* Merge branch 'cards-improvments' into 'master' ([fa54f54](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/fa54f549817558c2a57441f9d49cc14d39634fd1))
|
|
62
|
+
|
|
1
63
|
## [3.2.7](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.6...v3.2.7) (2022-01-10)
|
|
2
64
|
|
|
3
65
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gatsby-matrix-theme",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.11",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"description": "Matrix Theme NPM Package",
|
|
6
6
|
"author": "",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"cross-env": "^7.0.2",
|
|
32
32
|
"dotenv": "8.2.0",
|
|
33
33
|
"gatsby": "^3.3.1",
|
|
34
|
-
"gatsby-core-theme": "^2.0
|
|
34
|
+
"gatsby-core-theme": "^2.1.0",
|
|
35
35
|
"gatsby-image": "^3.3.0",
|
|
36
36
|
"gatsby-plugin-image": "^1.3.1",
|
|
37
37
|
"gatsby-plugin-postcss": "^4.3.0",
|
|
@@ -22,18 +22,20 @@ const BaseCard = ({
|
|
|
22
22
|
);
|
|
23
23
|
|
|
24
24
|
return (
|
|
25
|
-
<div
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
25
|
+
<div
|
|
26
|
+
className={`${styles.baseCard} ${styles[cardType]} ${featured ? styles.featured : ''} ${
|
|
27
|
+
styles.cardWrapper
|
|
28
|
+
}`}
|
|
29
|
+
>
|
|
30
|
+
{featured &&
|
|
31
|
+
(isLinked ? (
|
|
32
|
+
<Link to={path} title={title} className={`${styles.cardLink} base-card-gtm`}>
|
|
33
|
+
{imgContent}
|
|
34
|
+
</Link>
|
|
35
|
+
) : (
|
|
36
|
+
<div className={styles.cardLink}>{imgContent}</div>
|
|
37
|
+
))}
|
|
38
|
+
{children}
|
|
37
39
|
</div>
|
|
38
40
|
);
|
|
39
41
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { useContext } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { AiOutlineCheckCircle } from 'react-icons/ai';
|
|
4
|
+
import { VscFiles } from 'react-icons/vsc';
|
|
4
5
|
import { imagePrettyUrl, translate } from 'gatsby-core-theme/src/helpers/getters';
|
|
5
6
|
import LazyImg from 'gatsby-core-theme/src/hooks/lazy-image';
|
|
6
7
|
import OperatorCta from 'gatsby-core-theme/src/components/atoms/operator-cta';
|
|
@@ -11,44 +12,43 @@ import { Context } from 'gatsby-core-theme/src/context/TranslationsProvider';
|
|
|
11
12
|
|
|
12
13
|
import styles from './table.module.scss';
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
const listHeadings = [
|
|
16
|
+
{
|
|
17
|
+
defaultValue: 'Casino name',
|
|
18
|
+
key: 'casino_name',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
defaultValue: 'Rating',
|
|
22
|
+
key: 'rating',
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
defaultValue: 'Bonus',
|
|
26
|
+
key: 'bonus',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
defaultValue: 'Top Features',
|
|
30
|
+
key: 'top_features',
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
defaultValue: 'Payment Methods',
|
|
34
|
+
key: 'payment_methods',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
defaultValue: 'Banking',
|
|
38
|
+
key: 'banking',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
defaultValue: 'Currencies',
|
|
42
|
+
key: 'currencies',
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
defaultValue: 'Licenses',
|
|
46
|
+
key: 'licenses',
|
|
47
|
+
},
|
|
48
|
+
];
|
|
49
|
+
export default function ComparisonTable({ items, tabelInfo = listHeadings }) {
|
|
15
50
|
const { translations } = useContext(Context) || {};
|
|
16
51
|
|
|
17
|
-
const tabelInfo = [
|
|
18
|
-
{
|
|
19
|
-
defaultValue: 'Casino name',
|
|
20
|
-
key: 'casino_name',
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
defaultValue: 'Rating',
|
|
24
|
-
key: 'rating',
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
defaultValue: 'Bonus',
|
|
28
|
-
key: 'bonus',
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
defaultValue: 'Top Features',
|
|
32
|
-
key: 'top_features',
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
defaultValue: 'Payment Methods',
|
|
36
|
-
key: 'payment_methods',
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
defaultValue: 'Banking',
|
|
40
|
-
key: 'banking',
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
defaultValue: 'Currencies',
|
|
44
|
-
key: 'currencies',
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
defaultValue: 'Licenses',
|
|
48
|
-
key: 'licenses',
|
|
49
|
-
},
|
|
50
|
-
];
|
|
51
|
-
|
|
52
52
|
const cell = (heading, item, index) => {
|
|
53
53
|
switch (heading) {
|
|
54
54
|
case 'casino_name':
|
|
@@ -65,8 +65,9 @@ export default function ComparisonTable({ items }) {
|
|
|
65
65
|
<OperatorCta
|
|
66
66
|
tracker="main"
|
|
67
67
|
operator={item?.relation}
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
// new key
|
|
69
|
+
translationKey="play_ex"
|
|
70
|
+
gtmClass="comparison-table-gtm btn-cta"
|
|
70
71
|
/>
|
|
71
72
|
</div>
|
|
72
73
|
</td>
|
|
@@ -95,6 +96,19 @@ export default function ComparisonTable({ items }) {
|
|
|
95
96
|
))}
|
|
96
97
|
</td>
|
|
97
98
|
);
|
|
99
|
+
case 'coupon_code':
|
|
100
|
+
return (
|
|
101
|
+
<td key={index} className={styles.couponCode}>
|
|
102
|
+
{item?.relation?.extra_fields?.coupon_code && (
|
|
103
|
+
<>
|
|
104
|
+
<p>
|
|
105
|
+
{item?.relation?.extra_fields?.coupon_code}{' '}
|
|
106
|
+
<VscFiles color="var(--coupon-code-color);" />
|
|
107
|
+
</p>
|
|
108
|
+
</>
|
|
109
|
+
)}
|
|
110
|
+
</td>
|
|
111
|
+
);
|
|
98
112
|
case 'payment_methods':
|
|
99
113
|
return (
|
|
100
114
|
<td key={index} className={styles.paymentMethods}>
|
|
@@ -131,7 +145,9 @@ export default function ComparisonTable({ items }) {
|
|
|
131
145
|
{item?.relation?.bonus?.currencies &&
|
|
132
146
|
item?.relation?.bonus?.currencies
|
|
133
147
|
.slice(0, 3)
|
|
134
|
-
.map((currencies) =>
|
|
148
|
+
.map((currencies, i, list) => (
|
|
149
|
+
<>{`${currencies.iso_code}${i + 1 < list.length ? ', ' : ''}`}</>
|
|
150
|
+
))}
|
|
135
151
|
</span>
|
|
136
152
|
</p>
|
|
137
153
|
</td>
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
th {
|
|
23
23
|
@include flex-align(center, center);
|
|
24
|
+
padding: 2rem 2rem;
|
|
24
25
|
background-color: var(--comparison-header-background-color);
|
|
25
26
|
border: 1px solid var(--comparison-header-border-color);
|
|
26
27
|
border-bottom: none;
|
|
@@ -49,11 +50,18 @@
|
|
|
49
50
|
border: 1px solid var(--color-9);
|
|
50
51
|
box-sizing: border-box;
|
|
51
52
|
margin-right: 1.6rem;
|
|
53
|
+
border-radius: 0.6rem;
|
|
52
54
|
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
> div {
|
|
56
|
+
height: 100%;
|
|
57
|
+
@include flex-direction(column);
|
|
58
|
+
@include flex-align(flex-start, space-between);
|
|
59
|
+
span {
|
|
60
|
+
font-weight: bold;
|
|
61
|
+
font-size: 18px;
|
|
62
|
+
line-height: 25px;
|
|
63
|
+
color: black;
|
|
64
|
+
}
|
|
57
65
|
}
|
|
58
66
|
}
|
|
59
67
|
|
|
@@ -67,13 +75,14 @@
|
|
|
67
75
|
font-weight: bold;
|
|
68
76
|
}
|
|
69
77
|
}
|
|
70
|
-
|
|
78
|
+
|
|
71
79
|
.raiting {
|
|
72
80
|
@include flex-align(center, space-between);
|
|
73
81
|
|
|
74
82
|
a {
|
|
75
83
|
font-weight: bold;
|
|
76
84
|
font-size: 1.6rem;
|
|
85
|
+
color: var(--text-link-color);
|
|
77
86
|
}
|
|
78
87
|
}
|
|
79
88
|
.topFeatures {
|
|
@@ -82,10 +91,13 @@
|
|
|
82
91
|
span {
|
|
83
92
|
@include flex-direction(row);
|
|
84
93
|
@include flex-align(center, center);
|
|
85
|
-
margin-bottom: 0.
|
|
94
|
+
margin-bottom: 0.4rem;
|
|
95
|
+
margin-top: 0.4rem;
|
|
86
96
|
svg {
|
|
87
97
|
color: var(--comparison-top-features-icon-color);
|
|
88
98
|
margin-right: 0.93rem;
|
|
99
|
+
min-width: 2.5rem;
|
|
100
|
+
height: 2rem;
|
|
89
101
|
}
|
|
90
102
|
}
|
|
91
103
|
}
|
|
@@ -99,12 +111,14 @@
|
|
|
99
111
|
font-size: 1.4rem;
|
|
100
112
|
line-height: 2.4rem;
|
|
101
113
|
margin-bottom: 1rem;
|
|
114
|
+
color: black;
|
|
102
115
|
span {
|
|
103
116
|
font-weight: bold;
|
|
104
117
|
}
|
|
105
118
|
}
|
|
106
119
|
}
|
|
107
120
|
.currencies {
|
|
121
|
+
padding: 1.6rem 1rem;
|
|
108
122
|
span {
|
|
109
123
|
margin-left: 0.4rem;
|
|
110
124
|
background: var(--comparison-currencies-background-color);
|
|
@@ -114,6 +128,10 @@
|
|
|
114
128
|
font-weight: bold;
|
|
115
129
|
font-size: 12px;
|
|
116
130
|
line-height: 18px;
|
|
131
|
+
width: 4.4rem;
|
|
132
|
+
height: 2.4rem;
|
|
133
|
+
padding: 0.499rem 0.8rem;
|
|
134
|
+
color: #17182f;
|
|
117
135
|
}
|
|
118
136
|
}
|
|
119
137
|
.paymentMethods {
|
|
@@ -125,12 +143,45 @@
|
|
|
125
143
|
font-weight: bold;
|
|
126
144
|
font-size: 14px;
|
|
127
145
|
line-height: 18px;
|
|
146
|
+
object-fit: contain;
|
|
147
|
+
color: white;
|
|
148
|
+
margin-bottom: 0.5rem;
|
|
149
|
+
margin-top: 0.5rem;
|
|
150
|
+
img {
|
|
151
|
+
width: 7.2rem;
|
|
152
|
+
height: 3.2rem;
|
|
153
|
+
object-fit: contain;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
.couponCode {
|
|
158
|
+
@include flex-align(center, flex-start);
|
|
159
|
+
box-sizing: border-box;
|
|
160
|
+
p {
|
|
161
|
+
@include flex-align(center, center);
|
|
162
|
+
border: 1px dashed var(--coupon-code-color);
|
|
163
|
+
background-color: var(--backgorund--coupon-code-color);
|
|
164
|
+
width: fit-content;
|
|
165
|
+
padding: 0.4rem 1.6rem;
|
|
166
|
+
border-radius: 0.5rem;
|
|
167
|
+
font-weight: bold;
|
|
168
|
+
font-size: 1.4rem;
|
|
169
|
+
color: var(--coupon-code-color);
|
|
170
|
+
svg{
|
|
171
|
+
margin-left: 1rem;
|
|
172
|
+
}
|
|
128
173
|
}
|
|
129
174
|
}
|
|
130
|
-
|
|
131
175
|
.licenses {
|
|
176
|
+
padding: 1.1rem;
|
|
132
177
|
img {
|
|
133
178
|
max-height: 3.2rem;
|
|
179
|
+
width: 7.2rem;
|
|
180
|
+
object-fit: contain;
|
|
181
|
+
background-color: #fff;
|
|
182
|
+
margin-right: 1rem;
|
|
183
|
+
margin-top: 0.5rem;
|
|
184
|
+
margin-bottom: 0.5rem;
|
|
134
185
|
}
|
|
135
186
|
}
|
|
136
187
|
}
|
|
@@ -38,7 +38,9 @@ const CasinosTable = ({ module }) => {
|
|
|
38
38
|
items.map((item) => (
|
|
39
39
|
<tr>
|
|
40
40
|
<td>{item.title}</td>
|
|
41
|
-
<td>
|
|
41
|
+
<td>
|
|
42
|
+
{getBonus('main', item?.relation) && oneLiner(getBonus('main', item?.relation))}
|
|
43
|
+
</td>
|
|
42
44
|
<td>
|
|
43
45
|
<Link to={item?.path} name={item?.relation?.name}>
|
|
44
46
|
{`${item?.relation?.name} ${translate(translations, 'read_review', 'Review')}`}
|
|
@@ -45,8 +45,8 @@ const NewsletterForm =({
|
|
|
45
45
|
}
|
|
46
46
|
return(
|
|
47
47
|
<form action={formAction} method="post" ref={form} onSubmit={handelSubmit}>
|
|
48
|
-
<input type="hidden" name="listname" aria-label="hidden" value={newsletterListId} />
|
|
49
|
-
<input type="hidden" name="redirect" aria-label="hidden" value={redirectUrl} />
|
|
48
|
+
<input type="hidden" name="listname" aria-label="listname" aria-hidden="true" value={newsletterListId} />
|
|
49
|
+
<input type="hidden" name="redirect" aria-label="redirect" aria-hidden="true" value={redirectUrl} />
|
|
50
50
|
<input className={styles.input} placeholder={placeholderName} type="text" name="name" />
|
|
51
51
|
<input className={styles.input} placeholder={placeholderEmail} type="email" name="email" />
|
|
52
52
|
<button className={styles.button} type="submit">{buttonText}</button>
|
|
@@ -71,9 +71,11 @@ const Faq = ({ module, openAll = true, openItem, closeOthers = false, icon = ''
|
|
|
71
71
|
<span dangerouslySetInnerHTML={{ __html: item.question }} />
|
|
72
72
|
</span>
|
|
73
73
|
</button>
|
|
74
|
-
<div
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
<div
|
|
75
|
+
className={styles.content}
|
|
76
|
+
ref={(el) => (itemRefs.current[index] = el)}
|
|
77
|
+
dangerouslySetInnerHTML={{ __html: item.answer }}
|
|
78
|
+
/>
|
|
77
79
|
</div>
|
|
78
80
|
))}
|
|
79
81
|
</div>
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
.bonus {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
// .bonus {
|
|
2
|
+
// @include flex-direction(column);
|
|
3
|
+
.title {
|
|
4
4
|
font-size: 2rem;
|
|
5
5
|
font-weight: 700;
|
|
6
6
|
color: var(--primary-color);
|
|
7
7
|
padding-right: 1rem;
|
|
8
8
|
}
|
|
9
|
-
|
|
9
|
+
.desc {
|
|
10
10
|
font-size: 1.6rem;
|
|
11
11
|
color: var(--color-22);
|
|
12
12
|
font-weight: 700;
|
|
13
13
|
padding: 0.5rem 0;
|
|
14
14
|
}
|
|
15
|
-
}
|
|
15
|
+
// }
|
|
@@ -20,10 +20,10 @@ export default function Bonus({ item, tracker }) {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
return (
|
|
23
|
-
|
|
24
|
-
{!isInoperative && <
|
|
25
|
-
{!isInoperative && <
|
|
26
|
-
|
|
23
|
+
<>
|
|
24
|
+
{!isInoperative && <p className={styles.title}>{mainLine && mainLine}</p>}
|
|
25
|
+
{!isInoperative && <p className={styles.desc}>{secondLine && `+${secondLine}`}</p>}
|
|
26
|
+
</>
|
|
27
27
|
);
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -76,28 +76,34 @@ const ModuleTitle = ({ module, viewMoreIcon = <FaAngleRight />, pageContext = nu
|
|
|
76
76
|
|
|
77
77
|
const template = pageContext && pageContext?.page?.template;
|
|
78
78
|
return (
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
>
|
|
88
|
-
|
|
89
|
-
{(module?.title || module.module_title) && getTitle(module)}
|
|
90
|
-
</div>
|
|
91
|
-
|
|
92
|
-
{module.link_label && (
|
|
93
|
-
<Link to={module.link_value} className={`${styles.viewMore} module-title-gtm`}>
|
|
94
|
-
{module.link_label}
|
|
95
|
-
{viewMoreIcon}
|
|
96
|
-
</Link>
|
|
97
|
-
)}
|
|
79
|
+
(module.module_title ||
|
|
80
|
+
(module.title && (module.name === 'cards' || module.name === 'top_list'))) &&
|
|
81
|
+
(module.link_label ? (
|
|
82
|
+
<div
|
|
83
|
+
className={`${styles.moduleTitle} ${styles[template]} ${
|
|
84
|
+
module?.style && styles[module.style]
|
|
85
|
+
} ${tabsToplist ? styles.tabsToplist : null}`}
|
|
86
|
+
>
|
|
87
|
+
<div className={styles.toplistTitle}>
|
|
88
|
+
{(module?.title || module.module_title) && getTitle(module)}
|
|
98
89
|
</div>
|
|
99
|
-
|
|
100
|
-
|
|
90
|
+
|
|
91
|
+
{module.link_label && (
|
|
92
|
+
<Link to={module.link_value} className={`${styles.viewMore} module-title-gtm`}>
|
|
93
|
+
{module.link_label}
|
|
94
|
+
{viewMoreIcon}
|
|
95
|
+
</Link>
|
|
96
|
+
)}
|
|
97
|
+
</div>
|
|
98
|
+
) : (
|
|
99
|
+
<div
|
|
100
|
+
className={`${styles.moduleTitle} ${styles[template]} ${
|
|
101
|
+
module?.style && styles[module.style]
|
|
102
|
+
} ${styles.toplistTitle} ${tabsToplist ? styles.tabsToplist : null}`}
|
|
103
|
+
>
|
|
104
|
+
{(module?.title || module.module_title) && getTitle(module)}
|
|
105
|
+
</div>
|
|
106
|
+
))
|
|
101
107
|
);
|
|
102
108
|
};
|
|
103
109
|
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import LinkList from 'gatsby-core-theme/src/components/molecules/link-list';
|
|
4
4
|
import { getExtraField, copyrightText } from 'gatsby-core-theme/src/helpers/getters';
|
|
5
|
+
import Disclaimer from 'gatsby-core-theme/src/components/atoms/disclaimer';
|
|
5
6
|
import styles from './footer.module.scss';
|
|
6
7
|
/* eslint-disable react/no-danger */
|
|
7
8
|
|
|
@@ -20,6 +21,9 @@ const Footer = ({
|
|
|
20
21
|
const BottomSection = footerBottomCustom;
|
|
21
22
|
const showLinks = template !== 'ppc';
|
|
22
23
|
const copyrightDisclaimerValue = getExtraField(section?.extra_fields, copyrightDisclaimer);
|
|
24
|
+
const dmcaImg = (
|
|
25
|
+
<img src="https://cdn.playcasino.co.za/image-1-8.png" alt="DMCA.com Protection Status" />
|
|
26
|
+
);
|
|
23
27
|
|
|
24
28
|
return (
|
|
25
29
|
<footer className={`${styles.footer} ${hasFooterLinks && styles.hasFooterLinks}`}>
|
|
@@ -58,6 +62,7 @@ const Footer = ({
|
|
|
58
62
|
gtmClass="mobile-menu-gtm logo-cta"
|
|
59
63
|
/>
|
|
60
64
|
)}
|
|
65
|
+
<Disclaimer image={dmcaImg} />
|
|
61
66
|
</div>
|
|
62
67
|
</div>
|
|
63
68
|
</footer>
|