import React from 'react'; import { Image, ScrollView, StatusBar, StyleSheet, View, Text, TextInput, TouchableOpacity } from 'react-native'; import { SafeAreaView } from 'react-native-safe-area-context'; export function Login() { const [isVisible, setIsVisible] = React.useState(false); const [isChecked, setIsChecked] = React.useState(false); return ( Login Welcome back. Enter your credentials to{'\n'}access your account Email Address* Password* setIsVisible(!isVisible)} style={styles.eyeButton} > setIsChecked(!isChecked)} style={styles.checkboxBorder} > Keep me signed in Forget Password? Login ); } export const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: "#f5f5f5", justifyContent: "center", }, scrollContainer: { flexGrow: 1, }, logoContainer: { paddingHorizontal: 15, paddingTop: 20, paddingBottom: 20, }, logoWrapper: { width: "100%", height: 50, }, logo: { width: "50%", height: "100%", resizeMode: "contain", }, formContainer: { flex: 1, paddingHorizontal: 15, }, title: { color: "#090A0A", fontFamily: "Gilroy-SemiBold", fontSize: 32, fontWeight: "400", marginBottom: 10, }, subtitle: { color: "#090A0A", fontFamily: "Gilroy-Regular", fontSize: 16, fontWeight: "400", marginBottom: 30, lineHeight: 20, }, label: { color: "#111111", fontFamily: "Gilroy-Regular", fontSize: 14, marginBottom: 7, }, inputContainer: { marginBottom: 20, height: 50, borderRadius: 16, borderWidth: 1, borderColor: "#CFCFCF", }, input: { flex: 1, paddingHorizontal: 15, fontSize: 14, fontFamily: "Gilroy-Regular", color: "#111111", }, passwordContainer: { flexDirection: "row", marginBottom: 20, height: 50, borderRadius: 16, borderWidth: 1, borderColor: "#CFCFCF", }, eyeButton: { justifyContent: "center", alignItems: "center", paddingHorizontal: 15, }, eyeIcon: { width: 20, height: 20, resizeMode: "contain", }, rowBetween: { flexDirection: "row", justifyContent: "space-between", alignItems: "center", marginBottom: 40, }, checkboxRow: { flexDirection: "row", alignItems: "center", }, checkboxBorder: { width: 15, height: 15, borderRadius: 2, borderWidth: 1, borderColor: "#CFCFCF", justifyContent: "center", alignItems: "center", marginRight: 8, }, checkboxFill: { width: 15, height: 15, borderRadius: 2, alignItems: "center", justifyContent: "center", }, checkIcon: { width: "70%", height: "70%", resizeMode: "contain", tintColor: "#ffffff", }, checkLabel: { fontFamily: "Gilroy-Regular", fontSize: 14, color: "#191D23", }, forgotText: { textDecorationLine: "underline", color: "#111111", fontFamily: "Gilroy-Regular", }, loginButton: { height: 50, borderRadius: 16, backgroundColor: "#FDA913", justifyContent: "center", alignItems: "center", marginBottom: 20, }, loginText: { color: "#FFFFFF", fontFamily: "Gilroy-SemiBold", fontSize: 18, }, });