Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 83216760b1 |
@@ -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>
|
||||||
|
|
||||||
@@ -299,4 +308,4 @@ export default function LandingPage() {
|
|||||||
</ReactLenis>
|
</ReactLenis>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user