diff --git a/docs/InjiWebSequence.md b/docs/InjiWebSequence.md index 87de2a6..9d29949 100644 --- a/docs/InjiWebSequence.md +++ b/docs/InjiWebSequence.md @@ -1,7 +1,7 @@ # **Understanding the workflow** -### **Inji Web HomePage** +### **Inji Web IssuersPage** - The users navigate to the Inji Web portal from their web browser. - The portal features a user-friendly interface accessible to all. diff --git a/inji-web-test/src/test/java/stepdefinitions/StepDefMosipCredentials.java b/inji-web-test/src/test/java/stepdefinitions/StepDefMosipCredentials.java index 1204d43..aaae3b8 100644 --- a/inji-web-test/src/test/java/stepdefinitions/StepDefMosipCredentials.java +++ b/inji-web-test/src/test/java/stepdefinitions/StepDefMosipCredentials.java @@ -24,7 +24,7 @@ public class StepDefMosipCredentials { public WebDriver driver; BaseTest baseTest; private GlobelConstants globelConstants; - // private HomePage homePage; + // private IssuersPage homePage; // private HelpPage helpPage; private MosipCredentials mosipCredentials; // private SunbirdCredentials sunbirdCredentials; @@ -107,4 +107,4 @@ public void user_VerifyDownloadingInProgressDisplaed() { Assert.assertTrue(mosipCredentials.isDownloadingDescriptionTextDisplayed()); } -} \ No newline at end of file +} diff --git a/inji-web/src/assets/FeatureItem1.svg b/inji-web/src/assets/FeatureItem1.svg index a96b832..a9d7c0d 100644 --- a/inji-web/src/assets/FeatureItem1.svg +++ b/inji-web/src/assets/FeatureItem1.svg @@ -1,32 +1,20 @@ - - - - - + + + + + - + - - - - - - - + - - - - - - - + - + @@ -36,7 +24,7 @@ - + diff --git a/inji-web/src/assets/Featured icon@2x.png b/inji-web/src/assets/Featured icon@2x.png deleted file mode 100644 index 01cab0a..0000000 Binary files a/inji-web/src/assets/Featured icon@2x.png and /dev/null differ diff --git a/inji-web/src/assets/FeaturedItem.png b/inji-web/src/assets/FeaturedItem.png deleted file mode 100644 index e9430cd..0000000 Binary files a/inji-web/src/assets/FeaturedItem.png and /dev/null differ diff --git a/inji-web/src/assets/FeaturedItem1.png b/inji-web/src/assets/FeaturedItem1.png deleted file mode 100644 index e9430cd..0000000 Binary files a/inji-web/src/assets/FeaturedItem1.png and /dev/null differ diff --git a/inji-web/src/components/Common/LanguageSelector.tsx b/inji-web/src/components/Common/LanguageSelector.tsx index a3655dc..4e9bf4c 100644 --- a/inji-web/src/components/Common/LanguageSelector.tsx +++ b/inji-web/src/components/Common/LanguageSelector.tsx @@ -6,6 +6,8 @@ import {storeLanguage} from "../../redux/reducers/commonReducer"; import {RootState} from "../../types/redux"; import {FaCheck} from "react-icons/fa6"; import {RiArrowDownSFill, RiArrowUpSFill} from "react-icons/ri"; +import {GradientWrapper} from "./GradientWrapper"; +import {renderGradientText} from "../../utils/builder"; export const LanguageSelector: React.FC = () => { const dispatch = useDispatch(); @@ -30,9 +32,11 @@ export const LanguageSelector: React.FC = () => { onBlur={()=>setIsOpen(false)} tabIndex={0} role="button"> - + +
{isOpen && ( @@ -55,7 +65,7 @@ export const LanguageSelector: React.FC = () => { type="button" className="w-full px-4 py-2 text-left text-sm hover:bg-gray-100 flex items-center justify-between flex-row" onMouseDown={(event) => {event.stopPropagation();handleChange(item)}}> - {item.label} + {language === item.value ? renderGradientText(item.label) : item.label} {language === item.value && } diff --git a/inji-web/src/components/PageTemplate/Footer.tsx b/inji-web/src/components/PageTemplate/Footer.tsx index 5be1c1b..12f4ef4 100644 --- a/inji-web/src/components/PageTemplate/Footer.tsx +++ b/inji-web/src/components/PageTemplate/Footer.tsx @@ -6,10 +6,10 @@ export const Footer: React.FC = () => { const {t} = useTranslation("PageTemplate") return