VortexHunter23 commited on
Commit
163e6ad
·
verified ·
1 Parent(s): f800daa

Upload components/Navbar.jsx with huggingface_hub

Browse files
Files changed (1) hide show
  1. components/Navbar.jsx +58 -0
components/Navbar.jsx ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import React, { useState } from 'react';
2
+ import Link from 'next/link';
3
+ import { Menu, X, Server, Database } from 'lucide-react';
4
+
5
+ export default function Navbar() {
6
+ const [isOpen, setIsOpen] = useState(false);
7
+
8
+ return (
9
+ <nav className="fixed w-full z-50 bg-brand-dark/90 backdrop-blur-md border-b border-white/10">
10
+ <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
11
+ <div className="flex items-center justify-between h-16">
12
+ <div className="flex items-center">
13
+ <Link href="/" className="flex-shrink-0 flex items-center gap-2">
14
+ <Database className="h-8 w-8 text-brand-accent" />
15
+ <span className="font-bold text-xl text-white tracking-tight">Neuro<span className="text-brand-accent">Data</span></span>
16
+ </Link>
17
+ </div>
18
+
19
+ <div className="hidden md:block">
20
+ <div className="ml-10 flex items-baseline space-x-4">
21
+ <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" rel="noopener noreferrer" className="text-gray-300 hover:text-white px-3 py-2 rounded-md text-sm font-medium transition-colors">
22
+ Built with anycoder
23
+ </a>
24
+ <a href="#features" className="text-gray-300 hover:text-white px-3 py-2 rounded-md text-sm font-medium transition-colors">Features</a>
25
+ <a href="#pricing" className="text-gray-300 hover:text-white px-3 py-2 rounded-md text-sm font-medium transition-colors">Pricing</a>
26
+ <a href="#contact" className="bg-brand-accent hover:bg-sky-400 text-brand-dark px-4 py-2 rounded-md text-sm font-bold transition-colors">
27
+ Get Access
28
+ </a>
29
+ </div>
30
+ </div>
31
+
32
+ <div className="-mr-2 flex md:hidden">
33
+ <button
34
+ onClick={() => setIsOpen(!isOpen)}
35
+ className="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-white hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white"
36
+ >
37
+ <span className="sr-only">Open main menu</span>
38
+ {isOpen ? <X className="block h-6 w-6" /> : <Menu className="block h-6 w-6" />}
39
+ </button>
40
+ </div>
41
+ </div>
42
+ </div>
43
+
44
+ {isOpen && (
45
+ <div className="md:hidden bg-brand-dark border-b border-white/10">
46
+ <div className="px-2 pt-2 pb-3 space-y-1 sm:px-3">
47
+ <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" rel="noopener noreferrer" className="text-gray-300 hover:text-white block px-3 py-2 rounded-md text-base font-medium">
48
+ Built with anycoder
49
+ </a>
50
+ <a href="#features" className="text-gray-300 hover:text-white block px-3 py-2 rounded-md text-base font-medium">Features</a>
51
+ <a href="#pricing" className="text-gray-300 hover:text-white block px-3 py-2 rounded-md text-base font-medium">Pricing</a>
52
+ <a href="#contact" className="bg-brand-accent text-brand-dark block px-3 py-2 rounded-md text-base font-bold">Get Access</a>
53
+ </div>
54
+ </div>
55
+ )}
56
+ </nav>
57
+ );
58
+ }