Skip to content

Commit

Permalink
fix: ensure card link has base path
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprobst committed Jun 27, 2024
1 parent 95bb6f7 commit f8d601b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/card.astro
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ const { image, summary, link, title } = Astro.props;
<div class="grid gap-y-3 border-t border-[#00000026] p-6">
<header>
<h3 class="text-xl font-medium text-[#444]">
<a class="hover:underline" href={link.href}>
<NavLink class="hover:underline" href={link.href}>
{title}
</a>
</NavLink>
</h3>
</header>
<p class="text-md text-[#6f757c]">{summary}</p>
Expand Down

0 comments on commit f8d601b

Please sign in to comment.