Spaces:
Runtime error
Runtime error
Update templates/chat.html (Facebook Theme)
Browse files
templates/chat.html (Facebook Theme)
CHANGED
|
@@ -97,4 +97,104 @@
|
|
| 97 |
}
|
| 98 |
|
| 99 |
.chat-main {
|
| 100 |
-
flex:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
}
|
| 98 |
|
| 99 |
.chat-main {
|
| 100 |
+
flex:
|
| 101 |
+
<!DOCTYPE html>
|
| 102 |
+
<html lang="en">
|
| 103 |
+
<head>
|
| 104 |
+
<meta charset="UTF-8">
|
| 105 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 106 |
+
<title>ThutoAI - Chat Assistant</title>
|
| 107 |
+
<style>
|
| 108 |
+
* {
|
| 109 |
+
margin: 0;
|
| 110 |
+
padding: 0;
|
| 111 |
+
box-sizing: border-box;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
body {
|
| 115 |
+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
| 116 |
+
background: #f0f2f5;
|
| 117 |
+
height: 100vh;
|
| 118 |
+
display: flex;
|
| 119 |
+
flex-direction: column;
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
.navbar {
|
| 123 |
+
background: #1877f2;
|
| 124 |
+
color: white;
|
| 125 |
+
padding: 1rem 2rem;
|
| 126 |
+
display: flex;
|
| 127 |
+
justify-content: space-between;
|
| 128 |
+
align-items: center;
|
| 129 |
+
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
| 130 |
+
}
|
| 131 |
+
|
| 132 |
+
.navbar .logo {
|
| 133 |
+
font-size: 24px;
|
| 134 |
+
font-weight: bold;
|
| 135 |
+
}
|
| 136 |
+
|
| 137 |
+
.navbar .nav-links {
|
| 138 |
+
display: flex;
|
| 139 |
+
gap: 20px;
|
| 140 |
+
align-items: center;
|
| 141 |
+
}
|
| 142 |
+
|
| 143 |
+
.navbar .nav-links a {
|
| 144 |
+
color: white;
|
| 145 |
+
text-decoration: none;
|
| 146 |
+
padding: 8px 16px;
|
| 147 |
+
border-radius: 6px;
|
| 148 |
+
transition: background 0.3s;
|
| 149 |
+
}
|
| 150 |
+
|
| 151 |
+
.navbar .nav-links a:hover {
|
| 152 |
+
background: rgba(255,255,255,0.2);
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
+
.chat-container {
|
| 156 |
+
flex: 1;
|
| 157 |
+
display: flex;
|
| 158 |
+
max-width: 1000px;
|
| 159 |
+
margin: 2rem auto;
|
| 160 |
+
background: white;
|
| 161 |
+
border-radius: 8px;
|
| 162 |
+
box-shadow: 0 1px 2px rgba(0,0,0,0.1);
|
| 163 |
+
overflow: hidden;
|
| 164 |
+
}
|
| 165 |
+
|
| 166 |
+
.chat-sidebar {
|
| 167 |
+
width: 300px;
|
| 168 |
+
background: #f0f2f5;
|
| 169 |
+
padding: 1.5rem;
|
| 170 |
+
border-right: 1px solid #dadde1;
|
| 171 |
+
}
|
| 172 |
+
|
| 173 |
+
.chat-sidebar h3 {
|
| 174 |
+
color: #1877f2;
|
| 175 |
+
margin-bottom: 1rem;
|
| 176 |
+
}
|
| 177 |
+
|
| 178 |
+
.quick-questions {
|
| 179 |
+
display: flex;
|
| 180 |
+
flex-direction: column;
|
| 181 |
+
gap: 10px;
|
| 182 |
+
}
|
| 183 |
+
|
| 184 |
+
.quick-question {
|
| 185 |
+
padding: 10px;
|
| 186 |
+
background: white;
|
| 187 |
+
border: 1px solid #dadde1;
|
| 188 |
+
border-radius: 6px;
|
| 189 |
+
cursor: pointer;
|
| 190 |
+
transition: all 0.3s;
|
| 191 |
+
font-size: 0.9rem;
|
| 192 |
+
}
|
| 193 |
+
|
| 194 |
+
.quick-question:hover {
|
| 195 |
+
border-color: #1877f2;
|
| 196 |
+
background: #e7f3ff;
|
| 197 |
+
}
|
| 198 |
+
|
| 199 |
+
.chat-main {
|
| 200 |
+
flex:
|