Spaces:
Runtime error
Runtime error
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>ThutoAI - Chat Assistant</title> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| background: #f0f2f5; | |
| height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .navbar { | |
| background: #1877f2; | |
| color: white; | |
| padding: 1rem 2rem; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| box-shadow: 0 2px 4px rgba(0,0,0,0.1); | |
| } | |
| .navbar .logo { | |
| font-size: 24px; | |
| font-weight: bold; | |
| } | |
| .navbar .nav-links { | |
| display: flex; | |
| gap: 20px; | |
| align-items: center; | |
| } | |
| .navbar .nav-links a { | |
| color: white; | |
| text-decoration: none; | |
| padding: 8px 16px; | |
| border-radius: 6px; | |
| transition: background 0.3s; | |
| } | |
| .navbar .nav-links a:hover { | |
| background: rgba(255,255,255,0.2); | |
| } | |
| .chat-container { | |
| flex: 1; | |
| display: flex; | |
| max-width: 1000px; | |
| margin: 2rem auto; | |
| background: white; | |
| border-radius: 8px; | |
| box-shadow: 0 1px 2px rgba(0,0,0,0.1); | |
| overflow: hidden; | |
| } | |
| .chat-sidebar { | |
| width: 300px; | |
| background: #f0f2f5; | |
| padding: 1.5rem; | |
| border-right: 1px solid #dadde1; | |
| } | |
| .chat-sidebar h3 { | |
| color: #1877f2; | |
| margin-bottom: 1rem; | |
| } | |
| .quick-questions { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 10px; | |
| } | |
| .quick-question { | |
| padding: 10px; | |
| background: white; | |
| border: 1px solid #dadde1; | |
| border-radius: 6px; | |
| cursor: pointer; | |
| transition: all 0.3s; | |
| font-size: 0.9rem; | |
| } | |
| .quick-question:hover { | |
| border-color: #1877f2; | |
| background: #e7f3ff; | |
| } | |
| .chat-main { | |
| flex: | |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>ThutoAI - Chat Assistant</title> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| background: #f0f2f5; | |
| height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .navbar { | |
| background: #1877f2; | |
| color: white; | |
| padding: 1rem 2rem; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| box-shadow: 0 2px 4px rgba(0,0,0,0.1); | |
| } | |
| .navbar .logo { | |
| font-size: 24px; | |
| font-weight: bold; | |
| } | |
| .navbar .nav-links { | |
| display: flex; | |
| gap: 20px; | |
| align-items: center; | |
| } | |
| .navbar .nav-links a { | |
| color: white; | |
| text-decoration: none; | |
| padding: 8px 16px; | |
| border-radius: 6px; | |
| transition: background 0.3s; | |
| } | |
| .navbar .nav-links a:hover { | |
| background: rgba(255,255,255,0.2); | |
| } | |
| .chat-container { | |
| flex: 1; | |
| display: flex; | |
| max-width: 1000px; | |
| margin: 2rem auto; | |
| background: white; | |
| border-radius: 8px; | |
| box-shadow: 0 1px 2px rgba(0,0,0,0.1); | |
| overflow: hidden; | |
| } | |
| .chat-sidebar { | |
| width: 300px; | |
| background: #f0f2f5; | |
| padding: 1.5rem; | |
| border-right: 1px solid #dadde1; | |
| } | |
| .chat-sidebar h3 { | |
| color: #1877f2; | |
| margin-bottom: 1rem; | |
| } | |
| .quick-questions { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 10px; | |
| } | |
| .quick-question { | |
| padding: 10px; | |
| background: white; | |
| border: 1px solid #dadde1; | |
| border-radius: 6px; | |
| cursor: pointer; | |
| transition: all 0.3s; | |
| font-size: 0.9rem; | |
| } | |
| .quick-question:hover { | |
| border-color: #1877f2; | |
| background: #e7f3ff; | |
| } | |
| .chat-main { | |
| flex: |