-
-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add newsletter unsubscribed page (#776)
* Add newsletter unsubscribed page * Update metadata
- Loading branch information
1 parent
fcd2b57
commit 768d769
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import type { Metadata } from "next"; | ||
import Link from "next/link"; | ||
|
||
export const metadata: Metadata = { | ||
title: "You are now unsubscribed. We are sad to see you go.", | ||
robots: { | ||
follow: false, | ||
index: false, | ||
}, | ||
}; | ||
|
||
export default function NewsletterUnsubscribedPage() { | ||
return ( | ||
<div className="relative isolate min-h-svh overflow-hidden bg-black py-16 sm:flex sm:items-center sm:py-24 lg:py-32"> | ||
<div className="mx-auto max-w-7xl px-6 lg:px-8"> | ||
<div className="mx-auto max-w-2xl grid-cols-1 gap-x-8 gap-y-16"> | ||
<div className="max-w-xl lg:max-w-lg"> | ||
<h2 className="text-3xl font-bold tracking-tight text-white sm:text-4xl"> | ||
You are now unsubscribed. | ||
</h2> | ||
<p className="mt-4 text-lg leading-8 text-gray-300"> | ||
We are sad to see you go. If you change your mind, you can always{" "} | ||
<Link className="underline" href="/newsletter"> | ||
resubscribe | ||
</Link> | ||
. | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
<div | ||
className="absolute left-1/2 top-0 -z-10 -translate-x-1/2 blur-3xl xl:-top-6" | ||
aria-hidden="true" | ||
> | ||
<div | ||
className="aspect-[1155/678] w-[72.1875rem] bg-gradient-to-tr from-orange-300 to-pink-500 opacity-30" | ||
style={{ | ||
clipPath: | ||
"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)", | ||
}} | ||
/> | ||
</div> | ||
</div> | ||
); | ||
} |