a tool for shared writing and social publishing

refresh page on delete, fix text color on publish page

+5 -3
+2
actions/deleteLeaflet.ts
··· 35 35 .where(eq(permission_tokens.id, permission_token.id)); 36 36 }); 37 37 client.release(); 38 + 39 + refresh(); 38 40 return; 39 41 } 40 42
+2 -3
app/[leaflet_id]/publish/PublishPost.tsx
··· 94 94 } 95 95 96 96 return ( 97 - <div className="flex flex-col gap-4 w-[640px] max-w-full sm:px-4 px-3"> 97 + <div className="flex flex-col gap-4 w-[640px] max-w-full sm:px-4 px-3 text-primary"> 98 98 <h3>Publish Options</h3> 99 99 <form 100 100 onSubmit={(e) => { ··· 161 161 /> 162 162 </div> 163 163 <div className="opaque-container overflow-hidden flex flex-col mt-4 w-full"> 164 - {/* <div className="h-[260px] w-full bg-test" /> */} 165 164 <div className="flex flex-col p-2"> 166 165 <div className="font-bold">{props.title}</div> 167 166 <div className="text-tertiary">{props.description}</div> ··· 209 208 return ( 210 209 <div className="container p-4 m-3 sm:m-4 flex flex-col gap-1 justify-center text-center w-fit h-fit mx-auto"> 211 210 <PublishIllustration posts_in_pub={props.posts_in_pub} /> 212 - <h2 className="pt-2">Published!</h2> 211 + <h2 className="pt-2 text-primary">Published!</h2> 213 212 <Link 214 213 className="hover:no-underline! font-bold place-self-center pt-2" 215 214 href={`/lish/${uri.host}/${encodeURIComponent(props.record?.name || "")}/dashboard`}
+1
components/ActionBar/Publications.tsx
··· 105 105 side="right" 106 106 align="start" 107 107 className="p-1! max-w-56" 108 + asChild 108 109 trigger={ 109 110 <ActionButton 110 111 label="Publish"