a tool for shared writing and social publishing

tweak styles for error messages

+12 -12
+2 -2
app/home/page.tsx
··· 59 59 60 60 if (!permission_token) 61 61 return ( 62 - <div className="p-4 text-lg text-center"> 62 + <div className="p-4 text-lg text-center flex flex-col gap-4"> 63 63 <p>Sorry, home page not found!</p> 64 64 <p> 65 - This may be a glitch on our end. If you see this repeatedly please{" "} 65 + This may be a glitch on our end. If the issue persists please{" "} 66 66 <a href="mailto:contact@leaflet.pub">send us a note</a>. 67 67 </p> 68 68 </div>
+4 -4
app/lish/[did]/[publication]/[rkey]/page.tsx
··· 51 51 let did = decodeURIComponent((await props.params).did); 52 52 if (!did) 53 53 return ( 54 - <div className="p-4 text-lg text-center"> 54 + <div className="p-4 text-lg text-center flex flex-col gap-4"> 55 55 <p>Sorry, can&apos;t resolve handle.</p> 56 56 <p> 57 - This may be a glitch on our end. If you see this repeatedly please{" "} 57 + This may be a glitch on our end. If the issue persists please{" "} 58 58 <a href="mailto:contact@leaflet.pub">send us a note</a>. 59 59 </p> 60 60 </div> ··· 75 75 ]); 76 76 if (!document?.data || !document.documents_in_publications[0].publications) 77 77 return ( 78 - <div className="p-4 text-lg text-center"> 78 + <div className="p-4 text-lg text-center flex flex-col gap-4"> 79 79 <p>Sorry, post not found!</p> 80 80 <p> 81 - This may be a glitch on our end. If you see this repeatedly please{" "} 81 + This may be a glitch on our end. If the issue persists please{" "} 82 82 <a href="mailto:contact@leaflet.pub">send us a note</a>. 83 83 </p> 84 84 </div>
+4 -4
app/lish/[did]/[publication]/dashboard/page.tsx
··· 41 41 let identity = await getIdentityData(); 42 42 if (!identity || !identity.atp_did) 43 43 return ( 44 - <div className="p-4 text-lg text-center"> 44 + <div className="p-4 text-lg text-center flex flex-col gap-4"> 45 45 <p>Sorry, looks like you&apos;re not logged in.</p> 46 46 <p> 47 - This may be a glitch on our end. If you see this repeatedly please{" "} 47 + This may be a glitch on our end. If the issue persists please{" "} 48 48 <a href="mailto:contact@leaflet.pub">send us a note</a>. 49 49 </p> 50 50 </div> ··· 110 110 111 111 const PubNotFound = () => { 112 112 return ( 113 - <div className="p-4 text-lg text-center"> 113 + <div className="p-4 text-lg text-center flex flex-col gap-4"> 114 114 <p>Sorry, publication not found!</p> 115 115 <p> 116 - This may be a glitch on our end. If you see this repeatedly please{" "} 116 + This may be a glitch on our end. If the issue persists please{" "} 117 117 <a href="mailto:contact@leaflet.pub">send us a note</a>. 118 118 </p> 119 119 </div>
+2 -2
app/lish/[did]/[publication]/page.tsx
··· 162 162 163 163 const PubNotFound = () => { 164 164 return ( 165 - <div className="p-4 text-lg text-center"> 165 + <div className="p-4 text-lg text-center flex flex-col gap-4"> 166 166 <p>Sorry, publication not found!</p> 167 167 <p> 168 - This may be a glitch on our end. If you see this repeatedly please{" "} 168 + This may be a glitch on our end. If the issue persists please{" "} 169 169 <a href="mailto:contact@leaflet.pub">send us a note</a>. 170 170 </p> 171 171 </div>