Stabilize Netlify deployment for Codex Solar site#7
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| <form className="grid gap-4 text-sm text-slate-900"> | ||
| <input type="text" placeholder="Name" className="bg-white/90 text-slate-900" /> | ||
| <input type="email" placeholder="Work email" className="bg-white/90 text-slate-900" /> | ||
| <textarea | ||
| placeholder="Tell us about your buildings, timelines and energy goals." | ||
| rows={4} | ||
| className="w-full rounded-2xl border border-white/30 bg-white/90 px-4 py-3 text-slate-900 outline-none focus:border-emerald-400 focus:ring-2 focus:ring-emerald-400/60" | ||
| /> | ||
| <button type="submit" className="btn-primary"> | ||
| Send briefing |
There was a problem hiding this comment.
Contact form never submits any data
The new lead form renders visually but it cannot send anything: the <form> has no action/onSubmit handler and, more critically, none of the inputs/textarea are given a name. When the user clicks “Send briefing” the browser therefore performs a GET back to / with an empty query string, so Netlify receives no lead details and the visitor sees a page refresh only. This makes the primary CTA of the page inoperative and should be fixed by wiring the form to Netlify or a backend and giving every field a name so the values can be transmitted.
Useful? React with 👍 / 👎.
Summary
aigiftgen_v101 2snapshot so the repository contains a single Next.js appTesting
Codex Task