Files
shadcn/app/registry/default/ui/context-switcher-navigation-bar.tsx
zeekay 3004a032b1 fix: Fix more component import issues and update Hanzo favicons
Component fixes:
- Fixed context-switcher-navigation-bar: Corrected export name from "contextswitcherNavigationBar" to "ContextSwitcherNavigationBar"
- Fixed iphone-15-pro-demo: Changed import from "Iphone15Pro" to "IPhone15Pro" (capital P)
- Applied fixes to both default and new-york theme variants

Favicon updates:
- Replaced all favicons with proper Hanzo logo icons from ~/work/hanzo/logo
- Updated favicon-16x16.png, favicon-32x32.png, favicon-64x64.png
- Updated android-chrome-512x512.png for mobile
- Updated favicon.ico with proper Hanzo logo
- Updated hanzo-logo.svg and favicon-source.svg

These changes ensure consistent Hanzo branding across the site and fix remaining component import errors.
2025-11-02 13:01:48 -08:00

39 lines
957 B
TypeScript

"use client"
import * as React from "react"
import { cn } from "@/lib/utils"
export interface ContextSwitcherNavigationBarProps
extends React.HTMLAttributes<HTMLElement> {
items?: Array<{ label: string; href: string }>
}
const ContextSwitcherNavigationBar = React.forwardRef<
HTMLElement,
ContextSwitcherNavigationBarProps
>(({ className, items = [], ...props }, ref) => {
return (
<nav
ref={ref}
className={cn("border-b bg-background", className)}
{...props}
>
<div className="container flex h-16 items-center gap-6">
{items.map((item) => (
<a
key={item.href}
href={item.href}
className="text-sm font-medium transition-colors hover:text-primary"
>
{item.label}
</a>
))}
</div>
</nav>
)
})
ContextSwitcherNavigationBar.displayName = "ContextSwitcherNavigationBar"
export { ContextSwitcherNavigationBar }