"use client"; import Link from "next/link"; import { Sidebar } from "@unlocalhosted/metalui"; import { PlayIcon } from "@/components/icons"; export type WorkflowLink = { path: string; name: string }; /** The workflows to filter runs by, on MetalUI's sidebar section; "All workflows" first. */ export function WorkflowNav({ base, workflows, current }: { base: string; workflows: WorkflowLink[]; current: string | null }) { return ( } active={current === null} render={}> All workflows {workflows.map((w) => ( } active={current === w.path} render={} > {w.name} ))} ); }