"use client"; import React from "react"; import { X, Phone, Mail, ArrowUpRight } from "lucide-react"; // Inline WhatsApp Icon SVG const WhatsAppIcon = () => ( ); const LinkedinIcon = () => ( ); interface HandoffModalProps { isOpen: boolean; onClose: () => void; onSendHandoff?: (data: any) => Promise; tutorConfig?: any; } export const HandoffModal: React.FC = ({ isOpen, onClose, tutorConfig, }) => { if (!isOpen) return null; const contactTitle = tutorConfig?.frontend_ui_dictionary?.contact_modal?.title || "Get in Touch"; const contactDesc = tutorConfig?.frontend_ui_dictionary?.contact_modal?.description || (tutorConfig?.name ? `Connect directly with ${tutorConfig.name} to discuss training, consulting, or inquiries.` : "Connect directly with Arun Yadav to discuss AI software systems, consulting, or project collaborations."); const contactChannels = tutorConfig?.contact || tutorConfig?.frontend_ui_dictionary?.contact_modal?.channels; return (
e.stopPropagation()} className="relative w-full max-w-md rounded-3xl shiny-border-card bg-[var(--bg-surface)] p-6 sm:p-8 text-[var(--text-main)] shadow-2xl cursor-default" >

{contactTitle}

{contactDesc}

{/* Direct High-Impact Contact Channels */}
{contactChannels ? ( Array.isArray(contactChannels) ? ( contactChannels.map((item: any, idx: number) => (
{item.label || item.id}
{item.value || item.url}
)) ) : ( Object.entries(contactChannels).map(([key, val]: [string, any], idx: number) => (
{key}
{val}
)) ) ) : ( <> {/* Phone / Call */}
Phone / Call
+91 8881109193
{/* WhatsApp */}
WhatsApp Direct
+91 8881109193
{/* Email */}
Email Address
neural.arun.dev@gmail.com
{/* LinkedIn */}
LinkedIn Profile
linkedin.com/in/neuralarun
)}
); };