Spaces:
Build error
Build error
Mehdi commited on
Upload components/Header.jsx with huggingface_hub
Browse files- components/Header.jsx +9 -18
components/Header.jsx
CHANGED
|
@@ -1,20 +1,20 @@
|
|
| 1 |
import Link from 'next/link'
|
| 2 |
-
import { FiGithub, FiTwitter, FiBook, FiCode, FiCpu } from 'react-icons/fi'
|
| 3 |
|
| 4 |
export default function Header() {
|
| 5 |
return (
|
| 6 |
-
<header className="bg-
|
| 7 |
<div className="container mx-auto px-4 py-3 flex justify-between items-center">
|
| 8 |
<div className="flex items-center space-x-2">
|
| 9 |
-
<FiCode className="text-2xl" />
|
| 10 |
<h1 className="text-xl font-bold">
|
| 11 |
<Link href="/" className="hover:text-gray-200 transition-colors">
|
| 12 |
-
|
| 13 |
</Link>
|
| 14 |
</h1>
|
| 15 |
</div>
|
| 16 |
-
<div className="flex items-center space-x-
|
| 17 |
-
<
|
| 18 |
<Link href="/editor" className="hover:text-gray-200 transition-colors flex items-center space-x-1">
|
| 19 |
<FiCpu className="text-sm" />
|
| 20 |
<span>Editor</span>
|
|
@@ -27,26 +27,17 @@ export default function Header() {
|
|
| 27 |
<FiCode className="text-sm" />
|
| 28 |
<span>Docs</span>
|
| 29 |
</Link>
|
| 30 |
-
</
|
| 31 |
<div className="flex items-center space-x-4">
|
| 32 |
<Link
|
| 33 |
-
href="https://github.com"
|
| 34 |
className="hover:text-gray-200 transition-colors"
|
| 35 |
target="_blank"
|
| 36 |
rel="noopener noreferrer"
|
| 37 |
-
title="GitHub"
|
| 38 |
>
|
| 39 |
<FiGithub className="text-xl" />
|
| 40 |
</Link>
|
| 41 |
-
<Link
|
| 42 |
-
href="https://twitter.com"
|
| 43 |
-
className="hover:text-gray-200 transition-colors"
|
| 44 |
-
target="_blank"
|
| 45 |
-
rel="noopener noreferrer"
|
| 46 |
-
title="Twitter"
|
| 47 |
-
>
|
| 48 |
-
<FiTwitter className="text-xl" />
|
| 49 |
-
</Link>
|
| 50 |
<Link
|
| 51 |
href="https://huggingface.co/spaces/akhaliq/anycoder"
|
| 52 |
className="text-sm hover:text-gray-200 transition-colors flex items-center space-x-1"
|
|
|
|
| 1 |
import Link from 'next/link'
|
| 2 |
+
import { FiGithub, FiTwitter, FiBook, FiCode, FiCpu, FiMenu, FiSettings, FiSearch } from 'react-icons/fi'
|
| 3 |
|
| 4 |
export default function Header() {
|
| 5 |
return (
|
| 6 |
+
<header className="bg-sidebar text-white shadow-lg sticky top-0 z-50">
|
| 7 |
<div className="container mx-auto px-4 py-3 flex justify-between items-center">
|
| 8 |
<div className="flex items-center space-x-2">
|
| 9 |
+
<FiCode className="text-2xl text-primary" />
|
| 10 |
<h1 className="text-xl font-bold">
|
| 11 |
<Link href="/" className="hover:text-gray-200 transition-colors">
|
| 12 |
+
SMH-FULL-CODE
|
| 13 |
</Link>
|
| 14 |
</h1>
|
| 15 |
</div>
|
| 16 |
+
<div className="flex items-center space-x-4">
|
| 17 |
+
<div className="hidden md:flex items-center space-x-6">
|
| 18 |
<Link href="/editor" className="hover:text-gray-200 transition-colors flex items-center space-x-1">
|
| 19 |
<FiCpu className="text-sm" />
|
| 20 |
<span>Editor</span>
|
|
|
|
| 27 |
<FiCode className="text-sm" />
|
| 28 |
<span>Docs</span>
|
| 29 |
</Link>
|
| 30 |
+
</div>
|
| 31 |
<div className="flex items-center space-x-4">
|
| 32 |
<Link
|
| 33 |
+
href="https://github.com/microsoft/vscode"
|
| 34 |
className="hover:text-gray-200 transition-colors"
|
| 35 |
target="_blank"
|
| 36 |
rel="noopener noreferrer"
|
| 37 |
+
title="VSCode GitHub"
|
| 38 |
>
|
| 39 |
<FiGithub className="text-xl" />
|
| 40 |
</Link>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
<Link
|
| 42 |
href="https://huggingface.co/spaces/akhaliq/anycoder"
|
| 43 |
className="text-sm hover:text-gray-200 transition-colors flex items-center space-x-1"
|