---
import type { BreadcrumbItem } from '../lib/topic';
export interface Props {
breadcrumbs: BreadcrumbItem[];
roadmapId: string;
}
const { breadcrumbs, roadmapId } = Astro.props;
---
{
breadcrumbs.map((breadcrumb, counter) => {
const isLast = counter === breadcrumbs.length - 1;
if (!isLast) {
return (
<>
{breadcrumb.title}
·
>
);
}
return {breadcrumb.title};
})
}
← Back to Topics List