gatsby-matrix-theme 3.2.26 → 4.0.1
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 +76 -0
- package/gatsby-config.js +1 -6
- package/package.json +2 -2
- package/src/components/atoms/cards/base-card/index.js +1 -1
- package/src/components/atoms/cards/operator-card/index.js +19 -23
- package/src/components/atoms/cards/operator-card/operator-card.module.scss +23 -49
- package/src/components/atoms/cards/payment-method-card/index.js +1 -0
- package/src/components/atoms/cards/software-provider-card/index.js +1 -0
- package/src/components/atoms/footer/bottom/index.js +1 -10
- package/src/components/atoms/footer/top/index.js +1 -10
- package/src/components/atoms/table/column/index.js +5 -2
- package/src/components/pages/contact-us/index.js +1 -1
- package/src/{components/molecules → gatsby-core-theme/components/atoms}/info-grid/index.js +0 -0
- package/src/{components/molecules → gatsby-core-theme/components/atoms}/info-grid/info-grid.module.scss +0 -0
- package/src/{components/molecules → gatsby-core-theme/components/atoms}/info-grid/info-grid.stories.js +1 -0
- package/src/gatsby-core-theme/components/atoms/spotlights/index.js +14 -0
- package/src/gatsby-core-theme/components/atoms/spotlights/spotlights-site.module.scss +1 -0
- package/src/gatsby-core-theme/components/atoms/spotlights/spotlights-theme.module.scss +101 -0
- package/src/gatsby-core-theme/components/molecules/content/content.module.scss +16 -0
- package/src/gatsby-core-theme/components/molecules/content/index.js +7 -7
- package/src/gatsby-core-theme/components/molecules/footer/footer.module.scss +11 -2
- package/src/gatsby-core-theme/components/molecules/footer/index.js +9 -10
- package/src/{components → gatsby-core-theme/components}/molecules/header/header.test.js +0 -0
- package/src/{components → gatsby-core-theme/components}/molecules/header/index.js +12 -4
- package/src/gatsby-core-theme/components/molecules/module/index.js +4 -3
- package/src/gatsby-core-theme/components/molecules/module/module.module.scss +3 -0
- package/src/gatsby-core-theme/components/molecules/search/index.js +3 -2
- package/src/gatsby-core-theme/components/molecules/search/search.module.scss +39 -0
- package/src/gatsby-core-theme/components/organisms/anchor/index.js +13 -16
- package/src/{components → gatsby-core-theme/components}/organisms/toplist/index.js +1 -1
- package/src/{components → gatsby-core-theme/components}/organisms/toplist/list/index.js +0 -0
- package/src/{components → gatsby-core-theme/components}/organisms/toplist/list/list.module.scss +0 -0
- package/src/gatsby-core-theme/components/pages/body/index.js +24 -2
- package/src/gatsby-core-theme/styles/utils/variables/_main.scss +18 -0
- package/storybook/public/{0.e515c4bf.iframe.bundle.js → 0.d24a0c90.iframe.bundle.js} +1 -1
- package/storybook/public/{1.ac251b98.iframe.bundle.js → 1.2a2b1ee2.iframe.bundle.js} +1 -1
- package/storybook/public/{10.ff8f20a0.iframe.bundle.js → 10.2522d665.iframe.bundle.js} +1 -1
- package/storybook/public/{15.baadf857.iframe.bundle.js → 11.188b4e9c.iframe.bundle.js} +1 -1
- package/storybook/public/{16.9d6c22db.iframe.bundle.js → 12.dc60f46f.iframe.bundle.js} +1 -1
- package/storybook/public/{5.f8a95893.iframe.bundle.js → 5.d5718771.iframe.bundle.js} +3 -3
- package/storybook/public/{5.f8a95893.iframe.bundle.js.LICENSE.txt → 5.d5718771.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook/public/5.d5718771.iframe.bundle.js.map +1 -0
- package/storybook/public/{6.ad9d9402.iframe.bundle.js → 6.064e5aae.iframe.bundle.js} +1 -1
- package/storybook/public/{7.061faab7.iframe.bundle.js → 7.dbd57ff4.iframe.bundle.js} +1 -1
- package/storybook/public/{8.fd6b3f00.iframe.bundle.js → 8.deb9a974.iframe.bundle.js} +1 -1
- package/storybook/public/{9.f220a5b6.iframe.bundle.js → 9.1c63a217.iframe.bundle.js} +3 -3
- package/storybook/public/{9.f220a5b6.iframe.bundle.js.LICENSE.txt → 9.1c63a217.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook/public/9.1c63a217.iframe.bundle.js.map +1 -0
- package/storybook/public/iframe.html +1 -1
- package/storybook/public/main.edf8e107.iframe.bundle.js +1 -0
- package/storybook/public/runtime~main.c941bf72.iframe.bundle.js +1 -0
- package/storybook/public/vendors~main.2ee68090.iframe.bundle.js +7 -0
- package/storybook/public/{vendors~main.1f5a74cb.iframe.bundle.js.LICENSE.txt → vendors~main.2ee68090.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook/public/vendors~main.2ee68090.iframe.bundle.js.map +1 -0
- package/src/components/atoms/toplist/heading/heading.module.scss +0 -14
- package/src/components/atoms/toplist/heading/index.js +0 -12
- package/src/gatsby-core-theme/components/atoms/archive/items/index.js +0 -17
- package/src/gatsby-core-theme/components/atoms/menu/items/item/item.module.scss +0 -55
- package/src/gatsby-core-theme/components/atoms/spotlights/spotlights.module.scss +0 -99
- package/src/gatsby-core-theme/components/organisms/navigation/index.js +0 -134
- package/storybook/public/11.a965ed36.iframe.bundle.js +0 -1
- package/storybook/public/12.f31f86bb.iframe.bundle.js +0 -1
- package/storybook/public/13.c72a573a.iframe.bundle.js +0 -1
- package/storybook/public/14.454a253c.iframe.bundle.js +0 -1
- package/storybook/public/5.f8a95893.iframe.bundle.js.map +0 -1
- package/storybook/public/9.f220a5b6.iframe.bundle.js.map +0 -1
- package/storybook/public/main.87a6ab42.iframe.bundle.js +0 -1
- package/storybook/public/runtime~main.3e464ba9.iframe.bundle.js +0 -1
- package/storybook/public/vendors~main.1f5a74cb.iframe.bundle.js +0 -7
- package/storybook/public/vendors~main.1f5a74cb.iframe.bundle.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,79 @@
|
|
|
1
|
+
## [4.0.1](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v4.0.0...v4.0.1) (2022-02-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* cleanup anchor ([ec69b31](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/ec69b316f2dad3844e8541b58cc05e9d40302117))
|
|
7
|
+
* cleanup operator cards ([65595d2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/65595d27fdcf623733a3e5914b6a55f32075caf1))
|
|
8
|
+
* image object fit ([4ec7355](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/4ec73555c1caf67d125d014d287a8139ca93f41b))
|
|
9
|
+
* spotlight fixes ([0d55c9d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/0d55c9d63dd43f307e63b1fb1b54676bb1b0d202))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Code Refactoring
|
|
13
|
+
|
|
14
|
+
* fix, remove and update some of the files being badly overriden ([321517f](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/321517f102a02b8f306c2ab61339cc6055c5518c))
|
|
15
|
+
* remove unneeded div at footer ([1d8aa9d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/1d8aa9dc51ea0f9fb2044a450f5f01dff03afb23))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
* Merge branch 'tm-2716-html-cleanup' into 'master' ([e83f062](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/e83f0624b206484d1ae69e8a08b02994af4fa889))
|
|
19
|
+
* Merge branch 'tm-2624-spotlight-fixes' into 'master' ([a963872](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/a9638724e153560f386cabd08f383f544b01211f))
|
|
20
|
+
|
|
21
|
+
# [4.0.0](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.28...v4.0.0) (2022-02-16)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* added new spotlights style ([97ff16c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/97ff16c77e661adbd34be588fd845568bc72cf91))
|
|
27
|
+
* content frame style ([64878ea](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/64878ea15e3e8d2aa2b32d31f1edddb2b77df392))
|
|
28
|
+
* content module ([dd73e88](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/dd73e88f5a8086e6a3e8968ceb6f5d80c53d9b68))
|
|
29
|
+
* fixed sizes ([9fe7c2b](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/9fe7c2b941329dc47b254aafe4941dcd7686284e))
|
|
30
|
+
* merged master branch ([f0ed925](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/f0ed92598c46d84316c0381e1aa3fa7515dad199))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Code Refactoring
|
|
34
|
+
|
|
35
|
+
* correction to runner ([5e82a01](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/5e82a014a54def57d170719776a7a5cc261ef6dc))
|
|
36
|
+
* new pipeline for custom demo deployment ([854d8a7](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/854d8a751d5fb9b7480eb7e3d1cbc9384106b57c))
|
|
37
|
+
* remove deploy pipelines server ssh key ([90861f3](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/90861f3c0c308e6f6747ac601fa5012f2516367b))
|
|
38
|
+
* remove unused pipeline ([28f7393](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/28f739391639f1ea6a06f9afc3eb5094a6d3ea87))
|
|
39
|
+
* update deployment pipelines ([df8b5ab](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/df8b5ab85c9ef85911a40bb85688b86df366f22a))
|
|
40
|
+
* update img alt tags ([5f7b504](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/5f7b5040fbb8fa683d872a9d453c9ed5855f992b))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
* Merge branch 'tm-2703-custom-demo-deployment' into 'master' ([8ae95cc](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/8ae95cce0c0737d5a77c0efe66e9acc49cd2172a))
|
|
44
|
+
* Merge branch 'master' into tm-2703-custom-demo-deployment ([9cfd3b3](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/9cfd3b33d62ac17ef5b966962eb6e9909a9497dd))
|
|
45
|
+
* Merge branch 'tm-2715-update-img-alt-tags' into 'master' ([fe14659](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/fe1465976cf2cae2466c846ef1c0189266932a4b))
|
|
46
|
+
* Merge branch 'master' into tm-2703-custom-demo-deployment ([52c066f](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/52c066fc92e4869691c10aaecc66c9f7f6631bce))
|
|
47
|
+
* Merge branch 'tm-2624-spotlights' into 'master' ([2a2656d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/2a2656da47b99198ffed61486a6072e6983836be))
|
|
48
|
+
* Merge branch 'tm-2702-update-deployment-pipelines' into 'master' ([e9f0b13](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/e9f0b13f3bd3e5e7fc6982d76d329eb0796055da))
|
|
49
|
+
|
|
50
|
+
## [3.2.28](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.27...v3.2.28) (2022-02-08)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
### Bug Fixes
|
|
54
|
+
|
|
55
|
+
* fixed prelive path ([613be59](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/613be5928fa86f418bd5296f701b32ae77d54d1d))
|
|
56
|
+
* preconnectLinks removed ([325406c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/325406c1f772dce8a42c3be89a3c8213579957d4))
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
* Merge branch 'tm-2681-canary-tokens' into 'master' ([bcbf07d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/bcbf07d830c41f628d180ef592ffb82a8e0f9b00))
|
|
60
|
+
|
|
61
|
+
## [3.2.27](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.26...v3.2.27) (2022-02-08)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
### Bug Fixes
|
|
65
|
+
|
|
66
|
+
* added canary token script ([af5479f](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/af5479fa3e9814baf9a06368a560754d10f0f49e))
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
### Config
|
|
70
|
+
|
|
71
|
+
* updated to latest core version ([bc48d27](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/bc48d277b3dba149aeeffdaff490b8715320f288))
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
* Merge branch 'master' of git.ilcd.rocks:team-floyd/themes/matrix-theme ([23020a5](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/23020a5036887d5570c1958820c4de74b211a938))
|
|
75
|
+
* Merge branch 'tm-2681-canary-tokens' into 'master' ([49fca6c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/49fca6ced00281ce2a4a17f93b927179fddbf8ff))
|
|
76
|
+
|
|
1
77
|
## [3.2.26](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.25...v3.2.26) (2022-02-08)
|
|
2
78
|
|
|
3
79
|
|
package/gatsby-config.js
CHANGED
|
@@ -16,12 +16,7 @@ module.exports = {
|
|
|
16
16
|
resolve: `gatsby-core-theme`,
|
|
17
17
|
options: {
|
|
18
18
|
siteName: process.env.GATSBY_SITE_NAME,
|
|
19
|
-
preconnectLinks: [
|
|
20
|
-
'https://www.google-analytics.com',
|
|
21
|
-
'https://www.googletagmanager.com',
|
|
22
|
-
'https://gm.innocraft.cloud',
|
|
23
|
-
process.env.IMAGE_CDN_URL,
|
|
24
|
-
],
|
|
19
|
+
preconnectLinks: [process.env.IMAGE_CDN_URL],
|
|
25
20
|
},
|
|
26
21
|
},
|
|
27
22
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gatsby-matrix-theme",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.1",
|
|
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": "^
|
|
34
|
+
"gatsby-core-theme": "^4.0.0",
|
|
35
35
|
"gatsby-image": "^3.3.0",
|
|
36
36
|
"gatsby-plugin-image": "^1.3.1",
|
|
37
37
|
"gatsby-plugin-postcss": "^4.3.0",
|
|
@@ -54,37 +54,33 @@ const OperatorCard = ({ item, featured = false, number, width, height }) => {
|
|
|
54
54
|
}`}
|
|
55
55
|
>
|
|
56
56
|
<div className={styles.casinoText}>
|
|
57
|
-
<
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
</div>
|
|
62
|
-
<div className={styles.casinoBonus}>
|
|
63
|
-
{!isInactive && <Bonus item={relation} tracker="main" />}
|
|
64
|
-
</div>
|
|
57
|
+
<Link to={reviewPath} title={relation.name} className="operator-card-gtm">
|
|
58
|
+
{relation.name}
|
|
59
|
+
</Link>
|
|
60
|
+
{!isInactive && <Bonus item={relation} tracker="main" />}
|
|
65
61
|
</div>
|
|
66
62
|
<div
|
|
67
63
|
className={`${styles.cardFooter} ${featured && styles.featured} ${
|
|
68
64
|
backgroundImage && styles.hasBackground
|
|
69
65
|
}`}
|
|
70
66
|
>
|
|
71
|
-
<
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
67
|
+
<Link
|
|
68
|
+
to={reviewPath}
|
|
69
|
+
title={relation.name}
|
|
70
|
+
className={`${styles.reviewLink} operator-card-gtm`}
|
|
71
|
+
>
|
|
72
|
+
{`${relation.name} ${translate(translations, 'read_review', 'Review')}`}
|
|
73
|
+
</Link>
|
|
74
|
+
<OperatorCta
|
|
75
|
+
tracker="main"
|
|
76
|
+
operator={relation}
|
|
77
|
+
playText={translate(translations, 'play_now', 'Play Now')}
|
|
78
|
+
gtmClass="operator-card-gtm btn-cta"
|
|
79
|
+
/>
|
|
84
80
|
{relation?.extra_fields?.terms_and_conditions_text_enabled === '1' && (
|
|
85
|
-
<
|
|
81
|
+
<span className={styles.tnc}>
|
|
86
82
|
<Tnc hasCollapse={false} operator={relation} />
|
|
87
|
-
</
|
|
83
|
+
</span>
|
|
88
84
|
)}
|
|
89
85
|
</div>
|
|
90
86
|
</div>
|
|
@@ -5,27 +5,7 @@
|
|
|
5
5
|
padding: 0 1.6rem 2rem;
|
|
6
6
|
position: relative;
|
|
7
7
|
color: var(--color-44);
|
|
8
|
-
|
|
9
|
-
font-size: 1.6rem;
|
|
10
|
-
font-weight: 400;
|
|
11
|
-
margin-bottom: 0.8rem;
|
|
12
|
-
a {
|
|
13
|
-
color: #000;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
.casinoBonus {
|
|
17
|
-
div {
|
|
18
|
-
font-size: 1.4rem;
|
|
19
|
-
color: var(--color-44);
|
|
20
|
-
font-weight: 400;
|
|
21
|
-
}
|
|
22
|
-
div:first-child {
|
|
23
|
-
font-size: 1.6rem;
|
|
24
|
-
font-weight: 700;
|
|
25
|
-
color: var(--primary-color);
|
|
26
|
-
font-weight: 700;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
8
|
+
|
|
29
9
|
.casinoText {
|
|
30
10
|
@include flex-align(flex-start, flex-start);
|
|
31
11
|
width: 100%;
|
|
@@ -33,56 +13,50 @@
|
|
|
33
13
|
margin-bottom: 0.8rem;
|
|
34
14
|
height: 8.2rem;
|
|
35
15
|
overflow: hidden;
|
|
16
|
+
|
|
17
|
+
a {
|
|
18
|
+
color: #000;
|
|
19
|
+
font-size: 1.6rem;
|
|
20
|
+
font-weight: 400;
|
|
21
|
+
margin-bottom: 0.8rem;
|
|
22
|
+
}
|
|
36
23
|
}
|
|
37
24
|
&.featured {
|
|
38
25
|
color: #fff;
|
|
39
|
-
|
|
26
|
+
|
|
27
|
+
.casinoText {
|
|
40
28
|
a {
|
|
41
29
|
color: #fff;
|
|
42
30
|
}
|
|
43
31
|
}
|
|
44
|
-
.casinoBonus {
|
|
45
|
-
div {
|
|
46
|
-
color: #fff;
|
|
47
|
-
}
|
|
48
|
-
div:first-child {
|
|
49
|
-
font-size: 2.4rem;
|
|
50
|
-
line-height: 1.2;
|
|
51
|
-
color: #fff;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
32
|
}
|
|
55
33
|
}
|
|
56
34
|
.cardFooter {
|
|
57
35
|
width: 100%;
|
|
58
36
|
color: var(--color-44);
|
|
37
|
+
@include flex-direction(column);
|
|
38
|
+
|
|
59
39
|
.tnc {
|
|
60
40
|
margin: 0.8rem 0 -0.7rem;
|
|
61
41
|
p {
|
|
62
42
|
font-size: 1rem;
|
|
63
43
|
}
|
|
64
44
|
}
|
|
65
|
-
.cardButtons {
|
|
66
|
-
@include flex-align(center, space-between);
|
|
67
|
-
width: 100%;
|
|
68
|
-
flex-direction: row-reverse;
|
|
69
45
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
width: 100%;
|
|
75
|
-
margin-bottom: 0.5rem;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
46
|
+
a:last-of-type {
|
|
47
|
+
max-width: fit-content;
|
|
48
|
+
align-self: flex-end;
|
|
49
|
+
}
|
|
78
50
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
51
|
+
@include max(tablet) {
|
|
52
|
+
a[class*='button'] {
|
|
53
|
+
display: block;
|
|
54
|
+
width: 100%;
|
|
55
|
+
max-width: 100%;
|
|
56
|
+
margin-bottom: 0.5rem;
|
|
84
57
|
}
|
|
85
58
|
}
|
|
59
|
+
|
|
86
60
|
&.featured {
|
|
87
61
|
color: #fff;
|
|
88
62
|
}
|
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
2
|
|
|
4
|
-
const FooterBottom = () =>
|
|
5
|
-
return <></>;
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
FooterBottom.propTypes = {
|
|
9
|
-
section: PropTypes.shape({
|
|
10
|
-
extra_fields: PropTypes.object,
|
|
11
|
-
}),
|
|
12
|
-
};
|
|
3
|
+
const FooterBottom = () => <></>;
|
|
13
4
|
|
|
14
5
|
export default FooterBottom;
|
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
2
|
|
|
4
|
-
const FooterTop = () =>
|
|
5
|
-
return <></>;
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
FooterTop.propTypes = {
|
|
9
|
-
section: PropTypes.shape({
|
|
10
|
-
extra_fields: PropTypes.object,
|
|
11
|
-
}),
|
|
12
|
-
};
|
|
3
|
+
const FooterTop = () => <></>;
|
|
13
4
|
|
|
14
5
|
export default FooterTop;
|
|
@@ -56,7 +56,7 @@ const Index = ({
|
|
|
56
56
|
<div className={styles.details}>
|
|
57
57
|
<div className={styles.logo}>
|
|
58
58
|
<Link to={item.review_link} className="table-column-gtm">
|
|
59
|
-
<LazyImage src={imagePrettyUrl(item.logo_url, 120, 45)} />
|
|
59
|
+
<LazyImage src={imagePrettyUrl(item.logo_url, 120, 45)} alt={item.name} />
|
|
60
60
|
</Link>
|
|
61
61
|
|
|
62
62
|
<p>{item.name}</p>
|
|
@@ -124,7 +124,10 @@ const Index = ({
|
|
|
124
124
|
<div className={styles.licenses}>
|
|
125
125
|
{licenses_list &&
|
|
126
126
|
licenses_list.map((res) => (
|
|
127
|
-
<LazyImage
|
|
127
|
+
<LazyImage
|
|
128
|
+
src={imagePrettyUrl(res.logo_filename, 63, 32)}
|
|
129
|
+
alt={`license ${res.logo_filename}`}
|
|
130
|
+
/>
|
|
128
131
|
))}
|
|
129
132
|
{licenses_list?.length > 3 && licensesMore ? (
|
|
130
133
|
<FaAngleDown
|
|
@@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
|
|
|
4
4
|
import keygen from 'gatsby-core-theme/src/helpers/keygen';
|
|
5
5
|
import { Context } from 'gatsby-core-theme/src/context/TranslationsProvider';
|
|
6
6
|
import Form from 'gatsby-core-theme/src/components/organisms/form';
|
|
7
|
-
import Header from '
|
|
7
|
+
import Header from 'gatsby-core-theme/src/components/molecules/header';
|
|
8
8
|
import AuthorCard from '../../atoms/author-card';
|
|
9
9
|
import SocialIcons from '../../atoms/social-icons';
|
|
10
10
|
import styles from './contact-us.module.scss';
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Spotlights from 'gatsby-core-theme/src/components/atoms/spotlights/index';
|
|
3
|
+
import styleTheme from './spotlights-theme.module.scss';
|
|
4
|
+
import styleSite from './spotlights-site.module.scss';
|
|
5
|
+
|
|
6
|
+
export default (props) => (
|
|
7
|
+
<Spotlights
|
|
8
|
+
{...props}
|
|
9
|
+
themeStyles={{
|
|
10
|
+
...styleTheme,
|
|
11
|
+
...styleSite,
|
|
12
|
+
}}
|
|
13
|
+
/>
|
|
14
|
+
);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// To be overriden by sites and add custom styling
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
.testimonials {
|
|
2
|
+
ul {
|
|
3
|
+
li {
|
|
4
|
+
border: 1px solid var(--spotlight-testimonials-border-color);
|
|
5
|
+
border-radius: 0.8rem;
|
|
6
|
+
background-color: var(--spotlight-testimonials-background-color);
|
|
7
|
+
|
|
8
|
+
img {
|
|
9
|
+
border-radius: 8rem;
|
|
10
|
+
width: 15rem !important;
|
|
11
|
+
height: 15rem !important;
|
|
12
|
+
margin: 0 auto;
|
|
13
|
+
object-fit: cover;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
> span,
|
|
17
|
+
label {
|
|
18
|
+
font-size: 1.4rem;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
> label {
|
|
22
|
+
padding-bottom: 0.8rem;
|
|
23
|
+
padding-top: 0.5rem;
|
|
24
|
+
font-size: var(--spotlight-testimonials-label-size);
|
|
25
|
+
color: var(--spotlight-testimonials-label-color);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
> span {
|
|
29
|
+
width: 50%;
|
|
30
|
+
margin: 0 auto;
|
|
31
|
+
font-size: var(--spotlight-testimonials-subtitle-size);
|
|
32
|
+
color: var(--spotlight-testimonials-subtitle-color);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
> div {
|
|
36
|
+
font-size: var(--spotlight-testimonials-text-size);
|
|
37
|
+
color: var(--spotlight-testimonials-text-color);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.boxes_with_icons {
|
|
44
|
+
ul {
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: column;
|
|
47
|
+
|
|
48
|
+
li {
|
|
49
|
+
border: 1px solid var(--spotlight-boxes-border-color);
|
|
50
|
+
background-color: var(--spotlight-boxes-background-color);
|
|
51
|
+
box-sizing: border-box;
|
|
52
|
+
border-radius: .6rem;
|
|
53
|
+
position: relative;
|
|
54
|
+
max-width: 568px;
|
|
55
|
+
margin-left: 4.5rem;
|
|
56
|
+
margin-bottom: 3rem;
|
|
57
|
+
padding: 2.4rem 2.4rem 2.8rem 7.2rem;
|
|
58
|
+
min-height: 15rem;
|
|
59
|
+
text-align: left;
|
|
60
|
+
justify-content: center;
|
|
61
|
+
|
|
62
|
+
> img {
|
|
63
|
+
position: absolute;
|
|
64
|
+
left: -4.5rem;
|
|
65
|
+
top: 50%;
|
|
66
|
+
transform: translateY(-50%);
|
|
67
|
+
display: inline-block;
|
|
68
|
+
min-width: 9.5rem !important;
|
|
69
|
+
width: 9.5rem;
|
|
70
|
+
height: 9.5rem !important;
|
|
71
|
+
border-radius: 50%;
|
|
72
|
+
object-fit: cover;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&:first-of-type {
|
|
76
|
+
margin-top: 3rem;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@include max(mobile) {
|
|
80
|
+
width: auto;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
> label {
|
|
84
|
+
font-size: var(--spotlight-testimonials-label-size);
|
|
85
|
+
color: var(--spotlight-testimonials-label-color);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
> div {
|
|
89
|
+
font-size: var(--spotlight-testimonials-text-size);
|
|
90
|
+
color: var(--spotlight-testimonials-text-color);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
li:nth-child(2n) {
|
|
95
|
+
margin-left: auto;
|
|
96
|
+
@include max(mobile) {
|
|
97
|
+
margin-left: 4.5rem;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
@@ -291,3 +291,19 @@
|
|
|
291
291
|
.alignRight {
|
|
292
292
|
@include content-img-align(right);
|
|
293
293
|
}
|
|
294
|
+
|
|
295
|
+
.contentFrame {
|
|
296
|
+
background-color: #E0EAEA;
|
|
297
|
+
padding: 1.6rem 2.4rem 2.4rem;
|
|
298
|
+
border-radius: .8rem;
|
|
299
|
+
box-sizing: border-box;
|
|
300
|
+
img {
|
|
301
|
+
border-radius: .8rem;
|
|
302
|
+
}
|
|
303
|
+
@include max(mobile) {
|
|
304
|
+
img {
|
|
305
|
+
margin-left: 0;
|
|
306
|
+
width: 100%;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
}
|
|
@@ -81,13 +81,13 @@ const Content = ({ module }) => {
|
|
|
81
81
|
|
|
82
82
|
return (
|
|
83
83
|
<>
|
|
84
|
-
<div
|
|
85
|
-
className={`${
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
84
|
+
<div className={`${styles.content} ${showMore && styles.showMore}`}>
|
|
85
|
+
<div className={`${switchStyle(module.style)}`}>
|
|
86
|
+
{module.value &&
|
|
87
|
+
parse(module.value, {
|
|
88
|
+
replace: replaceMedia,
|
|
89
|
+
})}
|
|
90
|
+
</div>
|
|
91
91
|
</div>
|
|
92
92
|
{showMore && (
|
|
93
93
|
<button type="button" className={styles.button} onClick={handleChange}>
|
|
@@ -82,12 +82,17 @@
|
|
|
82
82
|
flex-direction: column-reverse;
|
|
83
83
|
justify-content: center;
|
|
84
84
|
align-items: center;
|
|
85
|
+
margin-bottom: 3rem;
|
|
86
|
+
|
|
87
|
+
@include min(laptop) {
|
|
88
|
+
margin-bottom: 0;
|
|
89
|
+
}
|
|
85
90
|
|
|
86
91
|
.copyrightDisclaimer {
|
|
87
|
-
|
|
92
|
+
margin: 3rem 0 2rem 0;
|
|
88
93
|
|
|
89
94
|
@include min(laptop) {
|
|
90
|
-
|
|
95
|
+
margin: 3rem 0 2rem 0;
|
|
91
96
|
}
|
|
92
97
|
|
|
93
98
|
p {
|
|
@@ -99,6 +104,10 @@
|
|
|
99
104
|
}
|
|
100
105
|
}
|
|
101
106
|
|
|
107
|
+
.copyrightText {
|
|
108
|
+
order: -1;
|
|
109
|
+
}
|
|
110
|
+
|
|
102
111
|
.logos {
|
|
103
112
|
> ul {
|
|
104
113
|
@include flex-align(center, center);
|
|
@@ -48,16 +48,15 @@ const Footer = ({
|
|
|
48
48
|
|
|
49
49
|
<div className={styles.bottomPart}>
|
|
50
50
|
{footerBottomCustom && <BottomSection section={section} page={page} />}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
</div>
|
|
51
|
+
{copyrightDisclaimerValue && (
|
|
52
|
+
<div
|
|
53
|
+
className={styles.copyrightDisclaimer}
|
|
54
|
+
dangerouslySetInnerHTML={{
|
|
55
|
+
__html: copyrightDisclaimerValue.replace(/\. /g, '.<br />'),
|
|
56
|
+
}}
|
|
57
|
+
/>
|
|
58
|
+
)}
|
|
59
|
+
<p className={styles.copyrightText}>{copyrightText()}</p>
|
|
61
60
|
<div className={styles.logos}>
|
|
62
61
|
{footerLogos && getExtraField(section?.extra_fields, footerLogos) && (
|
|
63
62
|
<LinkList
|
|
File without changes
|
|
@@ -13,19 +13,27 @@ export const headerContent = (props) => {
|
|
|
13
13
|
case 'article_detail':
|
|
14
14
|
case 'article_casino':
|
|
15
15
|
case 'article_sports': {
|
|
16
|
-
ModuleComponent = loadable(() =>
|
|
16
|
+
ModuleComponent = loadable(() =>
|
|
17
|
+
import('../../../../components/molecules/header/variants/article')
|
|
18
|
+
);
|
|
17
19
|
return <ModuleComponent page={props.section.page} />;
|
|
18
20
|
}
|
|
19
21
|
case 'operator_review': {
|
|
20
|
-
ModuleComponent = loadable(() =>
|
|
22
|
+
ModuleComponent = loadable(() =>
|
|
23
|
+
import('../../../../components/molecules/header/variants/operator')
|
|
24
|
+
);
|
|
21
25
|
return <ModuleComponent operator={props.section.page.relation} />;
|
|
22
26
|
}
|
|
23
27
|
case 'game_review': {
|
|
24
|
-
ModuleComponent = loadable(() =>
|
|
28
|
+
ModuleComponent = loadable(() =>
|
|
29
|
+
import('../../../../components/molecules/header/variants/slot')
|
|
30
|
+
);
|
|
25
31
|
return <ModuleComponent page={props.section.page} />;
|
|
26
32
|
}
|
|
27
33
|
case 'author': {
|
|
28
|
-
ModuleComponent = loadable(() =>
|
|
34
|
+
ModuleComponent = loadable(() =>
|
|
35
|
+
import('../../../../components/molecules/header/variants/author')
|
|
36
|
+
);
|
|
29
37
|
return <ModuleComponent page={props.section.page} />;
|
|
30
38
|
}
|
|
31
39
|
default:
|