libreria-astro-lefebvre 0.1.141 → 0.1.142
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
|
@@ -22,7 +22,8 @@ const fontClass = fontSize === 'xl' || fontSize === '2xl' ? 'font-heading' : 'fo
|
|
|
22
22
|
|
|
23
23
|
<div class={`w-full md:w-3/5 max-w-auto flex ${flexJustify === 'justify-center' ? 'justify-center' : 'justify-start'} flex-col p-4 md:p-0 mx-auto`} style={backgroundStyle}>
|
|
24
24
|
{
|
|
25
|
-
|
|
25
|
+
!title || title.trim() === "" ? null
|
|
26
|
+
: h1Subtitle && h1Subtitle.trim() !== ""
|
|
26
27
|
? <h1 class="font-body text-[#262626] text-center text-base leading-6 font-normal rounded-sm bg-[#F2F3F8] mt-20 mb-8 w-fit py-2 px-3 mx-auto" set:html={title}></h1>
|
|
27
28
|
: tipo === "h1" ? <h1 class="font-heading text-[#262626] text-[40px] md:text-[56px] font-normal text-center leading-[48px] md:leading-[64px] px-6 md:my-12" set:html={title}></h1>
|
|
28
29
|
: tipo === "h1-40" ? <h1 class="font-heading text-[#262626] text-[36px] md:text-[40px] font-normal text-center leading-[44px] md:leading-[48px] mb-8" set:html={title}></h1>
|