a tool for shared writing and social publishing
0
fork

Configure Feed

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

just some labeling

celine e8062fdf 430f484c

+6 -10
+6 -10
app/home/Publications.tsx
··· 6 6 import { theme } from "tailwind.config"; 7 7 import { BlueskyTiny } from "components/Icons/BlueskyTiny"; 8 8 import { GoToArrow } from "components/Icons/GoToArrow"; 9 + import { AddSmall } from "components/Icons/AddSmall"; 10 + import { AddTiny } from "components/Icons/AddTiny"; 9 11 10 12 export const MyPublicationList = () => { 11 13 let { identity } = useIdentityData(); 12 14 // if (!identity || !identity.atp_did) return <PubListEmpty />; 13 15 return ( 14 16 <div className="pubList w-full sm:w-[200px] flex flex-col gap-1 sm:gap-2 "> 15 - <PublicationList /> 16 - <div className="flex justify-between"> 17 + <div className="flex justify-between items-end font-bold text-tertiary text-sm"> 18 + Publications 17 19 <Link 18 20 href={"./lish/createPub"} 19 21 className="pubListCreateNew text-accent-contrast font-bold hover:text-accent-contrast" 20 22 > 21 - new 22 - </Link> 23 - {identity && identity?.publications.length > 2} 24 - <Link 25 - href={"./lish/createPub"} 26 - className="pubListSeeAll flex items-center gap-2 text-accent-contrast font-bold hover:text-accent-contrast" 27 - > 28 - all <GoToArrow /> 23 + <AddTiny /> 29 24 </Link> 30 25 </div> 26 + <PublicationList /> 31 27 </div> 32 28 ); 33 29 };