gatsby-matrix-theme 19.0.3 → 19.0.5
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 +26 -0
- package/package.json +2 -2
- package/src/components/atoms/cards/article-card/template-one/index.js +8 -10
- package/src/components/atoms/cards/author/template-one/template-one.module.scss +1 -1
- package/src/components/atoms/cards/author/template-two/template-two.module.scss +1 -1
- package/src/components/atoms/cards/game-cards/index.js +1 -3
- package/src/components/atoms/cards/game-cards/template-five/index.js +7 -4
- package/src/components/atoms/cards/game-cards/template-five/template-five.stories.js +10 -4
- package/src/components/atoms/cards/game-cards/template-five/template-five.test.js +1 -1
- package/src/components/atoms/cards/game-cards/template-four/index.js +7 -4
- package/src/components/atoms/cards/game-cards/template-four/template-four.test.js +1 -1
- package/src/components/atoms/cards/game-cards/template-one/index.js +7 -4
- package/src/components/atoms/cards/game-cards/template-one/template-one.module.scss +1 -1
- package/src/components/atoms/cards/game-cards/template-one/template-one.test.js +1 -1
- package/src/components/atoms/cards/game-cards/template-three/index.js +7 -4
- package/src/components/atoms/cards/game-cards/template-three/template-three.module.scss +1 -1
- package/src/components/atoms/cards/game-cards/template-three/template-three.test.js +1 -1
- package/src/components/atoms/cards/game-cards/template-two/index.js +7 -4
- package/src/components/atoms/cards/game-cards/template-two/template-two.module.scss +1 -1
- package/src/components/atoms/cards/game-cards/template-two/template-two.test.js +1 -1
- package/src/components/atoms/cards/operator-card/template-four/index.js +1 -0
- package/src/components/atoms/cards/operator-card/template-four/template-four.module.scss +1 -11
- package/src/components/atoms/cards/operator-card/template-one/index.js +1 -0
- package/src/components/atoms/cards/operator-card/template-one/template-one.module.scss +3 -12
- package/src/components/atoms/cards/operator-card/template-three/index.js +1 -0
- package/src/components/atoms/cards/operator-card/template-three/template-three.module.scss +2 -11
- package/src/components/atoms/cards/operator-card/template-two/index.js +1 -0
- package/src/components/atoms/cards/operator-card/template-two/template-two.module.scss +3 -10
- package/src/components/atoms/cards/payment-method/template-one/index.js +1 -1
- package/src/components/atoms/cards/payment-method/template-one/template-one.module.scss +2 -6
- package/src/components/atoms/cards/payment-method/template-three/index.js +1 -1
- package/src/components/atoms/cards/payment-method/template-three/template-three.module.scss +3 -7
- package/src/components/atoms/cards/software-provider-card/index.js +33 -37
- package/src/components/molecules/header/variants/author/assets/portrait/index.js +0 -8
- package/src/components/molecules/header/variants/author/template-four/index.js +12 -2
- package/src/components/molecules/header/variants/author/template-four/template-four.module.scss +16 -0
- package/src/components/molecules/header/variants/author/template-four/template-four.stories.js +6 -1
- package/src/components/molecules/header/variants/author/template-four/template-four.test.js +22 -19
- package/src/components/molecules/header/variants/author/template-one/index.js +8 -1
- package/src/components/molecules/header/variants/author/template-one/template-one.module.scss +14 -1
- package/src/components/molecules/header/variants/author/template-one/template-one.stories.js +6 -1
- package/src/components/molecules/header/variants/author/template-one/template-one.test.js +6 -1
- package/src/components/molecules/header/variants/author/template-three/index.js +8 -1
- package/src/components/molecules/header/variants/author/template-three/template-three.module.scss +14 -0
- package/src/components/molecules/header/variants/author/template-three/template-three.stories.js +6 -1
- package/src/components/molecules/header/variants/author/template-three/template-three.test.js +23 -20
- package/src/components/molecules/header/variants/author/template-two/index.js +8 -1
- package/src/components/molecules/header/variants/author/template-two/template-two.module.scss +14 -0
- package/src/components/molecules/header/variants/author/template-two/template-two.stories.js +6 -1
- package/src/components/molecules/header/variants/author/template-two/template-two.test.js +23 -20
- package/storybook/public/{454.9a63456f.iframe.bundle.js → 627.44a6c91f.iframe.bundle.js} +4 -4
- package/storybook/public/{454.9a63456f.iframe.bundle.js.map → 627.44a6c91f.iframe.bundle.js.map} +1 -1
- package/storybook/public/iframe.html +1 -1
- package/storybook/public/main.c96ee0d7.iframe.bundle.js +1 -0
- package/storybook/public/runtime~main.62b34c07.iframe.bundle.js +1 -0
- package/src/components/atoms/cards/author-card/author-card.module.scss +0 -42
- package/src/components/atoms/cards/author-card/index.js +0 -47
- package/src/components/atoms/cards/base-card/base-card.module.scss +0 -64
- package/src/components/atoms/cards/base-card/index.js +0 -59
- package/src/components/atoms/cards/game-card/game-card.module.scss +0 -52
- package/src/components/atoms/cards/game-card/index.js +0 -162
- package/src/components/atoms/cards/game-card-two/game-card-two.module.scss +0 -52
- package/src/components/atoms/cards/game-card-two/index.js +0 -112
- package/src/gatsby-core-theme/components/organisms/cards/cards.stories.js +0 -118
- package/storybook/public/125.30ce29b9.iframe.bundle.js +0 -1
- package/storybook/public/main.cb6b7768.iframe.bundle.js +0 -1
- package/storybook/public/runtime~main.cb33aa33.iframe.bundle.js +0 -1
- /package/storybook/public/{454.9a63456f.iframe.bundle.js.LICENSE.txt → 627.44a6c91f.iframe.bundle.js.LICENSE.txt} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,29 @@
|
|
|
1
|
+
## [19.0.5](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v19.0.4...v19.0.5) (2023-04-13)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* fix for article default banner and add vars for bards bg ([83a98e7](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/83a98e74bfd5c483e149776bfcd609d37cd86347))
|
|
7
|
+
* game card with operators logic ([600348d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/600348dcf0f4e455e9ad39c85fb200c6f966a4a5))
|
|
8
|
+
|
|
9
|
+
## [19.0.4](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v19.0.3...v19.0.4) (2023-04-13)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* cards and author header ([6438baa](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/6438baa0944d657e56da349fe4fe31af0830ec4e))
|
|
15
|
+
* fix for tnc issue ([b3c3d43](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/b3c3d43cd2fc4962cd582e423dfd3b9223cd0f88))
|
|
16
|
+
* tests ([3e947ee](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/3e947ee6ac5da548ae9e50d718c4941f4a557e8f))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Config
|
|
20
|
+
|
|
21
|
+
* update to latest core theme ([c99e868](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c99e8688885628d77861cf9ba4fbe42419bac3cc))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
* Merge branch 'tm-tnc-issue' into 'master' ([0346e41](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/0346e4132b231811e8cc900999943b98f1c12b64))
|
|
25
|
+
* Merge branch 'cards-fixes-alignment' into 'master' ([87caa40](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/87caa404c76e22f4676693b6803b5f3016b96127))
|
|
26
|
+
|
|
1
27
|
## [19.0.3](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v19.0.2...v19.0.3) (2023-04-12)
|
|
2
28
|
|
|
3
29
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gatsby-matrix-theme",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.5",
|
|
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": "20.0.
|
|
28
|
+
"gatsby-core-theme": "20.0.2",
|
|
29
29
|
"gatsby-plugin-sharp": "^4.10.2",
|
|
30
30
|
"gatsby-plugin-sitemap": "^3.3.0",
|
|
31
31
|
"gatsby-transformer-sharp": "^4.10.0",
|
|
@@ -5,6 +5,7 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import Link from 'gatsby-core-theme/src/hooks/link';
|
|
6
6
|
import { imagePrettyUrl, translate } from 'gatsby-core-theme/src/helpers/getters';
|
|
7
7
|
import LazyImage from 'gatsby-core-theme/src/hooks/lazy-image';
|
|
8
|
+
import GatsbyImg from 'gatsby-core-theme/src/hooks/gatsby-img';
|
|
8
9
|
import { formatDate } from '~helpers/date-time';
|
|
9
10
|
import { Context } from '~context/MainProvider';
|
|
10
11
|
import styles from './article-card.module.scss';
|
|
@@ -25,16 +26,13 @@ const ArticleCard = ({
|
|
|
25
26
|
|
|
26
27
|
return (
|
|
27
28
|
<div className={styles.article}>
|
|
28
|
-
{
|
|
29
|
-
|
|
30
|
-
<LazyImage
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
/>
|
|
36
|
-
</Link>
|
|
37
|
-
)}
|
|
29
|
+
<Link to={path} className={`${styles.image} article-card-gtm`} aria-label={`${title} Link`}>
|
|
30
|
+
{banner ? (
|
|
31
|
+
<LazyImage width={width} height={height} src={imagePrettyUrl(banner)} alt={title} />
|
|
32
|
+
) : (
|
|
33
|
+
<GatsbyImg alt={title} width="100%" height="100%" filename="default-article.jpg" />
|
|
34
|
+
)}
|
|
35
|
+
</Link>
|
|
38
36
|
<div className={`${styles.cardContent}`}>
|
|
39
37
|
<Link to={path} className="article-card-gtm">
|
|
40
38
|
<span className={styles.cardTitle}>{title}</span>
|
|
@@ -3,8 +3,6 @@ import loadable from '@loadable/component';
|
|
|
3
3
|
|
|
4
4
|
export default (template) => {
|
|
5
5
|
switch (template) {
|
|
6
|
-
case 'template_one':
|
|
7
|
-
return loadable(() => import(`./template-one`));
|
|
8
6
|
case 'template_two':
|
|
9
7
|
return loadable(() => import(`./template-two`));
|
|
10
8
|
case 'template_three':
|
|
@@ -14,6 +12,6 @@ export default (template) => {
|
|
|
14
12
|
case 'template_five':
|
|
15
13
|
return loadable(() => import(`./template-five`));
|
|
16
14
|
default:
|
|
17
|
-
return loadable(() => import(
|
|
15
|
+
return loadable(() => import(`./template-one`));
|
|
18
16
|
}
|
|
19
17
|
};
|
|
@@ -31,7 +31,8 @@ const TemplateFive = ({
|
|
|
31
31
|
const { relation, title, path, banner } = item;
|
|
32
32
|
const { translations } = useContext(Context) || {};
|
|
33
33
|
const featured = !!getSectionExtraField(null, item, 'card_background_image');
|
|
34
|
-
const operator = item.extra_fields?.
|
|
34
|
+
const operator = item.extra_fields?.operator;
|
|
35
|
+
const provider = relation?.game_provider;
|
|
35
36
|
const gameImage = (useThumbnail && relation?.thumbnail_filename_object?.filename) || banner;
|
|
36
37
|
const operatorLogo = operator?.logo_url_object || operator?.logo_filename_object;
|
|
37
38
|
const operatorText = operator?.one_liners?.main?.one_liner
|
|
@@ -87,12 +88,14 @@ const TemplateFive = ({
|
|
|
87
88
|
alt={getAltText(operatorLogo, title)}
|
|
88
89
|
/>
|
|
89
90
|
)}
|
|
90
|
-
{operator
|
|
91
|
+
{operator && operator.path ? (
|
|
91
92
|
<Link to={operator.path} className={styles.cardProvider}>
|
|
92
93
|
{operatorText}
|
|
93
94
|
</Link>
|
|
94
95
|
) : (
|
|
95
|
-
<
|
|
96
|
+
<Link to={provider?.path} className={styles.cardProvider}>
|
|
97
|
+
<div className={styles.cardProvider}>{provider?.name}</div>
|
|
98
|
+
</Link>
|
|
96
99
|
)}
|
|
97
100
|
{affilateLink ? (
|
|
98
101
|
<>
|
|
@@ -155,7 +158,7 @@ TemplateFive.propTypes = {
|
|
|
155
158
|
path: PropTypes.string,
|
|
156
159
|
banner: PropTypes.string,
|
|
157
160
|
extra_fields: PropTypes.shape({
|
|
158
|
-
|
|
161
|
+
operator: PropTypes.shape({
|
|
159
162
|
status: PropTypes.string,
|
|
160
163
|
name: PropTypes.string,
|
|
161
164
|
path: PropTypes.string,
|
|
@@ -33,10 +33,8 @@ Default.args = {
|
|
|
33
33
|
...card,
|
|
34
34
|
banner: '',
|
|
35
35
|
title: 'Wolf Gold',
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
rating: '4.5',
|
|
39
|
-
game_provider: {
|
|
36
|
+
extra_fields: {
|
|
37
|
+
operator: {
|
|
40
38
|
name: 'Wildz',
|
|
41
39
|
path: 'wildz-casino',
|
|
42
40
|
one_liners: {
|
|
@@ -46,6 +44,14 @@ Default.args = {
|
|
|
46
44
|
},
|
|
47
45
|
},
|
|
48
46
|
},
|
|
47
|
+
relation: {
|
|
48
|
+
...card.relation,
|
|
49
|
+
rating: '4.5',
|
|
50
|
+
game_provider: {
|
|
51
|
+
name: 'Wildz',
|
|
52
|
+
path: 'wildz-casino',
|
|
53
|
+
},
|
|
54
|
+
},
|
|
49
55
|
},
|
|
50
56
|
translations: {
|
|
51
57
|
play_now_slots: 'Play Slots LANG',
|
|
@@ -30,7 +30,8 @@ const TemplateFour = ({
|
|
|
30
30
|
const { relation, title, path, banner } = item;
|
|
31
31
|
const { translations } = useContext(Context) || {};
|
|
32
32
|
const featured = !!getSectionExtraField(null, item, 'card_background_image');
|
|
33
|
-
const operator = item.extra_fields?.
|
|
33
|
+
const operator = item.extra_fields?.operator;
|
|
34
|
+
const provider = relation?.game_provider;
|
|
34
35
|
const gameImage = (useThumbnail && relation?.thumbnail_filename_object?.filename) || banner;
|
|
35
36
|
const StarRating = useOneStarRating
|
|
36
37
|
? loadable(() => import('gatsby-core-theme/src/components/molecules/star-rating/one-star'))
|
|
@@ -71,12 +72,14 @@ const TemplateFour = ({
|
|
|
71
72
|
<div className={styles.cardInner}>
|
|
72
73
|
<span>
|
|
73
74
|
Game Powered by:
|
|
74
|
-
{operator
|
|
75
|
+
{operator && operator.path ? (
|
|
75
76
|
<Link to={operator.path} className={styles.cardProvider}>
|
|
76
77
|
{operator.name}
|
|
77
78
|
</Link>
|
|
78
79
|
) : (
|
|
79
|
-
<
|
|
80
|
+
<Link to={provider?.path} className={styles.cardProvider}>
|
|
81
|
+
<div className={styles.cardProvider}>{provider?.name}</div>
|
|
82
|
+
</Link>
|
|
80
83
|
)}
|
|
81
84
|
</span>
|
|
82
85
|
{affilateLink ? (
|
|
@@ -136,7 +139,7 @@ TemplateFour.propTypes = {
|
|
|
136
139
|
path: PropTypes.string,
|
|
137
140
|
banner: PropTypes.string,
|
|
138
141
|
extra_fields: PropTypes.shape({
|
|
139
|
-
|
|
142
|
+
operator: PropTypes.shape({
|
|
140
143
|
status: PropTypes.string,
|
|
141
144
|
name: PropTypes.string,
|
|
142
145
|
path: PropTypes.string,
|
|
@@ -31,7 +31,8 @@ const TemplateOne = ({
|
|
|
31
31
|
const { relation, title, path, banner } = item;
|
|
32
32
|
const { translations } = useContext(Context) || {};
|
|
33
33
|
const featured = !!getSectionExtraField(null, item, 'card_background_image');
|
|
34
|
-
const operator = item.extra_fields?.
|
|
34
|
+
const operator = item.extra_fields?.operator;
|
|
35
|
+
const provider = relation?.game_provider;
|
|
35
36
|
const gameImage = (useThumbnail && relation?.thumbnail_filename_object?.filename) || banner;
|
|
36
37
|
const StarRating = useOneStarRating
|
|
37
38
|
? loadable(() => import('gatsby-core-theme/src/components/molecules/star-rating/one-star'))
|
|
@@ -56,12 +57,14 @@ const TemplateOne = ({
|
|
|
56
57
|
<span className={styles.cardTitle}>{title}</span>
|
|
57
58
|
</Link>
|
|
58
59
|
<div className={styles.cardInner}>
|
|
59
|
-
{operator
|
|
60
|
+
{operator && operator.path ? (
|
|
60
61
|
<Link to={operator.path} className={styles.cardProvider}>
|
|
61
62
|
{operator.name}
|
|
62
63
|
</Link>
|
|
63
64
|
) : (
|
|
64
|
-
<
|
|
65
|
+
<Link to={provider?.path} className={styles.cardProvider}>
|
|
66
|
+
<div className={styles.cardProvider}>{provider?.name}</div>
|
|
67
|
+
</Link>
|
|
65
68
|
)}
|
|
66
69
|
<div className={styles.cardRating}>
|
|
67
70
|
{relation && (
|
|
@@ -137,7 +140,7 @@ TemplateOne.propTypes = {
|
|
|
137
140
|
path: PropTypes.string,
|
|
138
141
|
banner: PropTypes.string,
|
|
139
142
|
extra_fields: PropTypes.shape({
|
|
140
|
-
|
|
143
|
+
operator: PropTypes.shape({
|
|
141
144
|
status: PropTypes.string,
|
|
142
145
|
name: PropTypes.string,
|
|
143
146
|
path: PropTypes.string,
|
|
@@ -30,7 +30,8 @@ const TemplateThree = ({
|
|
|
30
30
|
const { relation, title, path, banner } = item;
|
|
31
31
|
const { translations } = useContext(Context) || {};
|
|
32
32
|
const featured = !!getSectionExtraField(null, item, 'card_background_image');
|
|
33
|
-
const operator = item.extra_fields?.
|
|
33
|
+
const operator = item.extra_fields?.operator;
|
|
34
|
+
const provider = relation?.game_provider;
|
|
34
35
|
const gameImage = (useThumbnail && relation?.thumbnail_filename_object?.filename) || banner;
|
|
35
36
|
const StarRating = useOneStarRating
|
|
36
37
|
? loadable(() => import('gatsby-core-theme/src/components/molecules/star-rating/one-star'))
|
|
@@ -71,12 +72,14 @@ const TemplateThree = ({
|
|
|
71
72
|
<span className={styles.cardTitle}>{title}</span>
|
|
72
73
|
</Link>
|
|
73
74
|
<div className={styles.cardInner}>
|
|
74
|
-
{operator
|
|
75
|
+
{operator && operator.path ? (
|
|
75
76
|
<Link to={operator.path} className={styles.cardProvider}>
|
|
76
77
|
{operator.name}
|
|
77
78
|
</Link>
|
|
78
79
|
) : (
|
|
79
|
-
<
|
|
80
|
+
<Link to={provider?.path} className={styles.cardProvider}>
|
|
81
|
+
<div className={styles.cardProvider}>{provider?.name}</div>
|
|
82
|
+
</Link>
|
|
80
83
|
)}
|
|
81
84
|
{affilateLink ? (
|
|
82
85
|
<>
|
|
@@ -135,7 +138,7 @@ TemplateThree.propTypes = {
|
|
|
135
138
|
path: PropTypes.string,
|
|
136
139
|
banner: PropTypes.string,
|
|
137
140
|
extra_fields: PropTypes.shape({
|
|
138
|
-
|
|
141
|
+
operator: PropTypes.shape({
|
|
139
142
|
status: PropTypes.string,
|
|
140
143
|
name: PropTypes.string,
|
|
141
144
|
path: PropTypes.string,
|
|
@@ -30,7 +30,8 @@ const TemplateTwo = ({
|
|
|
30
30
|
const { relation, title, path, banner } = item;
|
|
31
31
|
const { translations } = useContext(Context) || {};
|
|
32
32
|
const featured = !!getSectionExtraField(null, item, 'card_background_image');
|
|
33
|
-
const operator = item.extra_fields?.
|
|
33
|
+
const operator = item.extra_fields?.operator;
|
|
34
|
+
const provider = relation?.game_provider;
|
|
34
35
|
const gameImage = (useThumbnail && relation?.thumbnail_filename_object?.filename) || banner;
|
|
35
36
|
const StarRating = useOneStarRating
|
|
36
37
|
? loadable(() => import('gatsby-core-theme/src/components/molecules/star-rating/one-star'))
|
|
@@ -73,12 +74,14 @@ const TemplateTwo = ({
|
|
|
73
74
|
</div>
|
|
74
75
|
</div>
|
|
75
76
|
<div className={styles.cardInnerBottom}>
|
|
76
|
-
{operator
|
|
77
|
+
{operator && operator.path ? (
|
|
77
78
|
<Link to={operator.path} className={styles.cardProvider}>
|
|
78
79
|
{operator.name}
|
|
79
80
|
</Link>
|
|
80
81
|
) : (
|
|
81
|
-
<
|
|
82
|
+
<Link to={provider?.path} className={styles.cardProvider}>
|
|
83
|
+
<div className={styles.cardProvider}>{provider?.name}</div>
|
|
84
|
+
</Link>
|
|
82
85
|
)}
|
|
83
86
|
{affilateLink ? (
|
|
84
87
|
<>
|
|
@@ -137,7 +140,7 @@ TemplateTwo.propTypes = {
|
|
|
137
140
|
path: PropTypes.string,
|
|
138
141
|
banner: PropTypes.string,
|
|
139
142
|
extra_fields: PropTypes.shape({
|
|
140
|
-
|
|
143
|
+
operator: PropTypes.shape({
|
|
141
144
|
status: PropTypes.string,
|
|
142
145
|
name: PropTypes.string,
|
|
143
146
|
path: PropTypes.string,
|
|
@@ -77,17 +77,7 @@
|
|
|
77
77
|
margin-top: 0;
|
|
78
78
|
|
|
79
79
|
a {
|
|
80
|
-
|
|
81
|
-
height: 5.6rem;
|
|
82
|
-
font-weight: 700;
|
|
83
|
-
text-transform: capitalize;
|
|
84
|
-
color: var(--color-4);
|
|
85
|
-
font-size: 1.8rem;
|
|
86
|
-
line-height: 2rem;
|
|
87
|
-
gap: 0.4rem;
|
|
88
|
-
text-decoration: none;
|
|
89
|
-
|
|
90
|
-
@include flex-align(center, center);
|
|
80
|
+
border-radius: var(--border-radius);
|
|
91
81
|
}
|
|
92
82
|
}
|
|
93
83
|
|
|
@@ -55,17 +55,7 @@
|
|
|
55
55
|
margin-top: 0;
|
|
56
56
|
|
|
57
57
|
a {
|
|
58
|
-
|
|
59
|
-
height: 5.6rem;
|
|
60
|
-
font-weight: 700;
|
|
61
|
-
text-transform: capitalize;
|
|
62
|
-
color: var(--color-4);
|
|
63
|
-
font-size: 1.8rem;
|
|
64
|
-
line-height: 2rem;
|
|
65
|
-
gap: 0.4rem;
|
|
66
|
-
text-decoration: none;
|
|
67
|
-
|
|
68
|
-
@include flex-align(center, center);
|
|
58
|
+
border-radius: var(--border-radius);
|
|
69
59
|
}
|
|
70
60
|
}
|
|
71
61
|
|
|
@@ -254,7 +244,8 @@
|
|
|
254
244
|
text-align: left;
|
|
255
245
|
|
|
256
246
|
&::after {
|
|
257
|
-
left:
|
|
247
|
+
left: auto !important;
|
|
248
|
+
right: 0;
|
|
258
249
|
border-color: var(--color-49) !important;
|
|
259
250
|
}
|
|
260
251
|
}
|
|
@@ -49,18 +49,9 @@
|
|
|
49
49
|
color: var(--color-44);
|
|
50
50
|
@include flex-direction(column);
|
|
51
51
|
margin-top: 0;
|
|
52
|
-
|
|
52
|
+
|
|
53
53
|
a {
|
|
54
|
-
|
|
55
|
-
height: 5.6rem;
|
|
56
|
-
font-weight: 700;
|
|
57
|
-
text-transform: capitalize;
|
|
58
|
-
color: var(--color-4);
|
|
59
|
-
font-size: 1.8rem;
|
|
60
|
-
line-height: 2rem;
|
|
61
|
-
gap: 0.4rem;
|
|
62
|
-
|
|
63
|
-
@include flex-align(center, center);
|
|
54
|
+
border-radius: var(--border-radius);
|
|
64
55
|
}
|
|
65
56
|
}
|
|
66
57
|
|
|
@@ -52,15 +52,7 @@
|
|
|
52
52
|
|
|
53
53
|
a {
|
|
54
54
|
width: 100%;
|
|
55
|
-
|
|
56
|
-
font-weight: 700;
|
|
57
|
-
text-transform: capitalize;
|
|
58
|
-
color: var(--color-4);
|
|
59
|
-
font-size: 1.8rem;
|
|
60
|
-
line-height: 2rem;
|
|
61
|
-
gap: 0.4rem;
|
|
62
|
-
text-decoration: none;
|
|
63
|
-
@include flex-align(center, center);
|
|
55
|
+
border-radius: var(--border-radius);
|
|
64
56
|
}
|
|
65
57
|
|
|
66
58
|
p {
|
|
@@ -260,7 +252,8 @@
|
|
|
260
252
|
text-align: left;
|
|
261
253
|
|
|
262
254
|
&::after {
|
|
263
|
-
left:
|
|
255
|
+
left: auto !important;
|
|
256
|
+
right: 0;
|
|
264
257
|
border-color: var(--color-49) !important;
|
|
265
258
|
}
|
|
266
259
|
}
|
|
@@ -67,8 +67,8 @@ const TemplateOneTwo = ({ item, showSellingPoints = true, width = 150, height =
|
|
|
67
67
|
</div>
|
|
68
68
|
<Button
|
|
69
69
|
to={path}
|
|
70
|
+
primaryColor
|
|
70
71
|
icon={<FaArrowRight />}
|
|
71
|
-
noStyle
|
|
72
72
|
btnText={
|
|
73
73
|
!showSellingPoints
|
|
74
74
|
? `${translate(translations, 'go_to_review', 'Go To Review')}`
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
gap: 1.6rem;
|
|
12
12
|
max-width: 34.3rem;
|
|
13
13
|
> a {
|
|
14
|
-
display:
|
|
14
|
+
display: flex !important;
|
|
15
15
|
align-items: center;
|
|
16
16
|
justify-content: center;
|
|
17
|
-
|
|
18
|
-
background-color: var(--primary-button-color, #5545a9);
|
|
19
|
-
color: var(--primary-button-color-text, #ffffff);
|
|
20
|
-
padding: 1.6rem 2.4rem;
|
|
21
|
-
border-radius: 0.8rem;
|
|
17
|
+
padding: 1.6rem 2.4rem !important;
|
|
22
18
|
white-space: nowrap;
|
|
23
19
|
gap: 1.1rem;
|
|
24
20
|
font-weight: 700;
|
|
@@ -10,15 +10,11 @@
|
|
|
10
10
|
height: 100%;
|
|
11
11
|
gap: 3.4rem;
|
|
12
12
|
max-width: 34.3rem;
|
|
13
|
-
|
|
14
|
-
display:
|
|
13
|
+
> a {
|
|
14
|
+
display: flex !important;
|
|
15
15
|
align-items: center;
|
|
16
16
|
justify-content: center;
|
|
17
|
-
|
|
18
|
-
background-color: var(--primary-button-color, #5545a9);
|
|
19
|
-
color: var(--primary-button-color-text, #ffffff);
|
|
20
|
-
padding: 1.6rem 2.4rem;
|
|
21
|
-
border-radius: 0.8rem;
|
|
17
|
+
padding: 1.6rem 2.4rem !important;
|
|
22
18
|
white-space: nowrap;
|
|
23
19
|
gap: 1.1rem;
|
|
24
20
|
font-weight: 700;
|