class métier + selectChanter toujours en cours
This commit is contained in:
@@ -156,8 +156,5 @@ const styles = StyleSheet.create({
|
||||
},
|
||||
selectChantier:{
|
||||
width:"100%",
|
||||
padding:10,
|
||||
margin:10,
|
||||
marginTop:50,
|
||||
},
|
||||
});
|
||||
@@ -7,6 +7,9 @@ import {
|
||||
import { doc, setDoc } from "firebase/firestore";
|
||||
import { auth, db } from "../../firebase_config";
|
||||
import { router } from "expo-router";
|
||||
import { ThemedTextInput } from "@/components/themed-textinpute";
|
||||
import { ThemedText } from "@/components/themed-text";
|
||||
import { ThemedView } from "@/components/themed-view";
|
||||
|
||||
const DEFAULT_ROLE = "resp";
|
||||
|
||||
@@ -33,10 +36,12 @@ const LoginScreen: React.FC = () => {
|
||||
}; */
|
||||
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
<Text style={styles.title}>Se connecter / S'incrire</Text>
|
||||
<TextInput
|
||||
style={[styles.input, { color: 'white' }]}
|
||||
<ThemedView lvl={1} style={styles.container}>
|
||||
<ThemedText style={styles.title}>Se connecter / S'incrire</ThemedText>
|
||||
<ThemedTextInput
|
||||
lvl = {2}
|
||||
border = {5}
|
||||
style={[styles.input]}
|
||||
placeholder="Email:"
|
||||
placeholderTextColor={'white'}
|
||||
value={email}
|
||||
@@ -44,8 +49,10 @@ const LoginScreen: React.FC = () => {
|
||||
autoCapitalize="none"
|
||||
|
||||
/>
|
||||
<TextInput
|
||||
style={[styles.input, { color: 'white' }]}
|
||||
<ThemedTextInput
|
||||
lvl = {2}
|
||||
border = {5}
|
||||
style={[styles.input]}
|
||||
placeholder="Mot de passe:"
|
||||
placeholderTextColor={'white'}
|
||||
value={password}
|
||||
@@ -55,14 +62,14 @@ const LoginScreen: React.FC = () => {
|
||||
<Button title="Se connecter" onPress={handleLogin} />
|
||||
<View style={{ height: 10 }} />
|
||||
{/* <Button title="S'inscrire" onPress={handleRegister} /> */}
|
||||
</View>
|
||||
</ThemedView>
|
||||
);
|
||||
};
|
||||
|
||||
export default LoginScreen;
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
container: { flex: 1, justifyContent: "center", padding: 20 },
|
||||
container: { flex: 1, padding: 20, paddingTop: 100},
|
||||
title: {
|
||||
fontSize: 22,
|
||||
fontWeight: "bold",
|
||||
@@ -71,7 +78,7 @@ const styles = StyleSheet.create({
|
||||
},
|
||||
input: {
|
||||
borderWidth: 1,
|
||||
borderColor: "#ccc",
|
||||
//borderColor: "#ccc",
|
||||
borderRadius: 8,
|
||||
padding: 10,
|
||||
marginBottom: 10,
|
||||
|
||||
Reference in New Issue
Block a user