Refonte front : flux inscription/connexion, saisie code et historique gains
- Redesign Connexion, Inscription avec modal succès et compte à rebours - Page SaisirCodeUnique connectée au backend avec overlay Félicitation - Page Perdu pour les codes invalides/déjà utilisés - MesGains redesigné en timeline avec appel API et bouton saisir nouveau code - Profile redesigné avec onglets et données depuis localStorage - Service game.js ajouté (participateApi, myGainsApi) - Ajout des designs de référence dans frontend/Design/ Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
import { BrowserRouter, Routes, Route, Navigate } from 'react-router-dom'
|
||||
import Connexion from './pages/Connexion'
|
||||
import Inscription from './pages/Inscription'
|
||||
import Participation from './pages/Participation'
|
||||
//import Participation from './pages/Participation'
|
||||
import MesGains from './pages/MesGains'
|
||||
import Employe from './pages/Employe'
|
||||
import Admin from './pages/Admin'
|
||||
import Profile from './pages/Profile'
|
||||
import SaisirCodeUnique from './pages/SaisirCodeUnique.jsx'
|
||||
import Perdu from './pages/Perdu'
|
||||
|
||||
export default function App() {
|
||||
return (
|
||||
@@ -15,12 +16,13 @@ export default function App() {
|
||||
<Route path="/" element={<Navigate to="/connexion" replace />} />
|
||||
<Route path="/connexion" element={<Connexion />} />
|
||||
<Route path="/inscription" element={<Inscription />} />
|
||||
<Route path="/participation" element={<Participation />} />
|
||||
{/* <Route path="/participation" element={<Participation />} /> */}
|
||||
<Route path="/mes-gains" element={<MesGains />} />
|
||||
<Route path="/employe" element={<Employe />} />
|
||||
<Route path="/admin" element={<Admin />} />
|
||||
<Route path="/profile" element={<Profile />} />
|
||||
<Route path="/saisir-code-unique" element={<SaisirCodeUnique />} />
|
||||
<Route path="/perdu" element={<Perdu />} />
|
||||
</Routes>
|
||||
</BrowserRouter>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user