mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-09 06:55:07 +00:00
41 lines
1009 B
TypeScript
41 lines
1009 B
TypeScript
import Link from "next/link"
|
|
|
|
import { cn } from "@/lib/utils"
|
|
|
|
export function MainNav({
|
|
className,
|
|
...props
|
|
}: React.HTMLAttributes<HTMLElement>) {
|
|
return (
|
|
<nav
|
|
className={cn("flex items-center space-x-4 lg:space-x-6", className)}
|
|
{...props}
|
|
>
|
|
<Link
|
|
href="/examples/dashboard"
|
|
className="text-sm font-medium transition-colors hover:text-primary"
|
|
>
|
|
Overview
|
|
</Link>
|
|
<Link
|
|
href="/examples/dashboard"
|
|
className="text-sm font-medium text-muted-foreground transition-colors hover:text-primary"
|
|
>
|
|
Customers
|
|
</Link>
|
|
<Link
|
|
href="/examples/dashboard"
|
|
className="text-sm font-medium text-muted-foreground transition-colors hover:text-primary"
|
|
>
|
|
Products
|
|
</Link>
|
|
<Link
|
|
href="/examples/dashboard"
|
|
className="text-sm font-medium text-muted-foreground transition-colors hover:text-primary"
|
|
>
|
|
Settings
|
|
</Link>
|
|
</nav>
|
|
)
|
|
}
|