@griddo/cx 1.55.9 → 1.55.13
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/gatsby-node.js +20 -20
- package/package.json +3 -3
- package/src/components/seo.js +312 -3
package/gatsby-node.js
CHANGED
|
@@ -148,31 +148,31 @@ exports.createPages = async ({ actions }) => {
|
|
|
148
148
|
|
|
149
149
|
additionalInfo.navigations = NavService.getPageNavigations(page);
|
|
150
150
|
|
|
151
|
-
const isList = distributorTemplate
|
|
151
|
+
const isList = distributorTemplate?.type?.mode?.toLowerCase() === 'list';
|
|
152
152
|
|
|
153
153
|
// Multi-page (pagination) or single-page
|
|
154
154
|
isList
|
|
155
155
|
? await utils.renderMultiplePages(
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
156
|
+
{
|
|
157
|
+
rootPage: page,
|
|
158
|
+
pages: utils.getList(distributorTemplate),
|
|
159
|
+
isRoot: false,
|
|
160
|
+
defaultLang,
|
|
161
|
+
distributorTemplate,
|
|
162
|
+
},
|
|
163
|
+
additionalInfo,
|
|
164
|
+
actions.createPage
|
|
165
|
+
)
|
|
166
166
|
: await utils.renderSinglePage(
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
167
|
+
{
|
|
168
|
+
...page,
|
|
169
|
+
template: distributorTemplate,
|
|
170
|
+
isRoot: false,
|
|
171
|
+
defaultLang,
|
|
172
|
+
},
|
|
173
|
+
additionalInfo,
|
|
174
|
+
actions.createPage
|
|
175
|
+
);
|
|
176
176
|
|
|
177
177
|
buildProcessData[siteID].publishHashes.push(page.hash);
|
|
178
178
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@griddo/cx",
|
|
3
3
|
"description": "Griddo SSG based on Gatsby",
|
|
4
|
-
"version": "1.55.
|
|
4
|
+
"version": "1.55.13",
|
|
5
5
|
"authors": [
|
|
6
6
|
"Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
|
|
7
7
|
"Carlos Torres <carlos.torres@secuoyas.com>",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"react-helmet": "^6.0.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@griddo/eslint-config-back": "^1.55.
|
|
64
|
+
"@griddo/eslint-config-back": "^1.55.13",
|
|
65
65
|
"eslint": "^7.5.0",
|
|
66
66
|
"eslint-plugin-node": "^11.1.0",
|
|
67
67
|
"eslint-plugin-react": "7.14.3",
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
"publishConfig": {
|
|
94
94
|
"access": "public"
|
|
95
95
|
},
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "de2f15d3aa1653a69bcdbf4655b8b7f0e6ed5ad6"
|
|
97
97
|
}
|
package/src/components/seo.js
CHANGED
|
@@ -76,9 +76,7 @@ function SEO(params) {
|
|
|
76
76
|
{/* Debug */}
|
|
77
77
|
<meta property="components:version" content={componentsVersion} />
|
|
78
78
|
{isIE && <meta property="isIE" content={JSON.stringify(isIE)} />}
|
|
79
|
-
{isGARRIGUES && (
|
|
80
|
-
<meta property="isGARRIGUES" content={JSON.stringify(isGARRIGUES)} />
|
|
81
|
-
)}
|
|
79
|
+
{isGARRIGUES && <meta property="isGARRIGUES" content={JSON.stringify(isGARRIGUES)} />}
|
|
82
80
|
|
|
83
81
|
{isIE && (
|
|
84
82
|
<script>{`
|
|
@@ -159,6 +157,317 @@ function SEO(params) {
|
|
|
159
157
|
type="text/javascript"
|
|
160
158
|
></script>
|
|
161
159
|
)}
|
|
160
|
+
{isGARRIGUES && (
|
|
161
|
+
<style type="text/css">
|
|
162
|
+
{`
|
|
163
|
+
body {
|
|
164
|
+
padding: 0;
|
|
165
|
+
margin: 0;
|
|
166
|
+
}
|
|
167
|
+
body * {
|
|
168
|
+
font-family: 'Hellix', sans-serif !important;
|
|
169
|
+
color: rgb(110, 120, 115);
|
|
170
|
+
}
|
|
171
|
+
a {
|
|
172
|
+
color: rgb(8, 127, 123) !important;
|
|
173
|
+
}
|
|
174
|
+
.ecix-premodal-view-content {
|
|
175
|
+
width: 100% !important;
|
|
176
|
+
margin-left: 0 !important;
|
|
177
|
+
margin-right: 0 !important;
|
|
178
|
+
margin-top: 0 !important;
|
|
179
|
+
margin-bottom: 0 !important;
|
|
180
|
+
padding-left: 0 !important;
|
|
181
|
+
padding-right: 0 !important;
|
|
182
|
+
padding-top: 0 !important;
|
|
183
|
+
padding-bottom: 0 !important;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.ecix-premodal-view-content .ecix-modal-view-body {
|
|
187
|
+
position: relative !important;
|
|
188
|
+
height: 100%;
|
|
189
|
+
width: 100% !important;
|
|
190
|
+
padding: 20px !important;
|
|
191
|
+
max-width: 900px;
|
|
192
|
+
margin: 0 auto !important;
|
|
193
|
+
|
|
194
|
+
display: grid !important;
|
|
195
|
+
grid-template-columns: repeat(4, 1fr);
|
|
196
|
+
grid-gap: 10px;
|
|
197
|
+
}
|
|
198
|
+
.span-text-cookies {
|
|
199
|
+
position: static !important;
|
|
200
|
+
width: auto !important;
|
|
201
|
+
padding-left: 0 !important;
|
|
202
|
+
padding-right: 0 !important;
|
|
203
|
+
padding-top: 0 !important;
|
|
204
|
+
padding-bottom: 0 !important;
|
|
205
|
+
grid-column: 1 / 5;
|
|
206
|
+
grid-row: 1;
|
|
207
|
+
}
|
|
208
|
+
.span-text-cookies p {
|
|
209
|
+
margin: 0 !important;
|
|
210
|
+
}
|
|
211
|
+
.cookies-elixregtech .span-text-cookies {
|
|
212
|
+
height: auto !important;
|
|
213
|
+
display: block !important;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.ecix-modal-btn-accept.ecix-p10.ecix-bold.ecix-font-1-2em.button-rechazar {
|
|
217
|
+
display: none;
|
|
218
|
+
}
|
|
219
|
+
.ecix-modal-btn-accept.ecix-p10.ecix-bold.ecix-font-1-2em.button-preferencias {
|
|
220
|
+
position: static !important;
|
|
221
|
+
left: 0;
|
|
222
|
+
bottom: 0;
|
|
223
|
+
color: rgb(18, 66, 64) !important;
|
|
224
|
+
border: 1px solid rgb(18, 66, 64) !important;
|
|
225
|
+
font-family: 'Reckless' !important;
|
|
226
|
+
font-size: 14px !important;
|
|
227
|
+
font-weight: 400 !important;
|
|
228
|
+
margin: 0 !important;
|
|
229
|
+
grid-column: 1;
|
|
230
|
+
grid-row: 2;
|
|
231
|
+
width: 100%;
|
|
232
|
+
transition: 0.3s ease;
|
|
233
|
+
}
|
|
234
|
+
.ecix-modal-btn-accept.ecix-p10.ecix-bold.ecix-font-1-2em.button-preferencias:hover {
|
|
235
|
+
background-color: rgb(248, 251, 248) !important;
|
|
236
|
+
}
|
|
237
|
+
.ecix-modal-btn-accept.ecix-p10.ecix-bold.ecix-font-1-2em.button-aceptar {
|
|
238
|
+
position: static !important;
|
|
239
|
+
background-color: rgb(242, 209, 112) !important;
|
|
240
|
+
color: rgb(18, 66, 64) !important;
|
|
241
|
+
right: 0;
|
|
242
|
+
bottom: 0;
|
|
243
|
+
font-weight: normal !important;
|
|
244
|
+
font-family: 'Reckless' !important;
|
|
245
|
+
font-size: 14px !important;
|
|
246
|
+
font-weight: 400 !important;
|
|
247
|
+
grid-column: 2;
|
|
248
|
+
grid-row: 2;
|
|
249
|
+
width: 100%;
|
|
250
|
+
transition: 0.3s ease;
|
|
251
|
+
}
|
|
252
|
+
.ecix-modal-btn-accept.ecix-p10.ecix-bold.ecix-font-1-2em.button-aceptar:hover {
|
|
253
|
+
background-color: rgb(250, 238, 205) !important;
|
|
254
|
+
}
|
|
255
|
+
.ecix-p10 {
|
|
256
|
+
height: 50px !important;
|
|
257
|
+
display: flex;
|
|
258
|
+
padding: 0 !important;
|
|
259
|
+
justify-content: center;
|
|
260
|
+
align-items: center;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
@media only screen and (max-width: 620px) {
|
|
264
|
+
.ecix-premodal-view-content .ecix-modal-view-body {
|
|
265
|
+
display: flex !important;
|
|
266
|
+
flex-direction: column;
|
|
267
|
+
justify-content: center;
|
|
268
|
+
align-items: center;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
/*-----------*/
|
|
272
|
+
.ecix-gdpr-page.ecix-ac.cookies-elixregtech.customClassDivContent {
|
|
273
|
+
min-height: 100%;
|
|
274
|
+
width: 100vw;
|
|
275
|
+
margin-left: 0 !important;
|
|
276
|
+
margin-right: 0 !important;
|
|
277
|
+
margin-top: 0 !important;
|
|
278
|
+
margin-bottom: 0 !important;
|
|
279
|
+
padding-left: 0 !important;
|
|
280
|
+
padding-right: 0 !important;
|
|
281
|
+
padding-top: 0 !important;
|
|
282
|
+
padding-bottom: 0 !important;
|
|
283
|
+
}
|
|
284
|
+
.cookies-elixregtech .ecix-modal-view-content {
|
|
285
|
+
width: 80% !important;
|
|
286
|
+
position: relative !important;
|
|
287
|
+
margin-top: 20px !important;
|
|
288
|
+
margin-bottom: 0 !important;
|
|
289
|
+
padding-left: 0 !important;
|
|
290
|
+
padding-right: 0 !important;
|
|
291
|
+
padding-top: 0 !important;
|
|
292
|
+
padding-bottom: 0 !important;
|
|
293
|
+
}
|
|
294
|
+
.ecix-modal-view-header {
|
|
295
|
+
color: rgb(18, 66, 64) !important;
|
|
296
|
+
font-family: 'Reckless' !important;
|
|
297
|
+
font-weight: 400 !important;
|
|
298
|
+
box-sizing: border-box !important;
|
|
299
|
+
display: block !important;
|
|
300
|
+
padding: 20px !important;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.ecix-gdpr-page.customClassDivContent {
|
|
304
|
+
grid-column: 1 / 5;
|
|
305
|
+
background-color: transparent !important;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.cookies-elixregtech .ecix-modal-view-body {
|
|
309
|
+
margin-left: 0;
|
|
310
|
+
margin-right: 0;
|
|
311
|
+
padding-bottom: 0 !important;
|
|
312
|
+
}
|
|
313
|
+
.ecix-modal-view h3,
|
|
314
|
+
.ecix-modal-view p {
|
|
315
|
+
font-family: 'Hellix', sans-serif !important;
|
|
316
|
+
}
|
|
317
|
+
.cookies-elixregtech .pos-b {
|
|
318
|
+
font-family: 'Hellix', sans-serif !important;
|
|
319
|
+
}
|
|
320
|
+
.ecix-modal-view .ecix-modal-view-footer {
|
|
321
|
+
display: none !important;
|
|
322
|
+
}
|
|
323
|
+
.fas.fa-caret-down {
|
|
324
|
+
display: none;
|
|
325
|
+
}
|
|
326
|
+
.col-md-3.border-color h3 {
|
|
327
|
+
color: rgb(18, 66, 64) !important;
|
|
328
|
+
}
|
|
329
|
+
.cookies-elixregtech .ecix-tree li {
|
|
330
|
+
border-bottom: none;
|
|
331
|
+
}
|
|
332
|
+
.cookies-elixregtech .ecix-tree li:last-child {
|
|
333
|
+
border-bottom: 1px solid #cecece;
|
|
334
|
+
}
|
|
335
|
+
.cookies-elixregtech .ecix-btn-cancel {
|
|
336
|
+
top: unset !important;
|
|
337
|
+
bottom: 10px !important;
|
|
338
|
+
display: flex;
|
|
339
|
+
justify-content: center;
|
|
340
|
+
align-items: center;
|
|
341
|
+
color: rgb(18, 66, 64) !important;
|
|
342
|
+
border: 1px solid rgb(18, 66, 64) !important;
|
|
343
|
+
font-family: 'Reckless' !important;
|
|
344
|
+
font-size: 14px !important;
|
|
345
|
+
font-weight: 400 !important;
|
|
346
|
+
transition: 0.3s ease;
|
|
347
|
+
left: unset !important;
|
|
348
|
+
right: 20px;
|
|
349
|
+
width: 180px;
|
|
350
|
+
}
|
|
351
|
+
.cookies-elixregtech .ecix-btn-cancel:hover {
|
|
352
|
+
background-color: rgb(248, 251, 248) !important;
|
|
353
|
+
}
|
|
354
|
+
.cookies-elixregtech .ecix-btn-accept {
|
|
355
|
+
top: unset !important;
|
|
356
|
+
bottom: 10px !important;
|
|
357
|
+
display: flex;
|
|
358
|
+
justify-content: center;
|
|
359
|
+
align-items: center;
|
|
360
|
+
background-color: rgb(242, 209, 112) !important;
|
|
361
|
+
color: rgb(18, 66, 64) !important;
|
|
362
|
+
font-family: 'Reckless' !important;
|
|
363
|
+
font-size: 14px !important;
|
|
364
|
+
font-weight: 400 !important;
|
|
365
|
+
transition: 0.3s ease;
|
|
366
|
+
left: unset !important;
|
|
367
|
+
right: 210px;
|
|
368
|
+
width: 180px;
|
|
369
|
+
}
|
|
370
|
+
.cookies-elixregtech .ecix-btn-accept:hover {
|
|
371
|
+
background-color: rgb(250, 238, 205) !important;
|
|
372
|
+
}
|
|
373
|
+
.cookies-elixregtech ul#ecix-tree-level2-0 {
|
|
374
|
+
top: 0;
|
|
375
|
+
}
|
|
376
|
+
#ecixHeaderText {
|
|
377
|
+
position: static !important;
|
|
378
|
+
height: auto !important;
|
|
379
|
+
display: block;
|
|
380
|
+
color: rgb(110, 120, 115) !important;
|
|
381
|
+
}
|
|
382
|
+
#ecixHeaderText p {
|
|
383
|
+
margin-top: 10px !important;
|
|
384
|
+
margin-bottom: 0 !important;
|
|
385
|
+
}
|
|
386
|
+
.cookies-elixregtech span#ecixHeaderText {
|
|
387
|
+
padding-right: 0 !important;
|
|
388
|
+
}
|
|
389
|
+
.ecix-tree.ecix-tree-level2.list-group.list-group-flush {
|
|
390
|
+
margin-left: 0 !important;
|
|
391
|
+
margin-right: 0 !important;
|
|
392
|
+
margin-top: 0 !important;
|
|
393
|
+
margin-bottom: 0 !important;
|
|
394
|
+
}
|
|
395
|
+
.ecix-switch-li {
|
|
396
|
+
position: static !important;
|
|
397
|
+
}
|
|
398
|
+
.ecix-switch-li.ecix-header-li {
|
|
399
|
+
display: block;
|
|
400
|
+
}
|
|
401
|
+
#ecix_div_view {
|
|
402
|
+
margin: 0 !important;
|
|
403
|
+
padding-bottom: 100px !important;
|
|
404
|
+
}
|
|
405
|
+
.cookies-elixregtech .customClassDeclineCheckColor {
|
|
406
|
+
background-color: #de2b31;
|
|
407
|
+
}
|
|
408
|
+
.ecix-onoffswitch-label::before {
|
|
409
|
+
width: 20px;
|
|
410
|
+
height: 20px;
|
|
411
|
+
}
|
|
412
|
+
.cookies-elixregtech .customClassDeclineCheckColor::before {
|
|
413
|
+
left: 2px;
|
|
414
|
+
}
|
|
415
|
+
.cookies-elixregtech .customClassAcceptCheckColor {
|
|
416
|
+
background-color: #70baa6;
|
|
417
|
+
}
|
|
418
|
+
.cookies-elixregtech .customClassAcceptCheckColor::before {
|
|
419
|
+
right: 2px;
|
|
420
|
+
}
|
|
421
|
+
.ecix-onoffswitch-label {
|
|
422
|
+
height: 26px;
|
|
423
|
+
}
|
|
424
|
+
.ecix-onoffswitch-label::before {
|
|
425
|
+
top: 3px !important;
|
|
426
|
+
}
|
|
427
|
+
@media only screen and (max-width: 1440px) {
|
|
428
|
+
.cookies-elixregtech .ecix-modal-view-content {
|
|
429
|
+
width: 98% !important;
|
|
430
|
+
margin-top: 5px !important;
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
@media only screen and (max-width: 768px) {
|
|
434
|
+
.ecix-md-10.ecix-pt20 {
|
|
435
|
+
display: flex;
|
|
436
|
+
flex-direction: column-reverse;
|
|
437
|
+
}
|
|
438
|
+
.ecix-switch-li.ecix-header-li {
|
|
439
|
+
display: none;
|
|
440
|
+
}
|
|
441
|
+
.ecix-btn-accept {
|
|
442
|
+
margin-top: 20px;
|
|
443
|
+
margin-bottom: 5px;
|
|
444
|
+
}
|
|
445
|
+
.ecix-btn-accept,
|
|
446
|
+
.ecix-btn-cancel {
|
|
447
|
+
position: static !important;
|
|
448
|
+
width: 100% !important;
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
/*----------*/
|
|
452
|
+
#Capa_1_cookie {
|
|
453
|
+
width: 35px;
|
|
454
|
+
height: 35px;
|
|
455
|
+
}
|
|
456
|
+
#Capa_1_cookie .cls-1,
|
|
457
|
+
#Capa_1_cookie .cls-2 {
|
|
458
|
+
fill: #70baa6;
|
|
459
|
+
}
|
|
460
|
+
.ecix-premodal-view,
|
|
461
|
+
.ecix-premodal-view-content {
|
|
462
|
+
z-index: 999;
|
|
463
|
+
cursor: pointer;
|
|
464
|
+
}
|
|
465
|
+
`}
|
|
466
|
+
|
|
467
|
+
</style>
|
|
468
|
+
)
|
|
469
|
+
|
|
470
|
+
}
|
|
162
471
|
|
|
163
472
|
{false && isIE && (
|
|
164
473
|
<script type="text/javascript">{`
|