Something went wrong. Try again.
a tool for shared writing and social publishing
Something went wrong. Try again.
848 B · 30 lines
TSX
12345678910111213141516171819202122232425262728293031"use client";
import { LinkHandle } from "./HandleSubscribe";
export const EmailSubscribeSuccess = (props: { email: string | undefined; handle: string | undefined;}) => { return ( <div className="flex flex-col text-center justify-center p-4 text-secondary max-w-md"> <h2 className="text-primary pb-1">You've Subscribed!</h2> You'll recieve new posts to <br /> <span className="italic">{props.email ? props.email : "your email"}</span> {!props.handle && ( <> <hr className="my-4 border-border-light" /> <LinkHandle /> </> )} </div> );};
export const EmailLogInSuccess = (props: {}) => { return ( <div className="flex flex-col text-center justify-center p-4 text-secondary max-w-md"> <h2 className="text-primary pb-1">Welcome!</h2> </div> );};