import { ChevronRight } from "lucide-react"; import Link from "next/link"; import { cn } from "@/components/ui/cn"; import { routes } from "@/lib/routes"; import { breadcrumbJsonLd } from "@/lib/seo"; import { JsonLd } from "./json-ld"; export interface Crumb { name: string; href: string; } /** * Breadcrumb trail (Home is implicit). Last item is the current page (not a link). Emits BreadcrumbList JSON-LD. * On mobile the trail scrolls horizontally instead of wrapping so the title stays first in view. */ export function Breadcrumbs({ items, className }: { items: Crumb[]; className?: string }) { const all: Crumb[] = [{ name: "Home", href: routes.home() }, ...items]; return ( <> ); }