This commit is contained in:
2026-03-19 00:48:37 +01:00
parent 184f4fb542
commit 2cf699c276
3 changed files with 31 additions and 3 deletions

View File

@@ -26,8 +26,18 @@ export function Header() {
<div className="max-w-6xl mx-auto px-6 h-16 flex items-center justify-between">
<a
href="#hero"
className="font-heading font-bold text-lg tracking-tight text-white hover:text-accent transition-colors"
className="flex items-center gap-2.5 font-heading font-bold text-lg tracking-tight text-white hover:text-accent transition-colors group"
>
<svg width="26" height="26" viewBox="0 0 32 32" fill="none" className="shrink-0">
<rect width="32" height="32" rx="5" fill="#09090b"/>
<rect x="0.5" y="0.5" width="31" height="31" rx="4.5" stroke="#22d3ee" strokeOpacity="0.3"/>
<path d="M3.5 9.5 L1.5 12 L3.5 14.5" stroke="#22d3ee" strokeOpacity="0.5" strokeWidth="1.25" strokeLinecap="round" strokeLinejoin="round"/>
<line x1="26.5" y1="18" x2="25" y2="23" stroke="#22d3ee" strokeOpacity="0.5" strokeWidth="1.25" strokeLinecap="round"/>
<path d="M28.5 18 L30.5 20.5 L28.5 23" stroke="#22d3ee" strokeOpacity="0.5" strokeWidth="1.25" strokeLinecap="round" strokeLinejoin="round"/>
<path d="M16 5 L7 27" stroke="#22d3ee" strokeWidth="2.5" strokeLinecap="round"/>
<path d="M16 5 L25 27" stroke="#22d3ee" strokeWidth="2.5" strokeLinecap="round"/>
<line x1="10.5" y1="19" x2="21.5" y2="19" stroke="#22d3ee" strokeWidth="2" strokeLinecap="round"/>
</svg>
Alexander<span className="text-accent">.</span>
</a>

View File

@@ -13,7 +13,7 @@ export async function fetchHrGuestToken(): Promise<string> {
}
export async function createChat(token: string): Promise<string> {
const response = await fetch(`${BASE_URL}/api/rag/chats`, {
const response = await fetch(`${BASE_URL}/api/rag/chat/new`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
@@ -41,7 +41,7 @@ export function streamChatQuery(
): () => void {
const controller = new AbortController()
fetch(`${BASE_URL}/api/rag/chats/${chatId}/query`, {
fetch(`${BASE_URL}/api/rag/entry/${chatId}`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',