Spaces:
Running
Running
Upload components/Header.js with huggingface_hub
Browse files1234567891011121314151617181920212223242526272829import { Activity, BrainCircuit, Globe } from 'lucide-react'export default function Header({ isConnected }) {return (<header className="border-b border-dark-700 bg-dark-900/50 backdrop-blur-md sticky top-0 z-50"><div className="container mx-auto px-4 h-16 flex items-center justify-between"><div className="flex items-center space-x-3"><div className="bg-primary-600 p-2 rounded-lg"><BrainCircuit className="w-6 h-6 text-white" /></div><div><h1 className="text-xl font-bold text-white">AI Trader <span className="text-primary-400">Live</span></h1><p className="text-xs text-dark-400">Real-time Market Data Engine</p></div></div><div className="flex items-center space-x-4"><div className="hidden md:flex items-center space-x-2 text-sm text-dark-400 bg-dark-800 px-3 py-1.5 rounded-full border border-dark-700"><Globe className={`w-4 h-4 ${isConnected ? 'text-success' : 'text-danger'}`} /><span>Source: <span className="text-white font-medium">CoinGecko API</span></span></div><ahref="https://huggingface.co/spaces/akhaliq/anycoder"target="_blank"rel="noopener noreferrer"className="text-xs text-dark-500 hover:text-primary-400 transition-colors">Built with anycoder</a>1234567891011121314151617181920212223242526272829import { Activity, BrainCircuit } from 'lucide-react'export default function Header() {return (<header className="border-b border-white/5 bg-dark-900/80 backdrop-blur-md sticky top-0 z-50"><div className="container mx-auto px-4 h-16 flex items-center justify-between"><div className="flex items-center space-x-3"><div className="bg-gradient-to-br from-primary-600 to-indigo-600 p-2 rounded-xl shadow-lg shadow-primary-500/20"><BrainCircuit className="w-6 h-6 text-white" /></div><div><h1 className="text-lg font-bold text-white tracking-tight">ITC Engine <span className="text-primary-400">Pro</span></h1><p className="text-[10px] text-dark-400 uppercase tracking-wider font-semibold">AI Trading System</p></div></div><div className="flex items-center space-x-6"><div className="hidden md:flex items-center space-x-2 text-xs font-medium text-dark-400 bg-dark-800/50 px-3 py-1.5 rounded-full border border-white/5"><div className="w-2 h-2 rounded-full bg-success animate-pulse"></div><span>System Online</span></div><ahref="https://huggingface.co/spaces/akhaliq/anycoder"target="_blank"rel="noopener noreferrer"className="text-xs font-medium text-dark-500 hover:text-primary-400 transition-colors">Built with anycoder</a>
components/Header.js+11-11