Commit d47a9478 by G

add header part of the screen for closing and 'forgotten password'

parent 1ab5a6e5
...@@ -3,12 +3,26 @@ import Input from "@components/Input"; ...@@ -3,12 +3,26 @@ import Input from "@components/Input";
import BackgroundGreenWhiteContentArea from "@components/backgrounds/BackgroundGreenWhiteContentArea"; import BackgroundGreenWhiteContentArea from "@components/backgrounds/BackgroundGreenWhiteContentArea";
import Box from "@components/bases/Box"; import Box from "@components/bases/Box";
import Text from "@components/bases/Text"; import Text from "@components/bases/Text";
import { Fontisto } from "@expo/vector-icons";
import { containers } from "@styles/Commons"; import { containers } from "@styles/Commons";
import { KeyboardAvoidingView, Platform, View } from "react-native"; import { KeyboardAvoidingView, Platform, SafeAreaView, TouchableOpacity, View } from "react-native";
const UserLoginScreen = () => { const UserLoginScreen = () => {
return ( return (
<BackgroundGreenWhiteContentArea> <BackgroundGreenWhiteContentArea>
<SafeAreaView style={{ flex: 1 }}>
<Box
px={"m"}
justifyContent={"space-between"}
flexDirection={"row"}
alignItems={"center"}
>
<Fontisto name="close-a" size={12} color="black" />
<TouchableOpacity>
<Text>Mot de passe oublie ?</Text>
</TouchableOpacity>
</Box>
<Box <Box
style={[containers.containerFull]} style={[containers.containerFull]}
p={"xl"} p={"xl"}
...@@ -49,6 +63,7 @@ const UserLoginScreen = () => { ...@@ -49,6 +63,7 @@ const UserLoginScreen = () => {
/> />
</Box> </Box>
</Box> </Box>
</SafeAreaView>
</BackgroundGreenWhiteContentArea> </BackgroundGreenWhiteContentArea>
); );
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment