import { Link } from '#/components/atoms/link.jsx'; /** * The repository, each directory on the way to the path in view, and then * the path itself. Every crumb but the last one navigates; the repository * crumb opens its root. */ export function Breadcrumbs({ repo, refName, path }) { const segments = path.split('/').filter(Boolean); const base = `/${encodeURIComponent(repo)}/tree/${encodeURI(refName)}`; let walked = ''; return ( ); }