diff --git a/app/(home-pages)/p/[didOrHandle]/ProfileLayout.tsx b/app/(home-pages)/p/[didOrHandle]/ProfileLayout.tsx index cf21528a..28d5bf65 100644 --- a/app/(home-pages)/p/[didOrHandle]/ProfileLayout.tsx +++ b/app/(home-pages)/p/[didOrHandle]/ProfileLayout.tsx @@ -14,7 +14,7 @@ export function ProfileLayout(props: { children: React.ReactNode }) { : "overflow-y-auto h-full border border-border-light rounded-lg! container px-3 sm:px-4 " } max-w-prose w-full - flex flex-col mb-3 + flex flex-col text-center `} > diff --git a/app/(home-pages)/p/[didOrHandle]/PubListing.tsx b/app/(home-pages)/p/[didOrHandle]/PubListing.tsx index e948a047..0155e4b6 100644 --- a/app/(home-pages)/p/[didOrHandle]/PubListing.tsx +++ b/app/(home-pages)/p/[didOrHandle]/PubListing.tsx @@ -2,7 +2,7 @@ import { AtUri } from "@atproto/syntax"; import { PublicationSubscription } from "app/(home-pages)/reader/getSubscriptions"; import { PubIcon } from "components/ActionBar/Publications"; -import { SubscribeButton } from "components/Subscribe/SubscribeButton"; +import { SubscribeInput } from "components/Subscribe/SubscribeButton"; import { usePubTheme } from "components/ThemeManager/PublicationThemeProvider"; import { BaseThemeProvider } from "components/ThemeManager/ThemeProvider"; import { blobRefToSrc } from "src/utils/blobRefToSrc"; @@ -50,9 +50,9 @@ export const PubListing = (props: PubListingProps) => { backgroundSize: `${backgroundImageRepeat ? `${backgroundImageSize}px` : "cover"}`, }} > - +
@@ -84,9 +84,8 @@ export const PubListing = (props: PubListingProps) => { )}
{props.showSubscribeButton && ( -
- + — blogs, newsletters, and more!

- + {/**/} diff --git a/components/Subscribe/ManageSubscribe.tsx b/components/Subscribe/ManageSubscribe.tsx index f76221c4..13ffd1cd 100644 --- a/components/Subscribe/ManageSubscribe.tsx +++ b/components/Subscribe/ManageSubscribe.tsx @@ -126,7 +126,7 @@ export const ManageSubscription = (props: { return ( +
Manage Subscription
} diff --git a/components/Subscribe/SubscribeButton.tsx b/components/Subscribe/SubscribeButton.tsx index ceb6d46f..6712ce7e 100644 --- a/components/Subscribe/SubscribeButton.tsx +++ b/components/Subscribe/SubscribeButton.tsx @@ -52,35 +52,6 @@ export const SubscribePanel = (props: SubscribeProps) => { ); }; -export const SubscribeButton = (props: SubscribeProps) => { - const user = useViewerSubscription(props.publicationUri); - const showManage = props.newsletterMode - ? user.emailSubscribed - : user.atprotoSubscribed; - return ( - - ) : ( - - Subscribe - - ) - } - > - - - ); -}; - export const SubscribeInput = (props: SubscribeProps) => { let toaster = useToaster(); let router = useRouter();