Skip to content

Commit

Permalink
Add newsletter unsubscribed page (#776)
Browse files Browse the repository at this point in the history
* Add newsletter unsubscribed page

* Update metadata
  • Loading branch information
NiallJoeMaher authored Feb 26, 2024
1 parent fcd2b57 commit 768d769
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions app/(standalone)/newsletter/unsubscribed/page.tsx
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>
);
}

0 comments on commit 768d769

Please sign in to comment.