feat: add a link tag (#4292)
Co-authored-by: Alex van Andel <me@alexvanandel.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>pull/4285/head^2
parent
0c2a25fb78
commit
4aa9c830c1
|
@ -121,9 +121,11 @@ const Component = ({
|
|||
) : null}
|
||||
</div>
|
||||
<h2 className="text-sm font-medium text-gray-600">
|
||||
<span className="rounded-md bg-gray-100 p-1 text-xs capitalize text-gray-800">
|
||||
{categories[0]}
|
||||
</span>{" "}
|
||||
<Link href={`categories/${categories[0]}`}>
|
||||
<a className="rounded-md bg-gray-100 p-1 text-xs capitalize text-gray-800">
|
||||
{categories[0]}
|
||||
</a>
|
||||
</Link>{" "}
|
||||
• {t("published_by", { author })}
|
||||
</h2>
|
||||
</header>
|
||||
|
|
Loading…
Reference in New Issue