tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
289
fork
atom
a tool for shared writing and social publishing
289
fork
atom
overview
issues
27
pulls
pipelines
add time since to comments on profiles
awarm.space
2 months ago
800174f7
240f2d13
+4
-1
1 changed file
expand all
collapse all
unified
split
app
(home-pages)
p
[didOrHandle]
comments
CommentsContent.tsx
+4
-1
app/(home-pages)/p/[didOrHandle]/comments/CommentsContent.tsx
···
177
177
<div className="flex gap-2 w-full">
178
178
<Avatar src={avatarSrc} displayName={displayName} />
179
179
<div className="flex flex-col w-full min-w-0 grow">
180
180
-
<div className="flex flex-row gap-2">
180
180
+
<div className="flex flex-row gap-2 justify-between">
181
181
<div className="text-tertiary text-sm truncate">
182
182
<span className="font-bold text-secondary">{displayName}</span>{" "}
183
183
{isReply ? "replied" : "commented"} on{" "}
···
191
191
) : (
192
192
<span className="italic text-accent-contrast">{postTitle}</span>
193
193
)}
194
194
+
</div>
195
195
+
<div className="text-tertiary text-sm shrink-0">
196
196
+
{timeAgo(record.createdAt)}
194
197
</div>
195
198
</div>
196
199
{isReply && parentRecord && (