{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "navbar-03",
"type": "registry:block",
"dependencies": [
"next-themes"
],
"registryDependencies": [
"utils",
"navigation-menu",
"button",
"https://launchmvpfast.com/r/use-is-mac.json",
"separator",
"popover"
],
"files": [
{
"path": "registry/default/blocks/navbar/navbar-03.tsx",
"content": "import { buttonVariants } from '@/registry/default/ui/button'\r\nimport {\r\n NavigationMenu,\r\n NavigationMenuItem,\r\n NavigationMenuLink,\r\n NavigationMenuList,\r\n} from '@/registry/default/ui/navigation-menu'\r\nimport { cn } from '@/lib/utils'\r\nimport { Search } from './search'\r\nimport { Separator } from '@/registry/default/ui/separator'\r\nimport { ModeSwitcher } from './mode-switcher'\r\nimport { MobileNav } from './mobile-nav'\r\n// import Link from 'next/link'\r\n\r\n// Sample navigation links, you can replace these with your actual links\r\n// you can add more categories it will be rendered in mobile nav, but only the first one will be rendered in desktop nav\r\nconst navigationLinks = [\r\n {\r\n name: 'Menu',\r\n items: [\r\n { href: '#', label: 'Products', active: true },\r\n { href: '#', label: 'Pricing' },\r\n { href: '#', label: 'Docs' },\r\n { href: '#', label: 'About' },\r\n ],\r\n },\r\n]\r\n\r\nexport default function Navbar() {\r\n const Link = 'a' // if using Next.js remove this line. you can use the Link component from 'next/link'\r\n\r\n return (\r\n \r\n