gatsby-matrix-theme 3.2.14 → 3.2.15
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 +18 -0
- package/package.json +1 -1
- package/src/components/atoms/cards/comparison-table/table/index.js +79 -70
- package/src/components/atoms/cards/comparison-table/table/table.module.scss +36 -37
- package/src/components/atoms/cards/operators-table/index.js +14 -7
- package/src/components/atoms/cards/operators-table/table.module.scss +14 -0
- package/storybook/public/{0.ec2c65bb.iframe.bundle.js → 0.2524b7fa.iframe.bundle.js} +1 -1
- package/storybook/public/{1.fc1fb4aa.iframe.bundle.js → 1.02a42b9a.iframe.bundle.js} +1 -1
- package/storybook/public/{10.ff8f20a0.iframe.bundle.js → 10.3d48be86.iframe.bundle.js} +1 -1
- package/storybook/public/{11.a965ed36.iframe.bundle.js → 11.3e5dcd6e.iframe.bundle.js} +1 -1
- package/storybook/public/{12.f31f86bb.iframe.bundle.js → 12.be3dbae0.iframe.bundle.js} +1 -1
- package/storybook/public/{13.c72a573a.iframe.bundle.js → 13.4c418d5e.iframe.bundle.js} +1 -1
- package/storybook/public/{14.454a253c.iframe.bundle.js → 14.13d10e61.iframe.bundle.js} +1 -1
- package/storybook/public/{15.baadf857.iframe.bundle.js → 15.2a8de093.iframe.bundle.js} +1 -1
- package/storybook/public/{16.9d6c22db.iframe.bundle.js → 16.e735ba7a.iframe.bundle.js} +1 -1
- package/storybook/public/{5.23a17f5a.iframe.bundle.js → 5.b3040fad.iframe.bundle.js} +3 -3
- package/storybook/public/{5.23a17f5a.iframe.bundle.js.LICENSE.txt → 5.b3040fad.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook/public/5.b3040fad.iframe.bundle.js.map +1 -0
- package/storybook/public/{6.069b5bfa.iframe.bundle.js → 6.507356fa.iframe.bundle.js} +1 -1
- package/storybook/public/{7.600a6e84.iframe.bundle.js → 7.43d7a9f7.iframe.bundle.js} +1 -1
- package/storybook/public/{8.fd6b3f00.iframe.bundle.js → 8.447f6c90.iframe.bundle.js} +1 -1
- package/storybook/public/{9.b7047aeb.iframe.bundle.js → 9.ad2cc66b.iframe.bundle.js} +3 -3
- package/storybook/public/{9.b7047aeb.iframe.bundle.js.LICENSE.txt → 9.ad2cc66b.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook/public/9.ad2cc66b.iframe.bundle.js.map +1 -0
- package/storybook/public/iframe.html +1 -1
- package/storybook/public/main.06b2602a.iframe.bundle.js +1 -0
- package/storybook/public/{runtime~main.ce98447d.iframe.bundle.js → runtime~main.9da1a6a5.iframe.bundle.js} +1 -1
- package/storybook/public/{vendors~main.7fc7de06.iframe.bundle.js → vendors~main.b9edf664.iframe.bundle.js} +4 -4
- package/storybook/public/{vendors~main.7fc7de06.iframe.bundle.js.LICENSE.txt → vendors~main.b9edf664.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook/public/vendors~main.b9edf664.iframe.bundle.js.map +1 -0
- package/storybook/public/5.23a17f5a.iframe.bundle.js.map +0 -1
- package/storybook/public/9.b7047aeb.iframe.bundle.js.map +0 -1
- package/storybook/public/main.35edfd20.iframe.bundle.js +0 -1
- package/storybook/public/vendors~main.7fc7de06.iframe.bundle.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## [3.2.15](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.14...v3.2.15) (2022-01-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* make style and add load more button in payment section ([360f920](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/360f92081de6587872df734d9c7c53e01c6a7cbf))
|
|
7
|
+
* table changes ([50c01df](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/50c01dfe13ece0ffc14afff598c067c53e5c1b6a))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Code Refactoring
|
|
11
|
+
|
|
12
|
+
* comparison module logic ([50a34a0](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/50a34a0556c3523e1c23bbfd25c8ca7ac85cf96d))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
* Merge branch 'tm-2585-comparison-module-changes' into 'master' ([733f558](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/733f5580f353ac5e98a4788a0d350b909ea186f1))
|
|
16
|
+
* Merge branch 'master' of git.ilcd.rocks:team-floyd/themes/matrix-theme into tm-2585-comparison-module-changes ([e5ccc72](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/e5ccc72e81cc297ce782b0da84a1bab4aadda225))
|
|
17
|
+
* Merge branch 'tm-2597-operators-table' into 'master' ([dacec3d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/dacec3d702a26138ba4dc7bf98279bb93219d876))
|
|
18
|
+
|
|
1
19
|
## [3.2.14](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.13...v3.2.14) (2022-01-19)
|
|
2
20
|
|
|
3
21
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/* eslint-disable jsx-a11y/click-events-have-key-events */
|
|
2
|
+
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
|
3
|
+
/* eslint-disable jsx-a11y/anchor-is-valid */
|
|
4
|
+
import React, { useContext, useState } from 'react';
|
|
2
5
|
import PropTypes from 'prop-types';
|
|
3
6
|
import { AiOutlineCheckCircle } from 'react-icons/ai';
|
|
4
|
-
import { VscFiles } from 'react-icons/vsc';
|
|
5
7
|
import { imagePrettyUrl, translate } from 'gatsby-core-theme/src/helpers/getters';
|
|
6
8
|
import LazyImg from 'gatsby-core-theme/src/hooks/lazy-image';
|
|
7
9
|
import OperatorCta from 'gatsby-core-theme/src/components/atoms/operator-cta';
|
|
@@ -9,7 +11,6 @@ import StarRating from 'gatsby-core-theme/src/components/molecules/star-rating';
|
|
|
9
11
|
import Link from 'gatsby-core-theme/src/hooks/link';
|
|
10
12
|
import Bonus from 'gatsby-core-theme/src/components/atoms/bonus';
|
|
11
13
|
import { Context } from 'gatsby-core-theme/src/context/TranslationsProvider';
|
|
12
|
-
|
|
13
14
|
import styles from './table.module.scss';
|
|
14
15
|
|
|
15
16
|
const listHeadings = [
|
|
@@ -24,6 +25,7 @@ const listHeadings = [
|
|
|
24
25
|
{
|
|
25
26
|
defaultValue: 'Bonus',
|
|
26
27
|
key: 'bonus',
|
|
28
|
+
// customComponent: ({operator}) => ( <td>{operator.title}</td> ), This is an example
|
|
27
29
|
},
|
|
28
30
|
{
|
|
29
31
|
defaultValue: 'Top Features',
|
|
@@ -46,14 +48,25 @@ const listHeadings = [
|
|
|
46
48
|
key: 'licenses',
|
|
47
49
|
},
|
|
48
50
|
];
|
|
49
|
-
export default function ComparisonTable({ items, tabelInfo = listHeadings }) {
|
|
51
|
+
export default function ComparisonTable({ items, tabelInfo = listHeadings, ctaKey = 'play_now' }) {
|
|
50
52
|
const { translations } = useContext(Context) || {};
|
|
53
|
+
const [showAllPayment, setShowAllPayment] = useState([]);
|
|
54
|
+
|
|
55
|
+
const showAllPayments = (index) => {
|
|
56
|
+
setShowAllPayment([...showAllPayment, index]);
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
const cell = (heading, item, key, index) => {
|
|
60
|
+
const rowData = tabelInfo.find((m) => m.key === heading);
|
|
61
|
+
if (rowData && rowData.customComponent) {
|
|
62
|
+
const CustomComponent = rowData.customComponent;
|
|
63
|
+
return <CustomComponent operator={item} />;
|
|
64
|
+
}
|
|
51
65
|
|
|
52
|
-
const cell = (heading, item, index) => {
|
|
53
66
|
switch (heading) {
|
|
54
67
|
case 'casino_name':
|
|
55
68
|
return (
|
|
56
|
-
<td key={
|
|
69
|
+
<td key={key} className={styles.casinoName}>
|
|
57
70
|
<LazyImg
|
|
58
71
|
src={imagePrettyUrl(item?.relation?.logo_url)}
|
|
59
72
|
height={89}
|
|
@@ -66,7 +79,7 @@ export default function ComparisonTable({ items, tabelInfo = listHeadings }) {
|
|
|
66
79
|
tracker="main"
|
|
67
80
|
operator={item?.relation}
|
|
68
81
|
// new key
|
|
69
|
-
translationKey=
|
|
82
|
+
translationKey={ctaKey}
|
|
70
83
|
gtmClass="comparison-table-gtm btn-cta"
|
|
71
84
|
/>
|
|
72
85
|
</div>
|
|
@@ -74,20 +87,20 @@ export default function ComparisonTable({ items, tabelInfo = listHeadings }) {
|
|
|
74
87
|
);
|
|
75
88
|
case 'rating':
|
|
76
89
|
return (
|
|
77
|
-
<td key={
|
|
90
|
+
<td key={key} className={styles.raiting}>
|
|
78
91
|
<StarRating numOfStars={5} rating={item?.relation?.rating} />
|
|
79
|
-
<Link to={item.path}> {translate(translations, 'review', '
|
|
92
|
+
<Link to={item.path}> {translate(translations, 'review', 'Review')} </Link>
|
|
80
93
|
</td>
|
|
81
94
|
);
|
|
82
95
|
case 'bonus':
|
|
83
96
|
return (
|
|
84
|
-
<td key={
|
|
97
|
+
<td key={key} className={styles.bonus}>
|
|
85
98
|
<Bonus tracker="main" item={item?.relation} />
|
|
86
99
|
</td>
|
|
87
100
|
);
|
|
88
101
|
case 'top_features':
|
|
89
102
|
return (
|
|
90
|
-
<td key={
|
|
103
|
+
<td key={key} className={styles.topFeatures}>
|
|
91
104
|
{item?.relation?.selling_points &&
|
|
92
105
|
item?.relation?.selling_points.map((sellingPoint) => (
|
|
93
106
|
<span key={sellingPoint}>
|
|
@@ -96,67 +109,61 @@ export default function ComparisonTable({ items, tabelInfo = listHeadings }) {
|
|
|
96
109
|
))}
|
|
97
110
|
</td>
|
|
98
111
|
);
|
|
99
|
-
case 'coupon_code':
|
|
100
|
-
return (
|
|
101
|
-
<td key={index} className={styles.couponCode}>
|
|
102
|
-
{item?.relation?.extra_fields?.coupon_code && (
|
|
103
|
-
<>
|
|
104
|
-
<p>
|
|
105
|
-
{item?.relation?.extra_fields?.coupon_code}{' '}
|
|
106
|
-
<VscFiles color="var(--coupon-code-color);" />
|
|
107
|
-
</p>
|
|
108
|
-
</>
|
|
109
|
-
)}
|
|
110
|
-
</td>
|
|
111
|
-
);
|
|
112
112
|
case 'payment_methods':
|
|
113
113
|
return (
|
|
114
|
-
<td key={
|
|
115
|
-
|
|
116
|
-
item?.relation?.bonus?.deposit_methods
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
114
|
+
<td key={key} className={styles.paymentMethods}>
|
|
115
|
+
<div>
|
|
116
|
+
{item?.relation?.bonus?.deposit_methods &&
|
|
117
|
+
// eslint-disable-next-line array-callback-return
|
|
118
|
+
item?.relation?.bonus?.deposit_methods.map((deposit, i, list) => {
|
|
119
|
+
if (i < (showAllPayment.includes(index) ? list.length : 5)) {
|
|
120
|
+
return (
|
|
121
|
+
<span key={deposit.name}>
|
|
122
|
+
<LazyImg
|
|
123
|
+
src={imagePrettyUrl(deposit?.logo_filename)}
|
|
124
|
+
width={72}
|
|
125
|
+
height={72}
|
|
126
|
+
alt={deposit.name}
|
|
127
|
+
/>
|
|
128
|
+
</span>
|
|
129
|
+
);
|
|
130
|
+
}
|
|
131
|
+
})}
|
|
132
|
+
{item?.relation?.bonus?.deposit_methods?.length > 5 &&
|
|
133
|
+
!showAllPayment.includes(index) && (
|
|
134
|
+
<a
|
|
135
|
+
onClick={() => {
|
|
136
|
+
showAllPayments(index);
|
|
137
|
+
}}
|
|
138
|
+
>
|
|
139
|
+
+{item?.relation?.bonus?.deposit_methods.length - 5}
|
|
140
|
+
</a>
|
|
141
|
+
)}
|
|
142
|
+
</div>
|
|
129
143
|
</td>
|
|
130
144
|
);
|
|
131
145
|
case 'banking':
|
|
132
146
|
return (
|
|
133
|
-
<td key={
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
item?.relation?.bonus?.currencies
|
|
147
|
-
.slice(0, 3)
|
|
148
|
-
.map((currencies, i, list) => (
|
|
149
|
-
<>{`${currencies.iso_code}${i + 1 < list.length ? ', ' : ''}`}</>
|
|
150
|
-
))}
|
|
151
|
-
</span>
|
|
152
|
-
</p>
|
|
147
|
+
<td key={key} className={styles.banking}>
|
|
148
|
+
{item?.relation?.bonus?.min_deposit && (
|
|
149
|
+
<p>
|
|
150
|
+
{translate(translations, 'min_deposit', 'Min Deposit')}
|
|
151
|
+
<span>{item.relation.bonus.min_deposit}</span>
|
|
152
|
+
</p>
|
|
153
|
+
)}
|
|
154
|
+
{item?.relation?.bonus?.max_withdrawal && (
|
|
155
|
+
<p>
|
|
156
|
+
{translate(translations, 'max_withdrawal', 'Max Withdrawal')}
|
|
157
|
+
<span>{item.relation.bonus.max_withdrawal}</span>
|
|
158
|
+
</p>
|
|
159
|
+
)}
|
|
153
160
|
</td>
|
|
154
161
|
);
|
|
155
162
|
case 'currencies':
|
|
156
163
|
return (
|
|
157
|
-
<td key={
|
|
164
|
+
<td key={key} className={styles.currencies}>
|
|
158
165
|
{item?.relation?.bonus?.currencies &&
|
|
159
|
-
item?.relation?.bonus?.currencies.map((currencies) => (
|
|
166
|
+
item?.relation?.bonus?.currencies.slice(0, 6).map((currencies) => (
|
|
160
167
|
// eslint-disable-next-line react/no-array-index-key
|
|
161
168
|
<span key={currencies.iso_code}>{currencies.iso_code} </span>
|
|
162
169
|
))}
|
|
@@ -164,15 +171,17 @@ export default function ComparisonTable({ items, tabelInfo = listHeadings }) {
|
|
|
164
171
|
);
|
|
165
172
|
case 'licenses':
|
|
166
173
|
return (
|
|
167
|
-
<td key={
|
|
174
|
+
<td key={key} className={styles.licenses}>
|
|
168
175
|
{item?.relation?.bonus?.license_objects &&
|
|
169
|
-
item?.relation?.bonus?.license_objects
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
+
item?.relation?.bonus?.license_objects
|
|
177
|
+
.slice(0, 3)
|
|
178
|
+
.map((license) => (
|
|
179
|
+
<LazyImg
|
|
180
|
+
src={imagePrettyUrl(license?.logo_filename)}
|
|
181
|
+
height={32}
|
|
182
|
+
alt={license.name}
|
|
183
|
+
/>
|
|
184
|
+
))}
|
|
176
185
|
</td>
|
|
177
186
|
);
|
|
178
187
|
default:
|
|
@@ -186,7 +195,7 @@ export default function ComparisonTable({ items, tabelInfo = listHeadings }) {
|
|
|
186
195
|
const cells = [];
|
|
187
196
|
|
|
188
197
|
items.forEach((item, index) => {
|
|
189
|
-
cells.push(cell(heading.key, item, `${heading}-${index}
|
|
198
|
+
cells.push(cell(heading.key, item, `${heading}-${index}`, index));
|
|
190
199
|
});
|
|
191
200
|
|
|
192
201
|
row.push(
|
|
@@ -66,11 +66,13 @@
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.bonus {
|
|
69
|
-
|
|
69
|
+
@include flex-direction(column);
|
|
70
|
+
@include flex-align(flex-start, column);
|
|
71
|
+
p:first-child {
|
|
70
72
|
font-size: 1.6rem;
|
|
71
73
|
font-weight: bold;
|
|
72
74
|
}
|
|
73
|
-
|
|
75
|
+
p:nth-child(2) {
|
|
74
76
|
font-size: 1.4rem;
|
|
75
77
|
font-weight: bold;
|
|
76
78
|
}
|
|
@@ -112,14 +114,17 @@
|
|
|
112
114
|
line-height: 2.4rem;
|
|
113
115
|
margin-bottom: 1rem;
|
|
114
116
|
color: black;
|
|
115
|
-
|
|
117
|
+
a {
|
|
116
118
|
font-weight: bold;
|
|
119
|
+
text-decoration: none;
|
|
117
120
|
}
|
|
118
121
|
}
|
|
119
122
|
}
|
|
120
123
|
.currencies {
|
|
121
124
|
padding: 1.6rem 1rem;
|
|
125
|
+
@include flex-align(center, flex-start);
|
|
122
126
|
span {
|
|
127
|
+
text-align: center;
|
|
123
128
|
margin-left: 0.4rem;
|
|
124
129
|
background: var(--comparison-currencies-background-color);
|
|
125
130
|
color: var(--comparison-currencies-text-color);
|
|
@@ -128,47 +133,41 @@
|
|
|
128
133
|
font-weight: bold;
|
|
129
134
|
font-size: 12px;
|
|
130
135
|
line-height: 18px;
|
|
131
|
-
width: 4.
|
|
136
|
+
width: 4.2rem;
|
|
132
137
|
height: 2.4rem;
|
|
133
138
|
padding: 0.499rem 0.8rem;
|
|
134
139
|
display: inline-block;
|
|
135
140
|
}
|
|
136
141
|
}
|
|
137
142
|
.paymentMethods {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
@include flex-align(center, center);
|
|
143
|
-
font-weight: bold;
|
|
144
|
-
font-size: 14px;
|
|
145
|
-
line-height: 18px;
|
|
146
|
-
object-fit: contain;
|
|
147
|
-
color: black;
|
|
148
|
-
margin-bottom: 0.5rem;
|
|
149
|
-
margin-top: 0.5rem;
|
|
150
|
-
img {
|
|
151
|
-
width: 7.2rem;
|
|
152
|
-
height: 3.2rem;
|
|
153
|
-
object-fit: contain;
|
|
154
|
-
}
|
|
143
|
+
height: 12.8rem;
|
|
144
|
+
overflow-y: scroll;
|
|
145
|
+
&::-webkit-scrollbar {
|
|
146
|
+
width: 3px;
|
|
155
147
|
}
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
margin-
|
|
148
|
+
&::-webkit-scrollbar-thumb {
|
|
149
|
+
background-color: darkgrey;
|
|
150
|
+
}
|
|
151
|
+
>div{
|
|
152
|
+
display: grid;
|
|
153
|
+
grid-template-columns: repeat(3, 1fr);
|
|
154
|
+
grid-gap: 1rem;
|
|
155
|
+
span, a {
|
|
156
|
+
@include flex-direction(row);
|
|
157
|
+
@include flex-align(center, center);
|
|
158
|
+
font-weight: bold;
|
|
159
|
+
font-size: 14px;
|
|
160
|
+
line-height: 18px;
|
|
161
|
+
object-fit: contain;
|
|
162
|
+
color: black;
|
|
163
|
+
margin-top: 0.5rem;
|
|
164
|
+
background-color: white;
|
|
165
|
+
width: 100%;
|
|
166
|
+
img {
|
|
167
|
+
width: 7.2rem;
|
|
168
|
+
height: 3.2rem;
|
|
169
|
+
object-fit: contain;
|
|
170
|
+
}
|
|
172
171
|
}
|
|
173
172
|
}
|
|
174
173
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
2
|
import React, { useContext } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import Link from 'gatsby-core-theme/src/hooks/link';
|
|
5
4
|
import { Context } from 'gatsby-core-theme/src/context/TranslationsProvider';
|
|
6
5
|
import { translate, getBonus } from 'gatsby-core-theme/src/helpers/getters';
|
|
6
|
+
import OperatorCta from 'gatsby-core-theme/src/components/atoms/operator-cta';
|
|
7
|
+
|
|
7
8
|
import styles from './table.module.scss';
|
|
8
9
|
|
|
9
10
|
const CasinosTable = ({ module }) => {
|
|
@@ -28,9 +29,9 @@ const CasinosTable = ({ module }) => {
|
|
|
28
29
|
<table>
|
|
29
30
|
<thead>
|
|
30
31
|
<tr>
|
|
31
|
-
<th>{`${translate(translations, '
|
|
32
|
-
<th>{`${translate(translations, '
|
|
33
|
-
<th>{`${translate(translations, '
|
|
32
|
+
<th>{`${translate(translations, 'online_casino', 'Online casino')}`}</th>
|
|
33
|
+
<th>{`${translate(translations, 'welcome_bonus', 'Welcome bonus')}`}</th>
|
|
34
|
+
<th>{`${translate(translations, 'visit_online_casino', 'Visit online casino')}`}</th>
|
|
34
35
|
</tr>
|
|
35
36
|
</thead>
|
|
36
37
|
<tbody>
|
|
@@ -42,9 +43,15 @@ const CasinosTable = ({ module }) => {
|
|
|
42
43
|
{getBonus('main', item?.relation) && oneLiner(getBonus('main', item?.relation))}
|
|
43
44
|
</td>
|
|
44
45
|
<td>
|
|
45
|
-
<
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
<OperatorCta
|
|
47
|
+
tracker="main"
|
|
48
|
+
operator={item?.relation}
|
|
49
|
+
playText={`${translate(translations, 'visit', 'Visit')} ${
|
|
50
|
+
item?.relation?.name
|
|
51
|
+
}`}
|
|
52
|
+
translationKey="visit_online"
|
|
53
|
+
gtmClass="table-operator-card-gtm btn-cta"
|
|
54
|
+
/>
|
|
48
55
|
</td>
|
|
49
56
|
</tr>
|
|
50
57
|
))}
|
|
@@ -29,6 +29,20 @@
|
|
|
29
29
|
.secondLine{
|
|
30
30
|
color: red;
|
|
31
31
|
}
|
|
32
|
+
&:last-of-type{
|
|
33
|
+
a{
|
|
34
|
+
background-color: transparent !important;
|
|
35
|
+
color: black !important;
|
|
36
|
+
padding-left: 0;
|
|
37
|
+
text-decoration: none;
|
|
38
|
+
font-size: 1.6rem;
|
|
39
|
+
font-weight: normal;
|
|
40
|
+
&:hover{
|
|
41
|
+
background: transparent !important;
|
|
42
|
+
text-decoration: underline;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
32
46
|
}
|
|
33
47
|
&:nth-child(odd) {
|
|
34
48
|
background-color: var(--table-highlight);
|