Skip to content

Commit

Permalink
fixes (#1484)
Browse files Browse the repository at this point in the history
* added module card desc

* added local

* added

* css update

* css citizen fixes

* css color code fixes.
workbench Issue fixes

* fixes

* FIXES

* FIXES

* add dummy install loader / and module card enhance

* css upgrad

* added translation

---------

Co-authored-by: NabeelAyubee <[email protected]>
  • Loading branch information
nabeelmd-eGov and NabeelAyubee authored Oct 9, 2024
1 parent ca944df commit 0011669
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import React, { useEffect, useState } from "react";
import { CheckCircle } from "@egovernments/digit-ui-svg-components";
import { useHistory, useLocation } from "react-router-dom";
import { useTranslation } from "react-i18next";

const DummyLoaderScreen = () => {
const [currentStep, setCurrentStep] = useState(0);
const history = useHistory();
const location = useLocation();
const { t } = useTranslation();
const { tenant } = location.state || {};
const steps = [
"SANDBOX_GUIDE_SETUP_ACCOUNT",
Expand Down Expand Up @@ -48,7 +50,7 @@ const DummyLoaderScreen = () => {
<ul className="sandbox-installation-steps">
{steps.map((step, index) => (
<li key={index} className={`sandbox-step ${index < currentStep ? "sandbox-visible" : ""}`}>
<span className="sandbox-step-text">{step}</span>
<span className="sandbox-step-text">{t(step)}</span>
{index < currentStep && <CheckCircle fill="#00703C" />}
</li>
))}
Expand Down

0 comments on commit 0011669

Please sign in to comment.