function Header() { | |
return ( | |
<header className="bg-white shadow-sm border-b"> | |
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
<div className="flex items-center justify-center h-16"> | |
<div className="flex items-center space-x-3"> | |
<div className="w-8 h-8 bg-gradient-to-r from-blue-500 to-indigo-600 rounded-lg flex items-center justify-center"> | |
<svg | |
className="w-5 h-5 text-white" | |
fill="currentColor" | |
viewBox="0 0 20 20" | |
> | |
<path | |
fillRule="evenodd" | |
d="M12.316 3.051a1 1 0 01.633 1.265l-4 12a1 1 0 11-1.898-.632l4-12a1 1 0 011.265-.633zM5.707 6.293a1 1 0 010 1.414L3.414 10l2.293 2.293a1 1 0 11-1.414 1.414l-3-3a1 1 0 010-1.414l3-3a1 1 0 011.414 0zm8.586 0a1 1 0 011.414 0l3 3a1 1 0 010 1.414l-3 3a1 1 0 11-1.414-1.414L16.586 10l-2.293-2.293a1 1 0 010-1.414z" | |
clipRule="evenodd" | |
/> | |
</svg> | |
</div> | |
<div> | |
<h1 className="text-xl font-bold text-gray-900"> | |
Transformers.js Playground | |
</h1> | |
<p className="text-sm text-gray-500"> | |
Run Hugging Face models in your browser | |
</p> | |
</div> | |
</div> | |
</div> | |
</div> | |
</header> | |
); | |
} | |
export default Header; | |