diff --git a/src/app/page.tsx b/src/app/page.tsx index 0db0038..c6a4ece 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -15,6 +15,11 @@ import FooterSimple from "@/components/sections/footer/FooterSimple"; import { Sparkles, Star, Home } from "lucide-react"; export default function HomePage() { + const handleButtonClick = (actionName: string) => { + console.log(`${actionName} clicked! Implement your custom logic here (e.g., API call, navigation).`); + alert(`Action triggered: ${actionName}`); + }; + return ( handleButtonClick("Get Quote") }} /> @@ -49,7 +54,7 @@ export default function HomePage() { title="Keeping Your Home Pristine" description="Expert pressure washing, cleaning, and removal services to restore your property's curb appeal. Reliable care you can trust." buttons={[ - { text: "Book Service", href: "#contact" }, + { text: "Book Service", onClick: () => handleButtonClick("Book Service") }, ]} imageSrc="http://img.b2bpic.net/free-photo/south-asian-man-indian-male-washing-his-white-transportation-car-wash_627829-5012.jpg" testimonials={[ @@ -167,6 +172,7 @@ export default function HomePage() { }} textarea={{ name: "message", placeholder: "How can we help?", rows: 4 }} buttonText="Request My Free Estimate" + onSubmit={(data) => console.log("Form Submitted:", data)} imageSrc="http://img.b2bpic.net/free-photo/smiling-young-male-gardener-wearing-gardening-hat-gloves-holds-spade-neck_141793-115982.jpg" useInvertedBackground={false} /> @@ -175,8 +181,8 @@ export default function HomePage() {