From 792f0c8aae5416f4449dc891dab4ae0d583a528e Mon Sep 17 00:00:00 2001 From: denshooter Date: Sat, 10 Jan 2026 01:05:08 +0100 Subject: [PATCH] style: modernize chat widget with glassmorphism and improve mobile layout --- app/components/ChatWidget.tsx | 94 +++++++++++++++++------------------ 1 file changed, 47 insertions(+), 47 deletions(-) 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

-
+
{/* Messages */} -
+
{messages.map((message) => (
-

{message.text}

@@ -327,11 +327,11 @@ export default function ChatWidget() { animate={{ opacity: 1, y: 0 }} className="flex justify-start" > -

+
{/* Input */} -
+
{/* Quick Actions */} -
+
{[ - "What are Dennis's skills?", - "Tell me about his projects", - "How can I contact him?", + "Skills 🛠️", + "Projects 🚀", + "Contact 📧", ].map((suggestion, index) => (