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 +}