diff --git a/app/(tabs)/index.tsx b/app/(tabs)/index.tsx index a2ae21e..d36b837 100644 --- a/app/(tabs)/index.tsx +++ b/app/(tabs)/index.tsx @@ -6,6 +6,7 @@ import { RootStackParamList } from '../../types'; import AsyncStorage from '@react-native-async-storage/async-storage'; import { DB } from '@/components/lib/db'; import { GestureHandlerRootView, ScrollView } from 'react-native-gesture-handler'; +import config from '../../components/data/config.json'; const LoginScreen = () => { const navigation = useNavigation>(); @@ -41,51 +42,49 @@ const LoginScreen = () => { return ( <> - - + + + + + + - - - - S.O.R.T + + - Login - Silahkan login ke akun anda - + Hi ! + Selamat datang kembali, + + {/* { , marginTop:10 , marginBottom: 10 ,width:'100%' - }}>EMAIL + }}>EMAIL */} - { , marginBottom: 10 , marginTop: 10 , width: '100%' - }}>PASSWORD + }}>PASSWORD */} { onChangeText={setPassword} secureTextEntry /> + + + + + + Lupa Password? + + - Log In - - - Lupa Password? - - - Belum memiliki akun? - - Daftar disini! + LOGIN + + Belum memiliki akun? + + Daftar disini! + @@ -146,11 +157,9 @@ const styles = StyleSheet.create({ container: { flex: 1, paddingVertical:50, - borderTopRightRadius:80, backgroundColor: 'white', justifyContent: 'center', - alignItems: 'center', - paddingHorizontal: 60 + paddingHorizontal: 50 }, appName: { fontSize: 36, @@ -165,8 +174,8 @@ const styles = StyleSheet.create({ }, input: { width: '100%', - borderWidth: 2, - borderColor:"#333", + borderBottomWidth: 2, + borderBottomColor: config.color.line, borderRadius: 10, padding: 15, shadowColor: "#000", @@ -176,7 +185,7 @@ const styles = StyleSheet.create({ button: { backgroundColor: '#2563eb', padding: 15, - borderRadius: 10, + borderRadius: 30, width: '100%', alignItems: 'center', marginBottom: 10, @@ -186,14 +195,15 @@ const styles = StyleSheet.create({ borderColor: '#fff', }, buttonText: { - fontSize: 18, + fontSize: 20, color: 'white', + fontWeight:"bold" }, buttonTextSecondary: { color: '#fff', }, forgotPasswordText: { - color: '#777', + color: "#0f48a1", fontSize: 16, marginBottom: 20, textDecorationLine: 'underline', diff --git a/app/(tabs)/signup.tsx b/app/(tabs)/signup.tsx index 2c8bad5..b1a5638 100644 --- a/app/(tabs)/signup.tsx +++ b/app/(tabs)/signup.tsx @@ -107,15 +107,18 @@ VALUES ( : - + + + + - S.O.R.T - Register - {(`nama lengkap`).toUpperCase()} + Buat Akun Baru - {(`email`).toUpperCase()} + - {(`no. telepon`).toUpperCase()} + - {(`PASSWORD`).toUpperCase()} + - {(`konfirmasi password`).toUpperCase()} + {(`Register`).toUpperCase()} - Sudah memiliki akun? + + Sudah memiliki akun? +