'use client' import * as React from 'react' import Link from 'next/link' import { usePathname } from 'next/navigation' import { Bot, FileText, ArrowLeft, Code2, Key } from 'lucide-react' import { cn } from '@/lib/utils' import { useAuthStore } from '@/stores/auth' import { LucideIcon } from 'lucide-react' interface NavItem { href: string label: string icon: LucideIcon exact?: boolean } interface Section { label: string items: NavItem[] } const SECTIONS: Section[] = [ { label: 'Configuration', items: [ { href: '/developer', label: 'Models', icon: Bot, exact: true }, { href: '/developer/providers', label: 'Provider Keys', icon: Key }, ], }, { label: 'Prompts', items: [ { href: '/developer/prompts', label: 'System Prompts', icon: FileText }, ], }, ] export function DeveloperSidebar() { const pathname = usePathname() const { user } = useAuthStore() return ( ) }