Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 83216760b1 | |||
| f305f49ab2 | |||
| 9c53d01e2e |
@@ -247,6 +247,15 @@ export default function LandingPage() {
|
|||||||
inputPlaceholder="Enter your email"
|
inputPlaceholder="Enter your email"
|
||||||
buttonText="Schedule Inspection"
|
buttonText="Schedule Inspection"
|
||||||
termsText="By submitting, you agree to receive communications from LA Roofing Co."
|
termsText="By submitting, you agree to receive communications from LA Roofing Co."
|
||||||
|
onSubmit={(submittedEmail: string) => {
|
||||||
|
// This is a client-side handler.
|
||||||
|
// To send a notification email, this function needs to interact with a backend service.
|
||||||
|
// The current frontend code cannot directly send emails.
|
||||||
|
// A typical implementation would involve making an API call to a server-side endpoint,
|
||||||
|
// which would then handle the email delivery to 'syedmohib223@icloud.com'.
|
||||||
|
console.log(`Form submitted with email: ${submittedEmail}.`);
|
||||||
|
console.log(`ACTION REQUIRED: Implement a backend API call here to send this email to syedmohib223@icloud.com.`);
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user