import Link from "next/link";
import { IoChevronForward } from "react-icons/io5";
const BASE_URL = "https://trptk.com";
type Crumb = { label: string; href: string };
export function Breadcrumb({ crumbs }: { crumbs: Crumb[] }) {
if (crumbs.length === 0) return null;
const jsonLd = {
"@context": "https://schema.org",
"@type": "BreadcrumbList",
itemListElement: crumbs.map((crumb, i) => ({
"@type": "ListItem",
position: i + 1,
name: crumb.label,
item: `${BASE_URL}${crumb.href}`,
})),
};
return (
<>
>
);
}