libreria-astro-lefebvre 0.0.40 → 0.0.42
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/carbins/Imagen_2025_Fukushima.ts +41 -0
- package/src/carbins/Video_2025_Polop.ts +34 -0
- package/src/components/Astro/Imagen_2025_Fukushima.astro +30 -0
- package/src/components/Astro/Repetidor_2025_Tokyo.astro +45 -56
- package/src/components/Astro/Video_2025_Polop.astro +23 -0
- package/src/components/Astro/Video_2025_Valencia.astro +6 -31
- package/src/generated/componentRegistry.ts +100 -98
- package/src/index.ts +129 -125
- package/src/carbins/Video_2025_Valencia.ts +0 -12
package/package.json
CHANGED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { ComponentMetadata } from '../interfaces/types';
|
|
2
|
+
|
|
3
|
+
export const metadata: ComponentMetadata = {
|
|
4
|
+
component_name: 'Imagen_2025_Fukushima',
|
|
5
|
+
category: 'Imagen',
|
|
6
|
+
name: 'Imagen logotipo Cert Genial 2025',
|
|
7
|
+
description: 'Imagen para el directorio de Genial en la corporativa de Lefebvre logotipos certificados',
|
|
8
|
+
framework: 'Astro',
|
|
9
|
+
priority: 1,
|
|
10
|
+
tags: ['imagen', 'genial', 'certificado', 'logo'],
|
|
11
|
+
fields: [
|
|
12
|
+
{
|
|
13
|
+
name: 'image',
|
|
14
|
+
type: 'text',
|
|
15
|
+
label: 'Src de la imagen del logo',
|
|
16
|
+
mandatory: false,
|
|
17
|
+
example_value: 'https://lefebvre.es/genia-l/images/genial/img-iso4.webp'
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: 'descriptionImage',
|
|
21
|
+
type: 'text',
|
|
22
|
+
label: 'Texto del logotipo',
|
|
23
|
+
mandatory: false,
|
|
24
|
+
example_value: 'Gatitos peludos'
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'link',
|
|
28
|
+
type: 'text',
|
|
29
|
+
label: 'Enlace de la imagen',
|
|
30
|
+
mandatory: false,
|
|
31
|
+
example_value: 'https://lefebvre.es'
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: 'altImage',
|
|
35
|
+
type: 'text',
|
|
36
|
+
label: 'Texto alternativo de la imagen',
|
|
37
|
+
mandatory: false,
|
|
38
|
+
example_value: 'Texto alternativo del logotipo'
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { ComponentMetadata } from '../interfaces/types';
|
|
2
|
+
|
|
3
|
+
export const metadata: ComponentMetadata = {
|
|
4
|
+
component_name: 'Video_2025_Polop',
|
|
5
|
+
category: 'Contenido',
|
|
6
|
+
name: 'Item con vídeo Genial 2025',
|
|
7
|
+
description: 'Item con vídeo para el directorio de Genial en la corporativa de Lefebvre',
|
|
8
|
+
framework: 'Astro',
|
|
9
|
+
priority: 1,
|
|
10
|
+
tags: ['video', 'genial'],
|
|
11
|
+
fields: [
|
|
12
|
+
{
|
|
13
|
+
name: 'title',
|
|
14
|
+
type: 'text',
|
|
15
|
+
label: 'Texto del título',
|
|
16
|
+
mandatory: false,
|
|
17
|
+
example_value: 'Gatos adorables que te alegrarán el día'
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: 'description',
|
|
21
|
+
type: 'text',
|
|
22
|
+
label: 'Texto de la descripción',
|
|
23
|
+
mandatory: false,
|
|
24
|
+
example_value: 'Los gatos son criaturas maravillosas que traen alegría y compañía a nuestras vidas.'
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'iframeSrc',
|
|
28
|
+
type: 'text',
|
|
29
|
+
label: 'URL del vídeo/iframe',
|
|
30
|
+
mandatory: false,
|
|
31
|
+
example_value: 'https://lefebvre.es/genia-l/videos/genial/video-trazabilidad.mp4'
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
const {
|
|
3
|
+
link = false,
|
|
4
|
+
image,
|
|
5
|
+
altImage,
|
|
6
|
+
descriptionImage
|
|
7
|
+
} = Astro.props;
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
<article class="w-1/3 flex-wrap md:w-1/3 md:flex-nowrap lg:w-1/2 p-1 py-[16px] md:p-[16px]">
|
|
13
|
+
<div class="w-full flex flex-col">
|
|
14
|
+
<div class="w-full">
|
|
15
|
+
{(link && link !== '') ? (
|
|
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} />
|
|
18
|
+
<p class="text-[14px] text-[#363942]" set:html={descriptionImage}></p>
|
|
19
|
+
</a>
|
|
20
|
+
) : (
|
|
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} />
|
|
23
|
+
</div>
|
|
24
|
+
<div class="w-full flex flex-col flex-1 justify-center items-center">
|
|
25
|
+
<p class="text-[14px] text-[#363942]" set:html={descriptionImage}></p>
|
|
26
|
+
</div>
|
|
27
|
+
)}
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
</article>
|
|
@@ -1,57 +1,46 @@
|
|
|
1
|
-
---
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
)
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
<img class="max-w-[80px] w-fit mb-4" src={item.image} alt={item.altImage} />
|
|
47
|
-
</div>
|
|
48
|
-
<div class="w-full flex flex-col flex-1 justify-center items-center">
|
|
49
|
-
<p class="text-[14px] text-[#363942]" set:html={item.descriptionImage}></p>
|
|
50
|
-
</div>
|
|
51
|
-
)}
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
54
|
-
</article>
|
|
55
|
-
))}
|
|
56
|
-
</div>
|
|
1
|
+
---
|
|
2
|
+
import Imagen_2025_Fukushima from './Imagen_2025_Fukushima.astro';
|
|
3
|
+
|
|
4
|
+
const {
|
|
5
|
+
title,
|
|
6
|
+
description,
|
|
7
|
+
buttonText,
|
|
8
|
+
buttonUrl,
|
|
9
|
+
showBtn,
|
|
10
|
+
items
|
|
11
|
+
} = Astro.props;
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
<article class="w-full flex flex-col md:flex-row text-center items-center justify-center p-6 md:p-12 bg-cover bg-[url(https://assets.lefebvre.es/media/icons-2/png/icon-shield-228x248.png)] bg-[#F5F6FA] bg-no-repeat bg-position-[center_center] md:bg-auto md:bg-position-[-60px_center] rounded-2xl">
|
|
15
|
+
<div class="w-full md:w-2/3 flex flex-col text-left p-0 mb-4 md:pl-[140px]">
|
|
16
|
+
<h2 class="text-[28px] md:text-[2em] leading-[36px] md:leading-[46px] mb-[16px] font-poppins text-[#262626] font-normal">{title}</h2>
|
|
17
|
+
<div class="max-w-[900px] text-[#363942] font-inter font-normal text-base not-italic leading-[24px] flex flex-col gap-4 mb-8">
|
|
18
|
+
<p set:html={description}></p>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="w-full flex">
|
|
21
|
+
{showBtn ? (
|
|
22
|
+
<div class="flex justify-center gap-2">
|
|
23
|
+
<a href={buttonUrl} class="pl-0 lg:pl-[20px] font-inter font-semibold text-base text-[#001978] hover:text-[#262626] transition-all duration-300 cursor-pointer">{buttonText}</a>
|
|
24
|
+
<div class="flex justify-center">
|
|
25
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
26
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.7455 20.8049C7.43901 20.5263 7.41642 20.052 7.69505 19.7455L14.7364 12L7.69505 4.2545C7.41642 3.94801 7.43901 3.47367 7.7455 3.19504C8.05199 2.91641 8.52633 2.939 8.80496 3.24549L16.305 11.4955C16.565 11.7816 16.565 12.2184 16.305 12.5045L8.80496 20.7545C8.52633 21.061 8.05199 21.0836 7.7455 20.8049Z" fill="#001978"/>
|
|
27
|
+
</svg>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
) : (
|
|
32
|
+
<div class="flex justify-center"></div>
|
|
33
|
+
)}
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
<div class="w-full max-w-7xl flex flex-wrap p-0 lg:flex-nowrap md:p-4 justify-center lg:justify-end items-start ">
|
|
37
|
+
{items.map(item => (
|
|
38
|
+
<Imagen_2025_Fukushima
|
|
39
|
+
link={item.link}
|
|
40
|
+
image={item.image}
|
|
41
|
+
altImage={item.altImage}
|
|
42
|
+
descriptionImage={item.descriptionImage}
|
|
43
|
+
/>
|
|
44
|
+
))}
|
|
45
|
+
</div>
|
|
57
46
|
</article>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
|
|
3
|
+
const {
|
|
4
|
+
title='',
|
|
5
|
+
description='',
|
|
6
|
+
iframeSrc=''
|
|
7
|
+
} = Astro.props;
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
<div class="w-full flex flex-col lg:flex-row flex-1 gap-[48px]">
|
|
13
|
+
<div class="w-full flex flex-col justify-center">
|
|
14
|
+
<h3 class="text-[28px] md:text-[32px] leading-[36px] mb-[32px] text-[#262626] font-normal not-italic font-poppins" set:html={title}></h3>
|
|
15
|
+
<p class="text-[#363942] font-inter font-normal text-base not-italic leading-[24px]" set:html={description}></p>
|
|
16
|
+
</div>
|
|
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" /> */}
|
|
19
|
+
<video autoplay loop muted playsinline class="w-full h-auto rounded-xl">
|
|
20
|
+
<source src={iframeSrc} type="video/mp4" />
|
|
21
|
+
</video>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
+
import Video_2025_Polop from './Video_2025_Polop.astro';
|
|
2
3
|
|
|
3
4
|
const {
|
|
4
5
|
items = [],
|
|
@@ -52,40 +53,14 @@ const structuredData = `<script type="application/ld+json">
|
|
|
52
53
|
<article class="w-full flex flex-col items-center justify-center">
|
|
53
54
|
<div class="w-full px-6 md:max-w-7xl px-[24px] md:px-[48px] col my-[0px] md:my-[40px]">
|
|
54
55
|
{items.map((item, index) => (
|
|
55
|
-
<
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
<div class="w-full lg:w-2/2 flex items-start">
|
|
61
|
-
{/* <img src="/assets/images/genial/gradient-bg.webp" alt="Imagen" class="w-full h-auto rounded-xl" /> */}
|
|
62
|
-
<video autoplay loop muted playsinline class="w-full h-auto rounded-xl">
|
|
63
|
-
<source src={item.iframeSrc} type="video/mp4" />
|
|
64
|
-
</video>
|
|
65
|
-
</div>
|
|
66
|
-
</div>
|
|
56
|
+
<Video_2025_Polop
|
|
57
|
+
title={item.title}
|
|
58
|
+
description={item.description}
|
|
59
|
+
iframeSrc={item.iframeSrc}
|
|
60
|
+
/>
|
|
67
61
|
))}
|
|
68
62
|
</div>
|
|
69
63
|
</article>
|
|
70
64
|
</section>
|
|
71
65
|
|
|
72
|
-
<style>
|
|
73
|
-
.bg-F2F3F8 {
|
|
74
|
-
background-color: #F2F3F8;
|
|
75
|
-
}
|
|
76
|
-
.active{
|
|
77
|
-
background-color: #ffffff;
|
|
78
|
-
border: 1px solid #5F6168;
|
|
79
|
-
color: black;
|
|
80
|
-
max-width: none;
|
|
81
|
-
max-height: none;
|
|
82
|
-
font-size: 16px;
|
|
83
|
-
|
|
84
|
-
&:hover{
|
|
85
|
-
background-color: #ffffff;
|
|
86
|
-
border: 1px solid #5F6168;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
</style>
|
|
90
|
-
|
|
91
66
|
<Fragment set:html={structuredData} />
|
|
@@ -1,98 +1,100 @@
|
|
|
1
|
-
// FICHERO GENERADO AUTOMÁTICAMENTE usando esto: "npm run generate:registry" ==> NO TOCAR ESTO A MANO (o sus crujo) !!.
|
|
2
|
-
import * as AstroButton from '../carbins/AstroButton.ts';
|
|
3
|
-
import * as CTA_2025_Formentera from '../carbins/CTA_2025_Formentera.ts';
|
|
4
|
-
import * as Cabecera_2025_Barcelona from '../carbins/Cabecera_2025_Barcelona.ts';
|
|
5
|
-
import * as Cabecera_2025_Madrid from '../carbins/Cabecera_2025_Madrid.ts';
|
|
6
|
-
import * as Contenido_2025_Alcorcon from '../carbins/Contenido_2025_Alcorcon.ts';
|
|
7
|
-
import * as Contenido_2025_Cordoba from '../carbins/Contenido_2025_Cordoba.ts';
|
|
8
|
-
import * as Contenido_2025_Granada from '../carbins/Contenido_2025_Granada.ts';
|
|
9
|
-
import * as Contenido_2025_Malaga from '../carbins/Contenido_2025_Malaga.ts';
|
|
10
|
-
import * as Contenido_2025_Montevideo from '../carbins/Contenido_2025_Montevideo.ts';
|
|
11
|
-
import * as CorpFooter from '../carbins/CorpFooter.ts';
|
|
12
|
-
import * as CorpHero from '../carbins/CorpHero.ts';
|
|
13
|
-
import * as FooterCorporativo from '../carbins/FooterCorporativo.ts';
|
|
14
|
-
import * as Footer_2025_Napoles from '../carbins/Footer_2025_Napoles.ts';
|
|
15
|
-
import * as Formulario_2025_Seul from '../carbins/Formulario_2025_Seul.ts';
|
|
16
|
-
import * as Formulario_2025_Teruel from '../carbins/Formulario_2025_Teruel.ts';
|
|
17
|
-
import * as GeometricShapeCard from '../carbins/GeometricShapeCard.ts';
|
|
18
|
-
import * as HeaderCorporativo from '../carbins/HeaderCorporativo.ts';
|
|
19
|
-
import * as ImageTextSimple from '../carbins/ImageTextSimple.ts';
|
|
20
|
-
import * as Imagen_2025_Bogota from '../carbins/Imagen_2025_Bogota.ts';
|
|
21
|
-
import * as
|
|
22
|
-
import * as
|
|
23
|
-
import * as
|
|
24
|
-
import * as
|
|
25
|
-
import * as
|
|
26
|
-
import * as
|
|
27
|
-
import * as
|
|
28
|
-
import * as
|
|
29
|
-
import * as
|
|
30
|
-
import * as
|
|
31
|
-
import * as
|
|
32
|
-
import * as
|
|
33
|
-
import * as
|
|
34
|
-
import * as
|
|
35
|
-
import * as
|
|
36
|
-
import * as
|
|
37
|
-
import * as
|
|
38
|
-
import * as
|
|
39
|
-
import * as
|
|
40
|
-
import * as
|
|
41
|
-
import * as
|
|
42
|
-
import * as
|
|
43
|
-
import * as
|
|
44
|
-
import * as
|
|
45
|
-
import * as
|
|
46
|
-
import * as
|
|
47
|
-
import * as
|
|
48
|
-
import * as
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
{component:
|
|
53
|
-
{component:
|
|
54
|
-
{component:
|
|
55
|
-
{component:
|
|
56
|
-
{component:
|
|
57
|
-
{component:
|
|
58
|
-
{component:
|
|
59
|
-
{component:
|
|
60
|
-
{component:
|
|
61
|
-
{component:
|
|
62
|
-
{component:
|
|
63
|
-
{component:
|
|
64
|
-
{component:
|
|
65
|
-
{component:
|
|
66
|
-
{component:
|
|
67
|
-
{component:
|
|
68
|
-
{component:
|
|
69
|
-
{component:
|
|
70
|
-
{component:
|
|
71
|
-
{component:
|
|
72
|
-
{component:
|
|
73
|
-
{component:
|
|
74
|
-
{component:
|
|
75
|
-
{component:
|
|
76
|
-
{component:
|
|
77
|
-
{component:
|
|
78
|
-
{component:
|
|
79
|
-
{component:
|
|
80
|
-
{component:
|
|
81
|
-
{component:
|
|
82
|
-
{component:
|
|
83
|
-
{component:
|
|
84
|
-
{component:
|
|
85
|
-
{component:
|
|
86
|
-
{component:
|
|
87
|
-
{component:
|
|
88
|
-
{component:
|
|
89
|
-
{component:
|
|
90
|
-
{component:
|
|
91
|
-
{component:
|
|
92
|
-
{component:
|
|
93
|
-
{component:
|
|
94
|
-
{component:
|
|
95
|
-
{component:
|
|
96
|
-
{component:
|
|
97
|
-
{component:
|
|
98
|
-
|
|
1
|
+
// FICHERO GENERADO AUTOMÁTICAMENTE usando esto: "npm run generate:registry" ==> NO TOCAR ESTO A MANO (o sus crujo) !!.
|
|
2
|
+
import * as AstroButton from '../carbins/AstroButton.ts';
|
|
3
|
+
import * as CTA_2025_Formentera from '../carbins/CTA_2025_Formentera.ts';
|
|
4
|
+
import * as Cabecera_2025_Barcelona from '../carbins/Cabecera_2025_Barcelona.ts';
|
|
5
|
+
import * as Cabecera_2025_Madrid from '../carbins/Cabecera_2025_Madrid.ts';
|
|
6
|
+
import * as Contenido_2025_Alcorcon from '../carbins/Contenido_2025_Alcorcon.ts';
|
|
7
|
+
import * as Contenido_2025_Cordoba from '../carbins/Contenido_2025_Cordoba.ts';
|
|
8
|
+
import * as Contenido_2025_Granada from '../carbins/Contenido_2025_Granada.ts';
|
|
9
|
+
import * as Contenido_2025_Malaga from '../carbins/Contenido_2025_Malaga.ts';
|
|
10
|
+
import * as Contenido_2025_Montevideo from '../carbins/Contenido_2025_Montevideo.ts';
|
|
11
|
+
import * as CorpFooter from '../carbins/CorpFooter.ts';
|
|
12
|
+
import * as CorpHero from '../carbins/CorpHero.ts';
|
|
13
|
+
import * as FooterCorporativo from '../carbins/FooterCorporativo.ts';
|
|
14
|
+
import * as Footer_2025_Napoles from '../carbins/Footer_2025_Napoles.ts';
|
|
15
|
+
import * as Formulario_2025_Seul from '../carbins/Formulario_2025_Seul.ts';
|
|
16
|
+
import * as Formulario_2025_Teruel from '../carbins/Formulario_2025_Teruel.ts';
|
|
17
|
+
import * as GeometricShapeCard from '../carbins/GeometricShapeCard.ts';
|
|
18
|
+
import * as HeaderCorporativo from '../carbins/HeaderCorporativo.ts';
|
|
19
|
+
import * as ImageTextSimple from '../carbins/ImageTextSimple.ts';
|
|
20
|
+
import * as Imagen_2025_Bogota from '../carbins/Imagen_2025_Bogota.ts';
|
|
21
|
+
import * as Imagen_2025_Fukushima from '../carbins/Imagen_2025_Fukushima.ts';
|
|
22
|
+
import * as ReactButton from '../carbins/ReactButton.ts';
|
|
23
|
+
import * as Repetidor_2025_Cabra from '../carbins/Repetidor_2025_Cabra.ts';
|
|
24
|
+
import * as Repetidor_2025_Dubai from '../carbins/Repetidor_2025_Dubai.ts';
|
|
25
|
+
import * as Repetidor_2025_Estocolmo from '../carbins/Repetidor_2025_Estocolmo.ts';
|
|
26
|
+
import * as Repetidor_2025_Mallorca from '../carbins/Repetidor_2025_Mallorca.ts';
|
|
27
|
+
import * as Repetidor_2025_Menorca from '../carbins/Repetidor_2025_Menorca.ts';
|
|
28
|
+
import * as Repetidor_2025_Michigan from '../carbins/Repetidor_2025_Michigan.ts';
|
|
29
|
+
import * as Repetidor_2025_Orcasitas from '../carbins/Repetidor_2025_Orcasitas.ts';
|
|
30
|
+
import * as Repetidor_2025_Oslo from '../carbins/Repetidor_2025_Oslo.ts';
|
|
31
|
+
import * as Repetidor_2025_Quito from '../carbins/Repetidor_2025_Quito.ts';
|
|
32
|
+
import * as Repetidor_2025_Seattle from '../carbins/Repetidor_2025_Seattle.ts';
|
|
33
|
+
import * as Repetidor_2025_Tokyo from '../carbins/Repetidor_2025_Tokyo.ts';
|
|
34
|
+
import * as Repetidor_2025_Ubeda from '../carbins/Repetidor_2025_Ubeda.ts';
|
|
35
|
+
import * as Repetidor_2025_Yakarta from '../carbins/Repetidor_2025_Yakarta.ts';
|
|
36
|
+
import * as SEO_Head_Section from '../carbins/SEO_Head_Section.ts';
|
|
37
|
+
import * as Separador_2025_Reinosa from '../carbins/Separador_2025_Reinosa.ts';
|
|
38
|
+
import * as SpectrumSeparator from '../carbins/SpectrumSeparator.ts';
|
|
39
|
+
import * as TestPadre from '../carbins/TestPadre.ts';
|
|
40
|
+
import * as TextBox from '../carbins/TextBox.ts';
|
|
41
|
+
import * as TextImageBackground from '../carbins/TextImageBackground.ts';
|
|
42
|
+
import * as TextImageBlock from '../carbins/TextImageBlock.ts';
|
|
43
|
+
import * as TextImageCard from '../carbins/TextImageCard.ts';
|
|
44
|
+
import * as TextImageHeader from '../carbins/TextImageHeader.ts';
|
|
45
|
+
import * as Titulo_2025_Algeciras from '../carbins/Titulo_2025_Algeciras.ts';
|
|
46
|
+
import * as Titulo_2025_Santorini from '../carbins/Titulo_2025_Santorini.ts';
|
|
47
|
+
import * as VideoAutoplay from '../carbins/VideoAutoplay.ts';
|
|
48
|
+
import * as Video_2025_Polop from '../carbins/Video_2025_Polop.ts';
|
|
49
|
+
import * as VueButton from '../carbins/VueButton.ts';
|
|
50
|
+
|
|
51
|
+
export const components = [
|
|
52
|
+
{component: AstroButton},
|
|
53
|
+
{component: CTA_2025_Formentera},
|
|
54
|
+
{component: Cabecera_2025_Barcelona},
|
|
55
|
+
{component: Cabecera_2025_Madrid},
|
|
56
|
+
{component: Contenido_2025_Alcorcon},
|
|
57
|
+
{component: Contenido_2025_Cordoba},
|
|
58
|
+
{component: Contenido_2025_Granada},
|
|
59
|
+
{component: Contenido_2025_Malaga},
|
|
60
|
+
{component: Contenido_2025_Montevideo},
|
|
61
|
+
{component: CorpFooter},
|
|
62
|
+
{component: CorpHero},
|
|
63
|
+
{component: FooterCorporativo},
|
|
64
|
+
{component: Footer_2025_Napoles},
|
|
65
|
+
{component: Formulario_2025_Seul},
|
|
66
|
+
{component: Formulario_2025_Teruel},
|
|
67
|
+
{component: GeometricShapeCard},
|
|
68
|
+
{component: HeaderCorporativo},
|
|
69
|
+
{component: ImageTextSimple},
|
|
70
|
+
{component: Imagen_2025_Bogota},
|
|
71
|
+
{component: Imagen_2025_Fukushima},
|
|
72
|
+
{component: ReactButton},
|
|
73
|
+
{component: Repetidor_2025_Cabra},
|
|
74
|
+
{component: Repetidor_2025_Dubai},
|
|
75
|
+
{component: Repetidor_2025_Estocolmo},
|
|
76
|
+
{component: Repetidor_2025_Mallorca},
|
|
77
|
+
{component: Repetidor_2025_Menorca},
|
|
78
|
+
{component: Repetidor_2025_Michigan},
|
|
79
|
+
{component: Repetidor_2025_Orcasitas},
|
|
80
|
+
{component: Repetidor_2025_Oslo},
|
|
81
|
+
{component: Repetidor_2025_Quito},
|
|
82
|
+
{component: Repetidor_2025_Seattle},
|
|
83
|
+
{component: Repetidor_2025_Tokyo},
|
|
84
|
+
{component: Repetidor_2025_Ubeda},
|
|
85
|
+
{component: Repetidor_2025_Yakarta},
|
|
86
|
+
{component: SEO_Head_Section},
|
|
87
|
+
{component: Separador_2025_Reinosa},
|
|
88
|
+
{component: SpectrumSeparator},
|
|
89
|
+
{component: TestPadre},
|
|
90
|
+
{component: TextBox},
|
|
91
|
+
{component: TextImageBackground},
|
|
92
|
+
{component: TextImageBlock},
|
|
93
|
+
{component: TextImageCard},
|
|
94
|
+
{component: TextImageHeader},
|
|
95
|
+
{component: Titulo_2025_Algeciras},
|
|
96
|
+
{component: Titulo_2025_Santorini},
|
|
97
|
+
{component: VideoAutoplay},
|
|
98
|
+
{component: Video_2025_Polop},
|
|
99
|
+
{component: VueButton},
|
|
100
|
+
];
|
package/src/index.ts
CHANGED
|
@@ -1,125 +1,129 @@
|
|
|
1
|
-
// FICHERO GENERADO AUTOMÁTICAMENTE usando esto: "npm run generate:registry" ==> NO TOCAR ESTO A MANO (o sus crujo) !!.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
// Esta parte importa todos los componentes en las carpetas de componentes
|
|
5
|
-
|
|
6
|
-
import VueButton from './components/Vue/VueButton.vue';
|
|
7
|
-
import Button from './components/Astro/Button.astro';
|
|
8
|
-
import CTA_2025_Formentera from './components/Astro/CTA_2025_Formentera.astro';
|
|
9
|
-
import Cabecera_2025_Barcelona from './components/Astro/Cabecera_2025_Barcelona.astro';
|
|
10
|
-
import Cabecera_2025_Madrid from './components/Astro/Cabecera_2025_Madrid.astro';
|
|
11
|
-
import Contenido_2025_Alcorcon from './components/Astro/Contenido_2025_Alcorcon.astro';
|
|
12
|
-
import Contenido_2025_Granada from './components/Astro/Contenido_2025_Granada.astro';
|
|
13
|
-
import Contenido_2025_Malaga from './components/Astro/Contenido_2025_Malaga.astro';
|
|
14
|
-
import Contenido_2025_Montevideo from './components/Astro/Contenido_2025_Montevideo.astro';
|
|
15
|
-
import CorpFooter from './components/Astro/CorpFooter.astro';
|
|
16
|
-
import CorpHero from './components/Astro/CorpHero.astro';
|
|
17
|
-
import CorpNavigation from './components/Astro/CorpNavigation.astro';
|
|
18
|
-
import FooterCorporativo from './components/Astro/FooterCorporativo.astro';
|
|
19
|
-
import Footer_2025_Napoles from './components/Astro/Footer_2025_Napoles.astro';
|
|
20
|
-
import Formulario_2025_Seul from './components/Astro/Formulario_2025_Seul.astro';
|
|
21
|
-
import Formulario_2025_Teruel from './components/Astro/Formulario_2025_Teruel.astro';
|
|
22
|
-
import GeometricShape from './components/Astro/GeometricShape.astro';
|
|
23
|
-
import GeometricShapeCard from './components/Astro/GeometricShapeCard.astro';
|
|
24
|
-
import HeaderCorporativo from './components/Astro/HeaderCorporativo.astro';
|
|
25
|
-
import ImageTextSimple from './components/Astro/ImageTextSimple.astro';
|
|
26
|
-
import Imagen_2025_Bogota from './components/Astro/Imagen_2025_Bogota.astro';
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
import
|
|
52
|
-
import
|
|
53
|
-
import
|
|
54
|
-
import
|
|
55
|
-
import
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
// que
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
1
|
+
// FICHERO GENERADO AUTOMÁTICAMENTE usando esto: "npm run generate:registry" ==> NO TOCAR ESTO A MANO (o sus crujo) !!.
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
// Esta parte importa todos los componentes en las carpetas de componentes
|
|
5
|
+
|
|
6
|
+
import VueButton from './components/Vue/VueButton.vue';
|
|
7
|
+
import Button from './components/Astro/Button.astro';
|
|
8
|
+
import CTA_2025_Formentera from './components/Astro/CTA_2025_Formentera.astro';
|
|
9
|
+
import Cabecera_2025_Barcelona from './components/Astro/Cabecera_2025_Barcelona.astro';
|
|
10
|
+
import Cabecera_2025_Madrid from './components/Astro/Cabecera_2025_Madrid.astro';
|
|
11
|
+
import Contenido_2025_Alcorcon from './components/Astro/Contenido_2025_Alcorcon.astro';
|
|
12
|
+
import Contenido_2025_Granada from './components/Astro/Contenido_2025_Granada.astro';
|
|
13
|
+
import Contenido_2025_Malaga from './components/Astro/Contenido_2025_Malaga.astro';
|
|
14
|
+
import Contenido_2025_Montevideo from './components/Astro/Contenido_2025_Montevideo.astro';
|
|
15
|
+
import CorpFooter from './components/Astro/CorpFooter.astro';
|
|
16
|
+
import CorpHero from './components/Astro/CorpHero.astro';
|
|
17
|
+
import CorpNavigation from './components/Astro/CorpNavigation.astro';
|
|
18
|
+
import FooterCorporativo from './components/Astro/FooterCorporativo.astro';
|
|
19
|
+
import Footer_2025_Napoles from './components/Astro/Footer_2025_Napoles.astro';
|
|
20
|
+
import Formulario_2025_Seul from './components/Astro/Formulario_2025_Seul.astro';
|
|
21
|
+
import Formulario_2025_Teruel from './components/Astro/Formulario_2025_Teruel.astro';
|
|
22
|
+
import GeometricShape from './components/Astro/GeometricShape.astro';
|
|
23
|
+
import GeometricShapeCard from './components/Astro/GeometricShapeCard.astro';
|
|
24
|
+
import HeaderCorporativo from './components/Astro/HeaderCorporativo.astro';
|
|
25
|
+
import ImageTextSimple from './components/Astro/ImageTextSimple.astro';
|
|
26
|
+
import Imagen_2025_Bogota from './components/Astro/Imagen_2025_Bogota.astro';
|
|
27
|
+
import Imagen_2025_Fukushima from './components/Astro/Imagen_2025_Fukushima.astro';
|
|
28
|
+
import Repetidor_2025_Cabra from './components/Astro/Repetidor_2025_Cabra.astro';
|
|
29
|
+
import Repetidor_2025_Cordoba from './components/Astro/Repetidor_2025_Cordoba.astro';
|
|
30
|
+
import Repetidor_2025_Dubai from './components/Astro/Repetidor_2025_Dubai.astro';
|
|
31
|
+
import Repetidor_2025_Estocolmo from './components/Astro/Repetidor_2025_Estocolmo.astro';
|
|
32
|
+
import Repetidor_2025_Mallorca from './components/Astro/Repetidor_2025_Mallorca.astro';
|
|
33
|
+
import Repetidor_2025_Menorca from './components/Astro/Repetidor_2025_Menorca.astro';
|
|
34
|
+
import Repetidor_2025_Michigan from './components/Astro/Repetidor_2025_Michigan.astro';
|
|
35
|
+
import Repetidor_2025_Orcasitas from './components/Astro/Repetidor_2025_Orcasitas.astro';
|
|
36
|
+
import Repetidor_2025_Oslo from './components/Astro/Repetidor_2025_Oslo.astro';
|
|
37
|
+
import Repetidor_2025_Quito from './components/Astro/Repetidor_2025_Quito.astro';
|
|
38
|
+
import Repetidor_2025_Seattle from './components/Astro/Repetidor_2025_Seattle.astro';
|
|
39
|
+
import Repetidor_2025_Tokyo from './components/Astro/Repetidor_2025_Tokyo.astro';
|
|
40
|
+
import Repetidor_2025_Ubeda from './components/Astro/Repetidor_2025_Ubeda.astro';
|
|
41
|
+
import Repetidor_2025_Yakarta from './components/Astro/Repetidor_2025_Yakarta.astro';
|
|
42
|
+
import SEO_Head_Section from './components/Astro/SEO_Head_Section.astro';
|
|
43
|
+
import Separador_2025_Reinosa from './components/Astro/Separador_2025_Reinosa.astro';
|
|
44
|
+
import SpectrumSeparator from './components/Astro/SpectrumSeparator.astro';
|
|
45
|
+
import TestHijo from './components/Astro/TestHijo.astro';
|
|
46
|
+
import TestPadre from './components/Astro/TestPadre.astro';
|
|
47
|
+
import TextBox from './components/Astro/TextBox.astro';
|
|
48
|
+
import TextImageBackground from './components/Astro/TextImageBackground.astro';
|
|
49
|
+
import TextImageBlock from './components/Astro/TextImageBlock.astro';
|
|
50
|
+
import TextImageCard from './components/Astro/TextImageCard.astro';
|
|
51
|
+
import TextImageHeader from './components/Astro/TextImageHeader.astro';
|
|
52
|
+
import Titulo_2025_Algeciras from './components/Astro/Titulo_2025_Algeciras.astro';
|
|
53
|
+
import Titulo_2025_Santorini from './components/Astro/Titulo_2025_Santorini.astro';
|
|
54
|
+
import VideoAutoplay from './components/Astro/VideoAutoplay.astro';
|
|
55
|
+
import Video_2025_Polop from './components/Astro/Video_2025_Polop.astro';
|
|
56
|
+
import Video_2025_Valencia from './components/Astro/Video_2025_Valencia.astro';
|
|
57
|
+
import ReactButton from './components/React/ReactButton.jsx';
|
|
58
|
+
|
|
59
|
+
// Exporta todos los componentes uno a uno para que puedan ser usados directamente.
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
export { VueButton, Button, CTA_2025_Formentera, Cabecera_2025_Barcelona, Cabecera_2025_Madrid, Contenido_2025_Alcorcon, Contenido_2025_Granada, Contenido_2025_Malaga, Contenido_2025_Montevideo, CorpFooter, CorpHero, CorpNavigation, FooterCorporativo, Footer_2025_Napoles, Formulario_2025_Seul, Formulario_2025_Teruel, GeometricShape, GeometricShapeCard, HeaderCorporativo, ImageTextSimple, Imagen_2025_Bogota, Imagen_2025_Fukushima, Repetidor_2025_Cabra, Repetidor_2025_Cordoba, Repetidor_2025_Dubai, Repetidor_2025_Estocolmo, Repetidor_2025_Mallorca, Repetidor_2025_Menorca, Repetidor_2025_Michigan, Repetidor_2025_Orcasitas, Repetidor_2025_Oslo, Repetidor_2025_Quito, Repetidor_2025_Seattle, Repetidor_2025_Tokyo, Repetidor_2025_Ubeda, Repetidor_2025_Yakarta, SEO_Head_Section, Separador_2025_Reinosa, SpectrumSeparator, TestHijo, TestPadre, TextBox, TextImageBackground, TextImageBlock, TextImageCard, TextImageHeader, Titulo_2025_Algeciras, Titulo_2025_Santorini, VideoAutoplay, Video_2025_Polop, Video_2025_Valencia, ReactButton };
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
// Exporta la función listComponents para que sea usado en el Pagebuilder en Vue.
|
|
66
|
+
// Esto está puesto a pelo, si hubiera más funciones habría que automatizarlo en el script
|
|
67
|
+
// que ha generado este fichero: generateRegistry.js
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
export { listComponents } from './lib/functions.js';
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
// Se crea un objeto de nuevo con todos los componentes, el motivo es para que puedan ser llamados dinámicamente en el PageBuilder
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
export const components = {
|
|
77
|
+
VueButton: VueButton,
|
|
78
|
+
Button: Button,
|
|
79
|
+
CTA_2025_Formentera: CTA_2025_Formentera,
|
|
80
|
+
Cabecera_2025_Barcelona: Cabecera_2025_Barcelona,
|
|
81
|
+
Cabecera_2025_Madrid: Cabecera_2025_Madrid,
|
|
82
|
+
Contenido_2025_Alcorcon: Contenido_2025_Alcorcon,
|
|
83
|
+
Contenido_2025_Granada: Contenido_2025_Granada,
|
|
84
|
+
Contenido_2025_Malaga: Contenido_2025_Malaga,
|
|
85
|
+
Contenido_2025_Montevideo: Contenido_2025_Montevideo,
|
|
86
|
+
CorpFooter: CorpFooter,
|
|
87
|
+
CorpHero: CorpHero,
|
|
88
|
+
CorpNavigation: CorpNavigation,
|
|
89
|
+
FooterCorporativo: FooterCorporativo,
|
|
90
|
+
Footer_2025_Napoles: Footer_2025_Napoles,
|
|
91
|
+
Formulario_2025_Seul: Formulario_2025_Seul,
|
|
92
|
+
Formulario_2025_Teruel: Formulario_2025_Teruel,
|
|
93
|
+
GeometricShape: GeometricShape,
|
|
94
|
+
GeometricShapeCard: GeometricShapeCard,
|
|
95
|
+
HeaderCorporativo: HeaderCorporativo,
|
|
96
|
+
ImageTextSimple: ImageTextSimple,
|
|
97
|
+
Imagen_2025_Bogota: Imagen_2025_Bogota,
|
|
98
|
+
Imagen_2025_Fukushima: Imagen_2025_Fukushima,
|
|
99
|
+
Repetidor_2025_Cabra: Repetidor_2025_Cabra,
|
|
100
|
+
Repetidor_2025_Cordoba: Repetidor_2025_Cordoba,
|
|
101
|
+
Repetidor_2025_Dubai: Repetidor_2025_Dubai,
|
|
102
|
+
Repetidor_2025_Estocolmo: Repetidor_2025_Estocolmo,
|
|
103
|
+
Repetidor_2025_Mallorca: Repetidor_2025_Mallorca,
|
|
104
|
+
Repetidor_2025_Menorca: Repetidor_2025_Menorca,
|
|
105
|
+
Repetidor_2025_Michigan: Repetidor_2025_Michigan,
|
|
106
|
+
Repetidor_2025_Orcasitas: Repetidor_2025_Orcasitas,
|
|
107
|
+
Repetidor_2025_Oslo: Repetidor_2025_Oslo,
|
|
108
|
+
Repetidor_2025_Quito: Repetidor_2025_Quito,
|
|
109
|
+
Repetidor_2025_Seattle: Repetidor_2025_Seattle,
|
|
110
|
+
Repetidor_2025_Tokyo: Repetidor_2025_Tokyo,
|
|
111
|
+
Repetidor_2025_Ubeda: Repetidor_2025_Ubeda,
|
|
112
|
+
Repetidor_2025_Yakarta: Repetidor_2025_Yakarta,
|
|
113
|
+
SEO_Head_Section: SEO_Head_Section,
|
|
114
|
+
Separador_2025_Reinosa: Separador_2025_Reinosa,
|
|
115
|
+
SpectrumSeparator: SpectrumSeparator,
|
|
116
|
+
TestHijo: TestHijo,
|
|
117
|
+
TestPadre: TestPadre,
|
|
118
|
+
TextBox: TextBox,
|
|
119
|
+
TextImageBackground: TextImageBackground,
|
|
120
|
+
TextImageBlock: TextImageBlock,
|
|
121
|
+
TextImageCard: TextImageCard,
|
|
122
|
+
TextImageHeader: TextImageHeader,
|
|
123
|
+
Titulo_2025_Algeciras: Titulo_2025_Algeciras,
|
|
124
|
+
Titulo_2025_Santorini: Titulo_2025_Santorini,
|
|
125
|
+
VideoAutoplay: VideoAutoplay,
|
|
126
|
+
Video_2025_Polop: Video_2025_Polop,
|
|
127
|
+
Video_2025_Valencia: Video_2025_Valencia,
|
|
128
|
+
ReactButton: ReactButton
|
|
129
|
+
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ComponentMetadata } from '../interfaces/types';
|
|
2
|
-
|
|
3
|
-
export const metadata: ComponentMetadata = {
|
|
4
|
-
component_name: 'Video_2025_Valencia',
|
|
5
|
-
category: 'Contenido',
|
|
6
|
-
name: 'Vídeos Genial 2025',
|
|
7
|
-
description: 'Vídeo para el directorio de Genial en la corporativa de Lefebvre',
|
|
8
|
-
framework: 'Astro',
|
|
9
|
-
priority: 1,
|
|
10
|
-
tags: ['video', 'genial', 'FIX'],
|
|
11
|
-
fields: []
|
|
12
|
-
};
|