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