gatsby-matrix-theme 13.0.14 → 14.0.0

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.
Files changed (86) hide show
  1. package/.storybook/preview.js +3 -0
  2. package/CHANGELOG.md +54 -0
  3. package/package.json +2 -2
  4. package/src/components/atoms/footer/as-seen-on/as-seen-on.module.scss +66 -0
  5. package/src/components/atoms/footer/as-seen-on/index.js +25 -0
  6. package/src/components/atoms/footer/hotline/hotline.module.scss +60 -0
  7. package/src/components/atoms/footer/hotline/index.js +39 -0
  8. package/src/components/atoms/footer/license/index.js +71 -0
  9. package/src/components/atoms/footer/license/license.module.scss +138 -0
  10. package/src/components/atoms/header-operator-bannner/header-operator-bannner.module.scss +78 -80
  11. package/src/components/atoms/rating/index.js +5 -2
  12. package/src/components/atoms/rating/ratings.module.scss +90 -97
  13. package/src/components/molecules/footer/variants/template-one/index.js +126 -0
  14. package/src/components/molecules/footer/variants/template-one/template-one.module.scss +132 -0
  15. package/src/components/molecules/footer/variants/template-one/template-one.stories.js +156 -0
  16. package/src/components/molecules/footer/variants/template-one/template-one.test.js +247 -0
  17. package/src/components/molecules/footer/variants/template-three/index.js +121 -0
  18. package/src/components/molecules/footer/variants/template-three/template-three.module.scss +138 -0
  19. package/src/components/molecules/footer/variants/template-three/template-three.stories.js +156 -0
  20. package/src/components/molecules/footer/variants/template-three/template-three.test.js +247 -0
  21. package/src/components/molecules/footer/variants/template-two/index.js +123 -0
  22. package/src/components/molecules/footer/variants/template-two/template-two.module.scss +138 -0
  23. package/src/components/molecules/footer/variants/template-two/template-two.stories.js +156 -0
  24. package/src/components/molecules/footer/variants/template-two/template-two.test.js +246 -0
  25. package/src/components/molecules/header/variants/author/template-one/template-one.module.scss +0 -11
  26. package/src/components/molecules/header/variants/default/template-one/index.js +3 -3
  27. package/src/components/molecules/header/variants/default/template-one/template-one.stories.js +1 -1
  28. package/src/components/molecules/header/variants/default/template-one/template-one.test.js +1 -1
  29. package/src/components/molecules/header/variants/payment/template-four/template-four.module.scss +154 -157
  30. package/src/components/molecules/header/variants/payment/template-one-three/index.js +64 -51
  31. package/src/components/molecules/header/variants/payment/template-one-three/template-one-three.module.scss +245 -223
  32. package/src/components/molecules/header/variants/payment/template-two/template-two.module.scss +128 -126
  33. package/src/constants/ratings-constant.js +3 -0
  34. package/src/constants/settings/newsletter.js +1 -1
  35. package/src/gatsby-core-theme/components/molecules/footer/index.js +58 -99
  36. package/src/gatsby-core-theme/components/molecules/header/index.js +1 -0
  37. package/src/gatsby-core-theme/components/molecules/main/index.js +10 -0
  38. package/src/gatsby-core-theme/components/pages/body/index.js +1 -8
  39. package/src/gatsby-core-theme/styles/utils/variables/_colors.scss +54 -0
  40. package/src/gatsby-core-theme/styles/utils/variables/_main.scss +13 -1
  41. package/src/images/security.svg +1 -0
  42. package/static/images/security.svg +1 -0
  43. package/storybook-images/logo.svg +8 -0
  44. package/storybook-images/security.svg +1 -0
  45. package/tests/factories/modules/footer.factory.js +457 -0
  46. package/src/components/atoms/footer/bottom/index.js +0 -5
  47. package/src/components/atoms/footer/top/index.js +0 -5
  48. package/src/gatsby-core-theme/components/molecules/footer/footer.module.scss +0 -152
  49. package/storybook/public/0.799c368cbe88266827ba.manager.bundle.js +0 -1
  50. package/storybook/public/1.9ebd2fb519f6726108de.manager.bundle.js +0 -1
  51. package/storybook/public/10.a85ea1a67689be8e19ff.manager.bundle.js +0 -1
  52. package/storybook/public/11.f4e922583ae35da460f3.manager.bundle.js +0 -2
  53. package/storybook/public/11.f4e922583ae35da460f3.manager.bundle.js.LICENSE.txt +0 -12
  54. package/storybook/public/12.1415460941f0bdcb8fa8.manager.bundle.js +0 -1
  55. package/storybook/public/217.fac05c00.iframe.bundle.js +0 -7
  56. package/storybook/public/217.fac05c00.iframe.bundle.js.LICENSE.txt +0 -84
  57. package/storybook/public/217.fac05c00.iframe.bundle.js.map +0 -1
  58. package/storybook/public/29.81c8da24.iframe.bundle.js +0 -1
  59. package/storybook/public/5.f459d151315e6780c20f.manager.bundle.js +0 -2
  60. package/storybook/public/5.f459d151315e6780c20f.manager.bundle.js.LICENSE.txt +0 -8
  61. package/storybook/public/500.b8a84abc.iframe.bundle.js +0 -1
  62. package/storybook/public/567.18a981a5.iframe.bundle.js +0 -1
  63. package/storybook/public/6.3bd64d820f3745f262ff.manager.bundle.js +0 -1
  64. package/storybook/public/64.044f3a7c.iframe.bundle.js +0 -1
  65. package/storybook/public/7.3d04765dbf3f1dcd706c.manager.bundle.js +0 -1
  66. package/storybook/public/738.be449817.iframe.bundle.js +0 -2
  67. package/storybook/public/738.be449817.iframe.bundle.js.LICENSE.txt +0 -12
  68. package/storybook/public/766.47f12b05.iframe.bundle.js +0 -1
  69. package/storybook/public/8.b541eadfcb9164835dfc.manager.bundle.js +0 -1
  70. package/storybook/public/805.7894ddea.iframe.bundle.js +0 -2
  71. package/storybook/public/805.7894ddea.iframe.bundle.js.LICENSE.txt +0 -8
  72. package/storybook/public/9.411ac8e451bbb10926c7.manager.bundle.js +0 -1
  73. package/storybook/public/974.e2f03aac.iframe.bundle.js +0 -1
  74. package/storybook/public/favicon.ico +0 -0
  75. package/storybook/public/iframe.html +0 -348
  76. package/storybook/public/index.html +0 -51
  77. package/storybook/public/main.58ee6c5c0cfaec21e272.manager.bundle.js +0 -1
  78. package/storybook/public/main.d34ceb05.iframe.bundle.js +0 -1
  79. package/storybook/public/runtime~main.91a0c7330ab317d35c4a.manager.bundle.js +0 -1
  80. package/storybook/public/runtime~main.d8f73f16.iframe.bundle.js +0 -1
  81. package/storybook/public/static/media/check.5e5ea2ac.svg +0 -3
  82. package/storybook/public/static/media/popup-bg.51d14d2d.webp +0 -0
  83. package/storybook/public/static/media/summaryBackground.92dfe7de.jpeg +0 -0
  84. package/storybook/public/static/media/verify.e944570b.svg +0 -11
  85. package/storybook/public/vendors~main.f7f16cebbf3aa96a4f89.manager.bundle.js +0 -2
  86. package/storybook/public/vendors~main.f7f16cebbf3aa96a4f89.manager.bundle.js.LICENSE.txt +0 -110
@@ -1,4 +1,5 @@
1
1
  import '../../node_modules/gatsby-core-theme/gatsby-browser';
2
+ require('../src/gatsby-core-theme/styles/utils/variables/_colors.scss');
2
3
  require('../src/gatsby-core-theme/styles/utils/variables/_main.scss');
3
4
  import React from 'react';
4
5
 
@@ -36,6 +37,8 @@ export const parameters = {
36
37
  'Payment',
37
38
  ['Template One-Three', 'Template Two', 'Template Four'],
38
39
  ],
40
+ 'Footer',
41
+ ['Template One', 'Template Two', 'Template Three'],
39
42
  ],
40
43
  'Atoms',
41
44
  'Molecules',
package/CHANGELOG.md CHANGED
@@ -1,3 +1,57 @@
1
+ # [14.0.0](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v13.0.15...v14.0.0) (2023-03-08)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add property ([7a79088](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/7a79088c96b59dad6923e5d5e3025a017251c5f2))
7
+ * added optinmonstr script ([4ad7699](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/4ad76992cb8d789da7577cc02c949389b9c62060))
8
+ * merged ([205572b](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/205572bb035e5f849b6ae74457ab319bbc552795))
9
+ * optinmonstr account ([afb2631](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/afb2631f5b6af304ded64f314b0d9a8624ab8bf8))
10
+ * optinmonstr account ([caa11b3](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/caa11b3d11f2ac8b78a3a0a6201a7659cb6453e1))
11
+ * optinmonstr fixes ([ff5272c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/ff5272cba9ad29bd259e56f28909019c29313933))
12
+ * optinmonstr fixes ([93f90ec](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/93f90ecba9671882835987bd24c45b4aff7f25f4))
13
+ * payment header ([cb6eef0](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/cb6eef0e762ba68d8085e8ce2194901c3ae3a91c))
14
+ * payment-header ([0bae25a](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/0bae25a8c4f50723c56e18ed32cad1d4a83a37d2))
15
+ * remove newletter nsa ([4e29d1d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/4e29d1d3f977ea78c85038dbd9a83d0ccb0f03ce))
16
+ * removed default folder under footer ([a19a886](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/a19a886b79689cf3ab194d1e639ec4192a97d9ba))
17
+ * update-matrix-version ([82a3ea6](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/82a3ea6ed1a1fb0e26517b808427da25e600f738))
18
+
19
+
20
+ ### Code Refactoring
21
+
22
+ * add css variables to reuse on sitelevel ([c25528e](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c25528e8cf41000de46d531f7644b5554a106f92))
23
+ * add test scripts ([8f86204](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/8f86204f723b96445faf01964e863f1c2cacdb0a))
24
+ * added correct condition for as seen on for template 2 ([1c24c14](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/1c24c14b939fa549a37307b41150b0235a8e10d5))
25
+ * added minor changes to align with site level ([d2b3b37](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/d2b3b374248c9e8dcd67c1a45998bd57aacefd56))
26
+ * correction to hasFooterLinks css class ([239a919](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/239a919fd33461695aef75fc839ba2d7884acad4))
27
+ * correction to tests and show 3 rows of links on all tempalates ([f9987ed](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/f9987ed4f82cb88f0674086b52eeea86ab73a56a))
28
+ * fix temp change ([c6478cd](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c6478cd7327939a08975b19ed60d60d581eb18b6))
29
+ * footer refactoring ([922235e](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/922235eb06a106b4b66b1133214e8f86b37f7ca0))
30
+ * new footer templates ([95cdecf](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/95cdecf34ede752a667832e17fc856512d81a998))
31
+ * remove unnecessary loadables, fix for dmca img ([bc37443](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/bc374431d7c756b5df16efdba757e4b91b8f13c3))
32
+ * revert temp change ([8d9e691](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/8d9e6911aaee1ce50e4e62fa819d4823cbbd985e))
33
+ * show only 3 rows on links and license banner alignment on mobile ([1c4a8bb](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/1c4a8bb4e7ecf3fd710df2c98a4d8ef5d6896fc9))
34
+ * temp change ([d1692d0](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/d1692d05163917ea4b87bf8ed7775e75718c56c2))
35
+ * temp change ([9ea65bc](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/9ea65bcfacfb2aa07e5c810621dd27c0942e1cea))
36
+
37
+
38
+ * Merge branch 'update-matrix-version' into 'master' ([a90d9d2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/a90d9d21d164f5e17c4f024be9172207688b0f91))
39
+ * Merge branch 'tm-3317-payment-review-pages' into 'master' ([88e3b13](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/88e3b13e9e75ffb87404f2fa6c56a175aa513c14))
40
+ * Merge branch 'tm-3303-optinmonstr' into 'master' ([53d8541](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/53d854109eb8cea41ddea6aa8658c1164e37297d))
41
+ * Merge branch 'tm-3298-footer' into 'master' ([ec69056](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/ec690561f8943402c2bbdad2a69ff23493bedec4))
42
+ * Merge branch 'master' into tm-3298-footer ([1c90f75](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/1c90f75b6aedd8654f98fc737bfd045d009bdd69))
43
+ * Merge branch 'master' into tm-3298-footer ([496f555](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/496f555b637e21e8aab36ab7bc55dcddd5a570a8))
44
+ * Merge branch 'master' into tm-3298-footer ([aa69170](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/aa691700e30c98ca942d096c997c2dc3a2e5afc2))
45
+ * Merge branch 'master' into tm-3298-footer ([8166ac2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/8166ac28622d4379f888d76d86a30207ccb22a04))
46
+
47
+ ## [13.0.15](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v13.0.14...v13.0.15) (2023-03-07)
48
+
49
+
50
+ ### Bug Fixes
51
+
52
+ * template one default ([c0a7a19](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c0a7a19be12452587907ca8f5e8da7b0ef86eff5))
53
+ * test ([6a6d10e](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/6a6d10e86db52cbbc4774639ded9d1912ed05306))
54
+
1
55
  ## [13.0.14](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v13.0.13...v13.0.14) (2023-03-06)
2
56
 
3
57
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "13.0.14",
3
+ "version": "14.0.0",
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": "18.0.19",
28
+ "gatsby-core-theme": "18.0.21",
29
29
  "gatsby-plugin-sharp": "^4.10.2",
30
30
  "gatsby-plugin-sitemap": "^3.3.0",
31
31
  "gatsby-transformer-sharp": "^4.10.0",
@@ -0,0 +1,66 @@
1
+
2
+ .asSeenOn {
3
+ background: var(--footer-asSeenOn-background-color);
4
+ border-bottom: var(--footer-asSeenOn-border);
5
+ @include flex-align(flex-start, center);
6
+ flex-direction: column;
7
+ gap: 1.6rem;
8
+ padding: 3.2rem 1.6rem;
9
+
10
+ @include min(tablet) {
11
+ @include flex-align(center, center);
12
+ padding: 48px 0px;
13
+ }
14
+
15
+ > h5,
16
+ > ul {
17
+ @include min(tablet) {
18
+ margin: 0 auto;
19
+ max-width: calc(var(--main-container-max) + var(--side-container));
20
+ }
21
+ }
22
+
23
+ > h5 {
24
+ margin-top: 0;
25
+ margin-bottom: 0;
26
+ color: var(--footer-asSeenOn-text-color, var(--color-49));
27
+ }
28
+
29
+ > ul {
30
+ @include flex-align(center, center);
31
+ flex-wrap: wrap;
32
+
33
+ li {
34
+ padding-right: 1rem;
35
+ padding-bottom: 1rem;
36
+
37
+ @include min(tablet) {
38
+ padding-bottom: 2rem;
39
+ padding-right: 2.5rem;
40
+ }
41
+
42
+ @include min(laptop) {
43
+ padding-bottom: 0;
44
+ }
45
+
46
+ img {
47
+ max-width: 9.5rem;
48
+
49
+ @include min(tablet) {
50
+ max-width: 13rem;
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+
57
+ .templateTwo {
58
+ border: none;
59
+ @include flex-align(flex-start, center);
60
+ padding: 0;
61
+
62
+ > h5,
63
+ > ul {
64
+ margin: 0;
65
+ }
66
+ }
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ import PropTypes from 'prop-types';
3
+ import LinkList from 'gatsby-core-theme/src/components/molecules/link-list';
4
+ import styles from './as-seen-on.module.scss';
5
+
6
+ const AsSeenOn = ({ asSeenOn, template }) => (
7
+ <div className={`${styles.asSeenOn} ${template && styles[template] ? styles[template] : ''}`}>
8
+ <h5>As Seen On:</h5>
9
+ <LinkList
10
+ showListTitle={false}
11
+ imageOnly
12
+ singleList
13
+ lists={asSeenOn}
14
+ gtmClass="mobile-menu-gtm logo-cta"
15
+ disableLazyLoad
16
+ />
17
+ </div>
18
+ );
19
+
20
+ export default AsSeenOn;
21
+
22
+ AsSeenOn.propTypes = {
23
+ asSeenOn: PropTypes.shape({}),
24
+ template: PropTypes.string,
25
+ };
@@ -0,0 +1,60 @@
1
+ .footerHotline {
2
+ @include flex-direction(row);
3
+ padding-bottom: 2rem;
4
+
5
+ > div {
6
+ flex-grow: 3;
7
+ flex-basis: 0;
8
+ }
9
+ }
10
+
11
+ .helpContainer {
12
+ color: var(--footer-text-color, var(--color-49));
13
+ font-weight: var(--footer-helpline-font-weight, 900);
14
+ @include flex-align(center, center);
15
+ flex-direction: column;
16
+
17
+ > p {
18
+ text-align: center;
19
+
20
+ > a {
21
+ text-decoration: underline;
22
+ }
23
+ }
24
+ }
25
+
26
+ .helpText {
27
+ text-align: center;
28
+
29
+ a {
30
+ color: var(--footer-text-color, var(--color-49));
31
+ text-decoration: underline;
32
+ }
33
+ }
34
+
35
+ .phoneNum {
36
+ @include text-background(var(--footer-helpline-background-color), var(--footer-helpline-text-color));
37
+ padding: 0.5rem 2rem;
38
+ width: auto;
39
+ margin: 2rem auto;
40
+
41
+ svg {
42
+ margin-right: 0.5rem;
43
+ color: var(--footer-helpline-icon-color, var(--color-32));
44
+ }
45
+ }
46
+
47
+ .templateTwo {
48
+ @include flex-direction(column);
49
+ padding-bottom: 5rem;
50
+
51
+ @include min(tablet) {
52
+ .helpText {
53
+ text-align: left;
54
+ }
55
+ }
56
+
57
+ @include min(laptop) {
58
+ @include flex-direction(row);
59
+ }
60
+ }
@@ -0,0 +1,39 @@
1
+ /* eslint-disable import/no-extraneous-dependencies */
2
+ import React from 'react';
3
+ import PropTypes from 'prop-types';
4
+ import loadable from '@loadable/component';
5
+ import { MdPhoneInTalk } from '@react-icons/all-files/md/MdPhoneInTalk';
6
+ import styles from './hotline.module.scss';
7
+
8
+ const FooterHotline = ({ showAsSeen, asSeenOn, helpText, phoneNum, template }) => {
9
+ const AsSeenOn = showAsSeen ? loadable(() => import('../as-seen-on')) : null;
10
+
11
+ return (
12
+ <div className={`${styles.footerHotline} ${styles[template] ? styles[template] : ''}`}>
13
+ <div className={styles.helpContainer}>
14
+ <div
15
+ className={styles.helpText}
16
+ // eslint-disable-next-line react/no-danger
17
+ dangerouslySetInnerHTML={{
18
+ __html: helpText,
19
+ }}
20
+ />
21
+ <div className={styles.phoneNum}>
22
+ <MdPhoneInTalk />
23
+ {phoneNum}
24
+ </div>
25
+ </div>
26
+ {showAsSeen && AsSeenOn && <AsSeenOn asSeenOn={asSeenOn} template={template} />}
27
+ </div>
28
+ );
29
+ };
30
+
31
+ FooterHotline.propTypes = {
32
+ showAsSeen: PropTypes.bool,
33
+ asSeenOn: PropTypes.shape({}),
34
+ helpText: PropTypes.string,
35
+ phoneNum: PropTypes.string,
36
+ template: PropTypes.string,
37
+ };
38
+
39
+ export default FooterHotline;
@@ -0,0 +1,71 @@
1
+ /* eslint-disable react/no-danger */
2
+ import React, { useContext } from 'react';
3
+ import PropTypes from 'prop-types';
4
+ import { translate } from 'gatsby-core-theme/src/helpers/getters';
5
+ import LazyImage from 'gatsby-core-theme/src/hooks/lazy-image';
6
+ import LinkList from 'gatsby-core-theme/src/components/molecules/link-list';
7
+ import { Context } from 'gatsby-core-theme/src/context/MainProvider';
8
+ import styles from './license.module.scss';
9
+
10
+ const FooterLicense = ({
11
+ gamblingText,
12
+ socialIcons,
13
+ template,
14
+ logo,
15
+ securityIcon,
16
+ imgWidth,
17
+ imgHeight,
18
+ }) => {
19
+ const { translations } = useContext(Context) || {};
20
+
21
+ return (
22
+ <div className={`${styles.license} ${styles[template] ? styles[template] : ''}`}>
23
+ <div className={styles.logo}>
24
+ <LazyImage
25
+ alt="Site footer logo"
26
+ width={imgWidth || 182}
27
+ height={imgHeight || 48}
28
+ src={logo}
29
+ disableLazyLoad
30
+ />
31
+ </div>
32
+ <div className={styles.security}>
33
+ <LazyImage alt="Security icon" width="26" height="20" src={securityIcon} disableLazyLoad />
34
+ <span className={styles.securityText}>
35
+ {translate(translations, 'licensed_casinos', 'We only list licensed casinos')}
36
+ </span>
37
+ </div>
38
+ {socialIcons && (
39
+ <div className={styles.socialIcons}>
40
+ <LinkList
41
+ width="14"
42
+ height="14"
43
+ singleList
44
+ imageOnly
45
+ lists={socialIcons}
46
+ gtmClass="mobile-menu-gtm logo-cta"
47
+ disableLazyLoad
48
+ />
49
+ </div>
50
+ )}
51
+ {template !== 'templateOne' && gamblingText && (
52
+ <div
53
+ className={styles.gamblingText}
54
+ dangerouslySetInnerHTML={{ __html: gamblingText?.replace(/\. /g, '.<br />') }}
55
+ />
56
+ )}
57
+ </div>
58
+ );
59
+ };
60
+
61
+ FooterLicense.propTypes = {
62
+ gamblingText: PropTypes.string,
63
+ socialIcons: PropTypes.shape({}),
64
+ template: PropTypes.string,
65
+ logo: PropTypes.string,
66
+ securityIcon: PropTypes.string,
67
+ imgWidth: PropTypes.number,
68
+ imgHeight: PropTypes.number,
69
+ };
70
+
71
+ export default FooterLicense;
@@ -0,0 +1,138 @@
1
+ .license {
2
+ @include flex-align(center, space-between);
3
+ flex-direction: column;
4
+ flex-basis: 0;
5
+ flex-grow: 2.7;
6
+ padding-bottom: 4rem;
7
+ gap: 3.2rem;
8
+
9
+ > p {
10
+ text-align: left;
11
+ color: var(--footer-text-color, #f4f3f9);
12
+ margin: 0 auto;
13
+ padding: 2rem 0;
14
+
15
+ @include min(tablet) {
16
+ padding: 1rem 0;
17
+ margin: 0;
18
+ width: 85%;
19
+ }
20
+
21
+ @include min(laptop) {
22
+ width: 60%;
23
+ }
24
+ }
25
+ }
26
+
27
+ .info {
28
+ @include flex-direction(column);
29
+
30
+ @include min(tablet) {
31
+ padding-bottom: 2rem;
32
+ }
33
+
34
+ @include min(laptop) {
35
+ @include flex-direction(row);
36
+ padding-bottom: 4rem;
37
+ }
38
+
39
+ > div > img {
40
+ padding-right: 2rem;
41
+ }
42
+ }
43
+
44
+ .security {
45
+ @include text-background(var(--footer-security-background-color), var(--footer-security-text-color, var(--color-49)));
46
+ width: auto;
47
+ padding: 0.7rem 2rem;
48
+ order: 3;
49
+ @include min(tablet) {
50
+ min-width: 285px;
51
+ }
52
+
53
+ img {
54
+ padding-right: 1rem;
55
+ }
56
+ }
57
+
58
+ .socialIcons {
59
+ ul {
60
+ @include flex-align(center, center);
61
+
62
+ @include min(tablet) {
63
+ @include flex-align(center, flex-start);
64
+ }
65
+
66
+ li {
67
+ padding: 0.9rem;
68
+ background-color: var(--footer-socials-background-color, var(--color-49));
69
+ border-radius: 2rem;
70
+ margin-right: 1rem;
71
+
72
+ a {
73
+ color: var(--footer-text-color, var(--color-4));
74
+ display: flex;
75
+ width: 14px;
76
+ height: 14px;
77
+
78
+ &:hover {
79
+ color: var(--footer-text-color, var(--color-21));
80
+ }
81
+
82
+ svg {
83
+ font-size: 1.2rem;
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+
90
+ .gamblingText {
91
+ order: 4;
92
+ }
93
+
94
+ .templateOne {
95
+ @include min(tablet) {
96
+ padding-bottom: 6rem;
97
+ flex-direction: row;
98
+
99
+ .socialIcons {
100
+ order: -1;
101
+ }
102
+ }
103
+ }
104
+
105
+ .templateTwo,
106
+ .templateThree {
107
+ @include min(tablet) {
108
+ flex-wrap: wrap;
109
+ @include flex-align(flex-start, space-between);
110
+ flex-direction: row;
111
+ gap: unset;
112
+ flex: 0 1 480px;
113
+
114
+ .socialIcons {
115
+ padding: 4rem 0;
116
+ }
117
+ }
118
+
119
+ .gamblingText,
120
+ .socialIcons {
121
+ flex-basis: 100%;
122
+ }
123
+
124
+ .security {
125
+ @include min(tablet) {
126
+ margin: 2rem 0;
127
+ position: absolute;
128
+ top: 3.5rem;
129
+ left: 50%;
130
+ }
131
+
132
+ @include min(laptop) {
133
+ position: inherit;
134
+ margin: 0;
135
+ order: unset;
136
+ }
137
+ }
138
+ }
@@ -1,100 +1,98 @@
1
1
  .operatorBanner {
2
- display: grid;
3
- gap: .8rem;
4
- align-items: center;
5
- grid-template-columns: .1fr 1fr auto;
6
- border-radius: 8px;
7
- background: #1C1A28;
8
- border: 1px solid #E9E9E9;
9
- padding: .8rem;
10
-
11
- >a {
12
- justify-self: end;
13
- align-self: center;
14
-
15
- @include max(mobile) {
16
- padding: .8rem 2.1rem;
17
- font-size: 14px;
18
- line-height: 18px;
19
- border-radius: 8px;
20
- }
2
+ display: grid;
3
+ gap: 0.8rem;
4
+ align-items: center;
5
+ grid-template-columns: 0.1fr 1fr auto;
6
+ border-radius: 8px;
7
+ background: #1c1a28;
8
+ border: 1px solid #e9e9e9;
9
+ padding: 0.8rem;
10
+
11
+ > a {
12
+ justify-self: end;
13
+ align-self: center;
14
+
15
+ @include max(mobile) {
16
+ padding: 0.8rem 2.1rem;
17
+ font-size: 14px;
18
+ line-height: 18px;
19
+ border-radius: 8px;
21
20
  }
21
+ }
22
22
 
23
- >img {
24
- width: 4rem;
25
- height: 4rem;
26
- min-width: 4rem;
27
- border-radius: 8px;
28
- background-color: white;
29
- border: 1px solid #6B6A72;
30
- flex: none;
31
-
32
- @include min(tablet) {
33
- min-width: 6.4rem;
34
- width: 6.4rem;
35
- height: 6.4rem;
36
- }
37
- }
23
+ > img {
24
+ width: 4rem;
25
+ height: 4rem;
26
+ min-width: 4rem;
27
+ border-radius: 8px;
28
+ background-color: white;
29
+ border: 1px solid #6b6a72;
30
+ flex: none;
38
31
 
39
32
  @include min(tablet) {
40
- gap: 1.6rem;
41
- border-radius: 16px;
42
- padding: 1.6rem 2.4rem;
43
- grid-template-columns: .1fr 2fr 1fr;
33
+ min-width: 6.4rem;
34
+ width: 6.4rem;
35
+ height: 6.4rem;
44
36
  }
37
+ }
38
+
39
+ @include min(tablet) {
40
+ gap: 1.6rem;
41
+ border-radius: 16px;
42
+ padding: 1.6rem 2.4rem;
43
+ grid-template-columns: 0.1fr 2fr 1fr;
44
+ }
45
45
  }
46
46
 
47
47
  .bonus {
48
- display: flex;
49
-
50
-
51
- >div {
52
- >span {
53
- font-weight: 700;
54
- font-size: 12px;
55
- line-height: 20px;
56
- color: white;
57
- padding-right: 0rem;
58
-
59
- @include min(tablet) {
60
- font-size: 16px;
61
- line-height: 27px;
62
- }
63
-
64
- }
65
- }
66
-
67
- @include min(tablet) {
68
- flex-direction: column;
69
-
48
+ display: flex;
49
+
50
+ > div {
51
+ > span {
52
+ font-weight: 700;
53
+ font-size: 12px;
54
+ line-height: 20px;
55
+ color: white;
56
+ padding-right: 0rem;
57
+
58
+ @include min(tablet) {
59
+ font-size: 16px;
60
+ line-height: 27px;
61
+ }
70
62
  }
63
+ }
71
64
 
65
+ @include min(tablet) {
66
+ flex-direction: column;
67
+ }
72
68
  }
73
69
 
74
70
  .bonusTitle {
75
- display: none;
71
+ display: none;
76
72
 
77
- @include min(tablet) {
78
- display: block;
79
- font-size: 20px;
80
- line-height: 30px;
81
- font-weight: 700;
82
- text-transform: capitalize;
83
- color: #5CE482;
84
- }
73
+ @include min(tablet) {
74
+ display: block;
75
+ font-weight: 700;
76
+ font-size: 16px;
77
+ line-height: 24px;
78
+ margin-bottom: 0.4rem;
79
+ text-transform: capitalize;
80
+ color: #5ce482;
81
+ text-transform: uppercase;
82
+ }
85
83
  }
86
84
 
87
85
  .coming_soon,
88
86
  .inactive,
89
87
  .not_recommended {
90
- font-size: 16px;
91
- line-height: 22px;
92
- font-weight: 700;
93
- color: #FFFFFF;
94
- text-transform: capitalize;
95
-
96
- @include min(tablet) {
97
- font-size: 20px;
98
- line-height: 30px;
99
- }
100
- }
88
+ font-size: 16px;
89
+ line-height: 22px;
90
+ font-weight: 700;
91
+ color: #ffffff;
92
+ text-transform: capitalize;
93
+
94
+ @include min(tablet) {
95
+ font-size: 20px;
96
+ line-height: 30px;
97
+ }
98
+ }