feat(auth): add registration page
This commit is contained in:
@ -22,6 +22,7 @@ import { HardTestModules } from "./pages/student/hard-test-modules/page";
|
||||
import { Analytics } from "./pages/student/Analytics";
|
||||
import { QuestMap } from "./pages/student/QuestMap";
|
||||
import ErrorPage from "./pages/ErrorPage";
|
||||
import { Register } from "./pages/auth/Register";
|
||||
|
||||
function App() {
|
||||
const router = createBrowserRouter([
|
||||
@ -29,6 +30,10 @@ function App() {
|
||||
path: "/login",
|
||||
element: <Login />,
|
||||
},
|
||||
{
|
||||
path: "/register",
|
||||
element: <Register />,
|
||||
},
|
||||
{
|
||||
path: "/student",
|
||||
element: <ProtectedRoute />,
|
||||
|
||||
Reference in New Issue
Block a user