From 91a0ae317ad48d486014083e77fef5b4dc6b6bf3 Mon Sep 17 00:00:00 2001 From: bender Date: Sat, 21 Mar 2026 09:45:12 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 50b360a..f2a842c 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -12,6 +12,10 @@ import FooterBaseCard from '@/components/sections/footer/FooterBaseCard'; import { Clock, Heart, MapPin, MessageSquare, Phone, Star, Utensils, Users } from 'lucide-react'; export default function LandingPage() { + const handleReserveTable = () => { + window.location.href = 'tel:+919811389963'; + }; + return ( @@ -52,7 +56,7 @@ export default function LandingPage() { imageAlt="Chache Di Hatti authentic Punjabi restaurant" buttons={[ { text: "View Menu", href: "#menu" }, - { text: "Reserve Table", href: "#contact" } + { text: "Reserve Table", onClick: handleReserveTable } ]} buttonAnimation="slide-up" ariaLabel="Chache Di Hatti - Punjabi Restaurant Hero Section" @@ -105,7 +109,7 @@ export default function LandingPage() { } ]} buttons={[ - { text: "See Full Menu", href: "#contact" } + { text: "See Full Menu", onClick: handleReserveTable } ]} buttonAnimation="slide-up" /> @@ -229,4 +233,4 @@ export default function LandingPage() { ); -} +} \ No newline at end of file -- 2.49.1