From 3c1c7ebbf66fce3728c2752db6a3ccf46f795364 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 08:44:06 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 5de9bf3..3257740 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -13,6 +13,10 @@ import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal"; import { Flame, Star } from "lucide-react"; export default function LandingPage() { + const handleOrderClick = () => { + window.location.href = "https://www.swiggy.com"; + }; + return ( @@ -55,7 +59,7 @@ export default function LandingPage() { tagAnimation="slide-up" buttons={[ { text: "🔥 Explore Menu", href: "#menu" }, - { text: "🛵 Order Online", href: "#contact" } + { text: "🛵 Order Online", href: "https://www.swiggy.com", onClick: handleOrderClick } ]} buttonAnimation="blur-reveal" imageSrc="http://img.b2bpic.net/free-photo/closeup-shot-tasty-looking-burger-isolated-black-surface_181624-39131.jpg" @@ -90,7 +94,7 @@ export default function LandingPage() { animationType="slide-up" textboxLayout="default" useInvertedBackground={false} - buttons={[{ text: "View Full Menu", href: "#" }]} + buttons={[{ text: "View Full Menu", href: "https://www.swiggy.com" }]} /> @@ -142,7 +146,7 @@ export default function LandingPage() { imageSrc="http://img.b2bpic.net/free-photo/young-woman-eating-burger-street-cafe-close-up_169016-43760.jpg" imageAlt="The Epic Burger Restaurant Interior" useInvertedBackground={false} - buttons={[{ text: "Reserve a Table", href: "#contact" }]} + buttons={[{ text: "Reserve a Table", href: "https://www.swiggy.com" }]} /> @@ -207,6 +211,7 @@ export default function LandingPage() { inputPlaceholder="Enter your email for updates" buttonText="Order Now" termsText="By ordering, you agree to our terms and conditions. We ensure fresh ingredients and quick delivery." + onSubmit={() => window.location.href = "https://www.swiggy.com"} /> -- 2.49.1