Spaces:
Running
Running
gpt-engineer-app[bot]
commited on
Commit
·
ee1fd05
1
Parent(s):
5889436
Refactor: Update header to match HF style
Browse filesUpdate the header to include the Hugging Face logo and a similar search bar, aligning the design with other Hugging Face pages.
- src/components/Header.tsx +10 -2
src/components/Header.tsx
CHANGED
|
@@ -6,12 +6,20 @@ const Header = () => {
|
|
| 6 |
<header className="w-full py-6 px-4 sm:px-6 lg:px-8 bg-white shadow-sm animate-fade-in">
|
| 7 |
<div className="max-w-7xl mx-auto">
|
| 8 |
<div className="flex items-center justify-between">
|
| 9 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
<div className="relative w-full max-w-md ml-4">
|
| 11 |
<input
|
| 12 |
type="text"
|
| 13 |
placeholder="Search conferences..."
|
| 14 |
-
className="w-full pl-10 pr-4 py-2 border border-neutral-
|
| 15 |
/>
|
| 16 |
<Search className="absolute left-3 top-2.5 h-5 w-5 text-neutral" />
|
| 17 |
</div>
|
|
|
|
| 6 |
<header className="w-full py-6 px-4 sm:px-6 lg:px-8 bg-white shadow-sm animate-fade-in">
|
| 7 |
<div className="max-w-7xl mx-auto">
|
| 8 |
<div className="flex items-center justify-between">
|
| 9 |
+
<div className="flex items-center space-x-3">
|
| 10 |
+
<img
|
| 11 |
+
src="https://huggingface.co/front/assets/huggingface_logo.svg"
|
| 12 |
+
alt="Hugging Face Logo"
|
| 13 |
+
className="h-8 w-auto"
|
| 14 |
+
/>
|
| 15 |
+
<div className="h-6 w-px bg-neutral-200 mx-2" />
|
| 16 |
+
<h1 className="text-2xl font-bold text-neutral-dark">AI Deadlines</h1>
|
| 17 |
+
</div>
|
| 18 |
<div className="relative w-full max-w-md ml-4">
|
| 19 |
<input
|
| 20 |
type="text"
|
| 21 |
placeholder="Search conferences..."
|
| 22 |
+
className="w-full pl-10 pr-4 py-2 border border-neutral-200 rounded-lg focus:outline-none focus:border-primary focus:ring-1 focus:ring-primary bg-neutral-50"
|
| 23 |
/>
|
| 24 |
<Search className="absolute left-3 top-2.5 h-5 w-5 text-neutral" />
|
| 25 |
</div>
|