change name in register & add link to most-searched home page & change tag & change design and responsive & fix active link header & must include field num in register & send code msg

This commit is contained in:
Ehsan
2025-05-13 22:07:03 +03:30
parent cd3114d308
commit a8a320465d
37 changed files with 192 additions and 172 deletions
+5
View File
@@ -123,5 +123,10 @@ export function validatePhoneNumber(input) {
return { valid: false, text: 'شماره موبایل باید دقیقا 11 رقم باشد.' };
}
const isValid = /^9\d{8}$/.test(digits);
if (!isValid) {
return { valid: false, text: 'شماره موبایل نامعتبر است.' };
}
return { valid: true, text: null };
}