import { useTranslation } from "react-i18next"; const WorkflowSection = () => { const { t } = useTranslation(); const steps = [ { id: "01", name: t("landingPage.recordCreation"), description: t("landingPage.recordCreationDesc"), status: "complete", icon: ( ), }, { id: "02", name: t("landingPage.teamLeaderReview"), description: t("landingPage.teamLeaderReviewDesc"), status: "complete", icon: ( ), }, { id: "03", name: t("landingPage.directorApproval"), description: t("landingPage.directorApprovalDesc"), status: "current", icon: ( ), }, { id: "04", name: t("landingPage.deputyHeadReview"), description: t("landingPage.deputyHeadReviewDesc"), status: "upcoming", icon: ( ), }, { id: "05", name: t("landingPage.recordOfficerProcessing"), description: t("landingPage.recordOfficerProcessingDesc"), status: "upcoming", icon: ( ), }, ]; return (
{t("landingPage.smartOfficeDescription")}
{step.description}
{step.status === "current" && ({t("landingPage.workflowAutomationDesc")}
{t("landingPage.reduceDelays")}
{t("landingPage.completeRecord")}
{t("landingPage.slaMonitoringDesc")}
{t("landingPage.conditionalRoutingDesc")}
{t("landingPage.temporaryApprovalDelegation")}