diff --git a/src/app/page.tsx b/src/app/page.tsx index bfdd2dd..3bae6e3 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -247,6 +247,15 @@ export default function LandingPage() { inputPlaceholder="Enter your email" buttonText="Schedule Inspection" 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.`); + }} /> @@ -299,4 +308,4 @@ export default function LandingPage() { ); -} \ No newline at end of file +}