From bcb95157530a31aa5b1e8536f35b08b0a032be36 Mon Sep 17 00:00:00 2001 From: bender Date: Sat, 2 May 2026 19:04:58 +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 a1df451..b244de6 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -10,6 +10,10 @@ import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarS import ProductCardTwo from '@/components/sections/product/ProductCardTwo'; export default function LandingPage() { + const handleCall = () => { + window.location.href = "tel:0796062450"; + }; + return ( @@ -100,7 +104,7 @@ export default function LandingPage() { background={{ variant: "sparkles-gradient" }} text="Besuchen Sie uns in der Romanshornerstrasse 30, Arbon. Geöffnet Di–So: 11:00–13:00 & 17:00–21:00. Montags geschlossen. Wir freuen uns auf Ihren Besuch!" buttons={[ - { text: "Jetzt anrufen", href: "tel:0796062450" }, + { text: "Jetzt anrufen", onClick: handleCall }, { text: "Wegbeschreibung anzeigen", href: "https://maps.google.com/?q=Romanshornerstrasse+30+Arbon" } ]} /> @@ -114,7 +118,7 @@ export default function LandingPage() { { label: "Di–So: 11:00–13:00, 17:00–21:00" }, { label: "Montag: Geschlossen" } ] }, - { title: "Kontakt", items: [{ label: "Tel: 079 606 24 50" }] }, + { title: "Kontakt", items: [{ label: "Tel: 079 606 24 50", onClick: handleCall }] }, ]} bottomLeftText="© 2024 Pizza da Vincenzo" bottomRightText="Authentische Pizza in Arbon" -- 2.49.1