import NextLink from "next/link" interface Props { path: string[] } const Breadcrumbs = ({ path }: Props) => { return (
{path.map((item, index) => { const isLastItem = index === path.length - 1 if (isLastItem) { return (

{item}

) } return ( {item === "projects" ? "All Projects" : item} / ) })}
) } export default Breadcrumbs