libreria-astro-lefebvre 0.0.28 → 0.0.29
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/README.md +46 -46
- package/package.json +30 -30
- package/src/carbins/AstroButton.ts +34 -34
- package/src/carbins/CTA_2025_Formentera.ts +47 -47
- package/src/carbins/Cabecera_2025_Barcelona.ts +34 -34
- package/src/carbins/Cabecera_2025_Madrid.ts +34 -34
- package/src/carbins/Contenido_2025_Alcorcon.ts +76 -76
- package/src/carbins/Contenido_2025_Cordoba.ts +59 -59
- package/src/carbins/Contenido_2025_Granada.ts +67 -67
- package/src/carbins/Contenido_2025_Malaga.ts +100 -100
- package/src/carbins/Contenido_2025_Montevideo.ts +56 -56
- package/src/carbins/Footer_2025_Napoles.ts +12 -12
- package/src/carbins/Formulario_2025_Seul.ts +56 -56
- package/src/carbins/Imagen_2025_Bogota.ts +76 -76
- package/src/carbins/ReactButton.ts +32 -32
- package/src/carbins/Repetidor_2025_Cabra.ts +12 -12
- package/src/carbins/Repetidor_2025_Dubai.ts +48 -48
- package/src/carbins/Repetidor_2025_Estocolmo.ts +12 -12
- package/src/carbins/Repetidor_2025_Mallorca.ts +75 -75
- package/src/carbins/Repetidor_2025_Menorca.ts +75 -75
- package/src/carbins/Repetidor_2025_Michigan.ts +21 -21
- package/src/carbins/Repetidor_2025_Orcasitas.ts +34 -34
- package/src/carbins/Repetidor_2025_Oslo.ts +12 -12
- package/src/carbins/Repetidor_2025_Quito.ts +20 -20
- package/src/carbins/Repetidor_2025_Seattle.ts +12 -12
- package/src/carbins/Repetidor_2025_Tokyo.ts +48 -48
- package/src/carbins/Repetidor_2025_Ubeda.ts +12 -12
- package/src/carbins/Repetidor_2025_Yakarta.ts +12 -12
- package/src/carbins/SEO_Head_Section.ts +49 -49
- package/src/carbins/Separador_2025_Reinosa.ts +12 -12
- package/src/carbins/Titulo_2025_Algeciras.ts +51 -51
- package/src/carbins/Titulo_2025_Santorini.ts +20 -20
- package/src/carbins/Video_2025_Valencia.ts +12 -12
- package/src/carbins/VueButton.ts +35 -35
- package/src/components/Astro/Button.astro +5 -5
- package/src/components/Astro/CTA_2025_Formentera.astro +38 -38
- package/src/components/Astro/Cabecera_2025_Barcelona.astro +55 -55
- package/src/components/Astro/Cabecera_2025_Madrid.astro +176 -176
- package/src/components/Astro/Contenido_2025_Alcorcon.astro +48 -78
- package/src/components/Astro/Contenido_2025_Granada.astro +239 -239
- package/src/components/Astro/Contenido_2025_Malaga.astro +162 -162
- package/src/components/Astro/Contenido_2025_Montevideo.astro +35 -35
- package/src/components/Astro/Footer_2025_Napoles.astro +134 -134
- package/src/components/Astro/Formulario_2025_Seul.astro +91 -91
- package/src/components/Astro/Imagen_2025_Bogota.astro +61 -61
- package/src/components/Astro/Repetidor_2025_Cabra.astro +152 -152
- package/src/components/Astro/Repetidor_2025_Cordoba.astro +132 -132
- package/src/components/Astro/Repetidor_2025_Dubai.astro +29 -29
- package/src/components/Astro/Repetidor_2025_Estocolmo.astro +22 -22
- package/src/components/Astro/Repetidor_2025_Mallorca.astro +42 -42
- package/src/components/Astro/Repetidor_2025_Menorca.astro +43 -43
- package/src/components/Astro/Repetidor_2025_Michigan.astro +45 -45
- package/src/components/Astro/Repetidor_2025_Orcasitas.astro +235 -235
- package/src/components/Astro/Repetidor_2025_Oslo.astro +76 -76
- package/src/components/Astro/Repetidor_2025_Quito.astro +61 -61
- package/src/components/Astro/Repetidor_2025_Seattle.astro +22 -22
- package/src/components/Astro/Repetidor_2025_Tokyo.astro +56 -56
- package/src/components/Astro/Repetidor_2025_Ubeda.astro +39 -39
- package/src/components/Astro/Repetidor_2025_Yakarta.astro +203 -203
- package/src/components/Astro/SEO_Head_Section.astro +32 -32
- package/src/components/Astro/Separador_2025_Reinosa.astro +3 -3
- package/src/components/Astro/Titulo_2025_Algeciras.astro +57 -57
- package/src/components/Astro/Titulo_2025_Santorini.astro +8 -8
- package/src/generated/componentRegistry.ts +96 -96
- package/src/index.ts +123 -123
|
@@ -1,135 +1,135 @@
|
|
|
1
|
-
---
|
|
2
|
-
import Separador_2025_Reinosa from './Separador_2025_Reinosa.astro';
|
|
3
|
-
|
|
4
|
-
const {
|
|
5
|
-
subdirectory = "",
|
|
6
|
-
} = Astro.props;
|
|
7
|
-
|
|
8
|
-
const categories = [
|
|
9
|
-
{
|
|
10
|
-
name: 'Lefebvre',
|
|
11
|
-
link: '#',
|
|
12
|
-
subcategories: [
|
|
13
|
-
{name: 'Lefebvre.es', link: 'https://lefebvre.es'},
|
|
14
|
-
{name: 'Conócenos', link: 'https://lefebvre.es/cultura-empresarial/equipo-direccion/'},
|
|
15
|
-
{name: 'Trabaja con nosotros', link: 'https://lefebvre.es/talento/'},
|
|
16
|
-
{name: 'Contacto Lefebvre', link: 'https://lefebvre.es/contacto/'},
|
|
17
|
-
{name: 'Canal ético', link: 'https://lefebvre.es/etica-cumplimiento/'},
|
|
18
|
-
// {name: 'Partners', link: 'https://lefebvre.es/cultura-empresarial/'}
|
|
19
|
-
],
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
name: 'Explora GenIA-L',
|
|
23
|
-
link: '#',
|
|
24
|
-
subcategories: [
|
|
25
|
-
// {name: 'IA Jurídica', link: '#'},
|
|
26
|
-
{name: 'Casos reales', link: subdirectory + '/casos-reales/'},
|
|
27
|
-
{name: 'Conoce GenIA-L', link: subdirectory + '/conoce-genia-l/'},
|
|
28
|
-
// {name: 'Novedades y recursos', link: '#'},
|
|
29
|
-
// {name: 'Preguntas Frecuentes', link: '#'},
|
|
30
|
-
{name: 'Contacto GenIA-L', link: subdirectory + '/contacto/'}
|
|
31
|
-
],
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
name: 'Portales Lefebvre',
|
|
35
|
-
link: '#',
|
|
36
|
-
subcategories: [
|
|
37
|
-
{name: 'GenIA-L', link: 'https://lefebvre.es/genia-l/'},
|
|
38
|
-
{name: 'Formación', link: 'https://lefebvre.es/formacion/'},
|
|
39
|
-
{name: 'Elderecho.com', link: 'https://elderecho.com'},
|
|
40
|
-
{name: 'Espacioasesoria.com', link: 'https://espacioasesoria.com'},
|
|
41
|
-
{name: 'Derecholocal.es', link: 'https://derecholocal.es'},
|
|
42
|
-
{name: 'ESG', link: 'https://lefebvre.es/esg/'}
|
|
43
|
-
],
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
name: 'Tienda Online',
|
|
47
|
-
link: '#',
|
|
48
|
-
subcategories: [
|
|
49
|
-
{name: 'Nuestros productos', link: 'https://lefebvre.es/tienda/'}
|
|
50
|
-
],
|
|
51
|
-
},
|
|
52
|
-
|
|
53
|
-
];
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
---
|
|
57
|
-
|
|
58
|
-
<footer>
|
|
59
|
-
<div class="bg-white text-[#363942] py-10 border-t border-gray-300">
|
|
60
|
-
<div class="max-w-7xl flex-wrap md:flex-nowrap w-full px-4 flex items-start mx-auto">
|
|
61
|
-
{categories.map(category => (
|
|
62
|
-
<div class="w-1/2 flex-nowrap px-[16px] flex-1">
|
|
63
|
-
<div class="text-xl text-[#262626] font-semibold mb-4">{category.name}</div>
|
|
64
|
-
<ul>
|
|
65
|
-
{category.subcategories.length > 0 ? (
|
|
66
|
-
category.subcategories.map(sub => (
|
|
67
|
-
<li>
|
|
68
|
-
<a href={sub.link} class="text-[#363942] font-inter hover:underline transition-colors duration-200 block py-1" target="_blank">
|
|
69
|
-
{sub.name}
|
|
70
|
-
</a>
|
|
71
|
-
</li>
|
|
72
|
-
))
|
|
73
|
-
) : (
|
|
74
|
-
<li>
|
|
75
|
-
<a href={category.link} class="text-[#363942] font-inter hover:underline transition-colors duration-200 block py-1" target="_blank">
|
|
76
|
-
{category.name}
|
|
77
|
-
</a>
|
|
78
|
-
</li>
|
|
79
|
-
)}
|
|
80
|
-
</ul>
|
|
81
|
-
</div>
|
|
82
|
-
))}
|
|
83
|
-
</div>
|
|
84
|
-
</div>
|
|
85
|
-
<div class="bg-[white] text-[#262626] border-t border-gray-300">
|
|
86
|
-
<div class="flex flex-col md:flex-row gap-8 max-w-7xl mx-auto p-[32px]">
|
|
87
|
-
<div class="flex flex-col flex-[4_4_0%]">
|
|
88
|
-
<div class="mb-8">
|
|
89
|
-
<img src="https://assets.lefebvre.es/media/logos-2/svg/lefebvre.svg" alt="Logo" class="h-10" />
|
|
90
|
-
</div>
|
|
91
|
-
<div>
|
|
92
|
-
<ul class="flex flex-wrap gap-2 text-sm text-gray-800">
|
|
93
|
-
<li>
|
|
94
|
-
<span class="flex items-center font-inter gap-1">
|
|
95
|
-
© {new Date().getFullYear()} Lefebvre. Todos los derechos reservados.
|
|
96
|
-
</span>
|
|
97
|
-
</li>
|
|
98
|
-
<li><a href="https://lefebvre.es/aviso-legal/" class="ml-[8px] font-inter hover:underline">Aviso legal</a></li> ·
|
|
99
|
-
<li><a href="https://lefebvre.es/politica-privacidad/" class="font-inter hover:underline">Política de privacidad</a></li> ·
|
|
100
|
-
<li><a href="https://lefebvre.es/politica-de-cookies/" class="font-inter hover:underline">Política de cookies</a></li> ·
|
|
101
|
-
<li><a href="https://lefebvre.es/condiciones/" class="font-inter hover:underline">Condiciones de contratación</a></li>
|
|
102
|
-
</ul>
|
|
103
|
-
</div>
|
|
104
|
-
</div>
|
|
105
|
-
<div class="flex flex-1 items-start justify-start md:justify-end">
|
|
106
|
-
<a href="https://www.instagram.com/lefebvre_es/" class="mx-2 first-of-type:ml-0" aria-label="Instagram">
|
|
107
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="none">
|
|
108
|
-
<path d="M21.2725 0C22.5262 0 23.7287 0.49823 24.6152 1.38477C25.5018 2.2713 26 3.47379 26 4.72754V21.2725C26 22.5262 25.5018 23.7287 24.6152 24.6152C23.7287 25.5018 22.5262 26 21.2725 26H4.72754C3.47379 26 2.2713 25.5018 1.38477 24.6152C0.49823 23.7287 0 22.5262 0 21.2725V4.72754C0 3.47379 0.49823 2.2713 1.38477 1.38477C2.2713 0.49823 3.47379 0 4.72754 0H21.2725ZM8.10742 3.5459C5.58811 3.5459 3.5459 5.58811 3.5459 8.10742V17.8926C3.5459 20.4119 5.58811 22.4541 8.10742 22.4541H17.8926C20.4119 22.4541 22.4541 20.4119 22.4541 17.8926V8.10742C22.4541 5.58811 20.4119 3.5459 17.8926 3.5459H8.10742ZM17.8926 5.3291C19.4267 5.3291 20.6709 6.57331 20.6709 8.10742V17.8926C20.6709 19.4267 19.4267 20.6709 17.8926 20.6709H8.10742C6.57331 20.6709 5.3291 19.4267 5.3291 17.8926V8.10742C5.3291 6.57331 6.57331 5.3291 8.10742 5.3291H17.8926ZM13 8.30273C11.7541 8.30273 10.5597 8.79775 9.67871 9.67871C8.79775 10.5597 8.30273 11.7541 8.30273 13C8.30274 14.2459 8.79775 15.4403 9.67871 16.3213C10.5597 17.2022 11.7541 17.6973 13 17.6973C14.2459 17.6973 15.4403 17.2022 16.3213 16.3213C17.2022 15.4403 17.6973 14.2459 17.6973 13C17.6973 11.7541 17.2022 10.5597 16.3213 9.67871C15.4403 8.79775 14.2459 8.30274 13 8.30273ZM13 10.0859C13.7728 10.0859 14.5141 10.393 15.0605 10.9395C15.607 11.4859 15.9141 12.2272 15.9141 13C15.9141 13.7728 15.607 14.5141 15.0605 15.0605C14.5141 15.607 13.7728 15.9141 13 15.9141C12.2272 15.9141 11.4859 15.607 10.9395 15.0605C10.393 14.5141 10.0859 13.7728 10.0859 13C10.0859 12.2272 10.393 11.4859 10.9395 10.9395C11.4859 10.393 12.2272 10.0859 13 10.0859ZM17.6973 7.41016C17.2048 7.41016 16.8059 7.80937 16.8057 8.30176C16.8057 8.79436 17.2047 9.19434 17.6973 9.19434C18.1898 9.1943 18.5889 8.79434 18.5889 8.30176C18.5886 7.80939 18.1897 7.4102 17.6973 7.41016Z" fill="#363942"/>
|
|
109
|
-
</svg>
|
|
110
|
-
</a>
|
|
111
|
-
<a href="https://www.facebook.com/Lefebvre.ES/" class="mx-2" aria-label="Facebook">
|
|
112
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="none">
|
|
113
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.72727 0C3.47352 0 2.27112 0.498051 1.38459 1.38459C0.498051 2.27112 0 3.47352 0 4.72727V21.2727C0 22.5265 0.498051 23.7289 1.38459 24.6154C2.27112 25.502 3.47352 26 4.72727 26H21.2727C22.5265 26 23.7289 25.502 24.6154 24.6154C25.502 23.7289 26 22.5265 26 21.2727V4.72727C26 3.47352 25.502 2.27112 24.6154 1.38459C23.7289 0.498051 22.5265 0 21.2727 0H4.72727ZM10.2605 7.41355C10.2605 6.38787 10.6679 5.40418 11.3931 4.67881C12.1182 3.95344 13.1018 3.54577 14.1275 3.54545H17.5665C17.8029 3.54545 17.9955 3.73809 17.9955 3.97564V7.41355C17.9955 7.64991 17.8029 7.84255 17.5665 7.84255H15.847C15.6777 7.84255 15.5101 7.87591 15.3538 7.94072C15.1974 8.00553 15.0553 8.10052 14.9357 8.22026C14.8161 8.34001 14.7212 8.48215 14.6565 8.63858C14.5919 8.79501 14.5587 8.96264 14.5588 9.13191V10.4213H17.5665C17.6318 10.4215 17.6961 10.4365 17.7546 10.4653C17.8132 10.494 17.8645 10.5357 17.9045 10.5871C17.9446 10.6386 17.9725 10.6985 17.986 10.7623C17.9995 10.8261 17.9983 10.8922 17.9825 10.9555L17.1234 14.3945C17.0999 14.4873 17.0461 14.5696 16.9705 14.6283C16.8949 14.6869 16.8019 14.7186 16.7062 14.7184H14.5576V22.0244C14.5576 22.1385 14.5123 22.2479 14.4316 22.3285C14.351 22.4092 14.2415 22.4545 14.1275 22.4545H10.6895C10.5757 22.4542 10.4665 22.4088 10.3861 22.3281C10.3057 22.2475 10.2605 22.1383 10.2605 22.0244V14.7195H8.112C7.99791 14.7195 7.88849 14.6742 7.80782 14.5935C7.72714 14.5129 7.68182 14.4035 7.68182 14.2894V10.8503C7.68182 10.6139 7.87446 10.4213 8.112 10.4213H10.2605V7.41355Z" fill="#363942"/>
|
|
114
|
-
</svg>
|
|
115
|
-
</a>
|
|
116
|
-
<a href="https://www.linkedin.com/company/lefebvre_es" class="mx-2" aria-label="LinkedIn">
|
|
117
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="none">
|
|
118
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.72727 0C3.47352 0 2.27112 0.498051 1.38459 1.38459C0.498051 2.27112 0 3.47352 0 4.72727V21.2727C0 22.5265 0.498051 23.7289 1.38459 24.6154C2.27112 25.502 3.47352 26 4.72727 26H21.2727C22.5265 26 23.7289 25.502 24.6154 24.6154C25.502 23.7289 26 22.5265 26 21.2727V4.72727C26 3.47352 25.502 2.27112 24.6154 1.38459C23.7289 0.498051 22.5265 0 21.2727 0H4.72727ZM6.15136 8.16636C6.68578 8.16636 7.1983 7.95407 7.57618 7.57618C7.95407 7.1983 8.16636 6.68578 8.16636 6.15136C8.16636 5.61695 7.95407 5.10443 7.57618 4.72654C7.1983 4.34866 6.68578 4.13636 6.15136 4.13636C5.61695 4.13636 5.10443 4.34866 4.72654 4.72654C4.34866 5.10443 4.13636 5.61695 4.13636 6.15136C4.13636 6.68578 4.34866 7.1983 4.72654 7.57618C5.10443 7.95407 5.61695 8.16636 6.15136 8.16636ZM8.16518 21.8636V9.77718H4.13636V21.8636H8.16636H8.16518ZM13.403 9.77718H9.77718V21.8636H13.403V14.5718C13.8698 13.8131 14.6758 13 15.8198 13C17.4318 13 17.8348 14.612 17.8348 15.418V21.8636H21.8636V15.418C21.8636 13.2576 20.9217 9.77718 17.4318 9.77718C15.2124 9.77718 13.9809 10.5867 13.4018 11.3455V9.77718H13.403Z" fill="#363942"/>
|
|
119
|
-
</svg>
|
|
120
|
-
</a>
|
|
121
|
-
<a href="https://twitter.com/Lefebvre_ES" class="mx-2" aria-label="X.com">
|
|
122
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="none">
|
|
123
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.72727 0C2.11647 0 0 2.11647 0 4.72727V21.2727C0 23.8835 2.11647 26 4.72727 26H21.2727C23.8835 26 26 23.8835 26 21.2727V4.72727C26 2.11647 23.8835 0 21.2727 0H4.72727ZM4.3322 4.13636C4.12496 4.2135 3.9501 4.36692 3.84804 4.57163C3.69807 4.8724 3.73113 5.23213 3.9334 5.50055L10.5683 14.3054L3.57681 21.8029C3.55848 21.8226 3.54122 21.8428 3.52502 21.8636H5.9441L11.6517 15.743L16.0401 21.5668C16.143 21.7033 16.2816 21.8053 16.4377 21.8636H21.664C21.8706 21.7863 22.045 21.6332 22.1468 21.4288C22.2968 21.1281 22.2638 20.7683 22.0615 20.4999L15.4265 11.695L22.475 4.13636H20.0511L14.3431 10.2574L9.95469 4.43369C9.85153 4.2968 9.71247 4.19464 9.55583 4.13636H4.3322ZM17.19 20.147L6.41905 5.85347H8.80488L19.5759 20.147H17.19Z" fill="#363942"/>
|
|
124
|
-
</svg>
|
|
125
|
-
</a>
|
|
126
|
-
<a href="https://www.youtube.com/c/lefebvre_es" class="mx-2" aria-label="YouTube">
|
|
127
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="none">
|
|
128
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.72727 0C3.47352 0 2.27112 0.498051 1.38459 1.38459C0.498051 2.27112 0 3.47352 0 4.72727V21.2727C0 22.5265 0.498051 23.7289 1.38459 24.6154C2.27112 25.502 3.47352 26 4.72727 26H21.2727C22.5265 26 23.7289 25.502 24.6154 24.6154C25.502 23.7289 26 22.5265 26 21.2727V4.72727C26 3.47352 25.502 2.27112 24.6154 1.38459C23.7289 0.498051 22.5265 0 21.2727 0H4.72727ZM4.13636 13C4.13636 11.7307 4.19545 10.5335 4.27464 9.529C4.3251 8.80617 4.63522 8.12596 5.1478 7.61382C5.66038 7.10167 6.34085 6.79213 7.06373 6.74227C9.03965 6.60944 11.0196 6.54637 13 6.55318C15.5492 6.55318 17.5051 6.64064 18.9363 6.74227C19.6591 6.79213 20.3396 7.10167 20.8522 7.61382C21.3648 8.12596 21.6749 8.80617 21.7254 9.529C21.8034 10.5335 21.8636 11.7307 21.8636 13C21.8636 14.3154 21.7998 15.5527 21.7171 16.5785C21.5989 18.0428 20.4833 19.1608 19.0438 19.2613C17.0319 19.3919 15.0161 19.4538 13 19.4468C10.426 19.4468 8.40273 19.3617 6.95618 19.2613C5.51673 19.1608 4.40109 18.0428 4.28291 16.5785C4.18679 15.3881 4.1379 14.1943 4.13636 13ZM10.7971 9.99227L15.8198 13L10.7971 16.0089V9.99109V9.99227Z" fill="#363942"/>
|
|
129
|
-
</svg>
|
|
130
|
-
</a>
|
|
131
|
-
</div>
|
|
132
|
-
</div>
|
|
133
|
-
</div>
|
|
134
|
-
<Separador_2025_Reinosa />
|
|
1
|
+
---
|
|
2
|
+
import Separador_2025_Reinosa from './Separador_2025_Reinosa.astro';
|
|
3
|
+
|
|
4
|
+
const {
|
|
5
|
+
subdirectory = "",
|
|
6
|
+
} = Astro.props;
|
|
7
|
+
|
|
8
|
+
const categories = [
|
|
9
|
+
{
|
|
10
|
+
name: 'Lefebvre',
|
|
11
|
+
link: '#',
|
|
12
|
+
subcategories: [
|
|
13
|
+
{name: 'Lefebvre.es', link: 'https://lefebvre.es'},
|
|
14
|
+
{name: 'Conócenos', link: 'https://lefebvre.es/cultura-empresarial/equipo-direccion/'},
|
|
15
|
+
{name: 'Trabaja con nosotros', link: 'https://lefebvre.es/talento/'},
|
|
16
|
+
{name: 'Contacto Lefebvre', link: 'https://lefebvre.es/contacto/'},
|
|
17
|
+
{name: 'Canal ético', link: 'https://lefebvre.es/etica-cumplimiento/'},
|
|
18
|
+
// {name: 'Partners', link: 'https://lefebvre.es/cultura-empresarial/'}
|
|
19
|
+
],
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
name: 'Explora GenIA-L',
|
|
23
|
+
link: '#',
|
|
24
|
+
subcategories: [
|
|
25
|
+
// {name: 'IA Jurídica', link: '#'},
|
|
26
|
+
{name: 'Casos reales', link: subdirectory + '/casos-reales/'},
|
|
27
|
+
{name: 'Conoce GenIA-L', link: subdirectory + '/conoce-genia-l/'},
|
|
28
|
+
// {name: 'Novedades y recursos', link: '#'},
|
|
29
|
+
// {name: 'Preguntas Frecuentes', link: '#'},
|
|
30
|
+
{name: 'Contacto GenIA-L', link: subdirectory + '/contacto/'}
|
|
31
|
+
],
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: 'Portales Lefebvre',
|
|
35
|
+
link: '#',
|
|
36
|
+
subcategories: [
|
|
37
|
+
{name: 'GenIA-L', link: 'https://lefebvre.es/genia-l/'},
|
|
38
|
+
{name: 'Formación', link: 'https://lefebvre.es/formacion/'},
|
|
39
|
+
{name: 'Elderecho.com', link: 'https://elderecho.com'},
|
|
40
|
+
{name: 'Espacioasesoria.com', link: 'https://espacioasesoria.com'},
|
|
41
|
+
{name: 'Derecholocal.es', link: 'https://derecholocal.es'},
|
|
42
|
+
{name: 'ESG', link: 'https://lefebvre.es/esg/'}
|
|
43
|
+
],
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: 'Tienda Online',
|
|
47
|
+
link: '#',
|
|
48
|
+
subcategories: [
|
|
49
|
+
{name: 'Nuestros productos', link: 'https://lefebvre.es/tienda/'}
|
|
50
|
+
],
|
|
51
|
+
},
|
|
52
|
+
|
|
53
|
+
];
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
<footer>
|
|
59
|
+
<div class="bg-white text-[#363942] py-10 border-t border-gray-300">
|
|
60
|
+
<div class="max-w-7xl flex-wrap md:flex-nowrap w-full px-4 flex items-start mx-auto">
|
|
61
|
+
{categories.map(category => (
|
|
62
|
+
<div class="w-1/2 flex-nowrap px-[16px] flex-1">
|
|
63
|
+
<div class="text-xl text-[#262626] font-semibold mb-4">{category.name}</div>
|
|
64
|
+
<ul>
|
|
65
|
+
{category.subcategories.length > 0 ? (
|
|
66
|
+
category.subcategories.map(sub => (
|
|
67
|
+
<li>
|
|
68
|
+
<a href={sub.link} class="text-[#363942] font-inter hover:underline transition-colors duration-200 block py-1" target="_blank">
|
|
69
|
+
{sub.name}
|
|
70
|
+
</a>
|
|
71
|
+
</li>
|
|
72
|
+
))
|
|
73
|
+
) : (
|
|
74
|
+
<li>
|
|
75
|
+
<a href={category.link} class="text-[#363942] font-inter hover:underline transition-colors duration-200 block py-1" target="_blank">
|
|
76
|
+
{category.name}
|
|
77
|
+
</a>
|
|
78
|
+
</li>
|
|
79
|
+
)}
|
|
80
|
+
</ul>
|
|
81
|
+
</div>
|
|
82
|
+
))}
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
<div class="bg-[white] text-[#262626] border-t border-gray-300">
|
|
86
|
+
<div class="flex flex-col md:flex-row gap-8 max-w-7xl mx-auto p-[32px]">
|
|
87
|
+
<div class="flex flex-col flex-[4_4_0%]">
|
|
88
|
+
<div class="mb-8">
|
|
89
|
+
<img src="https://assets.lefebvre.es/media/logos-2/svg/lefebvre.svg" alt="Logo" class="h-10" />
|
|
90
|
+
</div>
|
|
91
|
+
<div>
|
|
92
|
+
<ul class="flex flex-wrap gap-2 text-sm text-gray-800">
|
|
93
|
+
<li>
|
|
94
|
+
<span class="flex items-center font-inter gap-1">
|
|
95
|
+
© {new Date().getFullYear()} Lefebvre. Todos los derechos reservados.
|
|
96
|
+
</span>
|
|
97
|
+
</li>
|
|
98
|
+
<li><a href="https://lefebvre.es/aviso-legal/" class="ml-[8px] font-inter hover:underline">Aviso legal</a></li> ·
|
|
99
|
+
<li><a href="https://lefebvre.es/politica-privacidad/" class="font-inter hover:underline">Política de privacidad</a></li> ·
|
|
100
|
+
<li><a href="https://lefebvre.es/politica-de-cookies/" class="font-inter hover:underline">Política de cookies</a></li> ·
|
|
101
|
+
<li><a href="https://lefebvre.es/condiciones/" class="font-inter hover:underline">Condiciones de contratación</a></li>
|
|
102
|
+
</ul>
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
<div class="flex flex-1 items-start justify-start md:justify-end">
|
|
106
|
+
<a href="https://www.instagram.com/lefebvre_es/" class="mx-2 first-of-type:ml-0" aria-label="Instagram">
|
|
107
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="none">
|
|
108
|
+
<path d="M21.2725 0C22.5262 0 23.7287 0.49823 24.6152 1.38477C25.5018 2.2713 26 3.47379 26 4.72754V21.2725C26 22.5262 25.5018 23.7287 24.6152 24.6152C23.7287 25.5018 22.5262 26 21.2725 26H4.72754C3.47379 26 2.2713 25.5018 1.38477 24.6152C0.49823 23.7287 0 22.5262 0 21.2725V4.72754C0 3.47379 0.49823 2.2713 1.38477 1.38477C2.2713 0.49823 3.47379 0 4.72754 0H21.2725ZM8.10742 3.5459C5.58811 3.5459 3.5459 5.58811 3.5459 8.10742V17.8926C3.5459 20.4119 5.58811 22.4541 8.10742 22.4541H17.8926C20.4119 22.4541 22.4541 20.4119 22.4541 17.8926V8.10742C22.4541 5.58811 20.4119 3.5459 17.8926 3.5459H8.10742ZM17.8926 5.3291C19.4267 5.3291 20.6709 6.57331 20.6709 8.10742V17.8926C20.6709 19.4267 19.4267 20.6709 17.8926 20.6709H8.10742C6.57331 20.6709 5.3291 19.4267 5.3291 17.8926V8.10742C5.3291 6.57331 6.57331 5.3291 8.10742 5.3291H17.8926ZM13 8.30273C11.7541 8.30273 10.5597 8.79775 9.67871 9.67871C8.79775 10.5597 8.30273 11.7541 8.30273 13C8.30274 14.2459 8.79775 15.4403 9.67871 16.3213C10.5597 17.2022 11.7541 17.6973 13 17.6973C14.2459 17.6973 15.4403 17.2022 16.3213 16.3213C17.2022 15.4403 17.6973 14.2459 17.6973 13C17.6973 11.7541 17.2022 10.5597 16.3213 9.67871C15.4403 8.79775 14.2459 8.30274 13 8.30273ZM13 10.0859C13.7728 10.0859 14.5141 10.393 15.0605 10.9395C15.607 11.4859 15.9141 12.2272 15.9141 13C15.9141 13.7728 15.607 14.5141 15.0605 15.0605C14.5141 15.607 13.7728 15.9141 13 15.9141C12.2272 15.9141 11.4859 15.607 10.9395 15.0605C10.393 14.5141 10.0859 13.7728 10.0859 13C10.0859 12.2272 10.393 11.4859 10.9395 10.9395C11.4859 10.393 12.2272 10.0859 13 10.0859ZM17.6973 7.41016C17.2048 7.41016 16.8059 7.80937 16.8057 8.30176C16.8057 8.79436 17.2047 9.19434 17.6973 9.19434C18.1898 9.1943 18.5889 8.79434 18.5889 8.30176C18.5886 7.80939 18.1897 7.4102 17.6973 7.41016Z" fill="#363942"/>
|
|
109
|
+
</svg>
|
|
110
|
+
</a>
|
|
111
|
+
<a href="https://www.facebook.com/Lefebvre.ES/" class="mx-2" aria-label="Facebook">
|
|
112
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="none">
|
|
113
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.72727 0C3.47352 0 2.27112 0.498051 1.38459 1.38459C0.498051 2.27112 0 3.47352 0 4.72727V21.2727C0 22.5265 0.498051 23.7289 1.38459 24.6154C2.27112 25.502 3.47352 26 4.72727 26H21.2727C22.5265 26 23.7289 25.502 24.6154 24.6154C25.502 23.7289 26 22.5265 26 21.2727V4.72727C26 3.47352 25.502 2.27112 24.6154 1.38459C23.7289 0.498051 22.5265 0 21.2727 0H4.72727ZM10.2605 7.41355C10.2605 6.38787 10.6679 5.40418 11.3931 4.67881C12.1182 3.95344 13.1018 3.54577 14.1275 3.54545H17.5665C17.8029 3.54545 17.9955 3.73809 17.9955 3.97564V7.41355C17.9955 7.64991 17.8029 7.84255 17.5665 7.84255H15.847C15.6777 7.84255 15.5101 7.87591 15.3538 7.94072C15.1974 8.00553 15.0553 8.10052 14.9357 8.22026C14.8161 8.34001 14.7212 8.48215 14.6565 8.63858C14.5919 8.79501 14.5587 8.96264 14.5588 9.13191V10.4213H17.5665C17.6318 10.4215 17.6961 10.4365 17.7546 10.4653C17.8132 10.494 17.8645 10.5357 17.9045 10.5871C17.9446 10.6386 17.9725 10.6985 17.986 10.7623C17.9995 10.8261 17.9983 10.8922 17.9825 10.9555L17.1234 14.3945C17.0999 14.4873 17.0461 14.5696 16.9705 14.6283C16.8949 14.6869 16.8019 14.7186 16.7062 14.7184H14.5576V22.0244C14.5576 22.1385 14.5123 22.2479 14.4316 22.3285C14.351 22.4092 14.2415 22.4545 14.1275 22.4545H10.6895C10.5757 22.4542 10.4665 22.4088 10.3861 22.3281C10.3057 22.2475 10.2605 22.1383 10.2605 22.0244V14.7195H8.112C7.99791 14.7195 7.88849 14.6742 7.80782 14.5935C7.72714 14.5129 7.68182 14.4035 7.68182 14.2894V10.8503C7.68182 10.6139 7.87446 10.4213 8.112 10.4213H10.2605V7.41355Z" fill="#363942"/>
|
|
114
|
+
</svg>
|
|
115
|
+
</a>
|
|
116
|
+
<a href="https://www.linkedin.com/company/lefebvre_es" class="mx-2" aria-label="LinkedIn">
|
|
117
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="none">
|
|
118
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.72727 0C3.47352 0 2.27112 0.498051 1.38459 1.38459C0.498051 2.27112 0 3.47352 0 4.72727V21.2727C0 22.5265 0.498051 23.7289 1.38459 24.6154C2.27112 25.502 3.47352 26 4.72727 26H21.2727C22.5265 26 23.7289 25.502 24.6154 24.6154C25.502 23.7289 26 22.5265 26 21.2727V4.72727C26 3.47352 25.502 2.27112 24.6154 1.38459C23.7289 0.498051 22.5265 0 21.2727 0H4.72727ZM6.15136 8.16636C6.68578 8.16636 7.1983 7.95407 7.57618 7.57618C7.95407 7.1983 8.16636 6.68578 8.16636 6.15136C8.16636 5.61695 7.95407 5.10443 7.57618 4.72654C7.1983 4.34866 6.68578 4.13636 6.15136 4.13636C5.61695 4.13636 5.10443 4.34866 4.72654 4.72654C4.34866 5.10443 4.13636 5.61695 4.13636 6.15136C4.13636 6.68578 4.34866 7.1983 4.72654 7.57618C5.10443 7.95407 5.61695 8.16636 6.15136 8.16636ZM8.16518 21.8636V9.77718H4.13636V21.8636H8.16636H8.16518ZM13.403 9.77718H9.77718V21.8636H13.403V14.5718C13.8698 13.8131 14.6758 13 15.8198 13C17.4318 13 17.8348 14.612 17.8348 15.418V21.8636H21.8636V15.418C21.8636 13.2576 20.9217 9.77718 17.4318 9.77718C15.2124 9.77718 13.9809 10.5867 13.4018 11.3455V9.77718H13.403Z" fill="#363942"/>
|
|
119
|
+
</svg>
|
|
120
|
+
</a>
|
|
121
|
+
<a href="https://twitter.com/Lefebvre_ES" class="mx-2" aria-label="X.com">
|
|
122
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="none">
|
|
123
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.72727 0C2.11647 0 0 2.11647 0 4.72727V21.2727C0 23.8835 2.11647 26 4.72727 26H21.2727C23.8835 26 26 23.8835 26 21.2727V4.72727C26 2.11647 23.8835 0 21.2727 0H4.72727ZM4.3322 4.13636C4.12496 4.2135 3.9501 4.36692 3.84804 4.57163C3.69807 4.8724 3.73113 5.23213 3.9334 5.50055L10.5683 14.3054L3.57681 21.8029C3.55848 21.8226 3.54122 21.8428 3.52502 21.8636H5.9441L11.6517 15.743L16.0401 21.5668C16.143 21.7033 16.2816 21.8053 16.4377 21.8636H21.664C21.8706 21.7863 22.045 21.6332 22.1468 21.4288C22.2968 21.1281 22.2638 20.7683 22.0615 20.4999L15.4265 11.695L22.475 4.13636H20.0511L14.3431 10.2574L9.95469 4.43369C9.85153 4.2968 9.71247 4.19464 9.55583 4.13636H4.3322ZM17.19 20.147L6.41905 5.85347H8.80488L19.5759 20.147H17.19Z" fill="#363942"/>
|
|
124
|
+
</svg>
|
|
125
|
+
</a>
|
|
126
|
+
<a href="https://www.youtube.com/c/lefebvre_es" class="mx-2" aria-label="YouTube">
|
|
127
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="none">
|
|
128
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.72727 0C3.47352 0 2.27112 0.498051 1.38459 1.38459C0.498051 2.27112 0 3.47352 0 4.72727V21.2727C0 22.5265 0.498051 23.7289 1.38459 24.6154C2.27112 25.502 3.47352 26 4.72727 26H21.2727C22.5265 26 23.7289 25.502 24.6154 24.6154C25.502 23.7289 26 22.5265 26 21.2727V4.72727C26 3.47352 25.502 2.27112 24.6154 1.38459C23.7289 0.498051 22.5265 0 21.2727 0H4.72727ZM4.13636 13C4.13636 11.7307 4.19545 10.5335 4.27464 9.529C4.3251 8.80617 4.63522 8.12596 5.1478 7.61382C5.66038 7.10167 6.34085 6.79213 7.06373 6.74227C9.03965 6.60944 11.0196 6.54637 13 6.55318C15.5492 6.55318 17.5051 6.64064 18.9363 6.74227C19.6591 6.79213 20.3396 7.10167 20.8522 7.61382C21.3648 8.12596 21.6749 8.80617 21.7254 9.529C21.8034 10.5335 21.8636 11.7307 21.8636 13C21.8636 14.3154 21.7998 15.5527 21.7171 16.5785C21.5989 18.0428 20.4833 19.1608 19.0438 19.2613C17.0319 19.3919 15.0161 19.4538 13 19.4468C10.426 19.4468 8.40273 19.3617 6.95618 19.2613C5.51673 19.1608 4.40109 18.0428 4.28291 16.5785C4.18679 15.3881 4.1379 14.1943 4.13636 13ZM10.7971 9.99227L15.8198 13L10.7971 16.0089V9.99109V9.99227Z" fill="#363942"/>
|
|
129
|
+
</svg>
|
|
130
|
+
</a>
|
|
131
|
+
</div>
|
|
132
|
+
</div>
|
|
133
|
+
</div>
|
|
134
|
+
<Separador_2025_Reinosa />
|
|
135
135
|
</footer>
|
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
---
|
|
2
|
-
|
|
3
|
-
const {
|
|
4
|
-
title,
|
|
5
|
-
description = "",
|
|
6
|
-
showImage = false,
|
|
7
|
-
orientation = "left",
|
|
8
|
-
imageSrc,
|
|
9
|
-
lf2FormTitle = "Formulario de contacto",
|
|
10
|
-
businessAction = false
|
|
11
|
-
} = Astro.props;
|
|
12
|
-
|
|
13
|
-
const idTargetLf2 = 'lf2-form-' + Math.random().toString(36).substring(2, 15);
|
|
14
|
-
|
|
15
|
-
const structuredData = `<script type="application/ld+json">
|
|
16
|
-
{
|
|
17
|
-
"@context": "https://schema.org",
|
|
18
|
-
"@type": "ContactPage",
|
|
19
|
-
"name": "${title}",
|
|
20
|
-
"description": "${description}",
|
|
21
|
-
"mainEntity": {
|
|
22
|
-
"@type": "WebPage",
|
|
23
|
-
"name": "${lf2FormTitle}",
|
|
24
|
-
"description": "Formulario de contacto para consultas",
|
|
25
|
-
"url": "${Astro.url.href}",
|
|
26
|
-
"contactType": "customer service"
|
|
27
|
-
},
|
|
28
|
-
"publisher": {
|
|
29
|
-
"@type": "Organization",
|
|
30
|
-
"name": "Lefebvre"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
</script>`;
|
|
34
|
-
---
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
<div class="w-full flex flex-col md:flex-row px-6 md:px-4 lg:px-0 gap-8">
|
|
39
|
-
<div class="max-w-7xl w-full mx-auto flex justify-start flex-col">
|
|
40
|
-
{showImage ? (
|
|
41
|
-
<article class="flex flex-col items-center justify-center">
|
|
42
|
-
<div class={`flex-col md:flex ${orientation === 'left' ? 'flex-row' : 'flex-row-reverse'} w-full items-start gap-4 justify-center`}>
|
|
43
|
-
<div class="w-full md:w-1/3 flex justify-start mb-8 flex-col">
|
|
44
|
-
<div id={idTargetLf2} class="w-full flex flex-col mx-auto gap-3"></div>
|
|
45
|
-
</div>
|
|
46
|
-
<div class={`w-full md:w-1/2 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" />
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
</article>
|
|
51
|
-
) : (
|
|
52
|
-
<article class="flex flex-col items-center justify-center">
|
|
53
|
-
<div class={`flex-col md:flex ${orientation === 'left' ? 'flex-row' : 'flex-row-reverse'} w-full items-start gap-4 justify-center`}>
|
|
54
|
-
<div class="w-full md:w-1/3 flex justify-start mb-8 flex-col">
|
|
55
|
-
<h2 class="w-[300px] sm:w-auto font-poppins text-[#262626] text-[32px] font-semibold text-left leading-[40px] mb-[16px] text-wrap">{title}</h2>
|
|
56
|
-
<p class="text-[#363942]">{description}</p>
|
|
57
|
-
</div>
|
|
58
|
-
<div class={`w-full md:w-1/2 p-0 md:p-4 flex items-center ${orientation === 'left' ? 'justify-end' : 'justify-start'}`}>
|
|
59
|
-
<div id={idTargetLf2} class="w-full flex flex-col mx-auto gap-3"></div>
|
|
60
|
-
</div>
|
|
61
|
-
</div>
|
|
62
|
-
</article>
|
|
63
|
-
)}
|
|
64
|
-
</div>
|
|
65
|
-
</div>
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
<script is:client define:vars={{ idTargetLf2 , lf2FormTitle, businessAction}}>
|
|
69
|
-
document.addEventListener('DOMContentLoaded', () => {
|
|
70
|
-
|
|
71
|
-
let defaultParameters = {};
|
|
72
|
-
if(businessAction) {
|
|
73
|
-
defaultParameters.accioncomercial = businessAction;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
let configLf2 = {
|
|
77
|
-
fake: true,
|
|
78
|
-
formulario: lf2FormTitle,
|
|
79
|
-
bootstrap: true,
|
|
80
|
-
target: '#'+idTargetLf2,
|
|
81
|
-
defaultparameters: defaultParameters,
|
|
82
|
-
};
|
|
83
|
-
try {
|
|
84
|
-
apiManager.pintarFormularioAutogestionado(configLf2);
|
|
85
|
-
} catch (error) {
|
|
86
|
-
var apiManager = new LeadformApiManagerClass();
|
|
87
|
-
apiManager.pintarFormularioAutogestionado(configLf2);
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
</script>
|
|
91
|
-
|
|
1
|
+
---
|
|
2
|
+
|
|
3
|
+
const {
|
|
4
|
+
title,
|
|
5
|
+
description = "",
|
|
6
|
+
showImage = false,
|
|
7
|
+
orientation = "left",
|
|
8
|
+
imageSrc,
|
|
9
|
+
lf2FormTitle = "Formulario de contacto",
|
|
10
|
+
businessAction = false
|
|
11
|
+
} = Astro.props;
|
|
12
|
+
|
|
13
|
+
const idTargetLf2 = 'lf2-form-' + Math.random().toString(36).substring(2, 15);
|
|
14
|
+
|
|
15
|
+
const structuredData = `<script type="application/ld+json">
|
|
16
|
+
{
|
|
17
|
+
"@context": "https://schema.org",
|
|
18
|
+
"@type": "ContactPage",
|
|
19
|
+
"name": "${title}",
|
|
20
|
+
"description": "${description}",
|
|
21
|
+
"mainEntity": {
|
|
22
|
+
"@type": "WebPage",
|
|
23
|
+
"name": "${lf2FormTitle}",
|
|
24
|
+
"description": "Formulario de contacto para consultas",
|
|
25
|
+
"url": "${Astro.url.href}",
|
|
26
|
+
"contactType": "customer service"
|
|
27
|
+
},
|
|
28
|
+
"publisher": {
|
|
29
|
+
"@type": "Organization",
|
|
30
|
+
"name": "Lefebvre"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
</script>`;
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
<div class="w-full flex flex-col md:flex-row px-6 md:px-4 lg:px-0 gap-8">
|
|
39
|
+
<div class="max-w-7xl w-full mx-auto flex justify-start flex-col">
|
|
40
|
+
{showImage ? (
|
|
41
|
+
<article class="flex flex-col items-center justify-center">
|
|
42
|
+
<div class={`flex-col md:flex ${orientation === 'left' ? 'flex-row' : 'flex-row-reverse'} w-full items-start gap-4 justify-center`}>
|
|
43
|
+
<div class="w-full md:w-1/3 flex justify-start mb-8 flex-col">
|
|
44
|
+
<div id={idTargetLf2} class="w-full flex flex-col mx-auto gap-3"></div>
|
|
45
|
+
</div>
|
|
46
|
+
<div class={`w-full md:w-1/2 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" />
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
</article>
|
|
51
|
+
) : (
|
|
52
|
+
<article class="flex flex-col items-center justify-center">
|
|
53
|
+
<div class={`flex-col md:flex ${orientation === 'left' ? 'flex-row' : 'flex-row-reverse'} w-full items-start gap-4 justify-center`}>
|
|
54
|
+
<div class="w-full md:w-1/3 flex justify-start mb-8 flex-col">
|
|
55
|
+
<h2 class="w-[300px] sm:w-auto font-poppins text-[#262626] text-[32px] font-semibold text-left leading-[40px] mb-[16px] text-wrap">{title}</h2>
|
|
56
|
+
<p class="text-[#363942]">{description}</p>
|
|
57
|
+
</div>
|
|
58
|
+
<div class={`w-full md:w-1/2 p-0 md:p-4 flex items-center ${orientation === 'left' ? 'justify-end' : 'justify-start'}`}>
|
|
59
|
+
<div id={idTargetLf2} class="w-full flex flex-col mx-auto gap-3"></div>
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
</article>
|
|
63
|
+
)}
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
<script is:client define:vars={{ idTargetLf2 , lf2FormTitle, businessAction}}>
|
|
69
|
+
document.addEventListener('DOMContentLoaded', () => {
|
|
70
|
+
|
|
71
|
+
let defaultParameters = {};
|
|
72
|
+
if(businessAction) {
|
|
73
|
+
defaultParameters.accioncomercial = businessAction;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
let configLf2 = {
|
|
77
|
+
fake: true,
|
|
78
|
+
formulario: lf2FormTitle,
|
|
79
|
+
bootstrap: true,
|
|
80
|
+
target: '#'+idTargetLf2,
|
|
81
|
+
defaultparameters: defaultParameters,
|
|
82
|
+
};
|
|
83
|
+
try {
|
|
84
|
+
apiManager.pintarFormularioAutogestionado(configLf2);
|
|
85
|
+
} catch (error) {
|
|
86
|
+
var apiManager = new LeadformApiManagerClass();
|
|
87
|
+
apiManager.pintarFormularioAutogestionado(configLf2);
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
</script>
|
|
91
|
+
|
|
92
92
|
<Fragment set:html={structuredData} />
|
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
---
|
|
2
|
-
const {
|
|
3
|
-
title,
|
|
4
|
-
description,
|
|
5
|
-
txtBtn,
|
|
6
|
-
linkBtn,
|
|
7
|
-
alt,
|
|
8
|
-
src,
|
|
9
|
-
iframeSrc,
|
|
10
|
-
showBtn = true,
|
|
11
|
-
showDescription = true,
|
|
12
|
-
color = '#ffffff',
|
|
13
|
-
} = Astro.props;
|
|
14
|
-
|
|
15
|
-
const structuredData = `<script type="application/ld+json">
|
|
16
|
-
{
|
|
17
|
-
"@context": "https://schema.org",
|
|
18
|
-
"@type": "ImageObject",
|
|
19
|
-
"name": "${title || ''}",
|
|
20
|
-
"description": "${description ? description.replace(/<[^>]*>/g, '').replace(/"/g, '\\"') : ''}",
|
|
21
|
-
"url": "${src || iframeSrc || ''}",
|
|
22
|
-
"contentUrl": "${src || iframeSrc || ''}",
|
|
23
|
-
${src ? `"encodingFormat": "image"` : `"encodingFormat": "video/mp4"`}
|
|
24
|
-
}
|
|
25
|
-
</script>`;
|
|
26
|
-
---
|
|
27
|
-
|
|
28
|
-
<section class="w-full flex items-center justify-center">
|
|
29
|
-
|
|
30
|
-
<article class="w-full flex flex-col items-center justify-center p-6 h-full lg:h-[384px]">
|
|
31
|
-
|
|
32
|
-
<div class="max-w-full lg:max-w-7xl h-full flex justify-center items-center aspect-auto relative md:w-4/5 lg:aspect-video">
|
|
33
|
-
<div class="absolute inset-0">
|
|
34
|
-
|
|
35
|
-
{src && src !== "" ? (
|
|
36
|
-
<img src={src} alt={alt} title={title} class="object-cover object-center w-full h-full rounded-2xl shadow-lg">
|
|
37
|
-
) : (
|
|
38
|
-
<video autoplay loop muted playsinline class="object-cover object-center w-full h-full rounded-2xl shadow-lg">
|
|
39
|
-
<source src={iframeSrc} type="video/mp4" />
|
|
40
|
-
</video>
|
|
41
|
-
)}
|
|
42
|
-
</div>
|
|
43
|
-
|
|
44
|
-
<div class="w-4/5 relative z-10 flex flex-col justify-center items-center h-full text-center p-0 py-8 md:p-6">
|
|
45
|
-
|
|
46
|
-
{showDescription ? (
|
|
47
|
-
<h3 class={`text-[${color === '#ffffff' ? '#ffffff' : color}] font-poppins text-[36px] md:text-[40px] font-normal text-center leading-[44px] md:leading-[48px] mb-[32px]`} set:html={title}></h3>
|
|
48
|
-
<div class="text-[#ffffff] font-inter text-xl font-normal leading-[28px] mb-8 text-center" set:html={description}></div>
|
|
49
|
-
) :
|
|
50
|
-
<h3 class={`text-[${color === 'default' ? '#ffffff' : color}] font-poppins text-[36px] md:text-[40px] font-normal text-center leading-[44px] md:leading-[48px] mb-[0px]`} set:html={title}></h3>}
|
|
51
|
-
|
|
52
|
-
{showBtn ? (
|
|
53
|
-
<a href={linkBtn} class="text-[#2134F1] font-inter font-semibold bg-white px-[28px] py-[12px] border border-[#ffffff] rounded-xl hover:bg-[#2134F1] hover:border-[#2134F1] shadow-lg transition-all duration-300 hover:text-[#ffffff]">{txtBtn}</a>
|
|
54
|
-
) : (
|
|
55
|
-
<div class="flex justify-center"></div>
|
|
56
|
-
)}
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
</article>
|
|
60
|
-
</section>
|
|
61
|
-
|
|
1
|
+
---
|
|
2
|
+
const {
|
|
3
|
+
title,
|
|
4
|
+
description,
|
|
5
|
+
txtBtn,
|
|
6
|
+
linkBtn,
|
|
7
|
+
alt,
|
|
8
|
+
src,
|
|
9
|
+
iframeSrc,
|
|
10
|
+
showBtn = true,
|
|
11
|
+
showDescription = true,
|
|
12
|
+
color = '#ffffff',
|
|
13
|
+
} = Astro.props;
|
|
14
|
+
|
|
15
|
+
const structuredData = `<script type="application/ld+json">
|
|
16
|
+
{
|
|
17
|
+
"@context": "https://schema.org",
|
|
18
|
+
"@type": "ImageObject",
|
|
19
|
+
"name": "${title || ''}",
|
|
20
|
+
"description": "${description ? description.replace(/<[^>]*>/g, '').replace(/"/g, '\\"') : ''}",
|
|
21
|
+
"url": "${src || iframeSrc || ''}",
|
|
22
|
+
"contentUrl": "${src || iframeSrc || ''}",
|
|
23
|
+
${src ? `"encodingFormat": "image"` : `"encodingFormat": "video/mp4"`}
|
|
24
|
+
}
|
|
25
|
+
</script>`;
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
<section class="w-full flex items-center justify-center">
|
|
29
|
+
|
|
30
|
+
<article class="w-full flex flex-col items-center justify-center p-6 h-full lg:h-[384px]">
|
|
31
|
+
|
|
32
|
+
<div class="max-w-full lg:max-w-7xl h-full flex justify-center items-center aspect-auto relative md:w-4/5 lg:aspect-video">
|
|
33
|
+
<div class="absolute inset-0">
|
|
34
|
+
|
|
35
|
+
{src && src !== "" ? (
|
|
36
|
+
<img src={src} alt={alt} title={title} class="object-cover object-center w-full h-full rounded-2xl shadow-lg">
|
|
37
|
+
) : (
|
|
38
|
+
<video autoplay loop muted playsinline class="object-cover object-center w-full h-full rounded-2xl shadow-lg">
|
|
39
|
+
<source src={iframeSrc} type="video/mp4" />
|
|
40
|
+
</video>
|
|
41
|
+
)}
|
|
42
|
+
</div>
|
|
43
|
+
|
|
44
|
+
<div class="w-4/5 relative z-10 flex flex-col justify-center items-center h-full text-center p-0 py-8 md:p-6">
|
|
45
|
+
|
|
46
|
+
{showDescription ? (
|
|
47
|
+
<h3 class={`text-[${color === '#ffffff' ? '#ffffff' : color}] font-poppins text-[36px] md:text-[40px] font-normal text-center leading-[44px] md:leading-[48px] mb-[32px]`} set:html={title}></h3>
|
|
48
|
+
<div class="text-[#ffffff] font-inter text-xl font-normal leading-[28px] mb-8 text-center" set:html={description}></div>
|
|
49
|
+
) :
|
|
50
|
+
<h3 class={`text-[${color === 'default' ? '#ffffff' : color}] font-poppins text-[36px] md:text-[40px] font-normal text-center leading-[44px] md:leading-[48px] mb-[0px]`} set:html={title}></h3>}
|
|
51
|
+
|
|
52
|
+
{showBtn ? (
|
|
53
|
+
<a href={linkBtn} class="text-[#2134F1] font-inter font-semibold bg-white px-[28px] py-[12px] border border-[#ffffff] rounded-xl hover:bg-[#2134F1] hover:border-[#2134F1] shadow-lg transition-all duration-300 hover:text-[#ffffff]">{txtBtn}</a>
|
|
54
|
+
) : (
|
|
55
|
+
<div class="flex justify-center"></div>
|
|
56
|
+
)}
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
</article>
|
|
60
|
+
</section>
|
|
61
|
+
|
|
62
62
|
<Fragment set:html={structuredData} />
|