libreria-astro-lefebvre 0.0.48 → 0.0.50
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_Madrid.astro +1 -1
- package/src/components/Astro/Contenido_2025_Alcorcon.astro +1 -1
- package/src/components/Astro/Contenido_2025_Malaga.astro +1 -1
- package/src/components/Astro/Contenido_2025_Montevideo.astro +1 -1
- package/src/components/Astro/CorpFooter.astro +1 -1
- package/src/components/Astro/CorpNavigation.astro +2 -2
- package/src/components/Astro/Footer_2025_Napoles.astro +1 -1
- package/src/components/Astro/Formulario_2025_Seul.astro +1 -1
- package/src/components/Astro/Formulario_2025_Teruel.astro +2 -2
- package/src/components/Astro/HeaderCorporativo.astro +2 -2
- package/src/components/Astro/Imagen_2025_Bogota.astro +1 -1
- package/src/components/Astro/Imagen_2025_Fukushima.astro +2 -2
- package/src/components/Astro/Repetidor_2025_Cabra.astro +1 -1
- package/src/components/Astro/Repetidor_2025_Michigan.astro +1 -1
- package/src/components/Astro/Repetidor_2025_Orcasitas.astro +2 -2
- package/src/components/Astro/Repetidor_2025_Oslo.astro +1 -1
- package/src/components/Astro/Repetidor_2025_Yakarta.astro +1 -1
- package/src/components/Astro/TextImageBlock.astro +1 -1
- package/src/components/Astro/Video_2025_Polop.astro +1 -1
package/package.json
CHANGED
|
@@ -90,7 +90,7 @@ const categories = [
|
|
|
90
90
|
|
|
91
91
|
<div class="max-w-7xl flex items-center justify-between mx-auto">
|
|
92
92
|
<a href={subdirectory + '/'} class="flex items-center">
|
|
93
|
-
<img src="https://assets.lefebvre.es/media/logos-2/svg/lefebvre.svg" class="h-[40px]" alt="GenIA-L Lefebvre">
|
|
93
|
+
<img src="https://assets.lefebvre.es/media/logos-2/svg/lefebvre.svg" class="h-[40px]" alt="GenIA-L Lefebvre" loading="lazy">
|
|
94
94
|
</a>
|
|
95
95
|
<div class="flex items-center gap-4">
|
|
96
96
|
<div class="flex items-center gap-4">
|
|
@@ -21,7 +21,7 @@ const {
|
|
|
21
21
|
<div class="max-w-7xl w-full flex justify-center items-center relative md:w-4/5">
|
|
22
22
|
<div class="relative w-full max-w-7xl min-h-[400px] md:min-h-[500px] lg:min-h-[auto]">
|
|
23
23
|
{src && src !== "" ? (
|
|
24
|
-
<img src={src} alt={alt} title={title} class="object-cover object-center w-full h-full lg:max-h-[446px] min-h-[400px] md:min-h-[500px] lg:min-h-[auto] rounded-2xl">
|
|
24
|
+
<img src={src} alt={alt} title={title} class="object-cover object-center w-full h-full lg:max-h-[446px] min-h-[400px] md:min-h-[500px] lg:min-h-[auto] rounded-2xl" loading="lazy">
|
|
25
25
|
) : (
|
|
26
26
|
<video autoplay loop muted playsinline class="object-cover object-center w-full h-full lg:max-h-[446px] min-h-[400px] md:min-h-[500px] lg:min-h-[auto] rounded-2xl">
|
|
27
27
|
<source src={iframeSrc} type="video/mp4" />
|
|
@@ -94,7 +94,7 @@ const {
|
|
|
94
94
|
)}
|
|
95
95
|
|
|
96
96
|
<div class={`w-full lg:w-1/2 p-4 flex items-center ${orientation === 'left' ? 'justify-end' : 'justify-start'} aspect-square`}>
|
|
97
|
-
<img src={image} alt={title} class="w-[100%] h-[100%] object-cover rounded-lg" />
|
|
97
|
+
<img src={image} alt={title} class="w-[100%] h-[100%] object-cover rounded-lg" loading="lazy" />
|
|
98
98
|
</div>
|
|
99
99
|
</div>
|
|
100
100
|
</article>
|
|
@@ -18,7 +18,7 @@ const {
|
|
|
18
18
|
<article class="w-full h-full flex flex-col rounded-lg border border-gray-200 items-center shadow-article hover:bg-gradient-to-r from-[#001978] via-[#2134F1] to-[#F81BBD] transition-all duration-300 p-[1px]">
|
|
19
19
|
<div class="bg-white mt-[1px] rounded-tl-[7px] rounded-tr-[7px] h-full">
|
|
20
20
|
<div class="w-full">
|
|
21
|
-
<img class="cursor-pointer rounded-tr-lg rounded-tl-lg mx-auto h-full" src={image} alt={altImage} />
|
|
21
|
+
<img loading="lazy" class="cursor-pointer rounded-tr-lg rounded-tl-lg mx-auto h-full" src={image} alt={altImage} />
|
|
22
22
|
</div>
|
|
23
23
|
<div class="p-6 flex-grow flex flex-col">
|
|
24
24
|
{tag && tag !== '' && <Titulo_2025_Santorini description={tag} />}
|
|
@@ -60,7 +60,7 @@ const categories = [
|
|
|
60
60
|
|
|
61
61
|
<div class="flex flex-col flex-[4_4_0%]">
|
|
62
62
|
<div class="mb-8">
|
|
63
|
-
<img src="https://assets.lefebvre.es/media/logos-2/svg/lefebvre.svg" alt="Logo" class="h-10" />
|
|
63
|
+
<img src="https://assets.lefebvre.es/media/logos-2/svg/lefebvre.svg" alt="Logo" class="h-10" loading="lazy" />
|
|
64
64
|
</div>
|
|
65
65
|
<div>
|
|
66
66
|
<ul class="flex flex-wrap gap-4 text-sm text-gray-800">
|
|
@@ -43,14 +43,14 @@ const categories = [
|
|
|
43
43
|
<nav class="px-4 py-2 w-full border-b-1 border-gray-400">
|
|
44
44
|
|
|
45
45
|
<div class="w-1/2 flex items-center justify-between py-2 mx-auto">
|
|
46
|
-
<img src="https://assets.lefebvre.es/media/logos-2/svg/lefebvre.svg" alt="Logo" class="h-[55px]" />
|
|
46
|
+
<img src="https://assets.lefebvre.es/media/logos-2/svg/lefebvre.svg" alt="Logo" class="h-[55px]" loading="lazy" />
|
|
47
47
|
|
|
48
48
|
<div class="flex items-center gap-4">
|
|
49
49
|
<a href="https://lefebvre.es/tienda" class="underline flex items-center gap-1 cursor-pointer">
|
|
50
50
|
<span>
|
|
51
51
|
Tienda
|
|
52
52
|
</span>
|
|
53
|
-
<img src="https://assets.lefebvre.es/media/icons-2/svg/icon-basket.svg" class="w-5"></a>
|
|
53
|
+
<img src="https://assets.lefebvre.es/media/icons-2/svg/icon-basket.svg" class="w-5" loading="lazy"></a>
|
|
54
54
|
<a href="https://espaciolefebvre.lefebvre.es/login/" class="px-4 py-3 border-1 border-black text-black hover:bg-black hover:text-white transition-all duration-300 rounded-lg font-semibold cursor-pointer">Entrar</a>
|
|
55
55
|
</div>
|
|
56
56
|
|
|
@@ -86,7 +86,7 @@ const categories = [
|
|
|
86
86
|
<div class="flex flex-col md:flex-row gap-8 max-w-7xl mx-auto p-[32px] md:px-2">
|
|
87
87
|
<div class="flex flex-col flex-[4_4_0%]">
|
|
88
88
|
<div class="mb-8">
|
|
89
|
-
<img src="https://assets.lefebvre.es/media/logos-2/svg/lefebvre.svg" alt="Logo" class="h-10" />
|
|
89
|
+
<img src="https://assets.lefebvre.es/media/logos-2/svg/lefebvre.svg" alt="Logo" class="h-10" loading="lazy" />
|
|
90
90
|
</div>
|
|
91
91
|
<div>
|
|
92
92
|
<ul class="flex flex-wrap gap-2 text-sm text-gray-800">
|
|
@@ -44,7 +44,7 @@ const structuredData = `<script type="application/ld+json">
|
|
|
44
44
|
<div id={idTargetLf2} class="w-full flex flex-col mx-auto gap-3"></div>
|
|
45
45
|
</div>
|
|
46
46
|
<div class={`w-full p-0 md:p-4 flex items-center ${orientation === 'left' ? 'justify-end' : 'justify-start'}`}>
|
|
47
|
-
<img src={imageSrc} alt={title} class="w-full md:w-4/5 min-h-auto md:min-h-[650px] object-cover rounded-lg" />
|
|
47
|
+
<img src={imageSrc} alt={title} class="w-full md:w-4/5 min-h-auto md:min-h-[650px] object-cover rounded-lg" loading="lazy" />
|
|
48
48
|
</div>
|
|
49
49
|
</div>
|
|
50
50
|
</article>
|
|
@@ -53,7 +53,7 @@ const randomId = Math.floor(Math.random() * 1000);
|
|
|
53
53
|
)}
|
|
54
54
|
</div>
|
|
55
55
|
<div class={`w-full md:w-1/2 p-4 flex items-center ${orientation === 'left' ? 'justify-end' : 'justify-start'}`}>
|
|
56
|
-
<img src={imageSrc} alt={title} class="w-full md:w-1/2 rounded-2xl" />
|
|
56
|
+
<img src={imageSrc} alt={title} class="w-full md:w-1/2 rounded-2xl" loading="lazy" />
|
|
57
57
|
</div>
|
|
58
58
|
</div>
|
|
59
59
|
|
|
@@ -66,7 +66,7 @@ const randomId = Math.floor(Math.random() * 1000);
|
|
|
66
66
|
</div>
|
|
67
67
|
<div class="w-full h-full flex flex-col lg:flex-row items-start justify-center gap-8">
|
|
68
68
|
<div class="w-full lg:w-1/3 flex justify-center items-center p-0 lg:p-4 mt-[32px] lg:mt-0">
|
|
69
|
-
<img src={imageModal} alt={altModal} class="w-fit" />
|
|
69
|
+
<img src={imageModal} alt={altModal} class="w-fit" loading="lazy" />
|
|
70
70
|
</div>
|
|
71
71
|
<div class="w-full lg:w-2/3">
|
|
72
72
|
<h2 class="font-poppins text-[#262626] text-[28px] lg:text-[32px] font-normal text-left leading-[40px] mb-[32px]">{titleModal}</h2>
|
|
@@ -13,12 +13,12 @@ const {
|
|
|
13
13
|
<div class="flex flex-wrap justify-between items-center mx-auto max-w-screen-xl">
|
|
14
14
|
|
|
15
15
|
<a href="/" class="flex justify-between items-center">
|
|
16
|
-
<img src={logo} class="" alt={alt}/>
|
|
16
|
+
<img src={logo} class="" alt={alt} loading="lazy"/>
|
|
17
17
|
</a>
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
{showLefebvreLogo && (
|
|
21
|
-
<img src="https://assets.lefebvre.es/media/logos-2/svg/lefebvre.svg" class="" alt="Lefebvre"/>
|
|
21
|
+
<img src="https://assets.lefebvre.es/media/logos-2/svg/lefebvre.svg" loading="lazy" class="" alt="Lefebvre"/>
|
|
22
22
|
)}
|
|
23
23
|
|
|
24
24
|
</div>
|
|
@@ -33,7 +33,7 @@ const {
|
|
|
33
33
|
<div class="absolute inset-0">
|
|
34
34
|
|
|
35
35
|
{src && src !== "" ? (
|
|
36
|
-
<img src={src} alt={alt} title={title} class="object-cover object-center w-full h-full rounded-2xl shadow-lg">
|
|
36
|
+
<img src={src} alt={alt} title={title} loading="lazy" class="object-cover object-center w-full h-full rounded-2xl shadow-lg">
|
|
37
37
|
) : (
|
|
38
38
|
<video autoplay loop muted playsinline class="object-cover object-center w-full h-full rounded-2xl shadow-lg">
|
|
39
39
|
<source src={iframeSrc} type="video/mp4" />
|
|
@@ -14,12 +14,12 @@ const {
|
|
|
14
14
|
<div class="w-full">
|
|
15
15
|
{(link && link !== '') ? (
|
|
16
16
|
<a href={link} class="w-full flex flex-col flex-1 justify-center items-center">
|
|
17
|
-
<img class="max-w-[80px] w-fit mb-4" src={image} alt={altImage} />
|
|
17
|
+
<img class="max-w-[80px] w-fit mb-4" src={image} alt={altImage} loading="lazy" />
|
|
18
18
|
<p class="text-[14px] text-[#363942]" set:html={descriptionImage}></p>
|
|
19
19
|
</a>
|
|
20
20
|
) : (
|
|
21
21
|
<div class="w-full flex flex-col flex-1 justify-center items-center max-h-[94px]">
|
|
22
|
-
<img class="max-w-[80px] w-fit mb-4" src={image} alt={altImage} />
|
|
22
|
+
<img class="max-w-[80px] w-fit mb-4" src={image} alt={altImage} loading="lazy" />
|
|
23
23
|
</div>
|
|
24
24
|
<div class="w-full flex flex-col flex-1 justify-center items-center">
|
|
25
25
|
<p class="text-[14px] text-[#363942]" set:html={descriptionImage}></p>
|
|
@@ -88,7 +88,7 @@ const structuredData = `<script type="application/ld+json">
|
|
|
88
88
|
/>
|
|
89
89
|
</div>
|
|
90
90
|
<div class="w-full md:w-1/2 p-0 md:pr-2">
|
|
91
|
-
<img src={item.image} alt="Imagen" class="w-full min-h-auto lg:min-h-full object-cover rounded-xl" />
|
|
91
|
+
<img src={item.image} alt="Imagen" loading="lazy" class="w-full min-h-auto lg:min-h-full object-cover rounded-xl" />
|
|
92
92
|
</div>
|
|
93
93
|
</div>
|
|
94
94
|
|
|
@@ -72,7 +72,7 @@ const structuredData = `<script type="application/ld+json">
|
|
|
72
72
|
{item.iframeSrc ? (
|
|
73
73
|
<div class="w-full">
|
|
74
74
|
<span class={`popup-iframe-trigger-${randomId} cursor-pointer`} data-iframesrc={item.iframeSrc}>
|
|
75
|
-
<img src={item.imageSrc} class="w-full h-full rounded-2xl p-2 transition-transform hover:scale-105 cursor-pointer"/>
|
|
75
|
+
<img src={item.imageSrc} loading="lazy" class="w-full h-full rounded-2xl p-2 transition-transform hover:scale-105 cursor-pointer"/>
|
|
76
76
|
</span>
|
|
77
77
|
</div>
|
|
78
78
|
<div class="p-6 flex-grow flex flex-col">
|
|
@@ -84,7 +84,7 @@ const structuredData = `<script type="application/ld+json">
|
|
|
84
84
|
</div>
|
|
85
85
|
</div>
|
|
86
86
|
) : (
|
|
87
|
-
<img src={item.image} alt={item.altImage} class="!max-w-[250px] w-fit" />
|
|
87
|
+
<img src={item.image} alt={item.altImage} class="!max-w-[250px] w-fit" loading="lazy" />
|
|
88
88
|
<p>{item.descriptionImage}</p>
|
|
89
89
|
)}
|
|
90
90
|
</div>
|
|
@@ -31,7 +31,7 @@ const structuredDataScript = `<script type="application/ld+json">${structuredDat
|
|
|
31
31
|
{items.map(item => (
|
|
32
32
|
<article class="w-full md:w-1/3 h-full mb-4 md:mb-0 relative">
|
|
33
33
|
<p class={`popup-iframe-trigger-${randomId} cursor-pointer`} data-iframesrc={item.iframeSrc}>
|
|
34
|
-
<img src={item.imageSrc} class="w-full h-full rounded-2xl p-2 transition-transform hover:scale-105 cursor-pointer"/>
|
|
34
|
+
<img src={item.imageSrc} class="w-full h-full rounded-2xl p-2 transition-transform hover:scale-105 cursor-pointer" loading="lazy"/>
|
|
35
35
|
</p>
|
|
36
36
|
<p set:html={item.description} class="text-[14px] text-[#363942] text-center font-semibold"></p>
|
|
37
37
|
</article>
|
|
@@ -81,7 +81,7 @@ const structuredData = `<script type="application/ld+json">
|
|
|
81
81
|
<p class="text-[#363942] font-poppins font-normal text-[20px] not-italic leading-[28px]" set:html={item.description}></p>
|
|
82
82
|
</div>
|
|
83
83
|
<div class="w-full lg:w-2/2 flex items-start">
|
|
84
|
-
{/* <img src="/assets/images/genial/gradient-bg.webp" alt="Imagen" class="w-full h-auto rounded-xl" /> */}
|
|
84
|
+
{/* <img src="/assets/images/genial/gradient-bg.webp" alt="Imagen" class="w-full h-auto rounded-xl" loading="lazy" /> */}
|
|
85
85
|
<video autoplay loop muted playsinline class="w-full h-auto rounded-xl">
|
|
86
86
|
<source src={item.iframeSrc} type="video/mp4" />
|
|
87
87
|
</video>
|
|
@@ -22,7 +22,7 @@ const {
|
|
|
22
22
|
</div>
|
|
23
23
|
</div>
|
|
24
24
|
<div class={`w-1/2 p-4 flex items-center ${orientation === 'left' ? 'justify-end' : 'justify-start'}`}>
|
|
25
|
-
<img src={image} alt={title} class="w-4/5 h-auto rounded" />
|
|
25
|
+
<img src={image} alt={title} class="w-4/5 h-auto rounded" loading="lazy" />
|
|
26
26
|
</div>
|
|
27
27
|
</div>
|
|
28
28
|
</article>
|
|
@@ -15,7 +15,7 @@ const {
|
|
|
15
15
|
<p class="text-[#363942] font-inter font-normal text-base not-italic leading-[24px]" set:html={description}></p>
|
|
16
16
|
</div>
|
|
17
17
|
<div class="w-full lg:w-2/2 flex items-start">
|
|
18
|
-
{/* <img src="/assets/images/genial/gradient-bg.webp" alt="Imagen" class="w-full h-auto rounded-xl" /> */}
|
|
18
|
+
{/* <img src="/assets/images/genial/gradient-bg.webp" alt="Imagen" class="w-full h-auto rounded-xl" loading="lazy" /> */}
|
|
19
19
|
<video autoplay loop muted playsinline class="w-full h-auto rounded-xl">
|
|
20
20
|
<source src={iframeSrc} type="video/mp4" />
|
|
21
21
|
</video>
|