feat: add configurable URL

This commit is contained in:
Tat Dat Duong
2025-03-04 17:38:33 +01:00
parent 2ef143e8ab
commit ce4c785e91
5 changed files with 160 additions and 9 deletions

View File

@@ -137,7 +137,9 @@ export function Thread() {
onClick={() => setThreadId(null)}
>
<LangGraphLogoSVG width={32} height={32} />
<span className="text-xl font-medium">LangGraph Chat</span>
<span className="text-xl font-semibold tracking-tight">
LangGraph Chat
</span>
</button>
<TooltipIconButton
@@ -192,7 +194,9 @@ export function Thread() {
{!threadId && (
<div className="flex gap-3 items-center">
<LangGraphLogoSVG className="flex-shrink-0 h-8" />
<h1 className="text-2xl font-medium">LangGraph Chat</h1>
<h1 className="text-2xl font-semibold tracking-tight">
LangGraph Chat
</h1>
</div>
)}

View File

@@ -0,0 +1,22 @@
import * as React from "react";
import * as LabelPrimitive from "@radix-ui/react-label";
import { cn } from "@/lib/utils";
function Label({
className,
...props
}: React.ComponentProps<typeof LabelPrimitive.Root>) {
return (
<LabelPrimitive.Root
data-slot="label"
className={cn(
"flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
className,
)}
{...props}
/>
);
}
export { Label };