Spaces:
Sleeping
Sleeping
axeronis commited on
Commit ·
cbc4965
1
Parent(s): 17ddac1
ux: rename demo-chat to орректировка and improve messaging
Browse files
frontend/app/demo-chat/page.tsx
CHANGED
|
@@ -319,9 +319,10 @@ export default function DemoChatPage() {
|
|
| 319 |
<Bot className="w-4 h-4 text-white" />
|
| 320 |
</div>
|
| 321 |
<div>
|
| 322 |
-
<h1 className="font-semibold text-white text-sm">
|
| 323 |
-
<p className="text-[10px] text-white/40 hidden sm:block">
|
| 324 |
</div>
|
|
|
|
| 325 |
</div>
|
| 326 |
|
| 327 |
<div className="flex items-center gap-2">
|
|
@@ -344,11 +345,12 @@ export default function DemoChatPage() {
|
|
| 344 |
<div className="w-14 h-14 rounded-2xl bg-gradient-to-br from-violet-600/20 to-purple-600/20 flex items-center justify-center mb-3">
|
| 345 |
<Sparkles className="w-7 h-7 text-violet-400" />
|
| 346 |
</div>
|
| 347 |
-
<h3 className="text-lg font-semibold text-white mb-1">
|
| 348 |
<p className="text-xs text-white/40 max-w-[280px] mb-5">
|
| 349 |
-
|
| 350 |
</p>
|
| 351 |
|
|
|
|
| 352 |
<div className="grid gap-2 w-full max-w-[280px]">
|
| 353 |
<button
|
| 354 |
onClick={() => setInput('Привет!')}
|
|
|
|
| 319 |
<Bot className="w-4 h-4 text-white" />
|
| 320 |
</div>
|
| 321 |
<div>
|
| 322 |
+
<h1 className="font-semibold text-white text-sm">Корректировка AI</h1>
|
| 323 |
+
<p className="text-[10px] text-white/40 hidden sm:block">Обучите AI отвечать правильно</p>
|
| 324 |
</div>
|
| 325 |
+
|
| 326 |
</div>
|
| 327 |
|
| 328 |
<div className="flex items-center gap-2">
|
|
|
|
| 345 |
<div className="w-14 h-14 rounded-2xl bg-gradient-to-br from-violet-600/20 to-purple-600/20 flex items-center justify-center mb-3">
|
| 346 |
<Sparkles className="w-7 h-7 text-violet-400" />
|
| 347 |
</div>
|
| 348 |
+
<h3 className="text-lg font-semibold text-white mb-1">Обучите AI</h3>
|
| 349 |
<p className="text-xs text-white/40 max-w-[280px] mb-5">
|
| 350 |
+
Напишите сообщение как клиент, проверьте ответ. Если не нравится — нажмите 🪄 и опишите как исправить.
|
| 351 |
</p>
|
| 352 |
|
| 353 |
+
|
| 354 |
<div className="grid gap-2 w-full max-w-[280px]">
|
| 355 |
<button
|
| 356 |
onClick={() => setInput('Привет!')}
|
frontend/components/Sidebar.tsx
CHANGED
|
@@ -215,9 +215,10 @@ export function Sidebar() {
|
|
| 215 |
className="w-full flex items-center gap-3 px-4 py-3 text-sm font-medium text-purple-400 hover:text-purple-300 bg-purple-500/10 hover:bg-purple-500/20 rounded-xl border border-purple-500/20 transition-all group"
|
| 216 |
>
|
| 217 |
<Bot className="w-5 h-5" />
|
| 218 |
-
<span>
|
| 219 |
</Link>
|
| 220 |
|
|
|
|
| 221 |
</motion.div>
|
| 222 |
)}
|
| 223 |
|
|
|
|
| 215 |
className="w-full flex items-center gap-3 px-4 py-3 text-sm font-medium text-purple-400 hover:text-purple-300 bg-purple-500/10 hover:bg-purple-500/20 rounded-xl border border-purple-500/20 transition-all group"
|
| 216 |
>
|
| 217 |
<Bot className="w-5 h-5" />
|
| 218 |
+
<span>Корректировка</span>
|
| 219 |
</Link>
|
| 220 |
|
| 221 |
+
|
| 222 |
</motion.div>
|
| 223 |
)}
|
| 224 |
|