import Link from "next/link"; import { depthHref, depthLabels } from "@/lib/depth"; import type { Depth } from "@/lib/content-schema"; export function DepthSteps({ slug, depths, depth, newTab = false, }: { slug: string; depths: Depth[]; depth: Depth; newTab?: boolean; }) { return (
{depths.map((d) => ( {d} {depthLabels[d]} ))}
); }