From e9e90875db522ff19b56d3d0d1c6fcc1d8e82bc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Mon, 23 Feb 2026 17:12:08 +0100 Subject: [PATCH] nicolium: improve preview card author info MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- .../pl-fe/src/components/preview-card.tsx | 63 +++++++++++-------- 1 file changed, 37 insertions(+), 26 deletions(-) diff --git a/packages/pl-fe/src/components/preview-card.tsx b/packages/pl-fe/src/components/preview-card.tsx index 67606c6df..df8fc9282 100644 --- a/packages/pl-fe/src/components/preview-card.tsx +++ b/packages/pl-fe/src/components/preview-card.tsx @@ -328,33 +328,44 @@ const PreviewCard: React.FC = ({ ( - - - - {author.account && ( - - )} - - - - - - - )), + name: card.authors.map((author) => { + const linkBody = ( + + {author.account && ( + + )} + + + + + ); + return ( + + {author.account ? ( + + {linkBody} + + ) : ( + + {linkBody} + + )} + + ); + }), }} />