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
28
pulls
pipelines
revert some stuff in pub listing
cozylittle.house
3 months ago
5fce74e8
c23ae6ab
+7
-7
1 changed file
expand all
collapse all
unified
split
app
(home-pages)
discover
PubListing.tsx
+7
-7
app/(home-pages)/discover/PubListing.tsx
···
14
14
export const PubListing = (
15
15
props: PublicationSubscription & {
16
16
resizeHeight?: boolean;
17
17
-
subscribe?: boolean;
18
17
},
19
18
) => {
20
19
let record = props.record as PubLeafletPublication.Record;
···
62
61
<div className="flex flex-row gap-2 items-center">
63
62
{props.authorProfile?.handle}
64
63
</div>
65
65
-
<SubscribeWithBluesky
66
66
-
pubName={record.name}
67
67
-
pub_uri={props.uri}
68
68
-
base_url={record.base_path ? record.base_path : ""}
69
69
-
subscribers={[]}
70
70
-
/>
64
64
+
<p>
65
65
+
Updated{" "}
66
66
+
{timeAgo(
67
67
+
props.documents_in_publications?.[0]?.documents?.indexed_at ||
68
68
+
"",
69
69
+
)}
70
70
+
</p>
71
71
</div>
72
72
</div>
73
73
</a>