|
9 | 9 | Search, |
10 | 10 | FileText, |
11 | 11 | BarChart3Icon as Diagram3, |
| 12 | + HelpCircle, |
12 | 13 | } from "lucide-react"; |
13 | 14 | import { Button } from "@/components/ui/button"; |
14 | 15 | import { Alert, AlertDescription } from "@/components/ui/alert"; |
@@ -75,28 +76,27 @@ export default function ChatPage() { |
75 | 76 | {/* Header */} |
76 | 77 | <div className="mb-4 flex-shrink-0"> |
77 | 78 | <div className="flex items-center justify-between mb-1"> |
78 | | - <h1 className="text-2xl font-bold text-slate-900">AI Assistant</h1> |
79 | | - <Button |
80 | | - variant="outline" |
81 | | - size="sm" |
82 | | - onClick={() => setShowOnboarding(true)} |
83 | | - className="flex items-center gap-2" |
84 | | - > |
85 | | - <MessageSquare className="h-4 w-4" /> |
86 | | - How to Use |
87 | | - </Button> |
| 79 | + <div className="flex items-center gap-4 w-full"> |
| 80 | + {/* Warning Alert - takes most of the space */} |
| 81 | + <Alert className="border-amber-200 bg-amber-50 py-2 flex-1"> |
| 82 | + <AlertDescription className="text-amber-800 text-sm"> |
| 83 | + <strong>⚠️ Important:</strong> Responses are AI generated and may contain errors, or hallucinations. |
| 84 | + </AlertDescription> |
| 85 | + </Alert> |
| 86 | + |
| 87 | + <Button |
| 88 | + variant="outline" |
| 89 | + size="sm" |
| 90 | + onClick={() => setShowOnboarding(true)} |
| 91 | + className="flex items-center gap-2 flex-shrink-0" |
| 92 | + > |
| 93 | + <HelpCircle className="h-4 w-4" /> |
| 94 | + How to Use |
| 95 | + </Button> |
| 96 | + </div> |
88 | 97 | </div> |
89 | 98 | </div> |
90 | 99 |
|
91 | | - {/* Persistent Warning */} |
92 | | - <div className="mb-3 flex-shrink-0"> |
93 | | - <Alert className="border-amber-200 bg-amber-50 py-2"> |
94 | | - <AlertDescription className="text-amber-800 text-sm"> |
95 | | - <strong>⚠️ Important:</strong> Responses are AI generated and may contain errors, or hallucinations. |
96 | | - </AlertDescription> |
97 | | - </Alert> |
98 | | - </div> |
99 | | - |
100 | 100 | {/* Chat Interface - takes remaining space */} |
101 | 101 | <div className="flex-1 w-full min-h-0"> |
102 | 102 | <ChatBox |
|
0 commit comments