MCPcopy Create free account
hub / github.com/GreatStackDev/gocart / AdminNavbar

Function AdminNavbar

components/admin/AdminNavbar.jsx:4–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import Link from "next/link"
3
4const AdminNavbar = () => {
5
6
7 return (
8 <div className="flex items-center justify-between px-12 py-3 border-b border-slate-200 transition-all">
9 <Link href="/" className="relative text-4xl font-semibold text-slate-700">
10 <span className="text-green-600">go</span>cart<span className="text-green-600 text-5xl leading-0">.</span>
11 <p className="absolute text-xs font-semibold -top-1 -right-13 px-3 p-0.5 rounded-full flex items-center gap-2 text-white bg-green-500">
12 Admin
13 </p>
14 </Link>
15 <div className="flex items-center gap-3">
16 <p>Hi, Admin</p>
17 </div>
18 </div>
19 )
20}
21
22export default AdminNavbar

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected