- Introduced Form, FormField, FormItem, FormLabel, FormControl, FormDescription, FormMessage components for structured form handling. - Added Input, Textarea, and Select components for user input. - Implemented Label and Separator components for better UI organization. - Created Skeleton component for loading states. - Developed Toast and Toaster components for user notifications. - Integrated useToast hook for managing toast notifications. - Established AI analysis functionality with analyzeJournalWithLocalAI. - Set up Dexie for local database management with Journal and Task models. - Configured Supabase client for server-side and browser-side interactions. - Defined database schema for journals, tasks, chat sessions, and messages with Row Level Security policies. Co-authored-by: Copilot <copilot@github.com>
20 lines
630 B
TypeScript
20 lines
630 B
TypeScript
"use client";
|
||
|
||
import { User } from "lucide-react";
|
||
|
||
export function Header() {
|
||
return (
|
||
<header className="h-16 border-b border-border bg-background flex items-center justify-between px-6 shrink-0">
|
||
<div className="text-sm text-muted-foreground font-medium">
|
||
Kişisel Odak Alanı
|
||
</div>
|
||
<div className="flex items-center gap-3">
|
||
<div className="text-sm font-medium">Lokal Kullanıcı</div>
|
||
<div className="flex items-center justify-center h-9 w-9 bg-muted text-muted-foreground rounded-full">
|
||
<User className="h-5 w-5" />
|
||
</div>
|
||
</div>
|
||
</header>
|
||
);
|
||
}
|