Download dashboard/src/components/ProcessFlow.jsx from RavindranadhM/Manufacturing-Monitoring-System: direct link, hf CLI and curl.
- Browser
- Download file 904 Bytes
-
https://huggingface.co/spaces/RavindranadhM/Manufacturing-Monitoring-System/resolve/main/dashboard/src/components/ProcessFlow.jsx
- Command line
-
hf download hf://spaces/RavindranadhM/Manufacturing-Monitoring-System/dashboard/src/components/ProcessFlow.jsx
-
curl -L -o ProcessFlow.jsx https://huggingface.co/spaces/RavindranadhM/Manufacturing-Monitoring-System/resolve/main/dashboard/src/components/ProcessFlow.jsx
904 Bytes
| export default function ProcessFlow({ steps, compact = false }) { | |
| return ( | |
| <div className={`grid gap-3 ${compact ? "" : "lg:grid-cols-2"}`}> | |
| {steps.map((step, index) => ( | |
| <div key={step.title} className="rounded-[28px] border border-white/10 bg-white/5 p-4"> | |
| <div className="flex items-start gap-4"> | |
| <span className="inline-flex h-10 w-10 shrink-0 items-center justify-center rounded-2xl border border-white/10 bg-slate-950/70 text-sm font-semibold text-slate-100"> | |
| {String(index + 1).padStart(2, "0")} | |
| </span> | |
| <div> | |
| <p className="text-sm font-semibold uppercase tracking-[0.2em] text-cyan-100/80"> | |
| {step.title} | |
| </p> | |
| <p className="mt-2 text-sm leading-7 text-slate-300">{step.detail}</p> | |
| </div> | |
| </div> | |
| </div> | |
| ))} | |
| </div> | |
| ) | |
| } | |