add ProfilePage
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import styles from "./ProfilePage.module.css";
|
||||
import LoginForm from "../../components/form/form.jsx";
|
||||
|
||||
function ProfilePage() {
|
||||
return (
|
||||
<div className={styles.container}>
|
||||
<LoginForm />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default ProfilePage;
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@ import { createBrowserRouter } from "react-router";
|
||||
import Layout from "./layout.jsx";
|
||||
import HomePage from "./pages/Home/HomePage";
|
||||
import LoginPage from "./pages/Login/LoginPage";
|
||||
import ProfilePage from "./pages/Profile/ProfilePage";
|
||||
|
||||
const router = createBrowserRouter([
|
||||
{
|
||||
@@ -15,6 +16,10 @@ const router = createBrowserRouter([
|
||||
{
|
||||
path: "/login",
|
||||
Component: LoginPage,
|
||||
},
|
||||
{
|
||||
path:"/profile",
|
||||
Component:ProfilePage,
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user