complete login forgot signup page - init project

This commit is contained in:
Alihaghighattalab
2024-08-04 19:47:09 +03:30
commit 7c22c9e132
31 changed files with 21027 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
import { createBrowserRouter } from "react-router-dom";
import { AuthLayout } from "../components/ui/auth/layout";
import App from "../App";
import { Login } from "../pages/auth/login";
import { ForgotPassword } from "../pages/auth/forgot-password";
import { Register } from "../pages/auth/register";
export const router = createBrowserRouter([
{
path: "/",
element: <App />
},
{
element: <AuthLayout />,
path: "/auth",
children: [
{
path: "login",
element: <Login />
},
{
path: "forgot-password",
element: <ForgotPassword />
},
{
path: "register",
element: <Register />
}
]
}
])