This commit is contained in:
amel
2025-02-25 15:09:41 +08:00
parent 46508b9f05
commit 31b85dad69
37 changed files with 421 additions and 699 deletions

26
app/index.tsx Normal file
View File

@@ -0,0 +1,26 @@
import { ButtonForm } from "@/components/buttonForm";
import { InputForm } from "@/components/inputForm";
import Styles from "@/constants/Styles";
import { router } from "expo-router";
import { Image, Text, View } from "react-native";
export default function Index() {
return (
<View style={Styles.wrapLogin} >
<View style={{ alignItems: "center", marginVertical: 50 }}>
<Image
source={require("../assets/images/splash-icon.png")}
style={{ width: 130, height: 130 }}
/>
<Text style={[Styles.textSubtitle]}>PERBEKEL DARMASABA</Text>
</View>
<InputForm
type="numeric"
placeholder="XXX-XXX-XXXX"
round
itemLeft={<Text>+62</Text>}
info="Kami akan mengirim kode verifikasi melalui WhatsApp, guna mengonfirmasikan nomor Anda." />
<ButtonForm text="MASUK" onPress={() => { router.push("/verification") }} />
</View>
);
}