From 8ad624f40912c9d8dc99d363eb9664ce70805073 Mon Sep 17 00:00:00 2001 From: Giovanni-Josserand Date: Thu, 12 Mar 2026 11:33:14 +0100 Subject: [PATCH] Rename Background component files --- .../{background/background.jsx => Background/Background.jsx} | 0 .../background.module.css => Background/Background.module.css} | 0 src/layout.jsx | 2 +- src/pages/Login/LoginPage.jsx | 2 +- src/pages/PageNotFound/PageNotFound.jsx | 2 +- src/pages/Register/RegisterPage.jsx | 2 +- src/pages/waitValidationPage/ValidationErrorPage.jsx | 2 +- src/stories/ThemeSwitcher.stories.jsx | 2 +- 8 files changed, 6 insertions(+), 6 deletions(-) rename src/components/{background/background.jsx => Background/Background.jsx} (100%) rename src/components/{background/background.module.css => Background/Background.module.css} (100%) diff --git a/src/components/background/background.jsx b/src/components/Background/Background.jsx similarity index 100% rename from src/components/background/background.jsx rename to src/components/Background/Background.jsx diff --git a/src/components/background/background.module.css b/src/components/Background/Background.module.css similarity index 100% rename from src/components/background/background.module.css rename to src/components/Background/Background.module.css diff --git a/src/layout.jsx b/src/layout.jsx index 4fa0991..3bf35cf 100644 --- a/src/layout.jsx +++ b/src/layout.jsx @@ -1,7 +1,7 @@ import { Outlet } from "react-router"; import Footer from "./components/Footer/Footer.jsx" import Header from "./components/Header/Header.jsx"; -import Background from "./components/background/background.jsx"; +import Background from "./components/Background/background.jsx"; import { Navigate } from "react-router"; import { useContext} from "react"; import { AuthContext } from "./contexts/auth/AuthContext.js"; diff --git a/src/pages/Login/LoginPage.jsx b/src/pages/Login/LoginPage.jsx index 1b267cd..b9801ae 100644 --- a/src/pages/Login/LoginPage.jsx +++ b/src/pages/Login/LoginPage.jsx @@ -1,6 +1,6 @@ import styles from "./LoginPage.module.css"; import LoginForm from "./components/loginform/loginForm.jsx"; -import Background from "../../components/background/background.jsx"; +import Background from "../../components/Background/background.jsx"; import { useEffect, useContext } from "react"; import { AuthContext } from "../../contexts/auth/AuthContext.js"; import { useNavigate } from "react-router"; diff --git a/src/pages/PageNotFound/PageNotFound.jsx b/src/pages/PageNotFound/PageNotFound.jsx index 37d7626..dc2f827 100644 --- a/src/pages/PageNotFound/PageNotFound.jsx +++ b/src/pages/PageNotFound/PageNotFound.jsx @@ -1,4 +1,4 @@ -import Background from "../../components/background/background.jsx"; +import Background from "../../components/Background/background.jsx"; import styles from "./PageNotFound.module.css" import { useNavigate } from "react-router"; import { APP_CONFIG } from "../../config/appConfig.js"; diff --git a/src/pages/Register/RegisterPage.jsx b/src/pages/Register/RegisterPage.jsx index 48c9751..0186af2 100644 --- a/src/pages/Register/RegisterPage.jsx +++ b/src/pages/Register/RegisterPage.jsx @@ -1,5 +1,5 @@ import styles from "./RegisterPage.module.css"; -import Background from "../../components/background/background.jsx"; +import Background from "../../components/Background/background.jsx"; import Input from "../../components/ui/input/input.tsx"; import Button from "../../components/ui/button/button.tsx"; import {useContext, useEffect, useState} from "react"; diff --git a/src/pages/waitValidationPage/ValidationErrorPage.jsx b/src/pages/waitValidationPage/ValidationErrorPage.jsx index 3086d77..456afb6 100644 --- a/src/pages/waitValidationPage/ValidationErrorPage.jsx +++ b/src/pages/waitValidationPage/ValidationErrorPage.jsx @@ -1,5 +1,5 @@ import styles from "./validationErrorPage.module.css" -import Background from "../../components/background/background.jsx"; +import Background from "../../components/Background/background.jsx"; import Button from "../../components/ui/button/button.tsx"; import { useContext } from "react"; import { AuthContext } from "../../contexts/auth/AuthContext.js"; diff --git a/src/stories/ThemeSwitcher.stories.jsx b/src/stories/ThemeSwitcher.stories.jsx index f285b15..f2886f0 100644 --- a/src/stories/ThemeSwitcher.stories.jsx +++ b/src/stories/ThemeSwitcher.stories.jsx @@ -1,5 +1,5 @@ import ThemeSwitcher from "../components/ui/themeSwitcher/ThemeSwitcher.jsx"; -import Background from "../components/background/background.jsx"; +import Background from "../components/Background/background.jsx"; export default { title: 'UI/ThemeSwitcher',