libreria-astro-lefebvre 0.1.115 → 0.1.119
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/package.json +1 -1
- package/src/components/Astro/Cabecera_2025_Barcelona.astro +2 -2
- package/src/components/Astro/FAQ_2026_Takayama.astro +21 -8
- package/src/components/Astro/Footer_2025_Napoles.astro +2 -2
- package/src/components/Astro/Footer_2026_Napoles.astro +2 -2
- package/src/components/Astro/Footer_2027_Napoles.astro +2 -2
package/package.json
CHANGED
|
@@ -48,7 +48,7 @@ const {
|
|
|
48
48
|
|
|
49
49
|
---
|
|
50
50
|
|
|
51
|
-
<
|
|
51
|
+
<nav class="w-full flex">
|
|
52
52
|
<div class="max-w-7xl w-full mx-auto flex gap-2 bg-white text-[#363942] px-6 md:px-2 py-2 text-sm items-center">
|
|
53
53
|
<a href={subdirectory + '/'} class="flex items-center gap-2 underline">
|
|
54
54
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
@@ -64,6 +64,6 @@ const {
|
|
|
64
64
|
))}
|
|
65
65
|
/ <span class="text-[#363942] font-normal" set:html={text}></span>
|
|
66
66
|
</div>
|
|
67
|
-
</
|
|
67
|
+
</nav>
|
|
68
68
|
|
|
69
69
|
<Fragment set:html={breadcrumbScript} />
|
|
@@ -58,7 +58,7 @@ const structuredData = !noSchema && items.length > 0 ? `<script type="applicatio
|
|
|
58
58
|
<Fragment set:html={structuredData} />
|
|
59
59
|
|
|
60
60
|
<style is:global>
|
|
61
|
-
|
|
61
|
+
/* El contenido llega como HTML del editor (set:html), por eso los estilos son globales acotados a .takayama-answer. */
|
|
62
62
|
.takayama-answer > * + * {
|
|
63
63
|
margin-top: 16px;
|
|
64
64
|
}
|
|
@@ -66,29 +66,42 @@ const structuredData = !noSchema && items.length > 0 ? `<script type="applicatio
|
|
|
66
66
|
list-style: none;
|
|
67
67
|
margin: 0;
|
|
68
68
|
padding: 0;
|
|
69
|
+
}
|
|
70
|
+
/* Solo la lista de primer nivel se reparte en columnas; las anidadas van en una. */
|
|
71
|
+
.takayama-answer > ul {
|
|
69
72
|
column-gap: 32px;
|
|
70
73
|
}
|
|
71
74
|
@media (min-width: 768px) {
|
|
72
|
-
.takayama-answer ul { column-count: 2; }
|
|
75
|
+
.takayama-answer > ul { column-count: 2; }
|
|
73
76
|
}
|
|
74
77
|
@media (min-width: 1024px) {
|
|
75
|
-
.takayama-answer ul { column-count: 3; }
|
|
78
|
+
.takayama-answer > ul { column-count: 3; }
|
|
76
79
|
}
|
|
80
|
+
/* Sin flex: el strong, el texto y las listas anidadas fluyen en línea. El check va en absoluto. */
|
|
77
81
|
.takayama-answer li {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
gap: 8px;
|
|
82
|
+
position: relative;
|
|
83
|
+
padding-left: 28px;
|
|
81
84
|
break-inside: avoid;
|
|
82
85
|
margin-bottom: 16px;
|
|
83
86
|
}
|
|
84
87
|
/* Icono de check del diseño (20px). */
|
|
85
88
|
.takayama-answer li::before {
|
|
86
89
|
content: '';
|
|
87
|
-
|
|
90
|
+
position: absolute;
|
|
91
|
+
left: 0;
|
|
92
|
+
top: 2px;
|
|
88
93
|
width: 20px;
|
|
89
94
|
height: 20px;
|
|
90
|
-
background: url("
|
|
95
|
+
background: url("...EL SVG QUE YA TIENES...") center / contain no-repeat;
|
|
96
|
+
}
|
|
97
|
+
/* Listas anidadas (Opciones de suscripción): debajo de su título, con menos separación. */
|
|
98
|
+
.takayama-answer li ul {
|
|
99
|
+
margin-top: 8px;
|
|
91
100
|
}
|
|
101
|
+
.takayama-answer li li {
|
|
102
|
+
margin-bottom: 8px;
|
|
103
|
+
}
|
|
104
|
+
|
|
92
105
|
</style>
|
|
93
106
|
|
|
94
107
|
<script>
|
|
@@ -57,7 +57,7 @@ const categories = [
|
|
|
57
57
|
|
|
58
58
|
<footer class="w-full">
|
|
59
59
|
<div class="bg-white text-[#363942] py-10 border-t border-gray-300">
|
|
60
|
-
<
|
|
60
|
+
<nav aria-label="Enlaces corporativos" class="max-w-7xl flex-wrap md:flex-nowrap w-full px-4 md:px-0 flex items-start mx-auto">
|
|
61
61
|
{categories.map(category => (
|
|
62
62
|
<div class="w-1/2 flex-nowrap px-2 md:px-4 mb-4 flex-1">
|
|
63
63
|
<p class="font-poppins text-xl text-[#262626] font-semibold mb-4">{category.name}</p>
|
|
@@ -80,7 +80,7 @@ const categories = [
|
|
|
80
80
|
</ul>
|
|
81
81
|
</div>
|
|
82
82
|
))}
|
|
83
|
-
</
|
|
83
|
+
</nav>
|
|
84
84
|
</div>
|
|
85
85
|
<div class="bg-[white] text-[#262626] border-t border-gray-300">
|
|
86
86
|
<div class="flex flex-col md:flex-row gap-8 max-w-7xl mx-auto p-8 md:px-2">
|
|
@@ -105,7 +105,7 @@ const categories = [
|
|
|
105
105
|
<footer class="w-full">
|
|
106
106
|
{showPrefooterCats && (
|
|
107
107
|
<div class="prefooter-cats bg-white text-[#363942] py-10 border-t border-gray-300">
|
|
108
|
-
<
|
|
108
|
+
<nav aria-label="Enlaces corporativos" class="max-w-7xl flex-wrap md:flex-nowrap w-full px-4 md:px-0 flex items-start mx-auto">
|
|
109
109
|
{categories.map(category => (
|
|
110
110
|
<div class="w-1/2 flex-nowrap px-2 md:px-4 mb-4 flex-1">
|
|
111
111
|
<p class="font-poppins text-xl text-[#262626] font-semibold mb-4">{category.name}</p>
|
|
@@ -170,7 +170,7 @@ const categories = [
|
|
|
170
170
|
</>
|
|
171
171
|
)}
|
|
172
172
|
</div>
|
|
173
|
-
</
|
|
173
|
+
</nav>
|
|
174
174
|
</div>
|
|
175
175
|
)}
|
|
176
176
|
<div class="bg-[white] text-[#262626] border-t border-gray-300">
|
|
@@ -96,7 +96,7 @@ const categories = [
|
|
|
96
96
|
<footer class="w-full">
|
|
97
97
|
{showPrefooter && (
|
|
98
98
|
<div class="bg-white text-[#363942] py-10 border-t border-gray-300">
|
|
99
|
-
<
|
|
99
|
+
<nav aria-label="Enlaces corporativos" class="max-w-7xl flex-wrap md:flex-nowrap w-full px-4 md:px-0 flex items-start mx-auto">
|
|
100
100
|
{categories.map(category => (
|
|
101
101
|
<div class="w-1/2 flex-nowrap px-2 md:px-4 mb-4 flex-1">
|
|
102
102
|
<p class="font-poppins text-xl text-[#262626] font-semibold mb-4">{category.name}</p>
|
|
@@ -140,7 +140,7 @@ const categories = [
|
|
|
140
140
|
<div class="mt-6" set:html={column4Html} />
|
|
141
141
|
)}
|
|
142
142
|
</div>
|
|
143
|
-
</
|
|
143
|
+
</nav>
|
|
144
144
|
</div>
|
|
145
145
|
)}
|
|
146
146
|
<div class="bg-[white] text-[#262626] border-t border-gray-300">
|