feat: make star featured clickable

This commit is contained in:
eggy 2023-11-29 13:39:04 -05:00
parent a0eb2d3220
commit a4c9d71cb1

View File

@ -22,7 +22,9 @@ const descText =
class="break-words max-w-full rounded-lg p-4 shadow-md border border-2 border-gray-300 dark:border-gray-600"
>
<h3 class="m-0 flex items-center gap-1.5">
<IconStar v-if="post.tags.includes('featured')" class="fill-yellow-500 outline-none" />
<a :href="`/tags/${props.type}/featured`">
<IconStar class="fill-yellow-500 outline-none" />
</a>
<a
:href="post._path"
class="no-underline text-left text-2xl sm:text-2xl font-bold hover:text-blue-700 dark:hover:text-blue-400 leading-tight transition"