background images register

This commit is contained in:
2025-10-12 14:21:00 +02:00
parent b34479762a
commit 6a89e40735
3 changed files with 10 additions and 2 deletions
+3 -1
View File
@@ -9,6 +9,7 @@ import ItemContainer from "../components/ItemContainer/ItemContainer";
import { handleFirebaseError } from "../actions/signupActions"; import { handleFirebaseError } from "../actions/signupActions";
import firebase, { usersRef } from "../config/firebase"; import firebase, { usersRef } from "../config/firebase";
import Page from "../layouts/Page"; import Page from "../layouts/Page";
import { isWeb } from "../hooks/useLayoutType";
import { Routes } from "../navigation"; import { Routes } from "../navigation";
import { navigate } from "../navigation/NavigationService"; import { navigate } from "../navigation/NavigationService";
import { Palette } from "../styles"; import { Palette } from "../styles";
@@ -85,7 +86,8 @@ const CreatePassword = () => {
return ( return (
<Page <Page
backgroundImg={background.homeBG} width={isWeb ? 600 : null}
backgroundImg={isWeb ? background.loginBgWeb : background.homeBG}
headerType="NAVIGATION" headerType="NAVIGATION"
title="Inscription" title="Inscription"
> >
+3 -1
View File
@@ -7,6 +7,7 @@ import { Input } from "../components/Input";
import ItemContainer from "../components/ItemContainer/ItemContainer"; import ItemContainer from "../components/ItemContainer/ItemContainer";
import firebase, { usersRef } from "../config/firebase"; import firebase, { usersRef } from "../config/firebase";
import Page from "../layouts/Page"; import Page from "../layouts/Page";
import { isWeb } from "../hooks/useLayoutType";
import { Routes } from "../navigation"; import { Routes } from "../navigation";
import { navigate } from "../navigation/NavigationService"; import { navigate } from "../navigation/NavigationService";
import { Palette } from "../styles"; import { Palette } from "../styles";
@@ -63,7 +64,8 @@ const CreatePseudo = () => {
return ( return (
<Page <Page
backgroundImg={background.homeBG} width={isWeb ? 600 : null}
backgroundImg={isWeb ? background.loginBgWeb : background.homeBG}
headerType="NAVIGATION" headerType="NAVIGATION"
title="Ton pseudo" title="Ton pseudo"
hideBackButton hideBackButton
+4
View File
@@ -9,6 +9,8 @@ import { Input } from "../components/Input";
import { Fonts, Style } from "../styles"; import { Fonts, Style } from "../styles";
import Page from "../layouts/Page"; import Page from "../layouts/Page";
import { background } from "../assets";
import { isWeb } from "../hooks/useLayoutType";
export default ({ navigation }) => { export default ({ navigation }) => {
const [, setTooltip] = useGlobal("_tooltip"); const [, setTooltip] = useGlobal("_tooltip");
@@ -41,6 +43,8 @@ export default ({ navigation }) => {
return ( return (
<Page <Page
width={isWeb ? 600 : null}
backgroundImg={isWeb ? background.loginBgWeb : background.homeBG}
headerType="NAVIGATE" headerType="NAVIGATE"
title={"Nouveau mot de passe"} title={"Nouveau mot de passe"}
scrollEnabled scrollEnabled