diff --git a/src/components/backgrounds/BackgroundWithBeasyIconAndWhiteContentArea.tsx b/src/components/backgrounds/BackgroundWithBeasyIconAndWhiteContentArea.tsx index c52287b..a440727 100644 --- a/src/components/backgrounds/BackgroundWithBeasyIconAndWhiteContentArea.tsx +++ b/src/components/backgrounds/BackgroundWithBeasyIconAndWhiteContentArea.tsx @@ -4,7 +4,7 @@ import WrapperTopEdgeCurved from "@components/WrapperTopEdgeCurved"; import Box from "@components/bases/Box"; import { useNavigation } from "@react-navigation/native"; import type { ReactElement } from "react"; -import BackgroundDefault from "./BeasyDefaultBackgroundWrapper"; +import BackgroundDefault from "./BeasyDefaultBackground"; const BackgroundWithBeasyIconAndWhiteContentArea = ({ children, diff --git a/src/components/backgrounds/BeasyDefaultBackgroundWrapper.tsx b/src/components/backgrounds/BeasyDefaultBackground.tsx similarity index 61% rename from src/components/backgrounds/BeasyDefaultBackgroundWrapper.tsx rename to src/components/backgrounds/BeasyDefaultBackground.tsx index 5f11d8d..3e54f17 100644 --- a/src/components/backgrounds/BeasyDefaultBackgroundWrapper.tsx +++ b/src/components/backgrounds/BeasyDefaultBackground.tsx @@ -3,15 +3,12 @@ import { ImageBackground } from "react-native"; type Props = { children: React.ReactNode }; -const BackgroundDefault = ({ children }: Props) => { +const BeasyDefaultBackground = ({ children }: Props) => { return ( - + {children} ); }; -export default BackgroundDefault; +export default BeasyDefaultBackground; diff --git a/src/screens/HomePageWithPaymentOptions.tsx b/src/screens/HomePageWithPaymentOptions.tsx index a5f6a8d..e91785c 100644 --- a/src/screens/HomePageWithPaymentOptions.tsx +++ b/src/screens/HomePageWithPaymentOptions.tsx @@ -1,12 +1,7 @@ import type { PaymentStackScreenComponentProps } from "@/navigations/Types"; import getPaymentTypes from "@/utils/requests/getPaymentTypes"; -import BalanceContainer from "@components/BalanceContainer"; -import BeasyLogoIcon from "@components/BeasyLogoIcon"; -import NotificationIconButton from "@components/NotificationIconButton"; -import PaymentOption from "@components/PaymentOption"; -import BackgroundGreenWhiteContentArea from "@components/backgrounds/BackgroundGreenWhiteContentArea"; +import BarWithBeasyAndNotificationsIcon from "@components/BarWithBeasyAndNotificationsIcon"; import Box from "@components/bases/Box"; -import Text from "@components/bases/Text"; import { LOG } from "@logger"; import { useQuery } from "@tanstack/react-query"; import { useMemo } from "react"; @@ -37,28 +32,21 @@ const HomePageWithPaymentOptions: PaymentStackScreenComponentProps<"homePageWith ); return ( - - - - - - - - + // + + + + {/* - - + */} + + {/* Types de paiement - {/* */} + ))} - - - - + */} + + + // ); }; diff --git a/src/screens/PaymentAmountInputScreen.tsx b/src/screens/PaymentAmountInputScreen.tsx index 6c57f8c..94460c6 100644 --- a/src/screens/PaymentAmountInputScreen.tsx +++ b/src/screens/PaymentAmountInputScreen.tsx @@ -5,7 +5,7 @@ import Button from "@components/Button"; import GoBackIconButton from "@components/GoBackIconButton"; import InputWithTopLabel from "@components/InputWithTopLabel"; import PaymentOption from "@components/PaymentOption"; -import BeasyDefaultBackgroundWrapper from "@components/backgrounds/BeasyDefaultBackgroundWrapper"; +import BeasyDefaultBackgroundWrapper from "@components/backgrounds/BeasyDefaultBackground"; import Box from "@components/bases/Box"; import Text from "@components/bases/Text"; import useOrangeMoney from "@hooks/useOrangeMoney"; diff --git a/src/screens/PaymentResultScreen.tsx b/src/screens/PaymentResultScreen.tsx index 8c22698..292cf1c 100644 --- a/src/screens/PaymentResultScreen.tsx +++ b/src/screens/PaymentResultScreen.tsx @@ -2,7 +2,7 @@ import type { MainStackScreenComponentProps } from "@/navigations/Types"; import BeasyLogoIcon from "@components/BeasyLogoIcon"; import Button from "@components/Button"; import GoBackIconButton from "@components/GoBackIconButton"; -import BeasyDefaultBackgroundWrapper from "@components/backgrounds/BeasyDefaultBackgroundWrapper"; +import BeasyDefaultBackgroundWrapper from "@components/backgrounds/BeasyDefaultBackground"; import Box from "@components/bases/Box"; import Text from "@components/bases/Text"; import CheckIcon from "@components/icons/CheckIcon"; diff --git a/src/screens/UserLoginScreen.tsx b/src/screens/UserLoginScreen.tsx index ec143db..7108595 100644 --- a/src/screens/UserLoginScreen.tsx +++ b/src/screens/UserLoginScreen.tsx @@ -3,7 +3,7 @@ import type { MainStackScreenComponentProps } from "@/navigations/Types"; import Button from "@components/Button"; import ContainerBorderTopCurved from "@components/ContainerBorderTopCurved"; import InputWithTopLabel from "@components/InputWithTopLabel"; -import BeasyDefaultBackgroundWrapper from "@components/backgrounds/BeasyDefaultBackgroundWrapper"; +import BeasyDefaultBackgroundWrapper from "@components/backgrounds/BeasyDefaultBackground"; import Box from "@components/bases/Box"; import Text from "@components/bases/Text"; import { Fontisto } from "@expo/vector-icons";