'use client' import Link from 'next/link' import { usePathname } from 'next/navigation' import { useAuth } from '../contexts/AuthContext' export default function Navigation() { const { isAuthenticated, logout } = useAuth() const pathname = usePathname() if (pathname === '/login' || pathname === '/dashboard') { return null } return ( ) }