Remove Newsletter functionality

This commit is contained in:
Jip J. Dekker 2023-06-26 13:18:15 +10:00
parent e6ea9d06dd
commit 5f608c23f9
No known key found for this signature in database
2 changed files with 0 additions and 51 deletions

View File

@ -52,35 +52,6 @@ function SocialLink({ icon: Icon, ...props }) {
) )
} }
function Newsletter() {
return (
<form
action="/thank-you"
className="rounded-2xl border border-zinc-100 p-6 dark:border-zinc-700/40"
>
<h2 className="flex text-sm font-semibold text-zinc-900 dark:text-zinc-100">
<MailIcon className="h-6 w-6 flex-none" />
<span className="ml-3">Stay up to date</span>
</h2>
<p className="mt-2 text-sm text-zinc-600 dark:text-zinc-400">
Get notified when I publish something new, and unsubscribe at any time.
</p>
<div className="mt-6 flex">
<input
type="email"
placeholder="Email address"
aria-label="Email address"
required
className="min-w-0 flex-auto appearance-none rounded-md border border-zinc-900/10 bg-white px-3 py-[calc(theme(spacing.2)-1px)] shadow-md shadow-zinc-800/5 placeholder:text-zinc-400 focus:border-teal-500 focus:outline-none focus:ring-4 focus:ring-teal-500/10 dark:border-zinc-700 dark:bg-zinc-700/[0.15] dark:text-zinc-200 dark:placeholder:text-zinc-500 dark:focus:border-teal-400 dark:focus:ring-teal-400/10 sm:text-sm"
/>
<Button type="submit" className="ml-4 flex-none">
Join
</Button>
</div>
</form>
)
}
function Resume() { function Resume() {
let resume = [ let resume = [
{ {
@ -252,7 +223,6 @@ export default function Home({ articles }) {
))} ))}
</div> </div>
<div className="space-y-10 lg:pl-16 xl:pl-24"> <div className="space-y-10 lg:pl-16 xl:pl-24">
<Newsletter />
<Resume /> <Resume />
</div> </div>
</div> </div>

View File

@ -1,21 +0,0 @@
import Head from 'next/head'
import { SimpleLayout } from '@/components/SimpleLayout'
export default function ThankYou() {
return (
<>
<Head>
<title>Youre subscribed - Spencer Sharp</title>
<meta
name="description"
content="Thanks for subscribing to my newsletter."
/>
</Head>
<SimpleLayout
title="Thanks for subscribing."
intro="Ill send you an email any time I publish a new blog post, release a new project, or have anything interesting to share that I think youd want to hear about. You can unsubscribe at any time, no hard feelings."
/>
</>
)
}