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
little tweak
cozylittle.house
2 months ago
414e8b10
b90ff782
+7
-2
1 changed file
expand all
collapse all
unified
split
app
lish
[did]
[publication]
page.tsx
+7
-2
app/lish/[did]/[publication]/page.tsx
···
18
18
import { LocalizedDate } from "./LocalizedDate";
19
19
import { PublicationHomeLayout } from "./PublicationHomeLayout";
20
20
import { PublicationAuthor } from "./PublicationAuthor";
21
21
+
import { Separator } from "components/Layout";
21
22
22
23
export default async function Publication(props: {
23
24
params: Promise<{ publication: string; did: string }>;
···
147
148
</p>
148
149
</SpeedyLink>
149
150
150
150
-
<div className="text-sm text-tertiary flex gap-1 flex-wrap pt-2">
151
151
+
<div className="text-sm text-tertiary flex gap-1 flex-wrap pt-2 items-center">
151
152
<p className="text-sm text-tertiary ">
152
153
{doc_record.publishedAt && (
153
154
<LocalizedDate
···
160
161
/>
161
162
)}{" "}
162
163
</p>
163
163
-
{comments > 0 || quotes > 0 ? "| " : ""}
164
164
+
{comments > 0 || quotes > 0 || tags.length > 0 ? (
165
165
+
<Separator classname="h-4! mx-1" />
166
166
+
) : (
167
167
+
""
168
168
+
)}
164
169
<InteractionPreview
165
170
quotesCount={quotes}
166
171
commentsCount={comments}