From c58000f3e81d11f5b2eca3c5584374748a192996 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 22 Apr 2026 23:05:33 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 1987b96..9bc1d1e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -154,10 +154,11 @@ export default function LandingPage() { { name: "name", type: "text", placeholder: "Your Name", required: true }, { name: "email", type: "email", placeholder: "Your Email", required: true }, ]} + multiSelect={{ name: "service", label: "Service Category", options: ["Engine", "Brakes", "Inspection"] }} textarea={{ name: "message", placeholder: "How can we help with your vehicle?", rows: 4, 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}`; + const mailtoLink = `mailto:appointments@sunautomotive.com?subject=Booking Request from ${data.name}&body=Message: ${data.message}%0A%0AEmail: ${data.email}%0AService: ${data.service}`; window.location.href = mailtoLink; alert("Thank you! Your request has been initiated."); }} @@ -187,4 +188,4 @@ export default function LandingPage() { ); -} +} \ No newline at end of file