fixed bugs

This commit is contained in:
belviskhoremk
2026-02-23 16:46:51 +00:00
parent 979fb43228
commit cec36ee298
7 changed files with 866 additions and 544 deletions

View File

@@ -220,12 +220,20 @@ const ChatbotCard: React.FC<{
<Card className="p-5">
<div className="flex items-start justify-between mb-3">
<div className="flex items-center gap-3">
<div
className="w-10 h-10 rounded-xl flex items-center justify-center text-white text-lg"
style={{ background: chatbot.primary_color }}
>
<Bot className="w-5 h-5" />
</div>
{chatbot.logo_url ? (
<img
src={chatbot.logo_url}
alt={chatbot.name}
className="w-10 h-10 rounded-xl object-cover flex-shrink-0"
/>
) : (
<div
className="w-10 h-10 rounded-xl flex items-center justify-center text-white text-lg flex-shrink-0"
style={{ background: chatbot.primary_color }}
>
<Bot className="w-5 h-5" />
</div>
)}
<div>
<h3 className="font-semibold text-gray-900 text-sm">{chatbot.name}</h3>
<div className="flex items-center gap-1.5 mt-0.5">