Fix : couleur text pour le login et du bouton dans le gestionnaire_ressource
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { useRouter , useLocalSearchParams} from "expo-router";
|
||||
import { navigate } from "expo-router/build/global-state/routing";
|
||||
import React, {useState} from 'react';
|
||||
import { Button,FlatList,Image, Text, TextInput,View, StyleSheet } from 'react-native';
|
||||
|
||||
@@ -68,7 +69,7 @@ export default function GestionnaireRessource() {
|
||||
/>
|
||||
|
||||
<View style={styles.footer}>
|
||||
<Button title="Retour" onPress={() => router.back()} />
|
||||
<Button title="Retour" onPress={() =>router.push('/(tabs)/bonjourFL')} />
|
||||
</View>
|
||||
</View>
|
||||
)
|
||||
|
||||
@@ -36,22 +36,25 @@ const LoginScreen: React.FC = () => {
|
||||
<View style={styles.container}>
|
||||
<Text style={styles.title}>Se connecter / S'incrire</Text>
|
||||
<TextInput
|
||||
style={styles.input}
|
||||
placeholder="Email"
|
||||
style={[styles.input, { color: 'white' }]}
|
||||
placeholder="Email:"
|
||||
placeholderTextColor={'white'}
|
||||
value={email}
|
||||
onChangeText={setEmail}
|
||||
autoCapitalize="none"
|
||||
|
||||
/>
|
||||
<TextInput
|
||||
style={styles.input}
|
||||
placeholder="Mot de passe"
|
||||
style={[styles.input, { color: 'white' }]}
|
||||
placeholder="Mot de passe:"
|
||||
placeholderTextColor={'white'}
|
||||
value={password}
|
||||
onChangeText={setPassword}
|
||||
secureTextEntry
|
||||
/>
|
||||
<Button title="Se connecter" onPress={handleLogin} />
|
||||
<View style={{ height: 10 }} />
|
||||
{/* <Button title="S'inscrire" onPress={handleRegister} /> */}
|
||||
{/* <Button title="S'inscrire" onPress={handleRegister} /> */}
|
||||
</View>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user