{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "comp-585",
  "type": "registry:component",
  "title": "Comp 585",
  "description": "Comp 585",
  "files": [
    {
      "path": "registry/ui-basic/comp-585.tsx",
      "content": "import { useId } from \"react\";\n\nimport { Button } from \"@/components/ui/button\";\nimport { Input } from \"@/components/ui/input\";\nimport Logo from \"@/components/ui/navbar-components/logo\";\nimport NotificationMenu from \"@/components/ui/navbar-components/notification-menu\";\nimport UserMenu from \"@/components/ui/navbar-components/user-menu\";\nimport {\n\tNavigationMenu,\n\tNavigationMenuItem,\n\tNavigationMenuLink,\n\tNavigationMenuList,\n} from \"@/components/ui/navigation-menu\";\nimport {\n\tPopover,\n\tPopoverContent,\n\tPopoverTrigger,\n} from \"@/components/ui/popover\";\nimport {\n\tHashIcon,\n\tHouseIcon,\n\tMailIcon,\n\tSearchIcon,\n\tUsersRound,\n} from \"lucide-react\";\n\nconst teams = [\"Acme Inc.\", \"Origin UI\", \"Junon\"];\n\n// Navigation links array to be used in both desktop and mobile menus\nconst navigationLinks = [\n\t{ href: \"#\", label: \"Home\", icon: HouseIcon },\n\t{ href: \"#\", label: \"Hash\", icon: HashIcon },\n\t{ href: \"#\", label: \"Groups\", icon: UsersRound },\n];\n\nexport default function Component() {\n\tconst id = useId();\n\n\treturn (\n\t\t<header className=\"border-b px-4 md:px-6\">\n\t\t\t<div className=\"flex h-16 items-center justify-between gap-4\">\n\t\t\t\t{/* Left side */}\n\t\t\t\t<div className=\"flex flex-1 items-center gap-2\">\n\t\t\t\t\t{/* Mobile menu trigger */}\n\t\t\t\t\t<Popover>\n\t\t\t\t\t\t<PopoverTrigger asChild>\n\t\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t\tclassName=\"group size-8 md:hidden\"\n\t\t\t\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\t\t\t\tsize=\"icon\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<svg\n\t\t\t\t\t\t\t\t\tclassName=\"pointer-events-none\"\n\t\t\t\t\t\t\t\t\twidth={16}\n\t\t\t\t\t\t\t\t\theight={16}\n\t\t\t\t\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\t\t\t\t\tfill=\"none\"\n\t\t\t\t\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\t\t\t\t\tstrokeWidth=\"2\"\n\t\t\t\t\t\t\t\t\tstrokeLinecap=\"round\"\n\t\t\t\t\t\t\t\t\tstrokeLinejoin=\"round\"\n\t\t\t\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\t\t\td=\"M4 12L20 12\"\n\t\t\t\t\t\t\t\t\t\tclassName=\"origin-center -translate-y-[7px] transition-all duration-300 ease-[cubic-bezier(.5,.85,.25,1.1)] group-aria-expanded:translate-x-0 group-aria-expanded:translate-y-0 group-aria-expanded:rotate-315\"\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\t\t\td=\"M4 12H20\"\n\t\t\t\t\t\t\t\t\t\tclassName=\"origin-center transition-all duration-300 ease-[cubic-bezier(.5,.85,.25,1.8)] group-aria-expanded:rotate-45\"\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\t\t\td=\"M4 12H20\"\n\t\t\t\t\t\t\t\t\t\tclassName=\"origin-center translate-y-[7px] transition-all duration-300 ease-[cubic-bezier(.5,.85,.25,1.1)] group-aria-expanded:translate-y-0 group-aria-expanded:rotate-135\"\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t</svg>\n\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t</PopoverTrigger>\n\t\t\t\t\t\t<PopoverContent align=\"start\" className=\"w-48 p-1 md:hidden\">\n\t\t\t\t\t\t\t<NavigationMenu className=\"max-w-none *:w-full\">\n\t\t\t\t\t\t\t\t<NavigationMenuList className=\"flex-col items-start gap-0 md:gap-2\">\n\t\t\t\t\t\t\t\t\t{navigationLinks.map((link, index) => {\n\t\t\t\t\t\t\t\t\t\tconst Icon = link.icon;\n\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t<NavigationMenuItem\n\t\t\t\t\t\t\t\t\t\t\t\tkey={index}\n\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"w-full\"\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t<NavigationMenuLink\n\t\t\t\t\t\t\t\t\t\t\t\t\thref={link.href}\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"flex-row items-center gap-2 py-1.5\"\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Icon\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsize={16}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"text-muted-foreground\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span>{link.label}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t</NavigationMenuLink>\n\t\t\t\t\t\t\t\t\t\t\t</NavigationMenuItem>\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t</NavigationMenuList>\n\t\t\t\t\t\t\t</NavigationMenu>\n\t\t\t\t\t\t</PopoverContent>\n\t\t\t\t\t</Popover>\n\t\t\t\t\t<div className=\"flex items-center gap-6\">\n\t\t\t\t\t\t<a href=\"#\" className=\"text-primary hover:text-primary/90\">\n\t\t\t\t\t\t\t<Logo />\n\t\t\t\t\t\t</a>\n\t\t\t\t\t\t{/* Search form */}\n\t\t\t\t\t\t<div className=\"relative\">\n\t\t\t\t\t\t\t<Input\n\t\t\t\t\t\t\t\tid={id}\n\t\t\t\t\t\t\t\tclassName=\"peer h-8 ps-8 pe-2\"\n\t\t\t\t\t\t\t\tplaceholder=\"Search...\"\n\t\t\t\t\t\t\t\ttype=\"search\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<div className=\"text-muted-foreground/80 pointer-events-none absolute inset-y-0 inset-s-0 flex items-center justify-center ps-2 peer-disabled:opacity-50\">\n\t\t\t\t\t\t\t\t<SearchIcon size={16} />\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t{/* Middle area */}\n\t\t\t\t<NavigationMenu className=\"max-md:hidden\">\n\t\t\t\t\t<NavigationMenuList className=\"gap-2\">\n\t\t\t\t\t\t{navigationLinks.map((link, index) => {\n\t\t\t\t\t\t\tconst Icon = link.icon;\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t<NavigationMenuItem key={index}>\n\t\t\t\t\t\t\t\t\t<NavigationMenuLink\n\t\t\t\t\t\t\t\t\t\thref={link.href}\n\t\t\t\t\t\t\t\t\t\tclassName=\"flex size-8 items-center justify-center p-1.5\"\n\t\t\t\t\t\t\t\t\t\ttitle={link.label}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t<Icon aria-hidden=\"true\" />\n\t\t\t\t\t\t\t\t\t\t<span className=\"sr-only\">{link.label}</span>\n\t\t\t\t\t\t\t\t\t</NavigationMenuLink>\n\t\t\t\t\t\t\t\t</NavigationMenuItem>\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t})}\n\t\t\t\t\t</NavigationMenuList>\n\t\t\t\t</NavigationMenu>\n\t\t\t\t{/* Right side */}\n\t\t\t\t<div className=\"flex flex-1 items-center justify-end gap-4\">\n\t\t\t\t\t<div className=\"flex items-center gap-2\">\n\t\t\t\t\t\t{/* Messages */}\n\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\tsize=\"icon\"\n\t\t\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\t\t\tclassName=\"text-muted-foreground relative size-8 rounded-full shadow-none\"\n\t\t\t\t\t\t\taria-label=\"Open notifications\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<MailIcon size={16} aria-hidden=\"true\" />\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t\t\tclassName=\"bg-primary absolute top-0.5 right-0.5 size-1 rounded-full\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t{/* Notification menu */}\n\t\t\t\t\t\t<NotificationMenu />\n\t\t\t\t\t</div>\n\t\t\t\t\t{/* User menu */}\n\t\t\t\t\t<UserMenu />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</header>\n\t);\n}\n",
      "type": "registry:ui"
    },
    {
      "path": "components/ui/button.tsx",
      "content": "import * as React from \"react\";\r\n\r\nimport { cn } from \"@/registry/utilities/cn\";\r\nimport { Slot } from \"@radix-ui/react-slot\";\r\nimport { cva, type VariantProps } from \"class-variance-authority\";\r\n\r\nconst buttonVariants = cva(\r\n\t\"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm text-white hover:text-gray-400 font-medium ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50\",\r\n\t{\r\n\t\tvariants: {\r\n\t\t\tvariant: {\r\n\t\t\t\tsimple:\r\n\t\t\t\t\t\"bg-secondary relative z-10 bg-transparent hover:border-secondary hover:bg-secondary/50  border border-transparent dark:text-white text-sm md:text-sm transition font-medium duration-200  rounded-md px-4 py-2  flex items-center justify-center\",\r\n\t\t\t\tdefault: \"bg-primary text-primary-foreground hover:bg-primary/90\",\r\n\t\t\t\tdestructive:\r\n\t\t\t\t\t\"bg-destructive text-destructive-foreground hover:bg-destructive/90\",\r\n\t\t\t\toutline:\r\n\t\t\t\t\t\"border border-input bg-background hover:bg-accent hover:text-accent-foreground\",\r\n\t\t\t\tsecondary:\r\n\t\t\t\t\t\"bg-secondary text-secondary-foreground hover:bg-secondary/80\",\r\n\t\t\t\tghost: \"hover:bg-accent hover:text-black hover:stroke-black dark:text-white text-black\",\r\n\t\t\t\tlink: \"text-primary underline-offset-4 hover:underline\",\r\n\t\t\t},\r\n\t\t\tsize: {\r\n\t\t\t\tdefault: \"h-10 px-4 py-2\",\r\n\t\t\t\tsm: \"h-9 rounded-md px-3\",\r\n\t\t\t\tlg: \"h-11 rounded-md px-8\",\r\n\t\t\t\ticon: \"h-10 w-10\",\r\n\t\t\t},\r\n\t\t},\r\n\t\tdefaultVariants: {\r\n\t\t\tvariant: \"default\",\r\n\t\t\tsize: \"default\",\r\n\t\t},\r\n\t}\r\n);\r\n\r\nexport interface ButtonProps\r\n\textends React.ButtonHTMLAttributes<HTMLButtonElement>,\r\n\t\tVariantProps<typeof buttonVariants> {\r\n\tasChild?: boolean;\r\n}\r\n\r\nconst Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\r\n\t({ className, variant, size, asChild = false, ...props }, ref) => {\r\n\t\tconst Comp = asChild ? Slot : \"button\";\r\n\t\treturn (\r\n\t\t\t<Comp\r\n\t\t\t\tclassName={cn(buttonVariants({ variant, size, className }))}\r\n\t\t\t\tref={ref}\r\n\t\t\t\t{...props}\r\n\t\t\t/>\r\n\t\t);\r\n\t}\r\n);\r\nButton.displayName = \"Button\";\r\n\r\nexport { Button, buttonVariants };\r\n",
      "type": "registry:ui"
    },
    {
      "path": "registry/utilities/cn.ts",
      "content": "import { ClassValue, clsx } from \"clsx\";\r\nimport { twMerge } from \"tailwind-merge\";\r\n\r\nexport function cn(...inputs: ClassValue[]) {\r\n\treturn twMerge(clsx(inputs));\r\n}\r\n",
      "type": "registry:ui"
    },
    {
      "path": "components/ui/input.tsx",
      "content": "// SHADCN UI GENERATED CODE\n\nimport React from \"react\";\n\nimport { cn } from \"@/registry/utilities/cn\";\n\nexport interface InputProps\n\textends React.InputHTMLAttributes<HTMLInputElement> {}\n\nconst Input = React.forwardRef<HTMLInputElement, InputProps>(\n\t({ className, type, ...props }, ref) => {\n\t\treturn (\n\t\t\t<input\n\t\t\t\ttype={type}\n\t\t\t\tclassName={cn(\n\t\t\t\t\t\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50\",\n\t\t\t\t\tclassName\n\t\t\t\t)}\n\t\t\t\tref={ref}\n\t\t\t\t{...props}\n\t\t\t/>\n\t\t);\n\t}\n);\nInput.displayName = \"Input\";\n\nexport { Input };\n",
      "type": "registry:ui"
    },
    {
      "path": "components/ui/navbar-components/logo.tsx",
      "content": "export default function Logo() {\r\n  return (\r\n    <svg\r\n      xmlns=\"http://www.w3.org/2000/svg\"\r\n      width=\"33\"\r\n      height=\"33\"\r\n      fill=\"currentColor\"\r\n    >\r\n      <path d=\"M20.46 1.766 17.303.923l-2.66 9.896-2.403-8.934-3.157.843 2.595 9.652-6.464-6.442-2.311 2.304 7.09 7.066-8.83-2.358-.846 3.146 9.648 2.577a6.516 6.516 0 0 1-.169-1.478c0-3.598 2.927-6.515 6.537-6.515s6.537 2.917 6.537 6.515c0 .505-.057.997-.167 1.468l8.768 2.342.846-3.147-9.686-2.586 8.83-2.358-.845-3.147-9.686 2.587 6.464-6.442-2.311-2.304-6.992 6.969 2.369-8.81Z\" />\r\n      <path d=\"M22.695 18.7a6.495 6.495 0 0 1-1.626 2.986l6.352 6.33 2.31-2.303-7.036-7.013ZM21.005 21.752a6.538 6.538 0 0 1-2.922 1.722l2.312 8.596 3.157-.843-2.547-9.475ZM17.965 23.505a6.569 6.569 0 0 1-1.632.205 6.566 6.566 0 0 1-1.743-.235l-2.314 8.605 3.157.843 2.532-9.418ZM14.478 23.444a6.54 6.54 0 0 1-2.87-1.747l-6.367 6.346 2.31 2.303 6.927-6.902ZM11.555 21.64a6.492 6.492 0 0 1-1.585-2.948L1.173 21.04l.846 3.146 9.536-2.546Z\" />\r\n    </svg>\r\n  )\r\n}\r\n",
      "type": "registry:ui"
    },
    {
      "path": "components/ui/navbar-components/notification-menu.tsx",
      "content": "\"use client\";\r\n\r\nimport { useState } from \"react\";\r\n\r\nimport { Button } from \"@/components/ui/button\";\r\nimport {\r\n\tPopover,\r\n\tPopoverContent,\r\n\tPopoverTrigger,\r\n} from \"@/components/ui/popover\";\r\nimport { BellIcon } from \"lucide-react\";\r\n\r\nconst initialNotifications = [\r\n\t{\r\n\t\tid: 1,\r\n\t\tuser: \"Chris Tompson\",\r\n\t\taction: \"requested review on\",\r\n\t\ttarget: \"PR #42: Feature implementation\",\r\n\t\ttimestamp: \"15 minutes ago\",\r\n\t\tunread: true,\r\n\t},\r\n\t{\r\n\t\tid: 2,\r\n\t\tuser: \"Emma Davis\",\r\n\t\taction: \"shared\",\r\n\t\ttarget: \"New component library\",\r\n\t\ttimestamp: \"45 minutes ago\",\r\n\t\tunread: true,\r\n\t},\r\n\t{\r\n\t\tid: 3,\r\n\t\tuser: \"James Wilson\",\r\n\t\taction: \"assigned you to\",\r\n\t\ttarget: \"API integration task\",\r\n\t\ttimestamp: \"4 hours ago\",\r\n\t\tunread: false,\r\n\t},\r\n\t{\r\n\t\tid: 4,\r\n\t\tuser: \"Alex Morgan\",\r\n\t\taction: \"replied to your comment in\",\r\n\t\ttarget: \"Authentication flow\",\r\n\t\ttimestamp: \"12 hours ago\",\r\n\t\tunread: false,\r\n\t},\r\n\t{\r\n\t\tid: 5,\r\n\t\tuser: \"Sarah Chen\",\r\n\t\taction: \"commented on\",\r\n\t\ttarget: \"Dashboard redesign\",\r\n\t\ttimestamp: \"2 days ago\",\r\n\t\tunread: false,\r\n\t},\r\n\t{\r\n\t\tid: 6,\r\n\t\tuser: \"Miky Derya\",\r\n\t\taction: \"mentioned you in\",\r\n\t\ttarget: \"Origin UI open graph image\",\r\n\t\ttimestamp: \"2 weeks ago\",\r\n\t\tunread: false,\r\n\t},\r\n];\r\n\r\nfunction Dot({ className }: { className?: string }) {\r\n\treturn (\r\n\t\t<svg\r\n\t\t\twidth=\"6\"\r\n\t\t\theight=\"6\"\r\n\t\t\tfill=\"currentColor\"\r\n\t\t\tviewBox=\"0 0 6 6\"\r\n\t\t\txmlns=\"http://www.w3.org/2000/svg\"\r\n\t\t\tclassName={className}\r\n\t\t\taria-hidden=\"true\"\r\n\t\t>\r\n\t\t\t<circle cx=\"3\" cy=\"3\" r=\"3\" />\r\n\t\t</svg>\r\n\t);\r\n}\r\n\r\nexport default function NotificationMenu() {\r\n\tconst [notifications, setNotifications] = useState(initialNotifications);\r\n\tconst unreadCount = notifications.filter((n) => n.unread).length;\r\n\r\n\tconst handleMarkAllAsRead = () => {\r\n\t\tsetNotifications(\r\n\t\t\tnotifications.map((notification) => ({\r\n\t\t\t\t...notification,\r\n\t\t\t\tunread: false,\r\n\t\t\t}))\r\n\t\t);\r\n\t};\r\n\r\n\tconst handleNotificationClick = (id: number) => {\r\n\t\tsetNotifications(\r\n\t\t\tnotifications.map((notification) =>\r\n\t\t\t\tnotification.id === id\r\n\t\t\t\t\t? { ...notification, unread: false }\r\n\t\t\t\t\t: notification\r\n\t\t\t)\r\n\t\t);\r\n\t};\r\n\r\n\treturn (\r\n\t\t<Popover>\r\n\t\t\t<PopoverTrigger asChild>\r\n\t\t\t\t<Button\r\n\t\t\t\t\tsize=\"icon\"\r\n\t\t\t\t\tvariant=\"ghost\"\r\n\t\t\t\t\tclassName=\"text-muted-foreground relative size-8 rounded-full shadow-none\"\r\n\t\t\t\t\taria-label=\"Open notifications\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<BellIcon size={16} aria-hidden=\"true\" />\r\n\t\t\t\t\t{unreadCount > 0 && (\r\n\t\t\t\t\t\t<div\r\n\t\t\t\t\t\t\taria-hidden=\"true\"\r\n\t\t\t\t\t\t\tclassName=\"bg-primary absolute top-0.5 right-0.5 size-1 rounded-full\"\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t)}\r\n\t\t\t\t</Button>\r\n\t\t\t</PopoverTrigger>\r\n\t\t\t<PopoverContent className=\"w-80 p-1\">\r\n\t\t\t\t<div className=\"flex items-baseline justify-between gap-4 px-3 py-2\">\r\n\t\t\t\t\t<div className=\"text-sm font-semibold\">Notifications</div>\r\n\t\t\t\t\t{unreadCount > 0 && (\r\n\t\t\t\t\t\t<button\r\n\t\t\t\t\t\t\tclassName=\"text-xs font-medium hover:underline\"\r\n\t\t\t\t\t\t\tonClick={handleMarkAllAsRead}\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\tMark all as read\r\n\t\t\t\t\t\t</button>\r\n\t\t\t\t\t)}\r\n\t\t\t\t</div>\r\n\t\t\t\t<div\r\n\t\t\t\t\trole=\"separator\"\r\n\t\t\t\t\taria-orientation=\"horizontal\"\r\n\t\t\t\t\tclassName=\"bg-border -mx-1 my-1 h-px\"\r\n\t\t\t\t></div>\r\n\t\t\t\t{notifications.map((notification) => (\r\n\t\t\t\t\t<div\r\n\t\t\t\t\t\tkey={notification.id}\r\n\t\t\t\t\t\tclassName=\"hover:bg-accent rounded-md px-3 py-2 text-sm transition-colors\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<div className=\"relative flex items-start pe-3\">\r\n\t\t\t\t\t\t\t<div className=\"flex-1 space-y-1\">\r\n\t\t\t\t\t\t\t\t<button\r\n\t\t\t\t\t\t\t\t\tclassName=\"text-foreground/80 text-left after:absolute after:inset-0\"\r\n\t\t\t\t\t\t\t\t\tonClick={() =>\r\n\t\t\t\t\t\t\t\t\t\thandleNotificationClick(notification.id)\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t\t<span className=\"text-foreground font-medium hover:underline\">\r\n\t\t\t\t\t\t\t\t\t\t{notification.user}\r\n\t\t\t\t\t\t\t\t\t</span>{\" \"}\r\n\t\t\t\t\t\t\t\t\t{notification.action}{\" \"}\r\n\t\t\t\t\t\t\t\t\t<span className=\"text-foreground font-medium hover:underline\">\r\n\t\t\t\t\t\t\t\t\t\t{notification.target}\r\n\t\t\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t\t\t.\r\n\t\t\t\t\t\t\t\t</button>\r\n\t\t\t\t\t\t\t\t<div className=\"text-muted-foreground text-xs\">\r\n\t\t\t\t\t\t\t\t\t{notification.timestamp}\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t{notification.unread && (\r\n\t\t\t\t\t\t\t\t<div className=\"absolute inset-e-0 self-center\">\r\n\t\t\t\t\t\t\t\t\t<span className=\"sr-only\">Unread</span>\r\n\t\t\t\t\t\t\t\t\t<Dot />\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t))}\r\n\t\t\t</PopoverContent>\r\n\t\t</Popover>\r\n\t);\r\n}\r\n",
      "type": "registry:ui"
    },
    {
      "path": "components/ui/navbar-components/user-menu.tsx",
      "content": "import {\n\tBoltIcon,\n\tBookOpenIcon,\n\tLayers2Icon,\n\tLogOutIcon,\n\tPinIcon,\n\tUserPenIcon,\n} from \"lucide-react\";\n\nimport { Avatar, AvatarFallback, AvatarImage } from \"../avatar\";\nimport { Button } from \"../button\";\nimport {\n\tDropdownMenu,\n\tDropdownMenuContent,\n\tDropdownMenuGroup,\n\tDropdownMenuItem,\n\tDropdownMenuLabel,\n\tDropdownMenuSeparator,\n\tDropdownMenuTrigger,\n} from \"../dropdown-menu\";\n\nexport default function UserMenu() {\n\treturn (\n\t\t<DropdownMenu>\n\t\t\t<DropdownMenuTrigger asChild>\n\t\t\t\t<Button variant=\"ghost\" className=\"h-auto p-0 hover:bg-transparent\">\n\t\t\t\t\t<Avatar>\n\t\t\t\t\t\t<AvatarImage src=\"./avatar.jpg\" alt=\"Profile image\" />\n\t\t\t\t\t\t<AvatarFallback>KK</AvatarFallback>\n\t\t\t\t\t</Avatar>\n\t\t\t\t</Button>\n\t\t\t</DropdownMenuTrigger>\n\t\t\t<DropdownMenuContent className=\"max-w-64\" align=\"end\">\n\t\t\t\t<DropdownMenuLabel className=\"flex min-w-0 flex-col\">\n\t\t\t\t\t<span className=\"text-foreground truncate text-sm font-medium\">\n\t\t\t\t\t\tKeith Kennedy\n\t\t\t\t\t</span>\n\t\t\t\t\t<span className=\"text-muted-foreground truncate text-xs font-normal\">\n\t\t\t\t\t\tk.kennedy@originui.com\n\t\t\t\t\t</span>\n\t\t\t\t</DropdownMenuLabel>\n\t\t\t\t<DropdownMenuSeparator />\n\t\t\t\t<DropdownMenuGroup>\n\t\t\t\t\t<DropdownMenuItem>\n\t\t\t\t\t\t<BoltIcon\n\t\t\t\t\t\t\tsize={16}\n\t\t\t\t\t\t\tclassName=\"opacity-60\"\n\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<span>Option 1</span>\n\t\t\t\t\t</DropdownMenuItem>\n\t\t\t\t\t<DropdownMenuItem>\n\t\t\t\t\t\t<Layers2Icon\n\t\t\t\t\t\t\tsize={16}\n\t\t\t\t\t\t\tclassName=\"opacity-60\"\n\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<span>Option 2</span>\n\t\t\t\t\t</DropdownMenuItem>\n\t\t\t\t\t<DropdownMenuItem>\n\t\t\t\t\t\t<BookOpenIcon\n\t\t\t\t\t\t\tsize={16}\n\t\t\t\t\t\t\tclassName=\"opacity-60\"\n\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<span>Option 3</span>\n\t\t\t\t\t</DropdownMenuItem>\n\t\t\t\t</DropdownMenuGroup>\n\t\t\t\t<DropdownMenuSeparator />\n\t\t\t\t<DropdownMenuGroup>\n\t\t\t\t\t<DropdownMenuItem>\n\t\t\t\t\t\t<PinIcon\n\t\t\t\t\t\t\tsize={16}\n\t\t\t\t\t\t\tclassName=\"opacity-60\"\n\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<span>Option 4</span>\n\t\t\t\t\t</DropdownMenuItem>\n\t\t\t\t\t<DropdownMenuItem>\n\t\t\t\t\t\t<UserPenIcon\n\t\t\t\t\t\t\tsize={16}\n\t\t\t\t\t\t\tclassName=\"opacity-60\"\n\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<span>Option 5</span>\n\t\t\t\t\t</DropdownMenuItem>\n\t\t\t\t</DropdownMenuGroup>\n\t\t\t\t<DropdownMenuSeparator />\n\t\t\t\t<DropdownMenuItem>\n\t\t\t\t\t<LogOutIcon\n\t\t\t\t\t\tsize={16}\n\t\t\t\t\t\tclassName=\"opacity-60\"\n\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t/>\n\t\t\t\t\t<span>Logout</span>\n\t\t\t\t</DropdownMenuItem>\n\t\t\t</DropdownMenuContent>\n\t\t</DropdownMenu>\n\t);\n}\n",
      "type": "registry:ui"
    },
    {
      "path": "components/ui/avatar.tsx",
      "content": "\"use client\";\r\n\r\nimport React from \"react\";\r\n\r\nimport { cn } from \"@/registry/utilities/cn\";\r\nimport * as AvatarPrimitive from \"@radix-ui/react-avatar\";\r\n\r\nconst Avatar = React.forwardRef<\r\n\tReact.ElementRef<typeof AvatarPrimitive.Root>,\r\n\tReact.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>\r\n>(({ className, ...props }, ref) => (\r\n\t<AvatarPrimitive.Root\r\n\t\tref={ref}\r\n\t\tclassName={cn(\r\n\t\t\t\"relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full\",\r\n\t\t\tclassName\r\n\t\t)}\r\n\t\t{...props}\r\n\t/>\r\n));\r\nAvatar.displayName = AvatarPrimitive.Root.displayName;\r\n\r\nconst AvatarImage = React.forwardRef<\r\n\tReact.ElementRef<typeof AvatarPrimitive.Image>,\r\n\tReact.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>\r\n>(({ className, ...props }, ref) => (\r\n\t<AvatarPrimitive.Image\r\n\t\tref={ref}\r\n\t\tclassName={cn(\"aspect-square h-full w-full\", className)}\r\n\t\t{...props}\r\n\t/>\r\n));\r\nAvatarImage.displayName = AvatarPrimitive.Image.displayName;\r\n\r\nconst AvatarFallback = React.forwardRef<\r\n\tReact.ElementRef<typeof AvatarPrimitive.Fallback>,\r\n\tReact.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>\r\n>(({ className, ...props }, ref) => (\r\n\t<AvatarPrimitive.Fallback\r\n\t\tref={ref}\r\n\t\tclassName={cn(\r\n\t\t\t\"flex h-full w-full items-center justify-center rounded-full bg-muted\",\r\n\t\t\tclassName\r\n\t\t)}\r\n\t\t{...props}\r\n\t/>\r\n));\r\nAvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;\r\n\r\nexport { Avatar, AvatarImage, AvatarFallback };\r\n",
      "type": "registry:ui"
    }
  ]
}