From e4cd94f002c8b88c5a4f8d921e5b4f10e39831dd Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Tue, 28 Jul 2026 07:32:32 +0000 Subject: [PATCH] Deploy --- .../sections/RootedNewsletterSection.tsx | 73 +++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 src/components/sections/RootedNewsletterSection.tsx diff --git a/src/components/sections/RootedNewsletterSection.tsx b/src/components/sections/RootedNewsletterSection.tsx new file mode 100644 index 0000000..ed7414f --- /dev/null +++ b/src/components/sections/RootedNewsletterSection.tsx @@ -0,0 +1,73 @@ +'use client' + +import { useState } from "react" +import Button from "@/components/ui/Button" +import Input from "@/components/ui/Input" +import { ArrowRight } from 'lucide-react' + +export default function RootedNewsletterSection() { + const [name, setName] = useState("") + const [email, setEmail] = useState("") + const [submitted, setSubmitted] = useState(false) + + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault() + // Placeholder — send to mailing list + setSubmitted(true) + } + + return ( +
+
+

+ Stay rooted with us +

+

+ Stories of indigenous botanicals, skincare rituals, and subscriber-only + early access to new small batches — delivered to your inbox. +

+ + {submitted ? ( +
+

+ Thank you! You're now on the list. +

+

+ Watch for your first story soon. +

+
+ ) : ( +
+
+ setName(e.target.value)} + placeholder="Your name" + required + className="w-full border-white/20 bg-white/95 text-[#21140d] placeholder:text-[#21140d]/40" + /> +
+
+ setEmail(e.target.value)} + placeholder="Your email address" + required + className="w-full border-white/20 bg-white/95 text-[#21140d] placeholder:text-[#21140d]/40" + /> +
+ +
+ )} +
+
+ ) +} \ No newline at end of file