Add src/app/contact-us/page.tsx
This commit is contained in:
196
src/app/contact-us/page.tsx
Normal file
196
src/app/contact-us/page.tsx
Normal file
@@ -0,0 +1,196 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
||||
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
|
||||
import { MapPin, Phone, Mail, Heart } from 'lucide-react';
|
||||
import { useState } from 'react';
|
||||
|
||||
export default function ContactUsPage() {
|
||||
const [formData, setFormData] = useState({
|
||||
name: '',
|
||||
phone: '',
|
||||
email: '',
|
||||
message: ''
|
||||
});
|
||||
|
||||
const handleSubmit = (data: Record<string, string>) => {
|
||||
console.log('Form submitted:', data);
|
||||
// Handle form submission logic here
|
||||
};
|
||||
|
||||
const handlePhoneClick = () => {
|
||||
window.location.href = 'tel:+91-033-2421-5719';
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="bounce-effect"
|
||||
defaultTextAnimation="background-highlight"
|
||||
borderRadius="pill"
|
||||
contentWidth="mediumLarge"
|
||||
sizing="mediumLarge"
|
||||
background="noise"
|
||||
cardStyle="glass-depth"
|
||||
primaryButtonStyle="primary-glow"
|
||||
secondaryButtonStyle="layered"
|
||||
headingFontWeight="light"
|
||||
>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleCentered
|
||||
brandName="Kumar Surgical Clinic"
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Services", id: "services" },
|
||||
{ name: "Team", id: "team" },
|
||||
{ name: "Contact", id: "/contact-us" }
|
||||
]}
|
||||
button={{ text: "Book Appointment", href: "/contact-us" }}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="contact-info" data-section="contact-info" className="py-16 px-4">
|
||||
<div className="max-w-6xl mx-auto">
|
||||
<div className="text-center mb-12">
|
||||
<h1 className="text-4xl md:text-5xl font-bold mb-4">Contact Us</h1>
|
||||
<p className="text-lg opacity-75">Get in touch with Kumar Surgical Clinic for appointments and inquiries</p>
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-1 md:grid-cols-3 gap-8 mb-16">
|
||||
{/* Address */}
|
||||
<div className="bg-card rounded-2xl p-8 text-center">
|
||||
<div className="flex justify-center mb-4">
|
||||
<MapPin className="w-8 h-8 text-primary-cta" />
|
||||
</div>
|
||||
<h3 className="text-xl font-semibold mb-3">Address</h3>
|
||||
<p className="text-sm opacity-75 leading-relaxed">
|
||||
235/3/1 N.S.C Bose Road<br />
|
||||
Bansdroni, Usha<br />
|
||||
Kolkata 700047<br />
|
||||
West Bengal, India
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* Phone Numbers */}
|
||||
<div className="bg-card rounded-2xl p-8 text-center">
|
||||
<div className="flex justify-center mb-4">
|
||||
<Phone className="w-8 h-8 text-primary-cta" />
|
||||
</div>
|
||||
<h3 className="text-xl font-semibold mb-3">Phone</h3>
|
||||
<div className="space-y-2">
|
||||
<button
|
||||
onClick={handlePhoneClick}
|
||||
className="block w-full text-sm text-primary-cta hover:underline transition-all"
|
||||
>
|
||||
033 2421 5719
|
||||
</button>
|
||||
<p className="text-sm opacity-75">or</p>
|
||||
<button
|
||||
onClick={() => window.location.href = 'tel:+91-033-2421-5720'}
|
||||
className="block w-full text-sm text-primary-cta hover:underline transition-all"
|
||||
>
|
||||
033 2421 5720
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Email */}
|
||||
<div className="bg-card rounded-2xl p-8 text-center">
|
||||
<div className="flex justify-center mb-4">
|
||||
<Mail className="w-8 h-8 text-primary-cta" />
|
||||
</div>
|
||||
<h3 className="text-xl font-semibold mb-3">Email</h3>
|
||||
<a
|
||||
href="mailto:kslctpadesk@gmail.com"
|
||||
className="text-sm text-primary-cta hover:underline transition-all break-all"
|
||||
>
|
||||
kslctpadesk@gmail.com
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Google Maps Embed */}
|
||||
<div className="mb-16 rounded-2xl overflow-hidden bg-card p-2">
|
||||
<iframe
|
||||
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3681.5634947820117!2d88.3478!3d22.4744!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3a02771d0d0d0d0d%3A0x0d0d0d0d0d0d0d0d!2s235%2F3%2F1%20N.S.C%20Bose%20Road%20Bansdroni%20Kolkata!5e0!3m2!1sen!2sin!4v1234567890"
|
||||
width="100%"
|
||||
height="450"
|
||||
style={{ border: 0 }}
|
||||
allowFullScreen={true}
|
||||
loading="lazy"
|
||||
referrerPolicy="no-referrer-when-downgrade"
|
||||
className="rounded-lg"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="contact-form" data-section="contact-form">
|
||||
<ContactSplitForm
|
||||
title="Patient Inquiry Form"
|
||||
description="Please fill out the form below with your details and message. Our team will get back to you shortly."
|
||||
inputs={[
|
||||
{ name: "name", type: "text", placeholder: "Full Name", required: true },
|
||||
{ name: "phone", type: "tel", placeholder: "Phone Number", required: true },
|
||||
{ name: "email", type: "email", placeholder: "Email Address", required: true }
|
||||
]}
|
||||
textarea={{
|
||||
name: "message", placeholder: "Please describe your inquiry or reason for contacting us...", rows: 5,
|
||||
required: true
|
||||
}}
|
||||
useInvertedBackground={false}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/pensioner-signing-examination-report-medical-cabinet-with-doctor-wearing-face-mask-elder-man-doing-signature-form-meeting-with-general-practitioner-checkup-consultation_482257-32086.jpg"
|
||||
imageAlt="Kumar Surgical Clinic consultation"
|
||||
mediaPosition="right"
|
||||
mediaAnimation="slide-up"
|
||||
buttonText="Send Message"
|
||||
onSubmit={handleSubmit}
|
||||
/>
|
||||
</div>
|
||||
|
||||
{/* Mobile Call Button */}
|
||||
<div className="fixed bottom-6 right-6 md:hidden z-40">
|
||||
<button
|
||||
onClick={handlePhoneClick}
|
||||
className="bg-primary-cta hover:bg-primary-cta/90 text-white rounded-full p-4 shadow-lg flex items-center justify-center transition-all"
|
||||
aria-label="Call Kumar Surgical Clinic"
|
||||
>
|
||||
<Phone className="w-6 h-6" />
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBaseReveal
|
||||
columns={[
|
||||
{
|
||||
title: "Services", items: [
|
||||
{ label: "General Surgery", href: "/" },
|
||||
{ label: "Laparoscopic Surgery", href: "/" },
|
||||
{ label: "Hernia Surgery", href: "/" },
|
||||
{ label: "Gallbladder Surgery", href: "/" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Quick Links", items: [
|
||||
{ label: "Home", href: "/" },
|
||||
{ label: "About Us", href: "/" },
|
||||
{ label: "Our Team", href: "/" },
|
||||
{ label: "Contact Us", href: "/contact-us" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Contact Info", items: [
|
||||
{ label: "Phone: 033 2421 5719", href: "tel:+91-033-2421-5719" },
|
||||
{ label: "Email: kslctpadesk@gmail.com", href: "mailto:kslctpadesk@gmail.com" },
|
||||
{ label: "Address: 235/3/1 N.S.C Bose Road, Bansdroni, Kolkata 700047", href: "#" }
|
||||
]
|
||||
}
|
||||
]}
|
||||
copyrightText="© 2024 Kumar Surgical and Laparoscopic Clinic. All rights reserved."
|
||||
/>
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user