diff --git a/app/components/ChatWidget.tsx b/app/components/ChatWidget.tsx index 466f736..f76a1bd 100644 --- a/app/components/ChatWidget.tsx +++ b/app/components/ChatWidget.tsx @@ -221,15 +221,15 @@ export default function ChatWidget() { setIsOpen(true); } }} - className="fixed bottom-20 left-4 md:bottom-6 md:left-6 z-30 bg-stone-800/90 backdrop-blur-md text-stone-50 p-3 rounded-full shadow-xl hover:bg-stone-700/90 hover:scale-110 transition-all duration-300 group cursor-pointer border border-white/10" + className="fixed bottom-4 left-4 md:bottom-6 md:left-6 z-30 bg-stone-800/80 backdrop-blur-md text-stone-50 p-3.5 rounded-full shadow-[0_8px_20px_rgba(41,37,36,0.2)] hover:bg-stone-800 hover:scale-105 transition-all duration-300 group cursor-pointer border border-white/10 ring-1 ring-white/20" aria-label="Open chat" > - - + + {/* Tooltip */} - - Chat with AI assistant + + Chat with AI )} @@ -240,42 +240,42 @@ export default function ChatWidget() { {isOpen && ( {/* Header */} - + - - + + - + - - Dennis{"'"}s AI Assistant + + Assistant - - Always online + + Powered by AI - + - + setIsOpen(false)} - className="p-2 hover:bg-stone-200/50 rounded-lg transition-colors text-stone-500 hover:text-stone-800" + className="p-2 hover:bg-stone-200/40 rounded-full transition-colors text-stone-500 hover:text-stone-900" aria-label="Close chat" > @@ -284,7 +284,7 @@ export default function ChatWidget() { {/* Messages */} - + {messages.map((message) => ( - {message.text} @@ -327,11 +327,11 @@ export default function ChatWidget() { animate={{ opacity: 1, y: 0 }} className="flex justify-start" > - + {/* Input */} - + {isLoading ? ( - + ) : ( - + )} {/* Quick Actions */} - + {[ - "What are Dennis's skills?", - "Tell me about his projects", - "How can I contact him?", + "Skills 🛠️", + "Projects 🚀", + "Contact 📧", ].map((suggestion, index) => ( { - setInputValue(suggestion); + setInputValue(suggestion.replace(/ .*/, '')); // Strip emoji for search if needed, or keep inputRef.current?.focus(); }} disabled={isLoading} - className="px-3 py-1.5 text-[10px] md:text-xs bg-white/60 backdrop-blur-sm text-stone-600 rounded-full hover:bg-white hover:text-stone-900 border border-stone-200 transition-all whitespace-nowrap disabled:opacity-50 flex-shrink-0 shadow-sm" + className="px-3 py-1.5 text-xs font-medium bg-white/40 backdrop-blur-md text-stone-600 rounded-lg hover:bg-white/70 hover:text-stone-900 border border-white/40 transition-all whitespace-nowrap disabled:opacity-50 flex-shrink-0 shadow-sm" > {suggestion}
- Always online +
+ Powered by AI
{message.text}
@@ -327,11 +327,11 @@ export default function ChatWidget() { animate={{ opacity: 1, y: 0 }} className="flex justify-start" > -