"use client" import React, { useState, useEffect } from 'react' import Link from 'next/link' import { usePathname } from 'next/navigation' const navItems = [ { name: 'Overview', href: '/', icon: '🏠', description: 'Dashboard overview' }, { name: 'Analysis', href: '/analysis', icon: '📊', description: 'AI analysis & insights' }, { name: 'Trading', href: '/trading', icon: '💰', description: 'Execute trades' }, { name: 'Chart Trading', href: '/chart-trading-demo', icon: '📈', description: 'Advanced chart trading' }, { name: 'Automation', href: '/automation-v2', icon: '🤖', description: 'Auto-trading settings' }, { name: 'AI Learning', href: '/complete-learning', icon: '🧠', description: 'Complete AI learning system' }, { name: 'Settings', href: '/settings', icon: '⚙️', description: 'Developer settings' } ] export default function Navigation() { const pathname = usePathname() const [mounted, setMounted] = useState(false) useEffect(() => { setMounted(true) }, []) return ( ) }