akhaliq HF Staff commited on
Commit
408c399
·
verified ·
1 Parent(s): a41e02e

Upload components/Header.js with huggingface_hub

Browse files
Files changed (1) hide show
  1. components/Header.js +43 -0
components/Header.js ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Link from 'next/link'
2
+
3
+ export default function Header() {
4
+ return (
5
+ <header className="bg-white shadow-sm border-b border-gray-200">
6
+ <div className="container mx-auto px-4 py-4 max-w-4xl">
7
+ <div className="flex items-center justify-between">
8
+ <div className="flex items-center space-x-3">
9
+ <div className="w-8 h-8 bg-primary-500 rounded-lg flex items-center justify-center">
10
+ <svg
11
+ className="w-5 h-5 text-white"
12
+ fill="none"
13
+ stroke="currentColor"
14
+ viewBox="0 0 24 24"
15
+ xmlns="http://www.w3.org/2000/svg"
16
+ >
17
+ <path
18
+ strokeLinecap="round"
19
+ strokeLinejoin="round"
20
+ strokeWidth={2}
21
+ d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"
22
+ />
23
+ </svg>
24
+ </div>
25
+ <h1 className="text-xl font-semibold text-gray-900">ChatBot</h1>
26
+ </div>
27
+
28
+ <div className="text-sm">
29
+ <span className="text-gray-600">Built with </span>
30
+ <Link
31
+ href="https://huggingface.co/spaces/akhaliq/anycoder"
32
+ target="_blank"
33
+ rel="noopener noreferrer"
34
+ className="text-primary-600 hover:text-primary-700 font-medium transition-colors"
35
+ >
36
+ anycoder
37
+ </Link>
38
+ </div>
39
+ </div>
40
+ </div>
41
+ </header>
42
+ )
43
+ }