From d375f8f9146b5dc78bdc689baecf824f8e52b2a2 Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 14 Jun 2023 05:14:39 +0330 Subject: [PATCH] small improvement --- components/LinkCard.tsx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/components/LinkCard.tsx b/components/LinkCard.tsx index 89396d5..73dd274 100644 --- a/components/LinkCard.tsx +++ b/components/LinkCard.tsx @@ -6,6 +6,7 @@ import { faFolder, faArrowUpRightFromSquare, faEllipsis, + faThumbTack, } from "@fortawesome/free-solid-svg-icons"; import { faFileImage, faFilePdf } from "@fortawesome/free-regular-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; @@ -76,6 +77,18 @@ export default function LinkCard({ link, count, className }: Props) { target.style.opacity = "0"; }} /> + + {link?.pinnedBy && link.pinnedBy[0] && ( +
+ +
+ )} +