'use client' import Link from 'next/link' import { usePathname } from 'next/navigation' import { Settings, Sparkles, Palette, User, Database, Info, Check } from 'lucide-react' import { cn } from '@/lib/utils' interface SettingsSection { id: string label: string icon: React.ReactNode href: string } interface SettingsNavProps { className?: string } export function SettingsNav({ className }: SettingsNavProps) { const pathname = usePathname() const sections: SettingsSection[] = [ { id: 'general', label: 'General', icon: , href: '/settings/general' }, { id: 'ai', label: 'AI', icon: , href: '/settings/ai' }, { id: 'appearance', label: 'Appearance', icon: , href: '/settings/appearance' }, { id: 'profile', label: 'Profile', icon: , href: '/settings/profile' }, { id: 'data', label: 'Data', icon: , href: '/settings/data' }, { id: 'about', label: 'About', icon: , href: '/settings/about' } ] const isActive = (href: string) => pathname === href || pathname.startsWith(href + '/') return ( ) }