Skip to content

Commit

Permalink
🚧 Start workin on destruction list create page
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvandescheur committed May 14, 2024
1 parent 4ec2157 commit ff0d660
Show file tree
Hide file tree
Showing 8 changed files with 685 additions and 46 deletions.
14 changes: 13 additions & 1 deletion frontend/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ import { RouterProvider, createBrowserRouter } from "react-router-dom";

import App from "./App";
import "./index.css";
import { LoginPage, landingLoader, loginAction, logoutLoader } from "./pages";
import {
DestructionListCreatePage,
LoginPage,
destructionListCreateLoader,
landingLoader,
loginAction,
logoutLoader,
} from "./pages";

const router = createBrowserRouter([
{
Expand All @@ -16,6 +23,11 @@ const router = createBrowserRouter([
path: "/",
loader: landingLoader,
},
{
path: "/destruction-lists/create",
element: <DestructionListCreatePage />,
loader: destructionListCreateLoader,
},
{
path: "/login",
element: <LoginPage />,
Expand Down
3 changes: 3 additions & 0 deletions frontend/src/pages/destructionlist/DestructionListCreate.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.DestructionListCreatePage {
/* Rules here. */
}
Loading

0 comments on commit ff0d660

Please sign in to comment.