added community, CRUD
This commit is contained in:
@@ -4,6 +4,10 @@ import SignUpPage from "./pages/SignUpPage";
|
||||
import SignInPage from "./pages/SignInPage";
|
||||
import SpringboardPage from "./pages/SpringboardPage";
|
||||
import ManageUserAccountPage from "./pages/ManageUserAccountPage";
|
||||
|
||||
import CommunityPage from "./pages/CommunityPage";
|
||||
import CreatePostPage from "./pages/CreatePostPage";
|
||||
import EditPostPage from "./pages/EditPostPage";
|
||||
import SchedulePage from "./pages/SchedulePage";
|
||||
|
||||
function App() {
|
||||
@@ -17,6 +21,10 @@ function App() {
|
||||
element={<ManageUserAccountPage />}
|
||||
path="/manage-account/:accessToken"
|
||||
/>
|
||||
|
||||
<Route element={<CommunityPage />} path="/community" />
|
||||
<Route element={<CreatePostPage />} path="/createPost" />
|
||||
<Route element={<EditPostPage/>} path="/editPost/:id" />
|
||||
<Route element={<SchedulePage/>} path="/schedule"/>
|
||||
</Routes>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user