From 7a8d58d1674a392010b8cde8725cc824a60eae8a Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 4 Mar 2026 21:57:00 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index e8a0da4..c18782b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -12,6 +12,10 @@ import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal'; import { Utensils, Heart, CheckCircle, Star, MessageSquare, Phone } from 'lucide-react'; export default function RestaurantPage() { + const handlePhoneClick = () => { + window.location.href = 'tel:+201020545847'; + }; + return ( @@ -45,7 +52,7 @@ export default function RestaurantPage() { tagIcon={Utensils} tagAnimation="slide-up" buttons={[ - { text: "📞 اتصل الآن", href: "tel:+201020545847" }, + { text: "📞 اتصل الآن", onClick: handlePhoneClick }, { text: "📍 اتجاهات", href: "https://maps.google.com/?q=VX66+J55,+Ad+Dawahreyah,+El+Husseiniya,+Al-Sharqia" } ]} buttonAnimation="blur-reveal" @@ -153,13 +160,13 @@ export default function RestaurantPage() { -- 2.49.1