Jensin commited on
Commit
0ad089e
·
verified ·
1 Parent(s): 4b1e62f

Upload components/layout/header.jsx with huggingface_hub

Browse files
Files changed (1) hide show
  1. components/layout/header.jsx +38 -0
components/layout/header.jsx ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Link from "next/link"
2
+ import { Button } from "@/components/ui/button"
3
+
4
+ export function Header() {
5
+ return (
6
+ <header className="sticky top-0 z-50 w-full border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60">
7
+ <div className="container flex h-14 items-center">
8
+ <div className="mr-4 flex">
9
+ <Link href="/" className="mr-6 flex items-center space-x-2">
10
+ <svg
11
+ xmlns="http://www.w3.org/2000/svg"
12
+ width="24"
13
+ height="24"
14
+ viewBox="0 0 24 24"
15
+ fill="none"
16
+ stroke="currentColor"
17
+ strokeWidth="2"
18
+ strokeLinecap="round"
19
+ strokeLinejoin="round"
20
+ className="h-6 w-6"
21
+ >
22
+ <path d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z" />
23
+ <path d="M12 6v6l4 2" />
24
+ </svg>
25
+ <span className="font-bold">MangaVerse</span>
26
+ </Link>
27
+ </div>
28
+ <div className="flex flex-1 items-center justify-between space-x-2 md:justify-end">
29
+ <div className="w-full flex-1 md:w-auto md:flex-none">
30
+ <div className="text-sm text-muted-foreground">
31
+ Built with <Link href="https://huggingface.co/spaces/akhaliq/anycoder" className="font-medium text-primary underline underline-offset-4">anycoder</Link>
32
+ </div>
33
+ </div>
34
+ </div>
35
+ </div>
36
+ </header>
37
+ )
38
+ }