Skip to content

Commit

Permalink
Hover link on blog item
Browse files Browse the repository at this point in the history
  • Loading branch information
prokawsar committed Nov 27, 2024
1 parent d84cdc4 commit b02a43c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/elements/AppsCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
{/if}
</div>

<p class="text-2xl font-bold">{app.title}</p>
<a href="{base}/apps/{app.slug}" class="text-2xl font-bold hover:underline">{app.title}</a>
</div>

<img
Expand Down
6 changes: 4 additions & 2 deletions src/lib/components/elements/BlogItem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
<article>
<div class="flex flex-col gap-3 rounded-xl bg-arkGray5 p-5">
<div class="flex flex-col">
<p class="text-2xl font-extrabold">{post.title}</p>
<a href="{base}/blog/{post.slug}" class="text-2xl font-extrabold hover:underline"
>{post.title}</a
>
<p class="font-medium text-arkGray4">{post.date}</p>
</div>

<div class="h-full max-h-36 overflow-hidden">
{post.summary}
</div>
<a href="{base}/blog/{post.slug}" class="font-bold text-arkOrange underline">Read</a>
<a href="{base}/blog/{post.slug}" class="w-fit font-bold text-arkOrange underline">Read</a>
</div>
</article>

0 comments on commit b02a43c

Please sign in to comment.