File size: 606 Bytes
e7427b5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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>
  );
}