"use client" import Link from "next/link" import { usePathname } from "next/navigation" import { Search, Settings } from "lucide-react" import { cn } from "@/lib/utils" export function Navigation() { const pathname = usePathname() const routes = [ { label: "Search", icon: Search, href: "/", active: pathname === "/", }, { label: "Admin", icon: Settings, href: "/admin", active: pathname === "/admin", }, ] return (

GenDB

{routes.map((route) => (
{route.label}
))}
) }