a tool for shared writing and social publishing

remove first initial if no logo

+1 -5
+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 - {record.icon ? ( 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 - ) : ( 74 - <div className="w-6 h-6 rounded-full"> 75 - {props.name[0].toLocaleUpperCase()} 76 - </div> 77 73 )} 78 74 <h4 className="font-bold w-full truncate">{props.name}</h4> 79 75 </Link>