Skip to content

Commit

Permalink
add: inbox Router
Browse files Browse the repository at this point in the history
  • Loading branch information
Celesca committed Nov 25, 2024
1 parent 81c1975 commit 8f194f7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
7 changes: 7 additions & 0 deletions frontend/src/Inbox.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const Inbox = () => {
return (
<div>Inbox</div>
)
}

export default Inbox
11 changes: 11 additions & 0 deletions frontend/src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import EventDetail from './EventDetail';
import Personal from "./personal";

import Hackathon from "./hackathon";
import Inbox from "./Inbox";

const router = createBrowserRouter([
{
Expand Down Expand Up @@ -97,6 +98,16 @@ const router = createBrowserRouter([
</>
),
errorElement: <ErrorPage />
},
{
path: "/inbox",
element: (
<>
<Navbar />
<Inbox />
</>
),
errorElement: <ErrorPage />
}
]);

Expand Down

0 comments on commit 8f194f7

Please sign in to comment.