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
remove first initial if no logo
awarm.space
9 months ago
f0ae53aa
15e0975b
+1
-5
1 changed file
expand all
collapse all
unified
split
app
home
Publications.tsx
+1
-5
app/home/Publications.tsx
···
60
60
className="pubListItem w-full p-3 opaque-container rounded-lg! text-secondary text-center hover:no-underline flex flex-col gap-1 place-items-center transparent-outline outline-2 outline-offset-1 hover:outline-border basis-0 grow min-w-0"
61
61
href={`${getBasePublicationURL(props)}/dashboard`}
62
62
>
63
63
-
{record.icon ? (
63
63
+
{record.icon && (
64
64
<div
65
65
style={{
66
66
backgroundRepeat: "no-repeat",
···
70
70
}}
71
71
className="w-6 h-6 rounded-full"
72
72
/>
73
73
-
) : (
74
74
-
<div className="w-6 h-6 rounded-full">
75
75
-
{props.name[0].toLocaleUpperCase()}
76
76
-
</div>
77
73
)}
78
74
<h4 className="font-bold w-full truncate">{props.name}</h4>
79
75
</Link>