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() {