libreria-astro-lefebvre 0.0.75 → 0.0.76
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
|
@@ -10,6 +10,7 @@ const {
|
|
|
10
10
|
tag='',
|
|
11
11
|
description='',
|
|
12
12
|
author=''
|
|
13
|
+
authorURL='#',
|
|
13
14
|
} = Astro.props;
|
|
14
15
|
|
|
15
16
|
const imageUrl = extractImageUrl(image);
|
|
@@ -28,7 +29,7 @@ const imageUrl = extractImageUrl(image);
|
|
|
28
29
|
<h3 class="font-poppins text-[20px] font-semibold leading-[28px] text-[#262626] overflow-hidden text-ellipsis mb-[8px]">{title}</h3>
|
|
29
30
|
<p class="font-inter text-[16px] font-normal leading-[24px] text-[#363942] overflow-hidden text-ellipsis mb-[8px]">{description}</p>
|
|
30
31
|
{author && author !== '' &&
|
|
31
|
-
<p class="font-inter text-[16px] font-normal mt-[24px] leading-[24px] text-[#363942] text-left">Por {author}</p>
|
|
32
|
+
<p class="font-inter text-[16px] font-normal mt-[24px] leading-[24px] text-[#363942] text-left"><a href={authorURL} class="text-[#363942]">Por {author}</a></p>
|
|
32
33
|
}
|
|
33
34
|
</div>
|
|
34
35
|
</div>
|