diff --git a/components/Breadcrumb.tsx b/components/Breadcrumb.tsx index 6082a8e..dab7e2f 100644 --- a/components/Breadcrumb.tsx +++ b/components/Breadcrumb.tsx @@ -11,24 +11,41 @@ interface BreadcrumbProps { } const Breadcrumb: React.FC = ({ items }) => { + const breadcrumbSchema = { + '@context': 'https://schema.org', + '@type': 'BreadcrumbList', + itemListElement: items.map((item, index) => ({ + '@type': 'ListItem', + position: index + 1, + name: item.label, + ...(item.to ? { item: `https://bayareait.services${item.to}` } : {}), + })), + }; + return ( - + <> + +