deskripsi:
- new component select
- fix styles login dan verifikasi
This commit is contained in:
2025-07-03 17:43:52 +08:00
parent f5cf9e1549
commit 17e6208aae
8 changed files with 186 additions and 11 deletions

View File

@@ -24,15 +24,17 @@ export default function LoginView() {
const callingCode = selectedCountry?.callingCode.replace(/^\+/, "") || "";
const fixNumber = callingCode + inputValue;
// console.log("fixNumber", fixNumber);
// router.navigate("/verification");
const randomAlfabet = Math.random().toString(36).substring(2, 8);
const randomNumber = Math.floor(Math.random() * 1000000);
const id = randomAlfabet + randomNumber + fixNumber;
console.log("user id :", id);
router.navigate(`/(application)/profile/${id}`);
router.navigate("/verification");
// router.navigate(`/(application)/profile/${id}`);
// router.navigate("/(application)/home");
// router.navigate(`/(application)/profile/${id}/edit`);
}
return (

View File

@@ -29,7 +29,7 @@ export default function VerificationView() {
numberOfDigits={4}
theme={{
pinCodeContainerStyle: {
backgroundColor: MainColor.login,
backgroundColor: MainColor.text_input,
borderRadius: 10,
borderWidth: 1,
borderColor: MainColor.yellow,