From 543b6049565853cd9d2ae6725e37fefd0fc3d0ca Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 08:56:22 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 74 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 72 insertions(+), 2 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index b5b425e..41c6139 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -8,9 +8,26 @@ import FeatureCardTwentySeven from '@/components/sections/feature/FeatureCardTwe import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen'; import ContactSplit from '@/components/sections/contact/ContactSplit'; import FooterBase from '@/components/sections/footer/FooterBase'; -import { Calendar, Heart, Quote, Shield, Smile, Sparkles, Star } from 'lucide-react'; +import { Calendar, Heart, Quote, Shield, Smile, Sparkles, Star, Phone, MessageCircle } from 'lucide-react'; +import { useState } from 'react'; export default function LandingPage() { + const [bookingOption, setBookingOption] = useState<'calendly' | 'call' | 'whatsapp' | null>(null); + + const handleBookingClick = (option: 'calendly' | 'call' | 'whatsapp') => { + setBookingOption(option); + if (option === 'calendly') { + // Open Calendly integration + window.open('https://calendly.com', '_blank'); + } else if (option === 'call') { + // Trigger phone call + window.location.href = 'tel:+919068808583'; + } else if (option === 'whatsapp') { + // Open WhatsApp chat + window.open('https://wa.me/919068808583?text=Hello%20Dr.%20Fauzdar%27s%20Dental', '_blank'); + } + }; + return ( +
+
+
+

Advanced Booking System

+

Choose your preferred way to book an appointment

+
+ +
+ {/* Calendly Integration */} +
handleBookingClick('calendly')}> +
+ +
+

Book via Calendly

+

+ Choose your preferred date and time from our interactive calendar. Instant confirmation. +

+ +
+ + {/* Call Now */} +
handleBookingClick('call')}> +
+ +
+

Call Now

+

+ Speak directly with our team. Available during business hours for immediate assistance. +

+ +
+ + {/* WhatsApp Chat */} +
handleBookingClick('whatsapp')}> +
+ +
+

WhatsApp Chat

+

+ Quick messaging service. Get instant replies and appointment confirmations via WhatsApp. +

+ +
+
+
+
+
); -} \ No newline at end of file +}