import { For, Show } from "solid-js"; import { Link } from "@tanstack/solid-router"; import { useT } from "@/stores/preferences-context"; export type Crumb = { label: string; /** Route path, e.g. `/exams` or `/courses/$id`. Omit for the current page. */ to?: string; params?: Record; search?: Record; }; /** * Hub → record trail above a detail page header. The last crumb is the * current page and is not a link. */ export function Breadcrumbs(props: { items: Crumb[] }) { const t = useT(); return ( ); }