Skip to content

Commit

Permalink
clients/unsubscribe: clarify email unsubscribe action
Browse files Browse the repository at this point in the history
  • Loading branch information
zegl committed Dec 13, 2023
1 parent cd83bde commit 15809f1
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions clients/apps/web/src/app/(public)/unsubscribe/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use client'

import Link from 'next/link'
import { useRouter } from 'next/navigation'
import { api } from 'polarkit/api'
import { Button, ShadowBox } from 'polarkit/components/ui/atoms'
Expand Down Expand Up @@ -43,9 +44,9 @@ export default function Page({
<div className="flex h-full w-full justify-center pt-8">
<div>
<ShadowBox>
<div className="flex flex-col gap-4">
<div className="flex max-w-[400px] flex-col gap-4">
<h2 className="font-semibold">
Unsubscribe from {searchParams.org}
Unsubscribe from emails from {searchParams.org}
</h2>

{showMessage ? (
Expand All @@ -65,6 +66,22 @@ export default function Page({
No, I changed my mind
</Button>
</div>

<hr className="my-6" />

<p className="text-sm">
This will not cancel any paid subscriptions or unsubscribe you
from other subscription benefits.
</p>

<p className="text-sm">
<Link
href={`/${searchParams.org}?tab=subscriptions`}
className="text-underline text-blue-500"
>
Manage my subscription.
</Link>
</p>
</div>
</ShadowBox>
</div>
Expand Down

0 comments on commit 15809f1

Please sign in to comment.