diff --git a/src/components/Card/CardWaitlistJoinedScreen.tsx b/src/components/Card/CardWaitlistJoinedScreen.tsx index 8f8f2cb47..46ab15ba6 100644 --- a/src/components/Card/CardWaitlistJoinedScreen.tsx +++ b/src/components/Card/CardWaitlistJoinedScreen.tsx @@ -21,6 +21,7 @@ import { PeanutWhistling } from '@/assets/mascot' import { useRouter } from 'next/navigation' import posthog from 'posthog-js' import { ANALYTICS_EVENTS } from '@/constants/analytics.consts' +import { pickRejectionCaption } from '@/components/Card/share-asset/rejectionCaptions' interface Props { onPrev?: () => void @@ -33,6 +34,18 @@ const CardWaitlistJoinedScreen: FC = ({ onPrev }) => { posthog.capture(ANALYTICS_EVENTS.CARD_WAITLIST_VIEWED, { already_joined: true }) }, []) + // Beg to jump the queue — the same appeal as the rejection screen, minus the + // waitlist-join (they're already on the list). Text-only X intent tagging + // @joinpeanut; no asset to capture on the friendly cooldown screen. + const handleAppeal = (): void => { + const caption = pickRejectionCaption() + posthog.capture(ANALYTICS_EVENTS.CARD_SHARE_ASSET_SHARED, { + source: 'waitlist-cooldown', + method: 'twitter-intent', + }) + window.open(`https://twitter.com/intent/tweet?text=${encodeURIComponent(caption)}`, '_blank', 'noopener') + } + return (
@@ -59,9 +72,14 @@ const CardWaitlistJoinedScreen: FC = ({ onPrev }) => {
- +
+ + +
) }