Spaces:
Configuration error
Configuration error
| import { Button } from "@/components/ui/button"; | |
| import { Bot } from "lucide-react"; | |
| import { useLocation } from "wouter"; | |
| export default function FloatingAI() { | |
| const [, setLocation] = useLocation(); | |
| return ( | |
| <div className="fixed bottom-6 right-6 z-40"> | |
| <Button | |
| onClick={() => setLocation('/rishi-ai')} | |
| className="w-14 h-14 bg-gradient-to-br from-navy-blue to-indigo-600 text-white rounded-full shadow-lg hover:shadow-xl transition-all duration-300 transform hover:scale-110" | |
| size="sm" | |
| > | |
| <Bot className="text-xl" /> | |
| </Button> | |
| </div> | |
| ); | |
| } | |