libreria-astro-lefebvre 0.0.5 → 0.0.7
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 -10
- package/src/carbins/CTA_2025_Formentera.ts +48 -0
- package/src/carbins/Cabecera_2025_Barcelona.ts +34 -0
- package/src/carbins/Cabecera_2025_Madrid.ts +34 -0
- package/src/carbins/Contenido_2025_Alcorcon.ts +76 -0
- package/src/carbins/Contenido_2025_Granada.ts +59 -0
- package/src/carbins/Contenido_2025_Malaga.ts +100 -0
- package/src/carbins/CorpFooter.ts +13 -0
- package/src/carbins/CorpHero.ts +20 -0
- package/src/carbins/FooterCorporativo.ts +13 -0
- package/src/carbins/Footer_2025_Napoles.ts +12 -0
- package/src/carbins/Formulario_2025_Seul.ts +56 -0
- package/src/carbins/GeometricShapeCard.ts +19 -8
- package/src/carbins/HeaderCorporativo.ts +34 -0
- package/src/carbins/ImageTextSimple.ts +45 -0
- package/src/carbins/Imagen_2025_Bogota.ts +69 -0
- package/src/carbins/ReactButton.ts +32 -8
- package/src/carbins/Repetidor_2025_Cabra.ts +12 -0
- package/src/carbins/Repetidor_2025_Dubai.ts +48 -0
- package/src/carbins/Repetidor_2025_Estocolmo.ts +12 -0
- package/src/carbins/Repetidor_2025_Menorca.ts +75 -0
- package/src/carbins/Repetidor_2025_Michigan.ts +21 -0
- package/src/carbins/Repetidor_2025_Orcasitas.ts +34 -0
- package/src/carbins/Repetidor_2025_Oslo.ts +12 -0
- package/src/carbins/Repetidor_2025_Quito.ts +20 -0
- package/src/carbins/Repetidor_2025_Seatle.ts +12 -0
- package/src/carbins/Repetidor_2025_Tokyo.ts +48 -0
- package/src/carbins/Repetidor_2025_Ubeda.ts +12 -0
- package/src/carbins/Repetidor_2025_Yakarta.ts +12 -0
- package/src/carbins/Separador_2025_Reinosa.ts +12 -0
- package/src/carbins/SpectrumSeparator.ts +12 -0
- package/src/carbins/TestPadre.ts +20 -0
- package/src/carbins/TextBox.ts +27 -0
- package/src/carbins/TextImageBackground.ts +47 -0
- package/src/carbins/TextImageBlock.ts +62 -0
- package/src/carbins/TextImageCard.ts +44 -0
- package/src/carbins/TextImageHeader.ts +68 -0
- package/src/carbins/Titulo_2025_Algeciras.ts +43 -0
- package/src/carbins/Titulo_2025_Santorini.ts +20 -0
- package/src/carbins/VideoAutoplay.ts +36 -0
- package/src/carbins/VueButton.ts +35 -11
- package/src/components/Astro/Button.astro +5 -5
- package/src/components/Astro/CTA_2025_Formentera.astro +20 -0
- package/src/components/Astro/Cabecera_2025_Barcelona.astro +17 -0
- package/src/components/Astro/Cabecera_2025_Madrid.astro +147 -0
- package/src/components/Astro/Contenido_2025_Alcorcon.astro +46 -0
- package/src/components/Astro/Contenido_2025_Granada.astro +67 -0
- package/src/components/Astro/Contenido_2025_Malaga.astro +125 -0
- package/src/components/Astro/CorpFooter.astro +107 -0
- package/src/components/Astro/CorpHero.astro +21 -0
- package/src/components/Astro/CorpNavigation.astro +87 -0
- package/src/components/Astro/FooterCorporativo.astro +82 -0
- package/src/components/Astro/Footer_2025_Napoles.astro +128 -0
- package/src/components/Astro/Formulario_2025_Seul.astro +63 -0
- package/src/components/Astro/GeometricShape.astro +0 -0
- package/src/components/Astro/GeometricShapeCard.astro +0 -0
- package/src/components/Astro/HeaderCorporativo.astro +26 -0
- package/src/components/Astro/ImageTextSimple.astro +56 -0
- package/src/components/Astro/Imagen_2025_Bogota.astro +43 -0
- package/src/components/Astro/Repetidor_2025_Cabra.astro +121 -0
- package/src/components/Astro/Repetidor_2025_Dubai.astro +30 -0
- package/src/components/Astro/Repetidor_2025_Estocolmo.astro +34 -0
- package/src/components/Astro/Repetidor_2025_Menorca.astro +42 -0
- package/src/components/Astro/Repetidor_2025_Michigan.astro +24 -0
- package/src/components/Astro/Repetidor_2025_Orcasitas.astro +189 -0
- package/src/components/Astro/Repetidor_2025_Oslo.astro +54 -0
- package/src/components/Astro/Repetidor_2025_Quito.astro +43 -0
- package/src/components/Astro/Repetidor_2025_Seatle.astro +32 -0
- package/src/components/Astro/Repetidor_2025_Tokyo.astro +55 -0
- package/src/components/Astro/Repetidor_2025_Ubeda.astro +19 -0
- package/src/components/Astro/Repetidor_2025_Yakarta.astro +136 -0
- package/src/components/Astro/Separador_2025_Reinosa.astro +4 -0
- package/src/components/Astro/SpectrumSeparator.astro +11 -0
- package/src/components/Astro/TestHijo.astro +5 -0
- package/src/components/Astro/TestPadre.astro +7 -0
- package/src/components/Astro/TextBox.astro +11 -0
- package/src/components/Astro/TextImageBackground.astro +18 -0
- package/src/components/Astro/TextImageBlock.astro +29 -0
- package/src/components/Astro/TextImageCard.astro +25 -0
- package/src/components/Astro/TextImageHeader.astro +31 -0
- package/src/components/Astro/Titulo_2025_Algeciras.astro +27 -0
- package/src/components/Astro/Titulo_2025_Santorini.astro +9 -0
- package/src/components/Astro/VideoAutoplay.astro +20 -0
- package/src/components/React/ReactButton.jsx +0 -0
- package/src/components/Vue/VueButton.vue +0 -0
- package/src/generated/componentRegistry.ts +86 -12
- package/src/index.ts +113 -5
- package/src/interfaces/types.ts +3 -0
- package/src/lib/functions.js +0 -0
package/README.md
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
# libreria-astro-lefebvre
|
|
2
|
-
|
|
3
|
-
Instrucciones:
|
|
4
|
-
|
|
5
|
-
- La libreria en npm está en: https://www.npmjs.com/package/libreria-astro-lefebvre
|
|
6
|
-
- Para instalar:
|
|
7
|
-
```
|
|
8
|
-
npm i libreria-astro-lefebvre
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Hacer un link en librería local:
|
|
13
|
-
``` npm link ```
|
|
14
|
-
|
|
15
|
-
Usar librería local:
|
|
16
|
-
``` npm link nombre-librería ```
|
|
17
|
-
|
|
18
|
-
Dejar de usar librería local:
|
|
19
|
-
```npm unlink --no-save nombre-librería```
|
|
20
|
-
|
|
21
|
-
Login en npm:
|
|
22
|
-
```npm login --auth-type=legacy```
|
|
23
|
-
|
|
24
|
-
Publicar en npm:
|
|
25
|
-
```npm publish --access public```
|
|
26
|
-
|
|
27
|
-
Cuenta nodejs:
|
|
28
|
-
dretamal
|
|
29
|
-
P...a
|
|
30
|
-
|
|
31
|
-
Hay que hacer npm install y reiniciar server
|
|
32
|
-
|
|
33
|
-
Correr aplicación node:
|
|
34
|
-
``` npm run dev ```
|
|
35
|
-
|
|
36
|
-
Compilar:
|
|
37
|
-
```npm run build```
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
Para importar en proyecto astro y usar componentes:
|
|
41
|
-
|
|
42
|
-
```import { Button, Button2, Button3} from 'libreria-astro-lefebvre';```
|
|
43
|
-
|
|
44
|
-
Para listar componentes en Vue:
|
|
45
|
-
|
|
46
|
-
```import { listComponents} from 'libreria-astro-lefebvre/list';```
|
|
1
|
+
# libreria-astro-lefebvre
|
|
2
|
+
|
|
3
|
+
Instrucciones:
|
|
4
|
+
|
|
5
|
+
- La libreria en npm está en: https://www.npmjs.com/package/libreria-astro-lefebvre
|
|
6
|
+
- Para instalar:
|
|
7
|
+
```
|
|
8
|
+
npm i libreria-astro-lefebvre
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
Hacer un link en librería local:
|
|
13
|
+
``` npm link ```
|
|
14
|
+
|
|
15
|
+
Usar librería local:
|
|
16
|
+
``` npm link nombre-librería ```
|
|
17
|
+
|
|
18
|
+
Dejar de usar librería local:
|
|
19
|
+
```npm unlink --no-save nombre-librería```
|
|
20
|
+
|
|
21
|
+
Login en npm:
|
|
22
|
+
```npm login --auth-type=legacy```
|
|
23
|
+
|
|
24
|
+
Publicar en npm:
|
|
25
|
+
```npm publish --access public```
|
|
26
|
+
|
|
27
|
+
Cuenta nodejs:
|
|
28
|
+
dretamal
|
|
29
|
+
P...a
|
|
30
|
+
|
|
31
|
+
Hay que hacer npm install y reiniciar server
|
|
32
|
+
|
|
33
|
+
Correr aplicación node:
|
|
34
|
+
``` npm run dev ```
|
|
35
|
+
|
|
36
|
+
Compilar:
|
|
37
|
+
```npm run build```
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
Para importar en proyecto astro y usar componentes:
|
|
41
|
+
|
|
42
|
+
```import { Button, Button2, Button3} from 'libreria-astro-lefebvre';```
|
|
43
|
+
|
|
44
|
+
Para listar componentes en Vue:
|
|
45
|
+
|
|
46
|
+
```import { listComponents} from 'libreria-astro-lefebvre/list';```
|
package/package.json
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "libreria-astro-lefebvre",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "Librería de componentes Astro, React y Vue para Lefebvre",
|
|
5
|
-
"author": "Equipo web desarrollo Lefebvre",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": "./src/index.ts",
|
|
9
|
-
"./list": "./src/list.ts"
|
|
10
|
-
},
|
|
11
|
-
"files": [
|
|
12
|
-
"src"
|
|
13
|
-
],
|
|
14
|
-
"keywords": [
|
|
15
|
-
"astro",
|
|
16
|
-
"astro-components",
|
|
17
|
-
"ui",
|
|
18
|
-
"component-library",
|
|
19
|
-
"design-system"
|
|
20
|
-
],
|
|
21
|
-
"peerDependencies": {
|
|
22
|
-
"astro": "^5.11.0"
|
|
23
|
-
},
|
|
24
|
-
"scripts": {
|
|
25
|
-
"generate:registry": "node scripts/generateRegistry.js"
|
|
26
|
-
},
|
|
27
|
-
"devDependencies": {
|
|
28
|
-
"typescript": "^5.8.3"
|
|
29
|
-
}
|
|
30
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "libreria-astro-lefebvre",
|
|
3
|
+
"version": "0.0.7",
|
|
4
|
+
"description": "Librería de componentes Astro, React y Vue para Lefebvre",
|
|
5
|
+
"author": "Equipo web desarrollo Lefebvre",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./src/index.ts",
|
|
9
|
+
"./list": "./src/list.ts"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"src"
|
|
13
|
+
],
|
|
14
|
+
"keywords": [
|
|
15
|
+
"astro",
|
|
16
|
+
"astro-components",
|
|
17
|
+
"ui",
|
|
18
|
+
"component-library",
|
|
19
|
+
"design-system"
|
|
20
|
+
],
|
|
21
|
+
"peerDependencies": {
|
|
22
|
+
"astro": "^5.11.0"
|
|
23
|
+
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"generate:registry": "node scripts/generateRegistry.js"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"typescript": "^5.8.3"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -1,10 +1,34 @@
|
|
|
1
|
-
import type { ComponentMetadata } from '../interfaces/types';
|
|
2
|
-
|
|
3
|
-
export const metadata: ComponentMetadata = {
|
|
4
|
-
component_name: 'Button',
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import type { ComponentMetadata } from '../interfaces/types';
|
|
2
|
+
|
|
3
|
+
export const metadata: ComponentMetadata = {
|
|
4
|
+
component_name: 'Button',
|
|
5
|
+
category: 'Call to Action',
|
|
6
|
+
name: 'Botón en Astro',
|
|
7
|
+
description: 'Botón de prueba en Astro',
|
|
8
|
+
framework: 'Astro',
|
|
9
|
+
priority: 1,
|
|
10
|
+
tags: ['boton', 'interactivo', 'ejemplo'],
|
|
11
|
+
fields: [
|
|
12
|
+
{
|
|
13
|
+
name: 'label',
|
|
14
|
+
type: 'text',
|
|
15
|
+
label: 'Texto del botón',
|
|
16
|
+
mandatory: true,
|
|
17
|
+
example_value: 'Botón en Astro'
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: 'href',
|
|
21
|
+
type: 'text',
|
|
22
|
+
label: 'Url de destino',
|
|
23
|
+
mandatory: true,
|
|
24
|
+
example_value: 'https://lefebvre.es'
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'target',
|
|
28
|
+
type: 'text',
|
|
29
|
+
label: 'Indicar si se abre en la misma ventana o en una nueva (_blank)',
|
|
30
|
+
mandatory: false,
|
|
31
|
+
example_value: '_blank'
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { ComponentMetadata } from '../interfaces/types';
|
|
2
|
+
|
|
3
|
+
export const metadata: ComponentMetadata = {
|
|
4
|
+
component_name: 'CTA_2025_Formentera',
|
|
5
|
+
category: 'Call to Action',
|
|
6
|
+
name: 'Botón primario Genial 2025',
|
|
7
|
+
description: 'Botón primario para el directorio de Genial en la corporativa de Lefebvre',
|
|
8
|
+
framework: 'Astro',
|
|
9
|
+
priority: 1,
|
|
10
|
+
tags: ['boton', 'genial'],
|
|
11
|
+
fields: [
|
|
12
|
+
{
|
|
13
|
+
name: 'buttonText',
|
|
14
|
+
type: 'text',
|
|
15
|
+
label: 'Label del botón',
|
|
16
|
+
mandatory: false,
|
|
17
|
+
example_value: 'Texto del botón'
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: 'buttonUrl',
|
|
21
|
+
type: 'text',
|
|
22
|
+
label: 'Enlace del botón',
|
|
23
|
+
mandatory: false,
|
|
24
|
+
example_value: 'https://www.ejemplo.com'
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'frontColor',
|
|
28
|
+
type: 'text',
|
|
29
|
+
label: 'Color frontal',
|
|
30
|
+
mandatory: false,
|
|
31
|
+
example_value: 'white'
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: 'backColor',
|
|
35
|
+
type: 'text',
|
|
36
|
+
label: 'Color de fondo',
|
|
37
|
+
mandatory: false,
|
|
38
|
+
example_value: '#2134F1'
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'borderColor',
|
|
42
|
+
type: 'text',
|
|
43
|
+
label: 'Color del borde',
|
|
44
|
+
mandatory: false,
|
|
45
|
+
example_value: '#2134F1'
|
|
46
|
+
},
|
|
47
|
+
]
|
|
48
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { ComponentMetadata } from '../interfaces/types';
|
|
2
|
+
|
|
3
|
+
export const metadata: ComponentMetadata = {
|
|
4
|
+
component_name: 'Cabecera_2025_Barcelona',
|
|
5
|
+
category: 'Cabecera',
|
|
6
|
+
name: 'Breadcrumb Genial 2025',
|
|
7
|
+
description: 'Breadcrumb para el directorio de Genial en la corporativa de Lefebvre',
|
|
8
|
+
framework: 'Astro',
|
|
9
|
+
priority: 1,
|
|
10
|
+
tags: ['breadcrumb', 'genial'],
|
|
11
|
+
fields: [
|
|
12
|
+
{
|
|
13
|
+
name: 'text',
|
|
14
|
+
type: 'text',
|
|
15
|
+
label: 'Texto del breadcrumb',
|
|
16
|
+
mandatory: false,
|
|
17
|
+
example_value: 'Test'
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: 'subdirectory',
|
|
21
|
+
type: 'text',
|
|
22
|
+
label: 'Subdirectorio',
|
|
23
|
+
mandatory: false,
|
|
24
|
+
example_value: '/genia-l'
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'link',
|
|
28
|
+
type: 'text',
|
|
29
|
+
label: 'Enlace del breadcrumb',
|
|
30
|
+
mandatory: false,
|
|
31
|
+
example_value: '#'
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { ComponentMetadata } from '../interfaces/types';
|
|
2
|
+
|
|
3
|
+
export const metadata: ComponentMetadata = {
|
|
4
|
+
component_name: 'Cabecera_2025_Madrid',
|
|
5
|
+
category: 'Cabecera',
|
|
6
|
+
name: 'Header Genial 2025',
|
|
7
|
+
description: 'Header para el directorio de Genial en la corporativa de Lefebvre',
|
|
8
|
+
framework: 'Astro',
|
|
9
|
+
priority: 1,
|
|
10
|
+
tags: ['header', 'navegación'],
|
|
11
|
+
fields: [
|
|
12
|
+
{
|
|
13
|
+
name: 'label',
|
|
14
|
+
type: 'text',
|
|
15
|
+
label: 'Texto del botón',
|
|
16
|
+
mandatory: false,
|
|
17
|
+
example_value: 'Pruébalo ya'
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: 'subdirectory',
|
|
21
|
+
type: 'text',
|
|
22
|
+
label: 'Subdirectorio',
|
|
23
|
+
mandatory: false,
|
|
24
|
+
example_value: '/genia-l'
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'url',
|
|
28
|
+
type: 'text',
|
|
29
|
+
label: 'Enlace del botón',
|
|
30
|
+
mandatory: false,
|
|
31
|
+
example_value: '#'
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import type { ComponentMetadata } from '../interfaces/types';
|
|
2
|
+
|
|
3
|
+
export const metadata: ComponentMetadata = {
|
|
4
|
+
component_name: 'Contenido_2025_Alcorcon',
|
|
5
|
+
category: 'Contenido',
|
|
6
|
+
name: 'Contenido de vídeo Genial 2025',
|
|
7
|
+
description: 'Contenido de vídeo para el directorio de Genial en la corporativa de Lefebvre',
|
|
8
|
+
framework: 'Astro',
|
|
9
|
+
priority: 1,
|
|
10
|
+
tags: ['contenido', 'video', 'genial'],
|
|
11
|
+
fields: [
|
|
12
|
+
{
|
|
13
|
+
name: 'title',
|
|
14
|
+
type: 'text',
|
|
15
|
+
label: 'Texto del título',
|
|
16
|
+
mandatory: false,
|
|
17
|
+
example_value: 'Pruébalo ya'
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: 'subtitle',
|
|
21
|
+
type: 'text',
|
|
22
|
+
label: 'Texto del subtítulo',
|
|
23
|
+
mandatory: false,
|
|
24
|
+
example_value: 'Subtítulo del título'
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'description',
|
|
28
|
+
type: 'text',
|
|
29
|
+
label: 'Texto de la descripción',
|
|
30
|
+
mandatory: false,
|
|
31
|
+
example_value: 'Texto descriptivo del título'
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: 'txtBtn',
|
|
35
|
+
type: 'text',
|
|
36
|
+
label: 'Label del botón',
|
|
37
|
+
mandatory: false,
|
|
38
|
+
example_value: 'Texto del botón'
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'linkBtn',
|
|
42
|
+
type: 'text',
|
|
43
|
+
label: 'Enlace del botón',
|
|
44
|
+
mandatory: false,
|
|
45
|
+
example_value: 'https://www.ejemplo.com'
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: 'alt',
|
|
49
|
+
type: 'text',
|
|
50
|
+
label: 'Texto alternativo del botón',
|
|
51
|
+
mandatory: false,
|
|
52
|
+
example_value: 'Texto alternativo del botón'
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: 'src',
|
|
56
|
+
type: 'text',
|
|
57
|
+
label: 'Src del vídeo',
|
|
58
|
+
mandatory: false,
|
|
59
|
+
example_value: 'https://www.ejemplo.com/video.mp4'
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
name: 'iframeSrc',
|
|
63
|
+
type: 'text',
|
|
64
|
+
label: 'Src del iframe',
|
|
65
|
+
mandatory: false,
|
|
66
|
+
example_value: 'https://www.ejemplo.com/video.mp4'
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: 'showBtn',
|
|
70
|
+
type: 'boolean',
|
|
71
|
+
label: 'Mostrar botón',
|
|
72
|
+
mandatory: false,
|
|
73
|
+
example_value: true
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { ComponentMetadata } from '../interfaces/types';
|
|
2
|
+
|
|
3
|
+
export const metadata: ComponentMetadata = {
|
|
4
|
+
component_name: 'Contenido_2025_Granada',
|
|
5
|
+
category: 'Contenido',
|
|
6
|
+
name: 'Contenido con icono Genial 2025',
|
|
7
|
+
description: 'Contenido con icono para el directorio de Genial en la corporativa de Lefebvre',
|
|
8
|
+
framework: 'Astro',
|
|
9
|
+
priority: 1,
|
|
10
|
+
tags: ['contenido', 'genial', 'icono'],
|
|
11
|
+
fields: [
|
|
12
|
+
{
|
|
13
|
+
name: 'title',
|
|
14
|
+
type: 'text',
|
|
15
|
+
label: 'Texto del título',
|
|
16
|
+
mandatory: false,
|
|
17
|
+
example_value: 'Pruébalo ya'
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: 'description',
|
|
21
|
+
type: 'text',
|
|
22
|
+
label: 'Texto de la descripción',
|
|
23
|
+
mandatory: false,
|
|
24
|
+
example_value: 'Texto descriptivo del título'
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'tipo',
|
|
28
|
+
type: 'select',
|
|
29
|
+
label: 'Etiqueta del título',
|
|
30
|
+
options: ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'span'],
|
|
31
|
+
options_labels: ['H1', 'H2', 'H3', 'H4', 'H5', 'H6', 'Span'],
|
|
32
|
+
example_value: 'h2'
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'icon',
|
|
36
|
+
type: 'select',
|
|
37
|
+
label: 'Icono',
|
|
38
|
+
options: ['more', 'shop', 'correct', 'formation', 'case', 'medal'],
|
|
39
|
+
options_labels: ['Más', 'Tienda', 'Correcto', 'Formación', 'Caso', 'Medalla'],
|
|
40
|
+
example_value: 'more'
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: 'positionFlex',
|
|
44
|
+
type: 'select',
|
|
45
|
+
label: 'Posición del item',
|
|
46
|
+
options: ['items-start', 'items-center'],
|
|
47
|
+
options_labels: ['Principio', 'Centrado'],
|
|
48
|
+
example_value: 'items-start'
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: 'flexOrientationIcoText',
|
|
52
|
+
type: 'select',
|
|
53
|
+
label: 'Flex del item',
|
|
54
|
+
options: ['flex-row', 'flex-col'],
|
|
55
|
+
options_labels: ['Horizontal', 'Vertical'],
|
|
56
|
+
example_value: 'flex-row'
|
|
57
|
+
},
|
|
58
|
+
]
|
|
59
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import type { ComponentMetadata } from '../interfaces/types';
|
|
2
|
+
|
|
3
|
+
export const metadata: ComponentMetadata = {
|
|
4
|
+
component_name: 'Contenido_2025_Malaga',
|
|
5
|
+
category: 'Contenido',
|
|
6
|
+
name: 'Contenido con imagen Genial 2025',
|
|
7
|
+
description: 'Contenido con imagen para el directorio de Genial en la corporativa de Lefebvre',
|
|
8
|
+
framework: 'Astro',
|
|
9
|
+
priority: 1,
|
|
10
|
+
tags: ['contenido', 'imagen', 'genial'],
|
|
11
|
+
fields: [
|
|
12
|
+
{
|
|
13
|
+
name: 'title',
|
|
14
|
+
type: 'text',
|
|
15
|
+
label: 'Texto del título',
|
|
16
|
+
mandatory: false,
|
|
17
|
+
example_value: 'Pruébalo ya'
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: 'description',
|
|
21
|
+
type: 'text',
|
|
22
|
+
label: 'Texto de la descripción',
|
|
23
|
+
mandatory: false,
|
|
24
|
+
example_value: 'Texto descriptivo del título'
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'buttonText',
|
|
28
|
+
type: 'text',
|
|
29
|
+
label: 'Label del botón',
|
|
30
|
+
mandatory: false,
|
|
31
|
+
example_value: 'Texto del botón'
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: 'buttonUrl',
|
|
35
|
+
type: 'text',
|
|
36
|
+
label: 'Enlace del botón',
|
|
37
|
+
mandatory: false,
|
|
38
|
+
example_value: 'https://www.ejemplo.com'
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'image',
|
|
42
|
+
type: 'text',
|
|
43
|
+
label: 'Src de la imagen',
|
|
44
|
+
mandatory: false,
|
|
45
|
+
example_value: 'https://www.ejemplo.com/imagen.jpg'
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: 'paddingLeft',
|
|
49
|
+
type: 'text',
|
|
50
|
+
label: 'Padding izquierdo (en px)',
|
|
51
|
+
mandatory: false,
|
|
52
|
+
example_value: ''
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: 'showBtn',
|
|
56
|
+
type: 'boolean',
|
|
57
|
+
label: 'Mostrar botón',
|
|
58
|
+
mandatory: false,
|
|
59
|
+
example_value: true
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
name: 'showIco',
|
|
63
|
+
type: 'boolean',
|
|
64
|
+
label: 'Mostrar icono',
|
|
65
|
+
mandatory: false,
|
|
66
|
+
example_value: true
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: 'showImage',
|
|
70
|
+
type: 'boolean',
|
|
71
|
+
label: 'Mostrar imagen',
|
|
72
|
+
mandatory: false,
|
|
73
|
+
example_value: true
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
name: 'flexOrientation',
|
|
77
|
+
type: 'select',
|
|
78
|
+
label: 'Orientación del contenido',
|
|
79
|
+
options: ['row', 'col'],
|
|
80
|
+
options_labels: ['Fila', 'Columna'],
|
|
81
|
+
example_value: 'row'
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
name: 'orientation',
|
|
85
|
+
type: 'select',
|
|
86
|
+
label: 'Alineación del contenido',
|
|
87
|
+
options: ['left', 'right'],
|
|
88
|
+
options_labels: ['Izquierda', 'Derecha'],
|
|
89
|
+
example_value: 'left'
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
name: 'width',
|
|
93
|
+
type: 'select',
|
|
94
|
+
label: 'Ancho del contenido',
|
|
95
|
+
options: ['full', 'w-3/5'],
|
|
96
|
+
options_labels: ['Ancho completo', 'Ancho 3/5'],
|
|
97
|
+
example_value: 'full'
|
|
98
|
+
},
|
|
99
|
+
]
|
|
100
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ComponentMetadata } from '../interfaces/types';
|
|
2
|
+
|
|
3
|
+
export const metadata: ComponentMetadata = {
|
|
4
|
+
component_name: 'CorpFooter',
|
|
5
|
+
category: 'Footer',
|
|
6
|
+
name: 'Footer Corporativo Lefebvre.es',
|
|
7
|
+
description: 'Footer marca 2025 Lefebvre.es',
|
|
8
|
+
framework: 'Astro',
|
|
9
|
+
priority: 1,
|
|
10
|
+
tags: ['footer','lefebvre.es'],
|
|
11
|
+
fields: [
|
|
12
|
+
]
|
|
13
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ComponentMetadata } from '../interfaces/types';
|
|
2
|
+
|
|
3
|
+
export const metadata: ComponentMetadata = {
|
|
4
|
+
component_name: 'CorpHero',
|
|
5
|
+
category: 'Call to Action',
|
|
6
|
+
name: 'Hero Corporativo Lefebvre.es',
|
|
7
|
+
description: 'Hero marca 2025 Lefebvre.es',
|
|
8
|
+
framework: 'Astro',
|
|
9
|
+
priority: 1,
|
|
10
|
+
tags: ['hero','video','lefebvre.es'],
|
|
11
|
+
fields: [
|
|
12
|
+
{
|
|
13
|
+
name: 'text',
|
|
14
|
+
type: 'textArea',
|
|
15
|
+
label: 'Contenido HTML',
|
|
16
|
+
mandatory: false,
|
|
17
|
+
example_value: '<p><b>Es más que una imagen renovada. Es una nueva forma de avanzar.</b><br />En Lefebvre evolucionamos contigo. Nos adaptamos a ti.</p>'
|
|
18
|
+
},
|
|
19
|
+
]
|
|
20
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ComponentMetadata } from '../interfaces/types';
|
|
2
|
+
|
|
3
|
+
export const metadata: ComponentMetadata = {
|
|
4
|
+
component_name: 'FooterCorporativo',
|
|
5
|
+
category: 'Footer',
|
|
6
|
+
name: 'Footer Corporativo',
|
|
7
|
+
description: 'Footer de prueba en Astro',
|
|
8
|
+
framework: 'Astro',
|
|
9
|
+
priority: 1,
|
|
10
|
+
tags: ['footer'],
|
|
11
|
+
fields: [
|
|
12
|
+
]
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ComponentMetadata } from '../interfaces/types';
|
|
2
|
+
|
|
3
|
+
export const metadata: ComponentMetadata = {
|
|
4
|
+
component_name: 'Footer_2025_Napoles',
|
|
5
|
+
category: 'Footer',
|
|
6
|
+
name: 'Footer Genial 2025',
|
|
7
|
+
description: 'Footer para el directorio de Genial en la corporativa de Lefebvre',
|
|
8
|
+
framework: 'Astro',
|
|
9
|
+
priority: 1,
|
|
10
|
+
tags: ['footer', 'genial'],
|
|
11
|
+
fields: []
|
|
12
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { ComponentMetadata } from '../interfaces/types';
|
|
2
|
+
|
|
3
|
+
export const metadata: ComponentMetadata = {
|
|
4
|
+
component_name: 'Formulario_2025_Seul',
|
|
5
|
+
category: 'Formulario',
|
|
6
|
+
name: 'Formulario Genial 2025',
|
|
7
|
+
description: 'Formulario para el directorio de Genial en la corporativa de Lefebvre',
|
|
8
|
+
framework: 'Astro',
|
|
9
|
+
priority: 1,
|
|
10
|
+
tags: ['contenido', 'video', 'genial'],
|
|
11
|
+
fields: [
|
|
12
|
+
{
|
|
13
|
+
name: 'title',
|
|
14
|
+
type: 'text',
|
|
15
|
+
label: 'Texto del título',
|
|
16
|
+
mandatory: false,
|
|
17
|
+
example_value: 'Pruébalo ya'
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: 'description',
|
|
21
|
+
type: 'text',
|
|
22
|
+
label: 'Texto de la descripción',
|
|
23
|
+
mandatory: false,
|
|
24
|
+
example_value: 'Texto descriptivo del título'
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'imageSrc',
|
|
28
|
+
type: 'text',
|
|
29
|
+
label: 'Src de la imagen',
|
|
30
|
+
mandatory: false,
|
|
31
|
+
example_value: 'https://www.ejemplo.com/imagen.jpg'
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: 'lf2FormTitle',
|
|
35
|
+
type: 'text',
|
|
36
|
+
label: 'Título del formulario en LF2',
|
|
37
|
+
mandatory: false,
|
|
38
|
+
example_value: 'Formulario de contacto'
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'orientation',
|
|
42
|
+
type: 'select',
|
|
43
|
+
label: 'Orientación del contenido',
|
|
44
|
+
options: ['left', 'right'],
|
|
45
|
+
options_labels: ['Izquierda', 'Derecha'],
|
|
46
|
+
example_value: 'left'
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: 'showImage',
|
|
50
|
+
type: 'boolean',
|
|
51
|
+
label: 'Mostrar imagen',
|
|
52
|
+
mandatory: false,
|
|
53
|
+
example_value: true
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
};
|