export interface PipelineStep { title: string; detail: string; /** mono stat shown beside the title, e.g. "64,232 entries" */ stat?: string; } export interface PipelineStepsProps { steps: PipelineStep[]; } /** Numbered construction-pipeline steps with a hairline connector spine. */ export default function PipelineSteps({ steps }: PipelineStepsProps) { return (
    {steps.map((step, i) => (
  1. {i < steps.length - 1 && ( )} {String(i + 1).padStart(2, "0")}

    {step.title}

    {step.stat && ( {step.stat} )}

    {step.detail}

  2. ))}
); }