a tool for shared writing and social publishing
0
fork

Configure Feed

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

link to pub from subscribed thing

+19 -3
+19 -3
app/lish/Subscribe.tsx
··· 23 23 import { useSearchParams } from "next/navigation"; 24 24 import LoginForm from "app/login/LoginForm"; 25 25 import { RSSSmall } from "components/Icons/RSSSmall"; 26 + import { SpeedyLink } from "components/SpeedyLink"; 26 27 27 28 type State = 28 29 | { state: "email" } ··· 217 218 pub_uri={props.pub_uri} 218 219 setSuccessModalOpen={setSuccessModalOpen} 219 220 /> 220 - <a href={`${props.base_url}/rss`} className="flex" target="_blank" aria-label="Subscribe to RSS"> 221 + <a 222 + href={`${props.base_url}/rss`} 223 + className="flex" 224 + target="_blank" 225 + aria-label="Subscribe to RSS" 226 + > 221 227 <RSSSmall className="self-center" aria-hidden /> 222 228 </a> 223 229 </div> ··· 246 252 className={`flex ${props.isPost ? "flex-col " : "gap-2"} justify-center text-center`} 247 253 > 248 254 <div className="font-bold text-tertiary text-sm"> 249 - You&apos;re Subscribed{props.isPost ? ` to ${props.pubName}` : "!"} 255 + You&apos;re Subscribed{props.isPost ? ` to ` : "!"} 256 + {props.isPost && ( 257 + <SpeedyLink href={props.base_url} className="text-accent-contrast"> 258 + {props.pubName} 259 + </SpeedyLink> 260 + )} 250 261 </div> 251 262 <Popover 252 263 trigger={<div className="text-accent-contrast text-sm">Manage</div>} ··· 266 277 </a> 267 278 )} 268 279 269 - <a href={`${props.base_url}/rss`} className="flex" target="_blank" aria-label="Subscribe to RSS"> 280 + <a 281 + href={`${props.base_url}/rss`} 282 + className="flex" 283 + target="_blank" 284 + aria-label="Subscribe to RSS" 285 + > 270 286 <ButtonPrimary fullWidth compact> 271 287 Get RSS 272 288 </ButtonPrimary>