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>
This commit is contained in:
Nafees Nazik
2022-09-08 19:38:36 +02:00
committed by GitHub
co-authored by Alex van Andel Peer Richelsen kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
parent 0c2a25fb78
commit 4aa9c830c1
+5 -3
View File
@@ -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>