From e84062383d1e5b8d56cc026efc7754ce550fadcc Mon Sep 17 00:00:00 2001 From: WiFiHan Date: Thu, 1 Jun 2023 13:39:03 +0900 Subject: [PATCH] [feat]MyPage React --- src/App.js | 4 + src/apis/api.js | 19 ++++ src/components/Comment/index.jsx | 66 ++++++++++++++ src/components/EditInput/index.jsx | 139 +++++++++++++++++++++++++++++ src/components/Header/index.jsx | 15 +++- src/routes/MyPage.jsx | 54 +++++++++++ src/routes/PostCreatePage.jsx | 48 ++++++++++ src/routes/PostDetailPage.jsx | 47 +++++----- src/routes/PostEditPage.jsx | 79 ---------------- 9 files changed, 366 insertions(+), 105 deletions(-) create mode 100644 src/components/EditInput/index.jsx create mode 100644 src/routes/MyPage.jsx diff --git a/src/App.js b/src/App.js index d27da22..0a42959 100644 --- a/src/App.js +++ b/src/App.js @@ -8,6 +8,7 @@ import PostEditPage from "./routes/PostEditPage"; import SignUpPage from "./routes/SignUpPage"; import PostDetailPage from "./routes/PostDetailPage"; import SignInPage from "./routes/SignInPage"; +import MyPage from "./routes/MyPage"; function App() { return ( @@ -27,6 +28,9 @@ function App() { } /> {/* sign up */} } /> + {/* MyPage */} + } /> +