From b14b8592a2c000a8f294188b94a4ceda85a19816 Mon Sep 17 00:00:00 2001 From: Gabriel Kaszewski Date: Fri, 29 May 2026 01:42:43 +0200 Subject: [PATCH] fix(frontend): add instance badge to remote author movie diary cards --- thoughts-frontend/components/movie-card.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/thoughts-frontend/components/movie-card.tsx b/thoughts-frontend/components/movie-card.tsx index 42aa298..0a1ee94 100644 --- a/thoughts-frontend/components/movie-card.tsx +++ b/thoughts-frontend/components/movie-card.tsx @@ -65,9 +65,14 @@ export function MovieCard({ meta, author, createdAt }: MovieCardProps) {
{author.displayName ?? author.username} {!author.local && ( - - {author.username.startsWith("@") ? author.username : `@${author.username}`} - +
+ + {author.username.startsWith("@") ? author.username : `@${author.username}`} + + + {author.username.split("@").filter(Boolean).at(-1)} + +
)}