eliminated tags inside a new
This commit is contained in:
parent
bba09d8c38
commit
16b4c1a7f3
|
|
@ -61,18 +61,6 @@ const excerpt = words.join(' ') + (words.length === 35 ? '...' : '');
|
||||||
{post.data.gallery?.length ? ( <CarouselSection images={post.data.gallery} />) : post.data.thumbnail ? (<Image src={post.data.thumbnail} alt={post.data.title} class="hover:opacity-90 transition-opacity" /> ) : null}
|
{post.data.gallery?.length ? ( <CarouselSection images={post.data.gallery} />) : post.data.thumbnail ? (<Image src={post.data.thumbnail} alt={post.data.title} class="hover:opacity-90 transition-opacity" /> ) : null}
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
{post.data.tags && post.data.tags.length > 0 && (
|
|
||||||
<div class="container mx-auto lg:max-w-4xl px-4 mb-6">
|
|
||||||
<div class="flex flex-wrap gap-2">
|
|
||||||
{post.data.tags.map((tag: string) => (
|
|
||||||
<span class="px-2 py-1 text-xs font-bold font-primary text-[#003421] rounded-sm relative overflow-hidden" style="background: repeating-conic-gradient(#003421 0% 25%, #EBE5D0 0% 50%) 50% / 8px 8px;">
|
|
||||||
<span class="block px-1">{tag}</span>
|
|
||||||
</span>
|
|
||||||
))}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
|
|
||||||
<div class="grid md:grid-cols-10">
|
<div class="grid md:grid-cols-10">
|
||||||
<div class="md:col-span-7 content bg-white p-8 md:p-20 prose-p:mb-4 text-[#003421] text-justify">
|
<div class="md:col-span-7 content bg-white p-8 md:p-20 prose-p:mb-4 text-[#003421] text-justify">
|
||||||
<!-- <p class="text-lg font-semibold text-tertiary mb-8 pb-6 border-b border-tertiary/20 italic">
|
<!-- <p class="text-lg font-semibold text-tertiary mb-8 pb-6 border-b border-tertiary/20 italic">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue