libreria-astro-lefebvre 0.0.47 → 0.0.49

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libreria-astro-lefebvre",
3
- "version": "0.0.47",
3
+ "version": "0.0.49",
4
4
  "description": "Librería de componentes Astro, React y Vue para Lefebvre",
5
5
  "author": "Equipo web desarrollo Lefebvre",
6
6
  "type": "module",
@@ -46,6 +46,13 @@ export const metadata: ComponentMetadata = {
46
46
  options: ['1/3', '3/5', 'full'],
47
47
  options_labels: ['1/3', '3/5', 'Completo'],
48
48
  example_value: '1/3'
49
- }
49
+ },
50
+ {
51
+ name: 'subdescription',
52
+ type: 'text',
53
+ label: 'Texto de la descripción en Poppins a 20px',
54
+ mandatory: false,
55
+ example_value: 'Descripción detallada sobre la moda felina en puertos'
56
+ }
50
57
  ]
51
58
  };
@@ -57,9 +57,9 @@ const categories = [
57
57
 
58
58
  <footer>
59
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">
60
+ <div class="max-w-7xl flex-wrap md:flex-nowrap w-full px-4 md:px-0 flex items-start mx-auto">
61
61
  {categories.map(category => (
62
- <div class="w-1/2 flex-nowrap px-[16px] flex-1">
62
+ <div class="w-1/2 flex-nowrap px-2 md:px-[16px] mb-4 flex-1">
63
63
  <div class="text-xl text-[#262626] font-semibold mb-4">{category.name}</div>
64
64
  <ul>
65
65
  {category.subcategories.length > 0 ? (
@@ -83,7 +83,7 @@ const categories = [
83
83
  </div>
84
84
  </div>
85
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]">
86
+ <div class="flex flex-col md:flex-row gap-8 max-w-7xl mx-auto p-[32px] md:px-2">
87
87
  <div class="flex flex-col flex-[4_4_0%]">
88
88
  <div class="mb-8">
89
89
  <img src="https://assets.lefebvre.es/media/logos-2/svg/lefebvre.svg" alt="Logo" class="h-10" />
@@ -95,7 +95,7 @@ const categories = [
95
95
  &copy; {new Date().getFullYear()} Lefebvre. Todos los derechos reservados.
96
96
  </span>
97
97
  </li>
98
- <li><a href="https://lefebvre.es/aviso-legal/" class="ml-[8px] font-inter hover:underline">Aviso legal</a></li> ·
98
+ <li><a href="https://lefebvre.es/aviso-legal/" class="ml-0 md:ml-[8px] font-inter hover:underline">Aviso legal</a></li> ·
99
99
  <li><a href="https://lefebvre.es/politica-privacidad/" class="font-inter hover:underline">Política de privacidad</a></li> ·
100
100
  <li><a href="https://lefebvre.es/politica-de-cookies/" class="font-inter hover:underline">Política de cookies</a></li> ·
101
101
  <li><a href="https://lefebvre.es/condiciones/" class="font-inter hover:underline">Condiciones de contratación</a></li>
@@ -39,11 +39,11 @@ const structuredData = `<script type="application/ld+json">
39
39
  <div class="max-w-7xl w-full mx-auto flex justify-start flex-col">
40
40
  {showImage ? (
41
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">
42
+ <div class={`flex-col md:flex ${orientation === 'left' ? 'flex-row' : 'flex-row-reverse'} w-full items-start gap-4 justify-between`}>
43
+ <div class="w-full flex justify-start mb-8 flex-col">
44
44
  <div id={idTargetLf2} class="w-full flex flex-col mx-auto gap-3"></div>
45
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'}`}>
46
+ <div class={`w-full p-0 md:p-4 flex items-center ${orientation === 'left' ? 'justify-end' : 'justify-start'}`}>
47
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
48
  </div>
49
49
  </div>
@@ -7,7 +7,7 @@ const {
7
7
  txtBtn = 'Saber más',
8
8
  linkBtn = '#',
9
9
  showBtnModal = true,
10
- txtBtnModal = 'Saber más',
10
+ txtBtnModal = 'Descargar guía en pdf',
11
11
  items
12
12
  } = Astro.props;
13
13
 
@@ -29,7 +29,7 @@ const structuredData = `<script type="application/ld+json">
29
29
 
30
30
  ---
31
31
 
32
- <div class={`w-full md:w-3/5 max-w-auto md:w-full flex ${flexJustify === 'justify-center' ? 'justify-center' : 'justify-start'} flex-col`}>
32
+ <div class={`w-full md:w-3/5 max-w-auto md:w-full flex ${flexJustify === 'justify-center' ? 'justify-center' : 'justify-start'} flex-col p-4 md:p-0`}>
33
33
  {h1Subtitle && h1Subtitle.trim() !== "" && (
34
34
  tipo === "h1" ? <h2 class="font-poppins text-[#262626] text-[36px] md:text-[56px] font-normal text-center leading-[44px] md:leading-[64px] px-6 md:mb-[48px]" set:html={h1Subtitle}></h2>
35
35
  : tipo === "h1-home" ? <h2 class="font-poppins text-[#262626] text-[36px] md:text-[56px] font-normal text-center leading-[44px] md:leading-[64px] mb-[0px] mt-[32px] md:mt-[80px]" set:html={h1Subtitle}></h2>
@@ -41,7 +41,7 @@ const structuredData = `<script type="application/ld+json">
41
41
  ? <h1 class="font-poppins text-[#262626] text-[20px] md:text-[24px] font-normal text-center leading-[24px] my-[32px] md:mb-[32px]" set:html={title}></h1>
42
42
  : tipo === "h1" ? <h1 class="font-poppins text-[#262626] text-[36px] md:text-[56px] font-normal text-center leading-[44px] md:leading-[64px] px-6 md:my-[48px]" set:html={title}></h1>
43
43
  : tipo === "h1-home" ? <h1 class="font-poppins text-[#262626] text-[36px] md:text-[56px] font-normal text-center leading-[44px] md:leading-[64px] mb-[0] md:mb-[64px] mt-[32px] md:mt-[80px]" set:html={title}></h1>
44
- : tipo === "h1-40" ? <h1 class="font-poppins text-[#262626] text-[40px] font-normal text-center leading-[48px] mb-[0] md:mb-[32px]" set:html={title}></h1>
44
+ : tipo === "h1-40" ? <h1 class="font-poppins text-[#262626] text-[40px] font-normal text-center leading-[48px] mb-[32px]" set:html={title}></h1>
45
45
  : tipo === "h1-40-left" ? <h1 class="font-poppins text-[#262626] text-[40px] font-normal text-left leading-[48px] mb-[0] md:mb-[32px]" set:html={title}></h1>
46
46
  : tipo === "h2" ? <h2 class="font-poppins text-[#262626] text-[36px] md:text-[40px] font-normal text-center leading-[48px] my-[32px] md:mb-[32px]" set:html={title}></h2>
47
47
  : tipo === "h2-mb64" ? <h2 class="font-poppins text-[#262626] text-[36px] md:text-[40px] font-normal text-center leading-[44px] md:leading-[48px] p-6 md:p-2 md:pb-6 mb-[0]" set:html={title}></h2>