a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

added logo to header

celine 3491fec7 02f88cff

+13 -1
+13 -1
app/lish/[did]/[publication]/[rkey]/page.tsx
··· 120 120 > 121 121 <div className="postHeader flex flex-col pb-5"> 122 122 <Link 123 - className="font-bold hover:no-underline text-accent-contrast" 123 + className="font-bold hover:no-underline text-accent-contrast flex gap-2 items-center" 124 124 href={getPublicationURL( 125 125 document.documents_in_publications[0].publications, 126 126 )} 127 127 > 128 + {pubRecord.icon && ( 129 + <div 130 + className="pubDashLogo shrink-0 w-5 h-5 rounded-full border border-bg-page " 131 + style={{ 132 + backgroundImage: `url(/api/atproto_images?did=${document.documents_in_publications[0].publications.identity_did}&cid=${(pubRecord.icon.ref as unknown as { $link: string })["$link"]})`, 133 + backgroundRepeat: "no-repeat", 134 + backgroundPosition: "center", 135 + backgroundSize: "cover", 136 + }} 137 + /> 138 + )} 128 139 {decodeURIComponent((await props.params).publication)} 129 140 </Link> 141 + 130 142 <h2 className="leading-snug">{record.title}</h2> 131 143 {record.description ? ( 132 144 <p className="italic text-secondary pt-0.5">