clawdbot-workspace/mcp-diagrams/mcp-chat-animation/frame-05-second-exchange-loading.html
2026-01-28 23:00:58 -05:00

144 lines
4.5 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1920, height=1080">
<title>AI Assistant</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
background: #0f0f1a;
width: 1920px;
height: 1080px;
display: flex;
align-items: center;
justify-content: center;
}
.window {
width: 900px;
height: 700px;
background: #1a1a2e;
border-radius: 12px;
box-shadow: 0 25px 80px rgba(0,0,0,0.5);
display: flex;
flex-direction: column;
border: 1px solid #2a2a4a;
}
.titlebar {
height: 48px;
background: #252540;
display: flex;
align-items: center;
padding: 0 16px;
border-bottom: 1px solid #2a2a4a;
}
.traffic-lights { display: flex; gap: 8px; }
.light { width: 12px; height: 12px; border-radius: 50%; }
.light.red { background: #ff5f57; }
.light.yellow { background: #ffbd2e; }
.light.green { background: #28ca41; }
.title { flex: 1; text-align: center; color: #8888aa; font-size: 14px; font-weight: 500; }
.chat-area { flex: 1; padding: 24px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; }
.message { display: flex; flex-direction: column; max-width: 75%; }
.message.user { align-self: flex-end; }
.message.ai { align-self: flex-start; }
.bubble { padding: 14px 18px; border-radius: 18px; font-size: 15px; line-height: 1.5; }
.message.user .bubble {
background: linear-gradient(135deg, #6366f1, #8b5cf6);
color: white;
border-bottom-right-radius: 6px;
}
.message.ai .bubble {
background: #2a2a4a;
color: #e2e2f0;
border-bottom-left-radius: 6px;
}
.embed-area {
margin-top: 8px;
background: #12121f;
border: 1px solid #2a2a4a;
border-radius: 12px;
height: 180px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 12px;
}
.spinner {
width: 32px;
height: 32px;
border: 3px solid #2a2a4a;
border-top-color: #6366f1;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { color: #6366f1; font-size: 13px; }
.input-area { padding: 16px 24px 24px; border-top: 1px solid #2a2a4a; }
.input-wrapper {
display: flex;
gap: 12px;
align-items: center;
background: #12121f;
border: 1px solid #2a2a4a;
border-radius: 12px;
padding: 12px 16px;
}
.input-field { flex: 1; color: #5a5a7a; font-size: 14px; }
.send-btn {
width: 36px;
height: 36px;
background: linear-gradient(135deg, #6366f1, #8b5cf6);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
}
.send-btn svg { width: 18px; height: 18px; color: white; }
</style>
</head>
<body>
<div class="window">
<div class="titlebar">
<div class="traffic-lights">
<div class="light red"></div>
<div class="light yellow"></div>
<div class="light green"></div>
</div>
<div class="title">AI Assistant</div>
<div style="width: 52px;"></div>
</div>
<div class="chat-area">
<div class="message user">
<div class="bubble">how can we make some money right now</div>
</div>
<div class="message ai">
<div class="bubble">Collect missed payments, do a high intent database reactivation, or purchase some on demand leads to have an appt with</div>
</div>
<div class="message user">
<div class="bubble">let's collect missed payments</div>
</div>
<div class="message ai">
<div class="bubble">would you like to choose view or allow me to decide</div>
<div class="embed-area">
<div class="spinner"></div>
<div class="loading-text">Loading suggested apps...</div>
</div>
</div>
</div>
<div class="input-area">
<div class="input-wrapper">
<span class="input-field">Type a message...</span>
<div class="send-btn">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M22 2L11 13M22 2L15 22L11 13L2 9L22 2Z"/>
</svg>
</div>
</div>
</div>
</div>
</body>
</html>