Skip to content

Commit

Permalink
fix: ensure card link has base path (#3)
Browse files Browse the repository at this point in the history
closes #2
  • Loading branch information
stefanprobst authored Jun 27, 2024
2 parents 95bb6f7 + f8d601b commit 5710081
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 5710081

Please sign in to comment.