]> git.localhorst.tv Git - alttp.git/blobdiff - resources/js/components/aos/App.js
remove aosr command
[alttp.git] / resources / js / components / aos / App.js
index 9f00effaf08c1aac7dd13a2ceaf2398e3b5df005..a092074fb4ed617df6cd650b5f5fbad7cd9eb89f 100644 (file)
@@ -3,8 +3,10 @@ import React, { useEffect, useState } from 'react';
 import { BrowserRouter, Route, Routes } from 'react-router-dom';
 
 import Header from './Header';
+import AosFront from '../pages/AosFront';
+import AosGenerate from '../pages/AosGenerate';
 import AosSeed from '../pages/AosSeed';
-import Front from '../pages/Front';
+import Tracker from '../pages/AosTracker';
 import User from '../pages/User';
 import AosBaseRomProvider from '../../helpers/AosBaseRomContext';
 import UserContext from '../../helpers/UserContext';
@@ -54,9 +56,11 @@ const App = () => {
                        <UserContext.Provider value={user}>
                                <Header doLogout={doLogout} />
                                <Routes>
+                                       <Route path="generate" element={<AosGenerate />} />
                                        <Route path="h/:hash" element={<AosSeed />} />
+                                       <Route path="tracker" element={<Tracker />} />
                                        <Route path="users/:id" element={<User />} />
-                                       <Route path="*" element={<Front />} />
+                                       <Route path="*" element={<AosFront />} />
                                </Routes>
                        </UserContext.Provider>
                </AosBaseRomProvider>