desy-html 10.0.0 → 10.1.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.
- package/docs/index.html +8 -0
- package/package.json +1 -1
- package/src/templates/components/footer/_examples.footer.njk +155 -2
- package/src/templates/components/footer/_template.footer.njk +12 -15
- package/src/templates/components/footer/params.footer.yaml +16 -4
- package/src/templates/pages/_page.foot-headroom.njk +1 -0
- package/src/templates/pages/_page.foot.njk +1 -0
package/docs/index.html
CHANGED
|
@@ -38,6 +38,14 @@
|
|
|
38
38
|
|
|
39
39
|
<h2>Changelog (English)</h2>
|
|
40
40
|
<p>What's new in the latest version of desy-html</p>
|
|
41
|
+
<h3>v.10.1.0</h3>
|
|
42
|
+
<ul class="text-sm">
|
|
43
|
+
<li>Added new param in Footer to improve columns.</li>
|
|
44
|
+
</ul>
|
|
45
|
+
<h3>v.10.0.1</h3>
|
|
46
|
+
<ul class="text-sm">
|
|
47
|
+
<li>Fixed cally not loading in templates.</li>
|
|
48
|
+
</ul>
|
|
41
49
|
<h3>v.10.0.0</h3>
|
|
42
50
|
<ul class="text-sm">
|
|
43
51
|
<li>Updated to Node v20.14.0 and Npm v10.8.1. Audit fix --save to update dependencies to latest.</li>
|
package/package.json
CHANGED
|
@@ -206,8 +206,8 @@
|
|
|
206
206
|
}
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
|
-
"name": "navegación con 3 columnas iguales",
|
|
210
|
-
"description": 'Usa el parámetro <code>navigation</code> para añadir columnas de navegación.',
|
|
209
|
+
"name": "navegación con 3 secciones en columnas iguales",
|
|
210
|
+
"description": 'Usa el parámetro <code>navigation.columns</code> para añadir columnas de navegación.',
|
|
211
211
|
"data": {
|
|
212
212
|
"meta": {
|
|
213
213
|
"html": 'Creado por <a href="https://sda.aragon.es/" class="c-link c-link--neutral">SDA Servicios Digitales de Aragón</a>'
|
|
@@ -276,6 +276,73 @@
|
|
|
276
276
|
{
|
|
277
277
|
"title": "Lista de enlaces 3",
|
|
278
278
|
"columns": 1,
|
|
279
|
+
"items": [
|
|
280
|
+
{
|
|
281
|
+
"href": "#1",
|
|
282
|
+
"html": 'Navigation item 1<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" height="0.8em" width="0.8em" class="inline-block mx-xs no-underline align-baseline" aria-hidden="true" focusable="false" role="img"><g><path fill="currentcolor" fill-rule="evenodd" d="M7.428571428571428 0.5714285714285714c-0.6311885714285713 0 -1.1428571428571428 0.5116742857142856 -1.1428571428571428 1.1428571428571428 0 0.6311771428571428 0.5116685714285714 1.1428571428571428 1.1428571428571428 1.1428571428571428h4.098057142857143L0.9061634285714285 13.477599999999999c-0.4463131428571428 0.4462857142857143 -0.4463131428571428 1.1699428571428572 0 1.6162285714285711 0.4463165714285714 0.4462857142857143 1.1699279999999999 0.4462857142857143 1.616248 0L13.142857142857142 4.473382857142857V8.571428571428571c0 0.6311771428571428 0.5116571428571428 1.1428571428571428 1.1428571428571428 1.1428571428571428s1.1428571428571428 -0.51168 1.1428571428571428 -1.1428571428571428v-6.857142857142857c0 -0.6311828571428572 -0.5116571428571428 -1.1428571428571428 -1.1428571428571428 -1.1428571428571428h-6.857142857142857Z" clip-rule="evenodd" stroke-width="1"></path></g></svg>',
|
|
283
|
+
"attributes": {
|
|
284
|
+
"title": "Se abre en ventana nueva",
|
|
285
|
+
"target": "_blank"
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"href": "#2",
|
|
290
|
+
"html": 'Navigation item 2<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" height="0.8em" width="0.8em" class="inline-block mx-xs no-underline align-baseline" aria-hidden="true" focusable="false" role="img"><g><path fill="currentcolor" fill-rule="evenodd" d="M7.428571428571428 0.5714285714285714c-0.6311885714285713 0 -1.1428571428571428 0.5116742857142856 -1.1428571428571428 1.1428571428571428 0 0.6311771428571428 0.5116685714285714 1.1428571428571428 1.1428571428571428 1.1428571428571428h4.098057142857143L0.9061634285714285 13.477599999999999c-0.4463131428571428 0.4462857142857143 -0.4463131428571428 1.1699428571428572 0 1.6162285714285711 0.4463165714285714 0.4462857142857143 1.1699279999999999 0.4462857142857143 1.616248 0L13.142857142857142 4.473382857142857V8.571428571428571c0 0.6311771428571428 0.5116571428571428 1.1428571428571428 1.1428571428571428 1.1428571428571428s1.1428571428571428 -0.51168 1.1428571428571428 -1.1428571428571428v-6.857142857142857c0 -0.6311828571428572 -0.5116571428571428 -1.1428571428571428 -1.1428571428571428 -1.1428571428571428h-6.857142857142857Z" clip-rule="evenodd" stroke-width="1"></path></g></svg>',
|
|
291
|
+
"attributes": {
|
|
292
|
+
"title": "Se abre en ventana nueva",
|
|
293
|
+
"target": "_blank"
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"href": "#3",
|
|
298
|
+
"html": 'Navigation item 3<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" height="0.8em" width="0.8em" class="inline-block mx-xs no-underline align-baseline" aria-hidden="true" focusable="false" role="img"><g><path fill="currentcolor" fill-rule="evenodd" d="M7.428571428571428 0.5714285714285714c-0.6311885714285713 0 -1.1428571428571428 0.5116742857142856 -1.1428571428571428 1.1428571428571428 0 0.6311771428571428 0.5116685714285714 1.1428571428571428 1.1428571428571428 1.1428571428571428h4.098057142857143L0.9061634285714285 13.477599999999999c-0.4463131428571428 0.4462857142857143 -0.4463131428571428 1.1699428571428572 0 1.6162285714285711 0.4463165714285714 0.4462857142857143 1.1699279999999999 0.4462857142857143 1.616248 0L13.142857142857142 4.473382857142857V8.571428571428571c0 0.6311771428571428 0.5116571428571428 1.1428571428571428 1.1428571428571428 1.1428571428571428s1.1428571428571428 -0.51168 1.1428571428571428 -1.1428571428571428v-6.857142857142857c0 -0.6311828571428572 -0.5116571428571428 -1.1428571428571428 -1.1428571428571428 -1.1428571428571428h-6.857142857142857Z" clip-rule="evenodd" stroke-width="1"></path></g></svg>',
|
|
299
|
+
"attributes": {
|
|
300
|
+
"title": "Se abre en ventana nueva",
|
|
301
|
+
"target": "_blank"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"href": "#4",
|
|
306
|
+
"html": 'Navigation item 4<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" height="0.8em" width="0.8em" class="inline-block mx-xs no-underline align-baseline" aria-hidden="true" focusable="false" role="img"><g><path fill="currentcolor" fill-rule="evenodd" d="M7.428571428571428 0.5714285714285714c-0.6311885714285713 0 -1.1428571428571428 0.5116742857142856 -1.1428571428571428 1.1428571428571428 0 0.6311771428571428 0.5116685714285714 1.1428571428571428 1.1428571428571428 1.1428571428571428h4.098057142857143L0.9061634285714285 13.477599999999999c-0.4463131428571428 0.4462857142857143 -0.4463131428571428 1.1699428571428572 0 1.6162285714285711 0.4463165714285714 0.4462857142857143 1.1699279999999999 0.4462857142857143 1.616248 0L13.142857142857142 4.473382857142857V8.571428571428571c0 0.6311771428571428 0.5116571428571428 1.1428571428571428 1.1428571428571428 1.1428571428571428s1.1428571428571428 -0.51168 1.1428571428571428 -1.1428571428571428v-6.857142857142857c0 -0.6311828571428572 -0.5116571428571428 -1.1428571428571428 -1.1428571428571428 -1.1428571428571428h-6.857142857142857Z" clip-rule="evenodd" stroke-width="1"></path></g></svg>',
|
|
307
|
+
"attributes": {
|
|
308
|
+
"title": "Se abre en ventana nueva",
|
|
309
|
+
"target": "_blank"
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"href": "#5",
|
|
314
|
+
"html": 'Navigation item 5<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" height="0.8em" width="0.8em" class="inline-block mx-xs no-underline align-baseline" aria-hidden="true" focusable="false" role="img"><g><path fill="currentcolor" fill-rule="evenodd" d="M7.428571428571428 0.5714285714285714c-0.6311885714285713 0 -1.1428571428571428 0.5116742857142856 -1.1428571428571428 1.1428571428571428 0 0.6311771428571428 0.5116685714285714 1.1428571428571428 1.1428571428571428 1.1428571428571428h4.098057142857143L0.9061634285714285 13.477599999999999c-0.4463131428571428 0.4462857142857143 -0.4463131428571428 1.1699428571428572 0 1.6162285714285711 0.4463165714285714 0.4462857142857143 1.1699279999999999 0.4462857142857143 1.616248 0L13.142857142857142 4.473382857142857V8.571428571428571c0 0.6311771428571428 0.5116571428571428 1.1428571428571428 1.1428571428571428 1.1428571428571428s1.1428571428571428 -0.51168 1.1428571428571428 -1.1428571428571428v-6.857142857142857c0 -0.6311828571428572 -0.5116571428571428 -1.1428571428571428 -1.1428571428571428 -1.1428571428571428h-6.857142857142857Z" clip-rule="evenodd" stroke-width="1"></path></g></svg>',
|
|
315
|
+
"attributes": {
|
|
316
|
+
"title": "Se abre en ventana nueva",
|
|
317
|
+
"target": "_blank"
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"href": "#6",
|
|
322
|
+
"html": 'Navigation item 6<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" height="0.8em" width="0.8em" class="inline-block mx-xs no-underline align-baseline" aria-hidden="true" focusable="false" role="img"><g><path fill="currentcolor" fill-rule="evenodd" d="M7.428571428571428 0.5714285714285714c-0.6311885714285713 0 -1.1428571428571428 0.5116742857142856 -1.1428571428571428 1.1428571428571428 0 0.6311771428571428 0.5116685714285714 1.1428571428571428 1.1428571428571428 1.1428571428571428h4.098057142857143L0.9061634285714285 13.477599999999999c-0.4463131428571428 0.4462857142857143 -0.4463131428571428 1.1699428571428572 0 1.6162285714285711 0.4463165714285714 0.4462857142857143 1.1699279999999999 0.4462857142857143 1.616248 0L13.142857142857142 4.473382857142857V8.571428571428571c0 0.6311771428571428 0.5116571428571428 1.1428571428571428 1.1428571428571428 1.1428571428571428s1.1428571428571428 -0.51168 1.1428571428571428 -1.1428571428571428v-6.857142857142857c0 -0.6311828571428572 -0.5116571428571428 -1.1428571428571428 -1.1428571428571428 -1.1428571428571428h-6.857142857142857Z" clip-rule="evenodd" stroke-width="1"></path></g></svg>',
|
|
323
|
+
"attributes": {
|
|
324
|
+
"title": "Se abre en ventana nueva",
|
|
325
|
+
"target": "_blank"
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
]
|
|
329
|
+
}
|
|
330
|
+
],
|
|
331
|
+
"classes": "lg:mt-48"
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"name": "navegación con 3 secciones, una de ellas con 2 columnas",
|
|
336
|
+
"description": 'Usa el parámetro <code>navigation.columns</code> y <code>navigation.classes</code> para añadir columnas de navegación y controlar la anchura de cada una de ellas.',
|
|
337
|
+
"data": {
|
|
338
|
+
"meta": {
|
|
339
|
+
"html": 'Creado por <a href="https://sda.aragon.es/" class="c-link c-link--neutral">SDA Servicios Digitales de Aragón</a>'
|
|
340
|
+
},
|
|
341
|
+
"navigation": [
|
|
342
|
+
{
|
|
343
|
+
"title": "Lista de enlaces 1",
|
|
344
|
+
"columns": 2,
|
|
345
|
+
"classes": "basis-2/4 -mx-base px-base",
|
|
279
346
|
"items": [
|
|
280
347
|
{
|
|
281
348
|
"href": "#1",
|
|
@@ -302,6 +369,92 @@
|
|
|
302
369
|
"text": "Navigation item 6"
|
|
303
370
|
}
|
|
304
371
|
]
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"title": "Lista de enlaces 2",
|
|
375
|
+
"columns": 1,
|
|
376
|
+
"classes": "basis-1/4 -mx-base px-base",
|
|
377
|
+
"items": [
|
|
378
|
+
{
|
|
379
|
+
"href": "#1",
|
|
380
|
+
"text": "Navigation item 1"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"href": "#2",
|
|
384
|
+
"text": "Navigation item 2"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"href": "#3",
|
|
388
|
+
"text": "Navigation item 3"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"href": "#4",
|
|
392
|
+
"text": "Navigation item 4"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"href": "#5",
|
|
396
|
+
"text": "Navigation item 5"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"href": "#6",
|
|
400
|
+
"text": "Navigation item 6"
|
|
401
|
+
}
|
|
402
|
+
]
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"title": "Lista de enlaces 3",
|
|
406
|
+
"columns": 1,
|
|
407
|
+
"classes": "basis-1/4 -mx-base px-base",
|
|
408
|
+
"items": [
|
|
409
|
+
{
|
|
410
|
+
"href": "#1",
|
|
411
|
+
"html": 'Navigation item 1<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" height="0.8em" width="0.8em" class="inline-block mx-xs no-underline align-baseline" aria-hidden="true" focusable="false" role="img"><g><path fill="currentcolor" fill-rule="evenodd" d="M7.428571428571428 0.5714285714285714c-0.6311885714285713 0 -1.1428571428571428 0.5116742857142856 -1.1428571428571428 1.1428571428571428 0 0.6311771428571428 0.5116685714285714 1.1428571428571428 1.1428571428571428 1.1428571428571428h4.098057142857143L0.9061634285714285 13.477599999999999c-0.4463131428571428 0.4462857142857143 -0.4463131428571428 1.1699428571428572 0 1.6162285714285711 0.4463165714285714 0.4462857142857143 1.1699279999999999 0.4462857142857143 1.616248 0L13.142857142857142 4.473382857142857V8.571428571428571c0 0.6311771428571428 0.5116571428571428 1.1428571428571428 1.1428571428571428 1.1428571428571428s1.1428571428571428 -0.51168 1.1428571428571428 -1.1428571428571428v-6.857142857142857c0 -0.6311828571428572 -0.5116571428571428 -1.1428571428571428 -1.1428571428571428 -1.1428571428571428h-6.857142857142857Z" clip-rule="evenodd" stroke-width="1"></path></g></svg>',
|
|
412
|
+
"attributes": {
|
|
413
|
+
"title": "Se abre en ventana nueva",
|
|
414
|
+
"target": "_blank"
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"href": "#2",
|
|
419
|
+
"html": 'Navigation item 2<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" height="0.8em" width="0.8em" class="inline-block mx-xs no-underline align-baseline" aria-hidden="true" focusable="false" role="img"><g><path fill="currentcolor" fill-rule="evenodd" d="M7.428571428571428 0.5714285714285714c-0.6311885714285713 0 -1.1428571428571428 0.5116742857142856 -1.1428571428571428 1.1428571428571428 0 0.6311771428571428 0.5116685714285714 1.1428571428571428 1.1428571428571428 1.1428571428571428h4.098057142857143L0.9061634285714285 13.477599999999999c-0.4463131428571428 0.4462857142857143 -0.4463131428571428 1.1699428571428572 0 1.6162285714285711 0.4463165714285714 0.4462857142857143 1.1699279999999999 0.4462857142857143 1.616248 0L13.142857142857142 4.473382857142857V8.571428571428571c0 0.6311771428571428 0.5116571428571428 1.1428571428571428 1.1428571428571428 1.1428571428571428s1.1428571428571428 -0.51168 1.1428571428571428 -1.1428571428571428v-6.857142857142857c0 -0.6311828571428572 -0.5116571428571428 -1.1428571428571428 -1.1428571428571428 -1.1428571428571428h-6.857142857142857Z" clip-rule="evenodd" stroke-width="1"></path></g></svg>',
|
|
420
|
+
"attributes": {
|
|
421
|
+
"title": "Se abre en ventana nueva",
|
|
422
|
+
"target": "_blank"
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"href": "#3",
|
|
427
|
+
"html": 'Navigation item 3<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" height="0.8em" width="0.8em" class="inline-block mx-xs no-underline align-baseline" aria-hidden="true" focusable="false" role="img"><g><path fill="currentcolor" fill-rule="evenodd" d="M7.428571428571428 0.5714285714285714c-0.6311885714285713 0 -1.1428571428571428 0.5116742857142856 -1.1428571428571428 1.1428571428571428 0 0.6311771428571428 0.5116685714285714 1.1428571428571428 1.1428571428571428 1.1428571428571428h4.098057142857143L0.9061634285714285 13.477599999999999c-0.4463131428571428 0.4462857142857143 -0.4463131428571428 1.1699428571428572 0 1.6162285714285711 0.4463165714285714 0.4462857142857143 1.1699279999999999 0.4462857142857143 1.616248 0L13.142857142857142 4.473382857142857V8.571428571428571c0 0.6311771428571428 0.5116571428571428 1.1428571428571428 1.1428571428571428 1.1428571428571428s1.1428571428571428 -0.51168 1.1428571428571428 -1.1428571428571428v-6.857142857142857c0 -0.6311828571428572 -0.5116571428571428 -1.1428571428571428 -1.1428571428571428 -1.1428571428571428h-6.857142857142857Z" clip-rule="evenodd" stroke-width="1"></path></g></svg>',
|
|
428
|
+
"attributes": {
|
|
429
|
+
"title": "Se abre en ventana nueva",
|
|
430
|
+
"target": "_blank"
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"href": "#4",
|
|
435
|
+
"html": 'Navigation item 4<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" height="0.8em" width="0.8em" class="inline-block mx-xs no-underline align-baseline" aria-hidden="true" focusable="false" role="img"><g><path fill="currentcolor" fill-rule="evenodd" d="M7.428571428571428 0.5714285714285714c-0.6311885714285713 0 -1.1428571428571428 0.5116742857142856 -1.1428571428571428 1.1428571428571428 0 0.6311771428571428 0.5116685714285714 1.1428571428571428 1.1428571428571428 1.1428571428571428h4.098057142857143L0.9061634285714285 13.477599999999999c-0.4463131428571428 0.4462857142857143 -0.4463131428571428 1.1699428571428572 0 1.6162285714285711 0.4463165714285714 0.4462857142857143 1.1699279999999999 0.4462857142857143 1.616248 0L13.142857142857142 4.473382857142857V8.571428571428571c0 0.6311771428571428 0.5116571428571428 1.1428571428571428 1.1428571428571428 1.1428571428571428s1.1428571428571428 -0.51168 1.1428571428571428 -1.1428571428571428v-6.857142857142857c0 -0.6311828571428572 -0.5116571428571428 -1.1428571428571428 -1.1428571428571428 -1.1428571428571428h-6.857142857142857Z" clip-rule="evenodd" stroke-width="1"></path></g></svg>',
|
|
436
|
+
"attributes": {
|
|
437
|
+
"title": "Se abre en ventana nueva",
|
|
438
|
+
"target": "_blank"
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"href": "#5",
|
|
443
|
+
"html": 'Navigation item 5<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" height="0.8em" width="0.8em" class="inline-block mx-xs no-underline align-baseline" aria-hidden="true" focusable="false" role="img"><g><path fill="currentcolor" fill-rule="evenodd" d="M7.428571428571428 0.5714285714285714c-0.6311885714285713 0 -1.1428571428571428 0.5116742857142856 -1.1428571428571428 1.1428571428571428 0 0.6311771428571428 0.5116685714285714 1.1428571428571428 1.1428571428571428 1.1428571428571428h4.098057142857143L0.9061634285714285 13.477599999999999c-0.4463131428571428 0.4462857142857143 -0.4463131428571428 1.1699428571428572 0 1.6162285714285711 0.4463165714285714 0.4462857142857143 1.1699279999999999 0.4462857142857143 1.616248 0L13.142857142857142 4.473382857142857V8.571428571428571c0 0.6311771428571428 0.5116571428571428 1.1428571428571428 1.1428571428571428 1.1428571428571428s1.1428571428571428 -0.51168 1.1428571428571428 -1.1428571428571428v-6.857142857142857c0 -0.6311828571428572 -0.5116571428571428 -1.1428571428571428 -1.1428571428571428 -1.1428571428571428h-6.857142857142857Z" clip-rule="evenodd" stroke-width="1"></path></g></svg>',
|
|
444
|
+
"attributes": {
|
|
445
|
+
"title": "Se abre en ventana nueva",
|
|
446
|
+
"target": "_blank"
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"href": "#6",
|
|
451
|
+
"html": 'Navigation item 6<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" height="0.8em" width="0.8em" class="inline-block mx-xs no-underline align-baseline" aria-hidden="true" focusable="false" role="img"><g><path fill="currentcolor" fill-rule="evenodd" d="M7.428571428571428 0.5714285714285714c-0.6311885714285713 0 -1.1428571428571428 0.5116742857142856 -1.1428571428571428 1.1428571428571428 0 0.6311771428571428 0.5116685714285714 1.1428571428571428 1.1428571428571428 1.1428571428571428h4.098057142857143L0.9061634285714285 13.477599999999999c-0.4463131428571428 0.4462857142857143 -0.4463131428571428 1.1699428571428572 0 1.6162285714285711 0.4463165714285714 0.4462857142857143 1.1699279999999999 0.4462857142857143 1.616248 0L13.142857142857142 4.473382857142857V8.571428571428571c0 0.6311771428571428 0.5116571428571428 1.1428571428571428 1.1428571428571428 1.1428571428571428s1.1428571428571428 -0.51168 1.1428571428571428 -1.1428571428571428v-6.857142857142857c0 -0.6311828571428572 -0.5116571428571428 -1.1428571428571428 -1.1428571428571428 -1.1428571428571428h-6.857142857142857Z" clip-rule="evenodd" stroke-width="1"></path></g></svg>',
|
|
452
|
+
"attributes": {
|
|
453
|
+
"title": "Se abre en ventana nueva",
|
|
454
|
+
"target": "_blank"
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
]
|
|
305
458
|
}
|
|
306
459
|
],
|
|
307
460
|
"classes": "lg:mt-48"
|
|
@@ -6,20 +6,15 @@ text-neutral-dark {{ params.classes if params.classes }}"
|
|
|
6
6
|
{% if params.navigation | length %}
|
|
7
7
|
<div class="flex flex-col lg:flex-row flex-wrap gap-base">
|
|
8
8
|
{% for nav in params.navigation %}
|
|
9
|
-
<div class="
|
|
10
|
-
<h3 class="c-
|
|
9
|
+
<div class="{%- if nav.classes %} {{ nav.classes }}{% else -%} flex-1{% endif %}">
|
|
10
|
+
<h3 class="c-h4 mb-base text-black">{{ nav.title }}</h3>
|
|
11
11
|
{% if nav.items | length %}
|
|
12
|
-
{%
|
|
13
|
-
{% if nav.columns %}
|
|
14
|
-
lg:grid-cols-{{ nav.columns }}
|
|
15
|
-
{% endif %}
|
|
16
|
-
{% endset %}
|
|
17
|
-
<ul class="grid grid-cols-1 gap-base {{ listClasses | trim }}">
|
|
12
|
+
<ul class="relative space-y-base {%- if nav.columns > 1 %} columns-{{ nav.columns }} gap-base{% endif %}">
|
|
18
13
|
{% for item in nav.items %}
|
|
19
|
-
{% if item.
|
|
14
|
+
{% if item.text or item.html %}
|
|
20
15
|
<li class="mb-xs">
|
|
21
16
|
<a class="c-link font-semibold" href="{{ item.href }}"{% for attribute, value in item.attributes %} {{attribute}}="{{value}}"{% endfor %}>
|
|
22
|
-
{{ item.text }}
|
|
17
|
+
{{ item.html | safe if item.html else item.text }}
|
|
23
18
|
</a>
|
|
24
19
|
</li>
|
|
25
20
|
{% endif %}
|
|
@@ -38,11 +33,13 @@ text-neutral-dark {{ params.classes if params.classes }}"
|
|
|
38
33
|
{% if params.meta.items | length %}
|
|
39
34
|
<ul class="flex flex-col lg:flex-row lg:flex-wrap mb-base">
|
|
40
35
|
{% for item in params.meta.items %}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
36
|
+
{% if item.text or item.html %}
|
|
37
|
+
<li class="mb-sm mr-base">
|
|
38
|
+
<a class="c-link font-semibold" href="{{ item.href }}"{% for attribute, value in item.attributes %} {{attribute}}="{{value}}"{% endfor %}>
|
|
39
|
+
{{ item.html | safe if item.html else item.text }}
|
|
40
|
+
</a>
|
|
41
|
+
</li>
|
|
42
|
+
{% endif %}
|
|
46
43
|
{% endfor %}
|
|
47
44
|
</ul>
|
|
48
45
|
{% endif %}
|
|
@@ -20,11 +20,15 @@ params:
|
|
|
20
20
|
params:
|
|
21
21
|
- name: text
|
|
22
22
|
type: string
|
|
23
|
-
required:
|
|
23
|
+
required: true
|
|
24
24
|
description: List item text in the meta section of the footer.
|
|
25
|
-
- name:
|
|
25
|
+
- name: html
|
|
26
26
|
type: string
|
|
27
27
|
required: false
|
|
28
|
+
description: If `text` is set, this is not required. HTML to use in the list item. If `html` is provided, the `text` argument will be ignored.
|
|
29
|
+
- name: href
|
|
30
|
+
type: string
|
|
31
|
+
required: true
|
|
28
32
|
description: List item href attribute in the meta section of the footer.
|
|
29
33
|
- name: attributes
|
|
30
34
|
type: object
|
|
@@ -64,16 +68,24 @@ params:
|
|
|
64
68
|
params:
|
|
65
69
|
- name: text
|
|
66
70
|
type: string
|
|
67
|
-
required:
|
|
71
|
+
required: true
|
|
68
72
|
description: List item text in the navigation section of the footer.
|
|
69
|
-
- name:
|
|
73
|
+
- name: html
|
|
70
74
|
type: string
|
|
71
75
|
required: false
|
|
76
|
+
description: If `text` is set, this is not required. HTML to use in the list item. If `html` is provided, the `text` argument will be ignored.
|
|
77
|
+
- name: href
|
|
78
|
+
type: string
|
|
79
|
+
required: true
|
|
72
80
|
description: List item href attribute in the navigation section of the footer. Both `text` and `href` attributes need to be present to create a link.
|
|
73
81
|
- name: attributes
|
|
74
82
|
type: object
|
|
75
83
|
required: false
|
|
76
84
|
description: HTML attributes (for example data attributes) to add to the anchor in the footer navigation section.
|
|
85
|
+
- name: classes
|
|
86
|
+
type: string
|
|
87
|
+
required: false
|
|
88
|
+
description: Classes to add to the navigation item.
|
|
77
89
|
- name: noLogo
|
|
78
90
|
type: boolean
|
|
79
91
|
required: false
|