Skip to content

Commit

Permalink
Add login page to routing.
Browse files Browse the repository at this point in the history
  • Loading branch information
programmiri committed Oct 31, 2022
1 parent ec250ee commit b3f54d6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions coral/src/app/router.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
import { createBrowserRouter, Navigate, RouteObject } from "react-router-dom";
import HomePage from "src/app/pages";
import Hello from "src/app/pages/Hello";
import Login from "src/app/pages/Login";

const routes: Array<RouteObject> = [
{
path: "/",
element: <HomePage />,
},
{
path: "/login",
element: <Login />,
},
{
path: "/hello",
element: <Hello />,
Expand Down

0 comments on commit b3f54d6

Please sign in to comment.