File tree Expand file tree Collapse file tree 3 files changed +6
-33
lines changed Expand file tree Collapse file tree 3 files changed +6
-33
lines changed Original file line number Diff line number Diff line change 79
79
}
80
80
81
81
.dark {
82
- --background : oklch (0.129 0.042 264.695 );
82
+ --background : oklch (0.14 0 0 );
83
83
--foreground : oklch (0.984 0.003 247.858 );
84
84
--card : oklch (0.208 0.042 265.755 );
85
85
--card-foreground : oklch (0.984 0.003 247.858 );
90
90
--secondary : oklch (0.279 0.041 260.031 );
91
91
--secondary-foreground : oklch (0.984 0.003 247.858 );
92
92
--muted : oklch (0.279 0.041 260.031 );
93
- --muted-foreground : oklch (0.704 0.04 256.788 );
93
+ --muted-foreground : oklch (0.7118 0.0129 286.07 );
94
94
--accent : oklch (0.279 0.041 260.031 );
95
95
--accent-foreground : oklch (0.984 0.003 247.858 );
96
96
--destructive : oklch (0.704 0.191 22.216 );
97
- --border : oklch (1 0 0 / 10 % );
97
+ --border : oklch (0.27 0.01 0 );
98
98
--input : oklch (1 0 0 / 15% );
99
99
--ring : oklch (0.551 0.027 264.364 );
100
100
--chart-1 : oklch (0.488 0.243 264.376 );
Original file line number Diff line number Diff line change 1
1
import { Chat } from "@/components/chat" ;
2
- import { ChatProvider , useChat } from "@/components/chat-provider" ;
3
- import { ModeToggle } from "@/components/mode-toggle " ;
2
+ import { ChatProvider } from "@/components/chat-provider" ;
3
+ import { Header } from "./header " ;
4
4
5
5
export default function Home ( ) {
6
6
return (
@@ -12,30 +12,3 @@ export default function Home() {
12
12
</ ChatProvider >
13
13
) ;
14
14
}
15
-
16
- function Header ( ) {
17
- const { serverStatus } = useChat ( ) ;
18
-
19
- return (
20
- < header className = "p-4 flex items-center justify-between border-b" >
21
- < span className = "font-bold" > AgentAPI Chat</ span >
22
-
23
- < div className = "flex items-center gap-4" >
24
- { serverStatus !== "unknown" && (
25
- < div className = "flex items-center gap-2 text-sm font-medium" >
26
- < span
27
- className = { `text-secondary w-2 h-2 rounded-full ${
28
- [ "offline" , "unknown" ] . includes ( serverStatus )
29
- ? "bg-red-500 ring-2 ring-red-500/35"
30
- : "bg-green-500 ring-2 ring-green-500/35"
31
- } `}
32
- />
33
- < span className = "sr-only" > Status:</ span >
34
- < span className = "first-letter:uppercase" > { serverStatus } </ span >
35
- </ div >
36
- ) }
37
- < ModeToggle />
38
- </ div >
39
- </ header >
40
- ) ;
41
- }
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ export default function MessageInput({
175
175
</ div >
176
176
177
177
< div className = "flex items-center justify-between p-4" >
178
- < TabsList >
178
+ < TabsList className = "bg-transparent" >
179
179
< TabsTrigger
180
180
value = "text"
181
181
onClick = { ( ) => {
You can’t perform that action at this time.
0 commit comments