From 6cc51efc0fd0c444050fa7c70470a114296e5526 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Tue, 23 Jun 2026 08:47:34 +0000 Subject: [PATCH] Deploy --- src/components/sections/NewsletterSection.tsx | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 src/components/sections/NewsletterSection.tsx diff --git a/src/components/sections/NewsletterSection.tsx b/src/components/sections/NewsletterSection.tsx new file mode 100644 index 0000000..a5c0536 --- /dev/null +++ b/src/components/sections/NewsletterSection.tsx @@ -0,0 +1,47 @@ +'use client' + +import { useState } from "react" +import Button from "@/components/ui/Button" +import Input from "@/components/ui/Input" + +export default function NewsletterSection() { + const [email, setEmail] = useState("") + const [submitted, setSubmitted] = useState(false) + + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault() + if (email) { + setSubmitted(true) + } + } + + return ( +
+
+

Join the S.A.W Fam

+

+ Early access to drops, exclusive content, and first dibs on new tees. Straight to your inbox. +

+ {submitted ? ( +
+

Bet. You're in the fam now. Keep an eye on your inbox.

+
+ ) : ( +
+ setEmail(e.target.value)} + required + className="flex-1 bg-white/10 border-white/20 text-white placeholder:text-gray-400" + /> + +
+ )} +
+
+ ) +}