|
2 | 2 |
|
3 | 3 | import { motion } from 'framer-motion'; |
4 | 4 | import { Button } from '@repo/ui/components'; |
5 | | -import { Calendar, MessageCircle, ArrowDown } from 'lucide-react'; |
6 | | -import { useState, useEffect } from 'react'; |
| 5 | +import { Calendar, MessageCircle } from 'lucide-react'; |
7 | 6 |
|
8 | 7 | export default function BookMeetingPage() { |
9 | | - const [showChatHint, setShowChatHint] = useState(false); |
10 | | - |
11 | | - useEffect(() => { |
12 | | - // Show hint after a delay |
13 | | - const timer = setTimeout(() => { |
14 | | - setShowChatHint(true); |
15 | | - }, 2000); |
16 | | - return () => clearTimeout(timer); |
17 | | - }, []); |
18 | | - |
19 | 8 | const openChat = () => { |
20 | 9 | // Find and click the chat widget button - it's the floating button with MessageCircle icon |
21 | 10 | const chatButtons = document.querySelectorAll('button'); |
@@ -114,30 +103,6 @@ export default function BookMeetingPage() { |
114 | 103 | Open AI Assistant |
115 | 104 | </Button> |
116 | 105 | </motion.div> |
117 | | - |
118 | | - {showChatHint && ( |
119 | | - <motion.div |
120 | | - initial={{ opacity: 0, y: -10 }} |
121 | | - animate={{ opacity: 1, y: 0 }} |
122 | | - className="fixed bottom-20 right-10 hidden sm:block" |
123 | | - > |
124 | | - <div className="relative"> |
125 | | - <motion.div |
126 | | - animate={{ y: [0, 10, 0] }} |
127 | | - transition={{ |
128 | | - repeat: Infinity, |
129 | | - duration: 2, |
130 | | - ease: 'easeInOut', |
131 | | - }} |
132 | | - > |
133 | | - <ArrowDown className="w-8 h-8 text-primary" /> |
134 | | - </motion.div> |
135 | | - <p className="absolute top-10 right-0 whitespace-nowrap text-sm text-muted-foreground"> |
136 | | - Or click here! → |
137 | | - </p> |
138 | | - </div> |
139 | | - </motion.div> |
140 | | - )} |
141 | 106 | </motion.div> |
142 | 107 |
|
143 | 108 | {/* Fun facts while they wait */} |
|
0 commit comments