libreria-astro-lefebvre 0.1.45 → 0.1.47
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
|
@@ -60,10 +60,10 @@ export const metadata: ComponentMetadata = {
|
|
|
60
60
|
{
|
|
61
61
|
name: 'tipo',
|
|
62
62
|
type: 'select',
|
|
63
|
-
help: 'Etiqueta HTML y estilo del título. Cada opción aplica estilos distintos: "h1 categoría blog" 40px centrado normal, "h1 autor blog" 40px izquierda semibold, "h1 post blog" 40px centrado semibold, "h1 post enriquecido" 40px izquierda semibold, "h2 blog" 28px/32px izquierda normal, "h2" 36px/40px centrado normal, "h3" 20px/24px izquierda semibold, "h4" xl izquierda semibold. Si se elige un valor fuera de la lista, el título se renderiza como párrafo simple',
|
|
63
|
+
help: 'Etiqueta HTML y estilo del título. Cada opción aplica estilos distintos: "h1 categoría blog" 40px centrado normal, "h1 autor blog" 40px izquierda semibold, "h1 post blog" 40px centrado semibold, "h1 post enriquecido" 40px izquierda semibold, "h2 blog" 28px/32px izquierda normal, "h2" 36px/40px centrado normal, "h3" 20px/24px izquierda semibold, "h4" xl izquierda semibold, "h3 (como párrafo)" mismo estilo visual que H3 pero renderizado como <p> (sin que cuente como encabezado en la jerarquía SEO). Si se elige un valor fuera de la lista, el título se renderiza como párrafo simple',
|
|
64
64
|
label: 'Etiqueta del título',
|
|
65
|
-
options: ['h1-blog-categoria', 'h1-blog-autor', 'h1-blog-post', 'h1-blog-postenriquecido', 'h2-blog', 'h2', 'h3', 'h4'],
|
|
66
|
-
options_labels: ['H1 categoría blog', 'H1 autor blog', 'H1 post blog', 'H1 post enriquecido blog', 'H2 blog', 'H2', 'H3', 'H4'],
|
|
65
|
+
options: ['h1-blog-categoria', 'h1-blog-autor', 'h1-blog-post', 'h1-blog-postenriquecido', 'h2-blog', 'h2', 'h3', 'h3-p', 'h4'],
|
|
66
|
+
options_labels: ['H1 categoría blog', 'H1 autor blog', 'H1 post blog', 'H1 post enriquecido blog', 'H2 blog', 'H2', 'H3', 'H3 (como párrafo)', 'H4'],
|
|
67
67
|
example_value: 'h1-blog-autor'
|
|
68
68
|
},
|
|
69
69
|
{
|
|
@@ -5,7 +5,7 @@ const {
|
|
|
5
5
|
subtitle = "",
|
|
6
6
|
number,
|
|
7
7
|
description = "",
|
|
8
|
-
tipo = "",
|
|
8
|
+
tipo = "h3-p",
|
|
9
9
|
flexJustify = "justify-center",
|
|
10
10
|
textAlign = "center",
|
|
11
11
|
descriptionStyle = "poppins",
|
|
@@ -31,6 +31,7 @@ import RRSS_2025_Pisa from "./RRSS_2025_Pisa.astro";
|
|
|
31
31
|
: tipo === "h2" ? <h2 class="font-poppins text-[#262626] text-[36px] md:text-[40px] font-normal text-center leading-[48px] my-8 md:mb-8" set:html={title}></h2>
|
|
32
32
|
: tipo === "h3" ? <h3 class="font-poppins text-[#262626] text-[20px] md:text-[24px] font-semibold text-left leading-8 my-4" set:html={title}></h3>
|
|
33
33
|
: tipo === "h4" ? <h4 class="font-poppins text-[#262626] text-xl font-semibold text-left my-1" set:html={title}></h4>
|
|
34
|
+
: tipo === "h3-p" ? <p class="font-poppins text-[#262626] text-[20px] md:text-[24px] font-semibold text-left leading-8 my-4" set:html={title}></p>
|
|
34
35
|
: <p>{title}</p>
|
|
35
36
|
}
|
|
36
37
|
<div class="w-full flex gap-8 justify-start items-center">
|