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 7979}
8080
8181.dark {
82- --background : oklch (0.129 0.042 264.695 );
82+ --background : oklch (0.14 0 0 );
8383 --foreground : oklch (0.984 0.003 247.858 );
8484 --card : oklch (0.208 0.042 265.755 );
8585 --card-foreground : oklch (0.984 0.003 247.858 );
9090 --secondary : oklch (0.279 0.041 260.031 );
9191 --secondary-foreground : oklch (0.984 0.003 247.858 );
9292 --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 );
9494 --accent : oklch (0.279 0.041 260.031 );
9595 --accent-foreground : oklch (0.984 0.003 247.858 );
9696 --destructive : oklch (0.704 0.191 22.216 );
97- --border : oklch (1 0 0 / 10 % );
97+ --border : oklch (0.27 0.01 0 );
9898 --input : oklch (1 0 0 / 15% );
9999 --ring : oklch (0.551 0.027 264.364 );
100100 --chart-1 : oklch (0.488 0.243 264.376 );
Original file line number Diff line number Diff line change 11import { 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 " ;
44
55export default function Home ( ) {
66 return (
@@ -12,30 +12,3 @@ export default function Home() {
1212 </ ChatProvider >
1313 ) ;
1414}
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({
175175 </ div >
176176
177177 < div className = "flex items-center justify-between p-4" >
178- < TabsList >
178+ < TabsList className = "bg-transparent" >
179179 < TabsTrigger
180180 value = "text"
181181 onClick = { ( ) => {
You can’t perform that action at this time.
0 commit comments