import React from 'react'; import { User, Search, ...
Prompt
import React from 'react'; import { User, Search, Menu, Shield, FileText, PlaneTakeoff, TowerControl, AlertTriangle, Keyboard, Bell, Home } from 'lucide-react'; const Header = () => { return ( <header className="fixed top-0 left-0 right-0 z-[5000] font-sans"> {/* Desktop Header */} <div className="hidden md:flex items-center justify-between px-6 pointer-events-none h-24 bg-gradient-to-b from-black/80 via-black/40 to-transparent"> {/* Left: Menu Button */} <div className="flex items-center gap-4 pointer-events-auto"> <button id="menu-button" type="button" className="p-2 hover:bg-white/10 rounded-full transition-colors flex flex-col items-center gap-1" > <Menu className="w-6 h-6 text-white" /> </button> </div> {/* Center: Logo & Live Stats */} <div className="flex items-center gap-3 pointer-events-auto absolute left-1/2 -translate-x-1/2 top-2"> <div className="flex flex-col items-center gap-1 select-none"> <div className="flex items-center gap-2 cursor-pointer"> <img src="/logo.png" alt="TEST Header Logo" className="w-8 h-8 object-contain rounded-full shadow-sm bg-white p-[1px]" /> <div className="flex flex-col items-start leading-none mt-1"> <span className="text-2xl md:text-[26px] font-bold tracking-tighter text-white flex items-center gap-0" style={{ fontFamily: 'Arial, sans-serif' }} > TEST<span className="text-[#f6be00] ml-[4px]">Header</span> </span> <span className="text-[#f6be00] text-[8px] font-bold uppercase tracking-[0.1em] ml-[1px] mt-0.5"> Live Air Traffic </span> </div> </div> <div className="pointer-events-auto mt-1 flex items-center gap-3 drop-shadow-[0_1px_4px_rgba(0,0,0,1)]"> <div className="flex items-center gap-1" title="Pilots online"> <PlaneTakeoff size={13} className="text-[#f6be00]" /> <span className="text-[12px] font-bold tabular-nums text-white">0</span> </div> <div className="flex items-center gap-1" title="ATC online"> <TowerControl size={13} className="text-[#f6be00]" /> <span className="text-[12px] font-bold tabular-nums text-white">0</span> </div> <div className="flex items-center gap-1" title="Active emergencies"> <AlertTriangle size={13} className="text-[#f6be00]" /> <span className="text-[12px] font-bold tabular-nums text-white">0</span> </div> </div> </div> </div> {/* Right: Keys, Search, Navigation & Account */} <div className="flex items-center gap-2 pointer-events-auto"> <button type="button" className="p-2 hover:bg-white/10 rounded-sm transition-colors text-white/70 hover:text-white flex flex-col items-center gap-0.5" title="Keyboard Shortcuts" > <Keyboard size={20} /> <span className="text-[9px] font-bold uppercase tracking-tight">Keys</span> </button> <div className="hidden lg:block w-72 relative mr-4" id="search-container"> <div className="relative group"> <input type="text" placeholder="Find flights, airports and more" className="w-full border rounded-sm py-2 pl-10 pr-4 text-[13px] bg-white border-[#ccc] text-black placeholder:text-[#888] focus:outline-none focus:ring-1 focus:ring-[#f6be00] transition-all shadow-sm" /> <Search className="absolute left-3 top-1/2 -translate-y-1/2 w-[18px] h-[18px] text-[#888]" /> </div> </div> <div className="hidden lg:flex items-center gap-2"> <button id="header-notifs-button" type="button" className="flex flex-col items-center transition-colors text-white/80 hover:text-white gap-0.5 p-1.5 hover:bg-white/10 rounded-sm" title="Notifications Center" > <Bell className="w-5 h-5" /> <span className="text-[9px] font-bold uppercase tracking-tight">ALERTS</span> </button> <button id="pp-button" type="button" className="flex flex-col items-center transition-colors text-white/80 hover:text-white gap-0.5 p-1.5 hover:bg-white/10 rounded-sm" title="Privacy Policy" > <Shield className="w-5 h-5" /> <span className="text-[9px] font-bold uppercase tracking-tight">PP</span> </button> <button id="tos-button" type="button" className="flex flex-col items-center transition-colors text-white/80 hover:text-white gap-0.5 p-1.5 hover:bg-white/10 rounded-sm" title="Terms of Service" > <FileText className="w-5 h-5" /> <span className="text-[9px] font-bold uppercase tracking-tight">TOS</span> </button> <button id="home-button" type="button" className="flex flex-col items-center transition-colors text-white/80 hover:text-white gap-0.5 p-1.5 hover:bg-white/10 rounded-sm" title="Back to Home" > <Home className="w-5 h-5" /> <span className="text-[9px] font-bold uppercase tracking-tight">HOME</span> </button> </div> <div className="relative"> <button type="button" className="flex flex-col items-center gap-2 p-1.5 hover:bg-white/10 rounded-sm transition-colors" > <div className="w-[30px] h-[30px] bg-[#2b2b2b] rounded-sm flex items-center justify-center border border-white/10"> <User className="w-4 h-4 text-white" /> </div> </button> </div> </div> </div> {/* Mobile Header */} <div className="md:hidden flex items-center justify-between px-4 h-[68px] bg-[#1a1a1ae6] backdrop-blur-lg border-b border-white/10 pointer-events-auto"> {/* Left: Account */} <button type="button" className="flex flex-col items-center gap-0.5 text-white/90" > <User size={24} /> <span className="text-[9px] font-black uppercase tracking-tighter">Account</span> </button> {/* Center: Search */} <div className="flex-1 mx-3 relative"> <div className="relative group"> <div className="absolute left-3 top-1/2 -translate-y-1/2 flex items-center gap-2 pointer-events-none"> <Search size={16} className="text-gray-400" /> </div> <div className="absolute inset-0 flex items-center justify-center pointer-events-none"> <span className="text-gray-400 font-bold text-sm tracking-tighter uppercase"> TEST <span className="text-[#f6be00]">Header</span> </span> </div> <input type="text" className="w-full bg-white rounded-md py-2 pl-10 pr-4 text-sm text-black font-medium focus:outline-none h-[38px] shadow-inner text-center" placeholder=" " /> </div> </div> {/* Right: Menu */} <div className="w-[60px] flex justify-end"> <button type="button" className="p-2 text-white/90 hover:bg-white/10 rounded-full transition-colors" > <Menu size={28} /> </button> </div> </div> </header> ); }; export default Header; Please decorate it beautifully for christmas, infinite animation, non-ai slop look, beautiful cool.
Response not available
Response not available
Response not available
Response not available