import { useState } from 'react'; import { motion, AnimatePresence } from 'framer-motion'; import { MessageCircle, X, Zap, Upload } from 'lucide-react'; import { Button } from '@/components/ui/button'; const FloatingChatBot = () => { const [isVisible, setIsVisible] = useState(true); const scrollToDashboard = () => { const dashboardSection = document.getElementById('dashboard'); dashboardSection?.scrollIntoView({ behavior: 'smooth' }); setIsVisible(false); }; const scrollToChat = () => { const chatSection = document.getElementById('chatbot'); chatSection?.scrollIntoView({ behavior: 'smooth' }); setIsVisible(false); }; if (!isVisible) return null; return (
{/* Close button */} {/* Action buttons */}
{/* Analyze Button */} {/* Chat Button */}
{/* Pulsing indicator */}
); }; export default FloatingChatBot;