{/* Sidebar Navigation */}
{!isMobile && (
پنل ثبت مرکز
{STEP_LABELS.map((label, i) => (
i + 1 <= maxStepReached && setActiveStep(i + 1)
}
sx={{
display: "flex",
alignItems: "center",
mb: 2,
cursor: i + 1 <= maxStepReached ? "pointer" : "not-allowed",
opacity: i + 1 <= maxStepReached ? 1 : 0.4,
color: i + 1 === activeStep ? "#2563eb" : "#64748b",
transition: "0.2s",
}}
>
{i + 1 < activeStep ? (
) : (
Number(i + 1).toLocaleString("fa-IR")
)}
{label}
))}
)}
{/* Main Form Area */}
مرحله {activeStep.toLocaleString("fa-IR")} از{" "}
{STEP_LABELS.length.toLocaleString("fa-IR")}
{STEP_LABELS[activeStep - 1]}
{/* رندر شدن داینامیک کامپوننت مرحله فعلی */}