fix: change captcha font family

This commit is contained in:
2025-11-05 11:15:37 +05:30
parent 8801d56d3d
commit 960b052d55
12 changed files with 34 additions and 34 deletions

View File

@@ -291,7 +291,7 @@ export default function ChangePassword() {
border: "1px solid #d1d5db", border: "1px solid #d1d5db",
userSelect: "none", userSelect: "none",
textDecoration: "line-through", textDecoration: "line-through",
fontFamily: "cursive", fontFamily: "Verdana",
}} }}
> >
{captcha} {captcha}

View File

@@ -298,7 +298,7 @@ export default function ChangePassword() {
border: "1px solid #d1d5db", border: "1px solid #d1d5db",
userSelect: "none", userSelect: "none",
textDecoration: "line-through", textDecoration: "line-through",
fontFamily: "cursive", fontFamily: "Verdana",
}} }}
> >
{captcha} {captcha}

View File

@@ -282,7 +282,7 @@ export default function SetTransactionLimit() {
border: "1px solid #d1d5db", border: "1px solid #d1d5db",
userSelect: "none", userSelect: "none",
textDecoration: "line-through", textDecoration: "line-through",
fontFamily: "cursive", fontFamily: "Verdana",
}} }}
> >
{captcha} {captcha}

View File

@@ -296,7 +296,7 @@ export default function ChangePassword() {
border: "1px solid #d1d5db", border: "1px solid #d1d5db",
userSelect: "none", userSelect: "none",
textDecoration: "line-through", textDecoration: "line-through",
fontFamily: "cursive", fontFamily: "Verdana",
}} }}
> >
{captcha} {captcha}

View File

@@ -215,7 +215,7 @@ export default function SetPreferredNameSimple() {
}); });
return; return;
} }
if(preferredName !== confirmName){ if (preferredName !== confirmName) {
notifications.show({ notifications.show({
title: "Mismatch Input", title: "Mismatch Input",
message: "Preferred name and Confirm preferred name not same.", message: "Preferred name and Confirm preferred name not same.",
@@ -330,7 +330,7 @@ export default function SetPreferredNameSimple() {
border: "1px solid #d1d5db", border: "1px solid #d1d5db",
userSelect: "none", userSelect: "none",
textDecoration: "line-through", textDecoration: "line-through",
fontFamily: "cursive", fontFamily: "Verdana",
}} }}
> >
{captcha} {captcha}

View File

@@ -361,7 +361,7 @@ export default function ChangePassword() {
fontSize: "18px", fontSize: "18px",
textDecoration: "line-through", textDecoration: "line-through",
padding: "4px 8px", padding: "4px 8px",
fontFamily: "cursive", fontFamily: "Verdana",
}} }}
> >
{captcha} {captcha}

View File

@@ -312,7 +312,7 @@ export default function SetLoginPwd() {
/> />
<Group mt="sm" align="center"> <Group mt="sm" align="center">
<Box style={{ <Box style={{
backgroundColor: "#fff", fontSize: "18px", textDecoration: "line-through", padding: "4px 8px", fontFamily: "cursive", backgroundColor: "#fff", fontSize: "18px", textDecoration: "line-through", padding: "4px 8px", fontFamily: "Verdana",
userSelect: "none", userSelect: "none",
pointerEvents: "none", pointerEvents: "none",
}} }}

View File

@@ -336,7 +336,7 @@ export default function SetTransactionPwd() {
{/* CAPTCHA */} {/* CAPTCHA */}
<Group mt="sm" align="center"> <Group mt="sm" align="center">
<Box style={{ <Box style={{
backgroundColor: "#fff", fontSize: "18px", textDecoration: "line-through", padding: "4px 8px", fontFamily: "cursive", backgroundColor: "#fff", fontSize: "18px", textDecoration: "line-through", padding: "4px 8px", fontFamily: "Verdana",
userSelect: "none", userSelect: "none",
pointerEvents: "none", pointerEvents: "none",
}} }}

View File

@@ -14,8 +14,8 @@ interface SendOtpPayload {
} }
function getStoredMobileNumber(): string { function getStoredMobileNumber(): string {
// const mobileNumber = localStorage.getItem('remitter_mobile_no'); const mobileNumber = localStorage.getItem('remitter_mobile_no');
const mobileNumber = "7890544527"; // const mobileNumber = "7890544527";
if (!mobileNumber) throw new Error('Mobile number not found.'); if (!mobileNumber) throw new Error('Mobile number not found.');
return mobileNumber; return mobileNumber;
} }

View File

@@ -171,7 +171,7 @@ export default function Login() {
mt="sm" mt="sm"
/> />
<Group mt="sm" align="center"> <Group mt="sm" align="center">
<Box style={{ backgroundColor: "#fff", fontSize: "18px", textDecoration: "line-through", padding: "4px 8px", fontFamily: "cursive" }}>{captcha}</Box> <Box style={{ backgroundColor: "#fff", fontSize: "18px", textDecoration: "line-through", padding: "4px 8px", fontFamily: "Verdana" }}>{captcha}</Box>
<Button size="xs" variant="light" onClick={regenerateCaptcha}>Refresh</Button> <Button size="xs" variant="light" onClick={regenerateCaptcha}>Refresh</Button>
</Group> </Group>

View File

@@ -262,7 +262,7 @@ function LoginEmandate() {
/> />
<Group mt="sm" align="center"> <Group mt="sm" align="center">
<Box style={{ backgroundColor: "#fff", fontSize: "18px", textDecoration: "line-through", padding: "4px 8px", fontFamily: "cursive" }}>{captcha}</Box> <Box style={{ backgroundColor: "#fff", fontSize: "18px", textDecoration: "line-through", padding: "4px 8px", fontFamily: "Verdana" }}>{captcha}</Box>
<Button size="xs" variant="light" onClick={regenerateCaptcha}>Refresh</Button> <Button size="xs" variant="light" onClick={regenerateCaptcha}>Refresh</Button>
</Group> </Group>
<TextInput <TextInput
@@ -328,7 +328,7 @@ function LoginEmandate() {
fontSize: "16px", fontSize: "16px",
textDecoration: "line-through", textDecoration: "line-through",
padding: "4px 8px", padding: "4px 8px",
fontFamily: "cursive", fontFamily: "Verdana",
}} }}
> >
{captcha} {captcha}

View File

@@ -45,8 +45,8 @@ export default function Login() {
} }
try { try {
// await sendOtp({ type: 'LOGIN_OTP', username: CIF, mobileNumber: mobile }); await sendOtp({ type: 'LOGIN_OTP', username: CIF, mobileNumber: mobile });
await sendOtp({ type: 'LOGIN_OTP', username: CIF, mobileNumber: "7890544527" }); // await sendOtp({ type: 'LOGIN_OTP', username: CIF, mobileNumber: "7890544527" });
notifications.show({ notifications.show({
color: 'orange', color: 'orange',
title: 'OTP Required', title: 'OTP Required',
@@ -67,8 +67,8 @@ export default function Login() {
async function handleVerifyOtp(mobile?: string) { async function handleVerifyOtp(mobile?: string) {
try { try {
if (mobile) { if (mobile) {
// await verifyLoginOtp(otp, mobile); await verifyLoginOtp(otp, mobile);
await verifyLoginOtp(otp, '7890544527'); // await verifyLoginOtp(otp, '7890544527');
return true; return true;
} }
} }
@@ -563,7 +563,7 @@ export default function Login() {
</Box> </Box>
<Group align="center"> <Group align="center">
<Box style={{ <Box style={{
backgroundColor: "#fff", fontSize: "18px", textDecoration: "line-through", padding: "4px 8px", fontFamily: "cursive", backgroundColor: "#fff", fontSize: "18px", textDecoration: "line-through", padding: "4px 8px", fontFamily: "Verdana",
userSelect: "none", userSelect: "none",
pointerEvents: "none", pointerEvents: "none",
}} }}