From 32747f6334a71cc0059abbdd892b49563c8eae5f Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 24 Apr 2026 11:54:31 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index ea8c55f..acd4893 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,6 +9,18 @@ import ContactText from "@/components/sections/contact/ContactText"; import FooterCard from "@/components/sections/footer/FooterCard"; export default function TaxGuyLandingPage() { + const handleConsultation = () => { + const options = [ + { label: "Call +27 12 345 6789", action: () => window.location.href = "tel:+27123456789" }, + { label: "Visit Office (Pretoria)", action: () => window.open("https://maps.google.com/?q=Pretoria+Tax+Office", "_blank") }, + { label: "Send Email", action: () => window.location.href = "mailto:consult@taxguy.co.za" } + ]; + const choice = window.prompt("How would you like to connect?\n1. Call\n2. Visit\n3. Email"); + if (choice === "1") options[0].action(); + else if (choice === "2") options[1].action(); + else if (choice === "3") options[2].action(); + }; + return (
@@ -64,7 +77,7 @@ export default function TaxGuyLandingPage() {
-- 2.49.1