repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
certificates
stars
latest
clone command
git clone gitlawb://did:key:z6Mkqhmm...XL9c/certificatesgit clone gitlawb://did:key:z6Mkqhmm.../certificates019974a8sync from playground15h ago| #1 |
| import { Link } from "react-router-dom"; |
| #2 | import { ShieldCheck, LogIn } from "lucide-react"; |
| #3 |
| #4 | export default function Navbar() { |
| #5 | return ( |
| #6 | <nav className="bg-white border-b border-gray-200 sticky top-0 z-40"> |
| #7 | <div className="max-w-6xl mx-auto px-6 h-14 flex items-center justify-between"> |
| #8 | <Link to="/" className="flex items-center gap-2 text-gray-900 font-bold text-lg"> |
| #9 | <ShieldCheck className="w-5 h-5 text-emerald-600" /> |
| #10 | CertPlatform |
| #11 | </Link> |
| #12 | <div className="flex items-center gap-4"> |
| #13 | <Link |
| #14 | to="/" |
| #15 | className="text-sm text-gray-600 hover:text-gray-900 font-medium transition-colors" |
| #16 | > |
| #17 | Verify |
| #18 | </Link> |
| #19 | <Link |
| #20 | to="/admin" |
| #21 | className="flex items-center gap-1.5 px-4 py-2 bg-emerald-600 hover:bg-emerald-700 text-white text-sm font-medium rounded-lg transition-colors" |
| #22 | > |
| #23 | <LogIn className="w-3.5 h-3.5" /> |
| #24 | Admin |
| #25 | </Link> |
| #26 | </div> |
| #27 | </div> |
| #28 | </nav> |
| #29 | ); |
| #30 | } |
| #31 |