This commit is contained in:
MathieuSevignyLavallee 2024-10-15 20:17:46 -04:00
parent 1eff386da8
commit 8770726873
2 changed files with 5 additions and 5 deletions

View file

@ -7,8 +7,8 @@ import Home from './pages/Home/Home';
// Pages espace enseignant // Pages espace enseignant
import Dashboard from './pages/Teacher/Dashboard/Dashboard'; import Dashboard from './pages/Teacher/Dashboard/Dashboard';
import Share from './pages/Teacher/Share/Share'; import Share from './pages/Teacher/Share/Share';
import Register from './pages/AuthSelection/providers/SimpleLogin/Register'; import Register from './pages/AuthManager/providers/SimpleLogin/Register';
import ResetPassword from './pages/AuthSelection/providers/SimpleLogin/ResetPassword'; import ResetPassword from './pages/AuthManager/providers/SimpleLogin/ResetPassword';
import ManageRoom from './pages/Teacher/ManageRoom/ManageRoom'; import ManageRoom from './pages/Teacher/ManageRoom/ManageRoom';
import QuizForm from './pages/Teacher/EditorQuiz/EditorQuiz'; import QuizForm from './pages/Teacher/EditorQuiz/EditorQuiz';
@ -16,14 +16,14 @@ import QuizForm from './pages/Teacher/EditorQuiz/EditorQuiz';
import JoinRoom from './pages/Student/JoinRoom/JoinRoom'; import JoinRoom from './pages/Student/JoinRoom/JoinRoom';
// Pages authentification selection // Pages authentification selection
import AuthDrawer from './pages/AuthSelection/AuthDrawer'; import AuthDrawer from './pages/AuthManager/AuthDrawer';
// Header/Footer import // Header/Footer import
import Header from './components/Header/Header'; import Header from './components/Header/Header';
import Footer from './components/Footer/Footer'; import Footer from './components/Footer/Footer';
import ApiService from './services/ApiService'; import ApiService from './services/ApiService';
import OAuthCallback from './pages/AuthSelection/callback/AuthCallback'; import OAuthCallback from './pages/AuthManager/callback/AuthCallback';
const App: React.FC = () => { const App: React.FC = () => {
const [isAuthenticated, setIsAuthenticated] = useState(ApiService.isLoggedIn()); // Initial check const [isAuthenticated, setIsAuthenticated] = useState(ApiService.isLoggedIn()); // Initial check

View file

@ -1,6 +1,6 @@
import React from 'react'; import React from 'react';
import { ENV_VARIABLES } from '../../../../constants'; import { ENV_VARIABLES } from '../../../../constants';
import './css/ButtonAuth.css'; import '../css/buttonAuth.css';
interface ButtonAuthContainerProps { interface ButtonAuthContainerProps {
providerName: string; providerName: string;