fix: remove duplicate tag display from section cards
CI / typecheck + build (turbo) (push) Canceled after 0s
CI / typecheck + build (turbo) (push) Canceled after 0s
This commit is contained in:
1 parent
44b887a9a0
commit
d35dd8c887
1 file changed
-4
@@ -154,10 +154,6 @@ export default async function DocsIndexPage() {
|
|||||||
<h3 className="font-medium text-[#f7f8f8] group-hover:text-[#7170ff] transition-colors line-clamp-1 mb-2">
|
<h3 className="font-medium text-[#f7f8f8] group-hover:text-[#7170ff] transition-colors line-clamp-1 mb-2">
|
||||||
{d.title}
|
{d.title}
|
||||||
</h3>
|
</h3>
|
||||||
<p className="text-xs text-[#8a8f98] mb-3 line-clamp-2">
|
|
||||||
{d.author && `by ${d.author} · `}
|
|
||||||
{d.tags.slice(0, 2).map((t) => `#${t}`).join(" ") || "—"}
|
|
||||||
</p>
|
|
||||||
<div className="flex flex-wrap gap-1">
|
<div className="flex flex-wrap gap-1">
|
||||||
{d.tags.slice(0, 4).map((t) => (
|
{d.tags.slice(0, 4).map((t) => (
|
||||||
<span
|
<span
|
||||||
|
|||||||
Reference in new issue
Block a user