"use client";
import React from 'react';
import { useStore } from '@/lib/store';
import { Sparkles, LayoutGrid, Clock, Settings, User } from 'lucide-react';
import { cn } from '@/lib/utils';
import { motion } from 'framer-motion';
export function Navbar() {
const { currentView, setCurrentView, setSelectionMode } = useStore();
const navItems = [
{ id: 'gallery', label: 'Create', icon: Sparkles },
{ id: 'library', label: 'Prompt Library', icon: LayoutGrid },
{ id: 'history', label: 'Uploads', icon: Clock }, // CORRECTED: id should match store ViewType 'history' not 'uploads'
];
return (
{/* Yellow Accent Line */}
{/* Logo Area */}
{/* Center Navigation */}
{navItems.map((item) => (
))}
{/* Right Actions */}
);
}