Lead Collection Form
File locations:
src/components/forms/subscribe.tsx
Collect user emails and save them into your email list. This component works with Resend, make sure you have the email delivery feature configured properly.
Go to Resend, navigate to Audiences -> API:
Copy the audience ID and paste it into your .env as AUTH_RESEND_AUDIENCE_ID.
To use the component, import it into your page.tsx like this:
tsx
import Subscribe from "@/components/forms/subscribe";

