"use client"; import { MessageCircle } from "lucide-react"; import { motion, AnimatePresence } from "framer-motion"; import { siteConfig } from "@/lib/data"; import { useState, useEffect } from "react"; export function FloatingWhatsApp() { const [isVisible, setIsVisible] = useState(false); useEffect(() => { const timer = setTimeout(() => setIsVisible(true), 1000); return () => clearTimeout(timer); }, []); return ( {isVisible && ( {/* Main Container with Glassmorphism */} {/* Expanded Label on Hover */}
Hemen Yazın +90 537 720 09 90
{/* Icon Button */}
{/* Outer Glows */}
{/* Main Button Body */}
{/* Internal Reflection */}
{/* Ping Indicator */}
)} ); }