libreria-astro-lefebvre 0.0.25 → 0.0.27
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
|
@@ -98,7 +98,7 @@ const categories = [
|
|
|
98
98
|
|
|
99
99
|
<div class="flex items-center gap-4">
|
|
100
100
|
<div class="flex items-center gap-4">
|
|
101
|
-
<a href={url} class="h-[48px] px-5 py-3 font-inter font-semibold text-base
|
|
101
|
+
<a href={url} class="h-[48px] max-[375px]:px-2 px-5 py-3 font-inter font-semibold max-[375px]:text-sm text-base border-1 border-[#2134F1] text-[#2134F1] hover:text-[#ffffff] hover:border-[#2134F1] hover:bg-[#2134F1] transition-all duration-300 rounded-lg cursor-pointer shadow-sm">{label}</a>
|
|
102
102
|
</div>
|
|
103
103
|
<button onclick="document.getElementById('navbar-default').classList.toggle('hidden'); event.target.classList.toggle('bg-gray-50');"
|
|
104
104
|
type="button" class="inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg lg:hidden hover:bg-gray-100
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
const {
|
|
4
4
|
title,
|
|
5
|
+
h1Subtitle,
|
|
5
6
|
description = "",
|
|
6
7
|
tipo = "",
|
|
7
8
|
descriptionWidth = "1/3", // 1/3 3/5 full
|
|
@@ -28,8 +29,16 @@ const structuredData = `<script type="application/ld+json">
|
|
|
28
29
|
---
|
|
29
30
|
|
|
30
31
|
<div class={`w-full md:w-3/5 max-w-auto md:w-full flex ${flexJustify === 'justify-center' ? 'justify-center' : 'justify-start'} flex-col px-4`}>
|
|
32
|
+
{h1Subtitle && h1Subtitle.trim() !== "" && (
|
|
33
|
+
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>
|
|
34
|
+
: 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>
|
|
35
|
+
: tipo === "h1-40" ? <h2 class="font-poppins text-[#262626] text-[40px] font-normal text-center leading-[48px] mb-[0] md:mb-[32px]" set:html={h1Subtitle}></h2>
|
|
36
|
+
: null
|
|
37
|
+
)}
|
|
31
38
|
{
|
|
32
|
-
|
|
39
|
+
h1Subtitle && h1Subtitle.trim() !== ""
|
|
40
|
+
? <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>
|
|
41
|
+
: 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>
|
|
33
42
|
: 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>
|
|
34
43
|
: 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>
|
|
35
44
|
: 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>
|
|
@@ -37,7 +46,7 @@ const structuredData = `<script type="application/ld+json">
|
|
|
37
46
|
: tipo === "h3" ? <h3 class="font-poppins text-[#262626] text-[24px] font-semibold text-center leading-[32px] mb-[8px]" set:html={title}></h3>
|
|
38
47
|
: tipo === "h3-mb32" ? <h3 class="font-poppins text-[#262626] text-[32px] font-normal text-left leading-[40px] mb-[32px]" set:html={title}></h3>
|
|
39
48
|
: tipo === "h4" ? <h4 class="font-poppins text-[#262626] text-center" set:html={title}></h4>
|
|
40
|
-
: tipo === "h5" ? <h5 class="
|
|
49
|
+
: tipo === "h5" ? <h5 class="font-poppins text-[#262626] text-center" set:html={title}></h5>
|
|
41
50
|
: tipo === "h6" ? <h6 class="font-poppins text-[#262626] text-center" set:html={title}></h6>
|
|
42
51
|
: <p>{title}</p>
|
|
43
52
|
}
|