gatsby-matrix-theme 4.0.0 → 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 +20 -0
- package/package.json +2 -2
- 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/footer/bottom/index.js +1 -10
- package/src/components/atoms/footer/top/index.js +1 -10
- 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/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 +2 -1
- 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 +1 -1
- 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/{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.6967d34e.iframe.bundle.js → 5.d5718771.iframe.bundle.js} +3 -3
- package/storybook/public/{5.6967d34e.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.892dc208.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.0a927976.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 -182
- 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.6967d34e.iframe.bundle.js.map +0 -1
- package/storybook/public/9.f220a5b6.iframe.bundle.js.map +0 -1
- package/storybook/public/main.e69fd645.iframe.bundle.js +0 -1
- package/storybook/public/runtime~main.3d3135a4.iframe.bundle.js +0 -1
- package/storybook/public/vendors~main.0a927976.iframe.bundle.js +0 -7
- package/storybook/public/vendors~main.0a927976.iframe.bundle.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
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
|
+
|
|
1
21
|
# [4.0.0](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.28...v4.0.0) (2022-02-16)
|
|
2
22
|
|
|
3
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gatsby-matrix-theme",
|
|
3
|
-
"version": "4.0.
|
|
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;
|
|
@@ -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
|
+
}
|
|
@@ -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:
|
|
@@ -5,9 +5,10 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import loadable from '@loadable/component';
|
|
6
6
|
import { anchorLink } from 'gatsby-core-theme/src/helpers/strings';
|
|
7
7
|
import { prettyTracker, getSectionExtraField } from 'gatsby-core-theme/src/helpers/getters';
|
|
8
|
-
import styles from 'gatsby-core-theme/src/components/molecules/module/module.module.scss';
|
|
9
8
|
import ModuleTitle from 'gatsby-core-theme/src/components/atoms/module-title';
|
|
10
9
|
|
|
10
|
+
import styles from './module.module.scss';
|
|
11
|
+
|
|
11
12
|
const Modules = ({ module, page, pageContext }) => {
|
|
12
13
|
const GetModuleComponent = (moduleItem) => {
|
|
13
14
|
switch (moduleItem.name) {
|
|
@@ -15,7 +16,7 @@ const Modules = ({ module, page, pageContext }) => {
|
|
|
15
16
|
case 'content':
|
|
16
17
|
return loadable(() => import('../content'));
|
|
17
18
|
case 'top_list':
|
|
18
|
-
return loadable(() => import('
|
|
19
|
+
return loadable(() => import('gatsby-core-theme/src/components/organisms/toplist'));
|
|
19
20
|
case 'archive':
|
|
20
21
|
if (!moduleItem.items || moduleItem.items.length === 0) return null;
|
|
21
22
|
return loadable(() => import('../../organisms/archive'));
|
|
@@ -70,7 +71,7 @@ const Modules = ({ module, page, pageContext }) => {
|
|
|
70
71
|
return loadable(() => import('gatsby-core-theme/src/components/atoms/operator-info-block'));
|
|
71
72
|
case 'info_grid':
|
|
72
73
|
case 'information_grid':
|
|
73
|
-
return loadable(() => import('
|
|
74
|
+
return loadable(() => import('gatsby-core-theme/src/components/atoms/info-grid'));
|
|
74
75
|
case 'content_box':
|
|
75
76
|
return loadable(() => import('gatsby-core-theme/src/components/atoms/content-box'));
|
|
76
77
|
case 'timeline':
|
|
@@ -5,7 +5,6 @@ import { navigate } from 'gatsby';
|
|
|
5
5
|
import { FaSearch } from 'react-icons/fa';
|
|
6
6
|
import loadable from '@loadable/component';
|
|
7
7
|
import Tabs from 'gatsby-matrix-theme/src/hooks/tabs';
|
|
8
|
-
import styles from 'gatsby-core-theme/src/components/molecules/search/search.module.scss';
|
|
9
8
|
import { translate } from 'gatsby-core-theme/src/helpers/getters';
|
|
10
9
|
import { Context } from 'gatsby-core-theme/src/context/TranslationsProvider';
|
|
11
10
|
|
|
@@ -21,6 +20,8 @@ import { NavigationContext } from '~organisms/navigation/navigationContext';
|
|
|
21
20
|
|
|
22
21
|
/* eslint-disable no-underscore-dangle */
|
|
23
22
|
|
|
23
|
+
import styles from './search.module.scss';
|
|
24
|
+
|
|
24
25
|
const Search = ({
|
|
25
26
|
searchIcon = null,
|
|
26
27
|
uniqueField = 'id',
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
.form {
|
|
2
|
+
width: 50%;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
position: absolute;
|
|
6
|
+
top: 10%;
|
|
7
|
+
left: 50%;
|
|
8
|
+
transform: translateX(-50%);
|
|
9
|
+
|
|
10
|
+
input {
|
|
11
|
+
width: 100%;
|
|
12
|
+
padding: 3rem 2rem;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.searchButton {
|
|
16
|
+
position: absolute;
|
|
17
|
+
right: 0;
|
|
18
|
+
top: 0.6rem;
|
|
19
|
+
padding: 2rem;
|
|
20
|
+
|
|
21
|
+
svg {
|
|
22
|
+
font-size: 3rem;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.searchGrid {
|
|
28
|
+
display: grid;
|
|
29
|
+
grid-template-columns: repeat(3, 1fr);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.loading {
|
|
33
|
+
width: 150px;
|
|
34
|
+
height: 20px;
|
|
35
|
+
display: block;
|
|
36
|
+
}
|
|
37
|
+
.selectwrapper {
|
|
38
|
+
position: relative;
|
|
39
|
+
}
|
|
@@ -38,23 +38,20 @@ function Anchor({ module: { items }, headerOffset = 80, isFixed = false, icon =
|
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
|
+
|
|
41
42
|
return (
|
|
42
|
-
<div id="faq-container">
|
|
43
|
-
|
|
44
|
-
<
|
|
45
|
-
{
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</a>
|
|
55
|
-
))}
|
|
56
|
-
</div>
|
|
57
|
-
</div>
|
|
43
|
+
<div id="faq-container" className={`${styles.anchor} ${isFixedMenu && styles.isFixed}`}>
|
|
44
|
+
{items?.map((anchor) => (
|
|
45
|
+
<a
|
|
46
|
+
className={`${styles.link} anchor-carousel-gtm anchor-menu-gtm`}
|
|
47
|
+
key={keygen()}
|
|
48
|
+
onClick={handleClick}
|
|
49
|
+
href={`#${anchor.label && anchorLink(anchor?.label?.toLowerCase().trim())}`}
|
|
50
|
+
>
|
|
51
|
+
{anchor.label}
|
|
52
|
+
{icon}
|
|
53
|
+
</a>
|
|
54
|
+
))}
|
|
58
55
|
</div>
|
|
59
56
|
);
|
|
60
57
|
}
|
|
@@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
|
|
|
4
4
|
import keygen from '~helpers/keygen';
|
|
5
5
|
import List from './list';
|
|
6
6
|
import Tabs from '~hooks/tabs';
|
|
7
|
-
import Row from '
|
|
7
|
+
import Row from '../../../../components/molecules/toplist/row/variant-one';
|
|
8
8
|
|
|
9
9
|
// eslint-disable-next-line no-unused-vars
|
|
10
10
|
const TopList = ({ module, toplistHeading, CustomRow, page }) => {
|
|
File without changes
|
package/src/{components → gatsby-core-theme/components}/organisms/toplist/list/list.module.scss
RENAMED
|
File without changes
|
|
@@ -8,7 +8,7 @@ import Navigation from 'gatsby-core-theme/src/components/organisms/navigation';
|
|
|
8
8
|
import ScrollToTop from 'gatsby-core-theme/src/components/atoms/scroll-to-top';
|
|
9
9
|
import CookieConsent from 'gatsby-core-theme/src/components/organisms/cookie-consent';
|
|
10
10
|
import Main from 'gatsby-core-theme/src/components/molecules/main';
|
|
11
|
-
import Header from '
|
|
11
|
+
import Header from 'gatsby-core-theme/src/components/molecules/header';
|
|
12
12
|
import Footer from '../../molecules/footer';
|
|
13
13
|
import LinkMenu from '../../../../components/atoms/link-menu';
|
|
14
14
|
import FooterTop from '../../../../components/atoms/footer/top';
|
|
@@ -83,4 +83,22 @@
|
|
|
83
83
|
--comparison-currencies-text-color: #000;
|
|
84
84
|
--comparison-currencies-background-color: #fff;
|
|
85
85
|
--comparison-header-text-transform: uppercase;
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
// Spotlight
|
|
89
|
+
--spotlight-testimonials-border-color: #000;
|
|
90
|
+
--spotlight-testimonials-background-color: #fff;
|
|
91
|
+
--spotlight-testimonials-label-color: #ff893f;
|
|
92
|
+
--spotlight-testimonials-label-size: 2rem;
|
|
93
|
+
--spotlight-testimonials-subtitle-color: #000;
|
|
94
|
+
--spotlight-testimonials-subtitle-size: 1.4rem;
|
|
95
|
+
--spotlight-testimonials-text-color: #000;
|
|
96
|
+
--spotlight-testimonials-text-size: 1.6rem;
|
|
97
|
+
|
|
98
|
+
--spotlight-boxes-border-color: #000;
|
|
99
|
+
--spotlight-boxes-background-color: #fff;
|
|
100
|
+
--spotlight-testimonials-label-color: #000;
|
|
101
|
+
--spotlight-testimonials-label-size: 1.8rem;
|
|
102
|
+
--spotlight-testimonials-text-color: #000;
|
|
103
|
+
--spotlight-testimonials-text-size: 1.4rem;
|
|
86
104
|
}
|