import Link from 'next/link';
interface Crumb {
name: string;
/** Site-relative path, e.g. "/category/shoes". Omit on the current (last) crumb. */
href?: string;
}
/**
* Visible breadcrumb trail. Renders the exact same path structured data
* already declares (see category-json-ld.tsx / product-json-ld.tsx) as real
* ``s — search engines weight on-page navigation links much more than
* sitemap-only or script-only (JSON-LD) mentions of a URL.
*/
export function Breadcrumbs({ items }: { items: Crumb[] }) {
if (items.length < 2) return null;
return (
);
}