create otp page - link auth page

This commit is contained in:
Alihaghighattalab
2024-08-05 13:06:00 +03:30
parent 0e5089aad5
commit 277b13e5d8
13 changed files with 704 additions and 8 deletions
+11
View File
@@ -5,6 +5,9 @@ import { Login } from "../pages/auth/login";
import { ForgotPassword } from "../pages/auth/forgot-password";
import { Register } from "../pages/auth/register";
import { ResetPassword } from "../pages/auth/reset-password";
import { LoginWithCode } from "../pages/auth/login-with-code";
import { SendCode } from "../pages/auth/send-code";
export const router = createBrowserRouter([
{
@@ -31,6 +34,14 @@ export const router = createBrowserRouter([
path: "reset-password",
element: <ResetPassword />
},
{
path: "login-with-code",
element: <LoginWithCode />
},
{
path: "send-code",
element: <SendCode />
},
]
}
])