"use client"; import { ChevronRight } from "lucide-react"; export type PortalNavTarget = "network" | "services" | "live_youtube" | "live_tiktok" | "android"; type TFn = (zh: string, en: string) => string; export type PipelineStep = { label: string; sub?: string; gradient: string; target?: PortalNavTarget; }; type Props = { t: TFn; title: string; subtitle: string; steps: PipelineStep[]; onNavigate?: (target: PortalNavTarget) => void; }; export function LivePipelineStrip({ t, title, subtitle, steps, onNavigate }: Props) { return (

{title}

{subtitle}

{steps.map((step, i) => (
{step.target && onNavigate ? ( ) : (
{step.label} {step.sub ? {step.sub} : null}
)} {i < steps.length - 1 ? : null}
))}

{t("点击高亮块可跳转到对应功能页", "Tap a highlighted step to open its page")}

); }