From cdc05f85a6dc676e8af1227a56f65d6452488d82 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Wed, 7 Feb 2024 22:12:18 +0000 Subject: [feature] Render tags in the link card --- web/app/bookmarks/components/LinkCard.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'web/app/bookmarks/components') diff --git a/web/app/bookmarks/components/LinkCard.tsx b/web/app/bookmarks/components/LinkCard.tsx index 907acd19..da59d9da 100644 --- a/web/app/bookmarks/components/LinkCard.tsx +++ b/web/app/bookmarks/components/LinkCard.tsx @@ -1,5 +1,6 @@ "use client"; +import { Badge } from "@/components/ui/badge"; import { Button } from "@/components/ui/button"; import { DropdownMenu, @@ -73,7 +74,13 @@ export default function LinkCard({ link }: { link: ZBookmarkedLink }) { {link.details?.title ?? parsedUrl.host} - + + {link.tags.map((t) => ( + + #{t.name} + + ))} +
-- cgit v1.2.3-70-g09d2