diff --git a/src/pages/Profile/ProfilePage.jsx b/src/pages/Profile/ProfilePage.jsx new file mode 100644 index 0000000..ced55ac --- /dev/null +++ b/src/pages/Profile/ProfilePage.jsx @@ -0,0 +1,14 @@ +import styles from "./ProfilePage.module.css"; +import LoginForm from "../../components/form/form.jsx"; + +function ProfilePage() { + return ( +
+ +
+ ); +} + +export default ProfilePage; + + diff --git a/src/pages/Profile/ProfilePage.module.css b/src/pages/Profile/ProfilePage.module.css new file mode 100644 index 0000000..e69de29 diff --git a/src/router.js b/src/router.js index c3351c5..51e36b8 100644 --- a/src/router.js +++ b/src/router.js @@ -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, } ] }