From 7a93473ef1b6f803df5b884d46c4f97e78f76858 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 22 Apr 2026 22:11:26 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 42e083e..046bb88 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -168,6 +168,10 @@ export default function LandingPage() { required: true, }} imageSrc="http://img.b2bpic.net/free-photo/stylish-elegant-couple-car-salon_1157-22679.jpg" + onSubmit={(data) => { + const mailtoLink = `mailto:appointments@sunautomotive.com?subject=Booking Request from ${data.name}&body=Message: ${data.message}%0A%0AEmail: ${data.email}`; + window.location.href = mailtoLink; + }} /> @@ -198,4 +202,4 @@ export default function LandingPage() { ); -} \ No newline at end of file +}