a tool for shared writing and social publishing

add rss link

+15 -5
+14 -5
app/lish/Subscribe.tsx
··· 22 22 import { addFeed } from "./addFeed"; 23 23 import { useSearchParams } from "next/navigation"; 24 24 import LoginForm from "app/login/LoginForm"; 25 + import { RSSSmall } from "components/Icons/RSSSmall"; 25 26 26 27 type State = 27 28 | { state: "email" } ··· 210 211 Get updates from {props.pubName}! 211 212 </div> 212 213 )} 213 - <BlueskySubscribeButton 214 - pub_uri={props.pub_uri} 215 - setSuccessModalOpen={setSuccessModalOpen} 216 - /> 214 + <div className="flex flex-row gap-2 place-self-center"> 215 + <BlueskySubscribeButton 216 + pub_uri={props.pub_uri} 217 + setSuccessModalOpen={setSuccessModalOpen} 218 + /> 219 + <a href={`/rss`} className="flex" target="_blank"> 220 + <RSSSmall className="self-center" /> 221 + </a> 222 + </div> 217 223 </div> 218 224 ); 219 225 }; ··· 316 322 317 323 return ( 318 324 <> 319 - <form action={subscribe} className="place-self-center"> 325 + <form 326 + action={subscribe} 327 + className="place-self-center flex flex-row gap-1" 328 + > 320 329 <ButtonPrimary> 321 330 {subscribePending ? ( 322 331 <DotLoader />
+1
components/Icons/RSSSmall.tsx
··· 8 8 viewBox="0 0 24 24" 9 9 fill="none" 10 10 xmlns="http://www.w3.org/2000/svg" 11 + {...props} 11 12 > 12 13 <path 13 14 d="M4.1123 8.41895C10.5525 8.41901 15.9862 13.4839 15.9863 20.293C15.9863 21.3974 15.0908 22.2929 13.9863 22.293C12.8819 22.2929 11.9864 21.3974 11.9863 20.293C11.9862 15.7699 8.42101 12.419 4.1123 12.4189C3.00778 12.4189 2.11237 11.5235 2.1123 10.4189C2.1123 9.31438 3.00774 8.41895 4.1123 8.41895ZM4.1123 1.70703C14.2057 1.7071 22.6982 9.63232 22.6982 20.293C22.6982 21.3975 21.8028 22.2929 20.6982 22.293C19.5937 22.293 18.6982 21.3975 18.6982 20.293C18.6982 11.9183 12.0743 5.70709 4.1123 5.70703C3.00774 5.70703 2.1123 4.8116 2.1123 3.70703C2.1123 2.60246 3.00774 1.70703 4.1123 1.70703ZM5.88965 16.1738C7.31836 16.174 8.4764 17.332 8.47656 18.7607C8.47656 20.1896 7.31846 21.3484 5.88965 21.3486C4.46067 21.3486 3.30176 20.1897 3.30176 18.7607C3.30192 17.3319 4.46077 16.1738 5.88965 16.1738Z"