feat: borrar usaurios

This commit is contained in:
2025-12-29 21:58:56 -03:00
parent 98b1b0d9f2
commit b7cfa77a91
7 changed files with 110 additions and 15 deletions

View File

@@ -99,12 +99,14 @@
<div class="flex flex-col">
<div class="flex items-center justify-between">
<div class="flex gap-3">
<a href={`/${post.authorName}`}>
<Avatar>
<AvatarImage src={post.authorImageUrl}></AvatarImage>
<AvatarFallback>{post.authorDisplayName[0].toUpperCase()}</AvatarFallback>
</Avatar>
</a>
{#if post.authorName !== '[deleted]'}
<a href={`/${post.authorName}`}>
<Avatar>
<AvatarImage src={post.authorImageUrl}></AvatarImage>
<AvatarFallback>{post.authorDisplayName[0].toUpperCase()}</AvatarFallback>
</Avatar>
</a>
{/if}
<div class="flex space-x-2">
<span class="text-lg font-medium">{post.authorDisplayName}</span>
<span class="text-lg text-muted-foreground">@{post.authorName}</span>