Spaces:
Running
Running
Upload components/Header.js with huggingface_hub
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263import React from 'react';
const Header = ({ currentMode, onModeChange, currentSession, onSessionChange, marketStatus, showNotification}) => { return ( <header className="h-16 border-b border-gray-700 flex items-center justify-between px-6 bg-gray-900"> <div className="flex items-center gap-3"> <div className="p-2 bg-blue-600/10 rounded-lg border border-blue-500/30"> <i className="fa-solid fa-chart-line text-blue-400 text-xl"></i> </div> <h1 className="font-semibold text-lg tracking-tight">ICT Antigravity</h1> <span className="px-2 py-0.5 text-xs font-medium bg-green-500/10 text-green-400 border border-green-500/20 rounded-full"> {marketStatus} </span> </div> <div className="flex items-center gap-4"> <div className="flex items-center gap-2"> <span className="text-sm text-gray-400">Mode:</span> <select value={currentMode} onChange={onModeChange} className="bg-gray-800 border border-gray-600 text-gray-200 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-24 p-1.5" > <option value="free">Free</option> <option value="paid">Paid</option> </select> </div> <div className="flex items-center gap-2"> <span className="text-sm text-gray-400">Session:</span> <select value={currentSession} onChange={onSessionChange} className="bg-gray-800 border border-gray-600 text-gray-200 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-32 p-1.5" > <option value="all">All Sessions</option> <option value="asian">Asian</option> <option value="london">London</option> <option value="ny">NY</option> <option value="overlap">Overlap</option> </select> </div> <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" rel="noopener noreferrer" className="text-xs font-medium text-gray-400 hover:text-blue-400 transition-colors flex items-center gap-2 px-3 py-1.5 rounded-full bg-gray-800 border border-gray-600 hover:border-blue-500/50 hover:bg-blue-500/10" > <span>anycoder</span> <i className="fa-solid fa-arrow-up-right-from-square text-[10px]"></i> </a> </div> </header> );};components/Header.jsAdded+63