From bee0021ffae6e1d75e0abd91a9a448d9fed4ecda Mon Sep 17 00:00:00 2001 From: Darius BERTRAND Date: Tue, 10 Jan 2023 14:40:34 +0100 Subject: [PATCH] tmp --- .../src/components/Configurations/ConfigurationDuCompte.js | 3 --- Site Web/client/src/components/Navbar.js | 2 +- Site Web/client/src/components/Notif.js | 2 +- .../client/src/styles/component/_configurationDuProfil.scss | 2 +- Site Web/client/src/styles/component/_navbar.scss | 2 +- 5 files changed, 4 insertions(+), 7 deletions(-) diff --git a/Site Web/client/src/components/Configurations/ConfigurationDuCompte.js b/Site Web/client/src/components/Configurations/ConfigurationDuCompte.js index 57326fad..cf26791d 100644 --- a/Site Web/client/src/components/Configurations/ConfigurationDuCompte.js +++ b/Site Web/client/src/components/Configurations/ConfigurationDuCompte.js @@ -1,6 +1,3 @@ -import React from 'react'; -import { NavLink } from "react-router-dom"; - import React, { useState } from 'react'; import { useSelector } from 'react-redux'; /*import PolitiqueDeConfidentialite from '../components/'; diff --git a/Site Web/client/src/components/Navbar.js b/Site Web/client/src/components/Navbar.js index 9e461a92..90ece44f 100644 --- a/Site Web/client/src/components/Navbar.js +++ b/Site Web/client/src/components/Navbar.js @@ -75,7 +75,7 @@ const Navbar = () => { }) .then(() => removeCookie('jwt')) .catch((err) => console.log(err)); - window.location = "/HomeNavigation"; + window.location = "/"; } diff --git a/Site Web/client/src/components/Notif.js b/Site Web/client/src/components/Notif.js index 65815e3e..22d9cf41 100644 --- a/Site Web/client/src/components/Notif.js +++ b/Site Web/client/src/components/Notif.js @@ -24,4 +24,4 @@ const Notif = ({message} ) => { ); }; -export default Notif; \ No newline at end of file +export default Notif; diff --git a/Site Web/client/src/styles/component/_configurationDuProfil.scss b/Site Web/client/src/styles/component/_configurationDuProfil.scss index 09324bd8..254fa53d 100644 --- a/Site Web/client/src/styles/component/_configurationDuProfil.scss +++ b/Site Web/client/src/styles/component/_configurationDuProfil.scss @@ -176,7 +176,7 @@ input{ @include object-center; background-color: rgba(0,0,0,.8); z-index: 10; - color: rgba(255,255,255); + color: rgb(255,255,255); transition: background-color .2s ease-in-out; border-radius: 20px; margin-bottom: 0; diff --git a/Site Web/client/src/styles/component/_navbar.scss b/Site Web/client/src/styles/component/_navbar.scss index 12e4d98e..cdbc83a8 100644 --- a/Site Web/client/src/styles/component/_navbar.scss +++ b/Site Web/client/src/styles/component/_navbar.scss @@ -5,7 +5,7 @@ --navbar-icon-color:#646c79; --navbar-text-color:black; --navbar-transition-speed: .2s; - --primary-color:#7C4DFF; + --primary-color:$color-8; --navbar-logo-background-color:#e2dfe4; }