From 39cfcfba5bdb8036ecf4c3491b69fe3c087573e3 Mon Sep 17 00:00:00 2001 From: G Date: Thu, 25 Apr 2024 10:35:30 +0000 Subject: [PATCH] add background image to the screen --- assets/beasy_background.png | Bin 0 -> 22362 bytes src/screens/UserLoginScreen.tsx | 86 +++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------- 2 files changed, 47 insertions(+), 39 deletions(-) create mode 100644 assets/beasy_background.png diff --git a/assets/beasy_background.png b/assets/beasy_background.png new file mode 100644 index 0000000..9c750af Binary files /dev/null and b/assets/beasy_background.png differ diff --git a/src/screens/UserLoginScreen.tsx b/src/screens/UserLoginScreen.tsx index 2967385..8b6e4ec 100644 --- a/src/screens/UserLoginScreen.tsx +++ b/src/screens/UserLoginScreen.tsx @@ -2,51 +2,59 @@ import Button from "@components/Button"; import Input from "@components/Input"; import Box from "@components/bases/Box"; import Text from "@components/bases/Text"; -import { containers } from "@styles/Commons"; -import { KeyboardAvoidingView, Platform, View } from "react-native"; +import { containers, images } from "@styles/Commons"; +import { ImageBackground, KeyboardAvoidingView, Platform, View } from "react-native"; const UserLoginScreen = () => { return ( - - + - - - - Connexion - - Bienvenue, vous nous avez manqué ! - + + + + + + Connexion + + Bienvenue, vous nous avez manqué ! + - - - + + + + + + + +