Repository navigation
Conversation
- Wire finalized landing copy + verified, sourced stats into /ai-at-work - Add /api/ai-checkin-subscribe: captures lead via insertUser (newsletter), emails the 10-question starter via Resend - Re-enable the email form, wired to the endpoint with success/error states - Add optional RESEND_API_KEY + RESEND_FROM_EMAIL env (graceful 503 when unset)
✅ Deploy Preview for whocards-calmly ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Finishes the AI Check-In wedge landing page: swaps the placeholder scaffold (#59) for the finalized copy (#58) and builds the lead-magnet email backend with Resend.
What's in here
/ai-at-work— recommended headline ("Your AI rollout isn't stalling on the tech. It's stalling on the people."), value props, footer CTA, SEO title/description.POST /api/ai-checkin-subscribe(SSR): validates email, captures the lead via the existinginsertUser(newsletter: true, email-unique upsert — no DB migration), and emails the 10-question starter (spread across the deck's 4 acts) via Resend.fetch-posts to the endpoint with sending / success / error states.RESEND_API_KEY(optional — route returns a graceful 503 when unset, so builds/dev never break) andRESEND_FROM_EMAIL(defaults toWhoCards <hello@whocards.cc>).RESEND_API_KEYin Netlify (and local.env).whocards.cc) and setRESEND_FROM_EMAILto a verified address — until then Resend only delivers to the account owner.Verification
pnpm buildgreen; the API route is bundled into the SSR function.Closes nothing on its own; completes the #58/#59 landing work and supersedes the planned capture-endpoint follow-up.