diff --git a/src/App.tsx b/src/App.tsx index f6fffe7..788ab9d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,5 +1,7 @@ import React from "react"; import Dashboard from "./Routes/Dashboard/Dashboard"; +import Error from "./Routes/Error/Error"; +import Products from "./Routes/Products/Products"; import Header from "./Components/Header/Header"; import Container from "./Components/Container/Container"; import { createBrowserRouter, RouterProvider } from "react-router-dom"; @@ -10,6 +12,11 @@ const router = createBrowserRouter([ { path: "/", element: , + errorElement: , + }, + { + path: "/Products", + element: , }, ]); diff --git a/src/routes/Error/Error.tsx b/src/routes/Error/Error.tsx new file mode 100644 index 0000000..c59095b --- /dev/null +++ b/src/routes/Error/Error.tsx @@ -0,0 +1,13 @@ +import React from "react"; +import AppLogo from "../../Components/Icons/AppLogo/AppLogo"; +import styles from "../../styles"; + +export default function Error() { + return ( +
+ +

Ivy - Inventory Manager

+

Error 404: Page Not Found

+
+ ); +} diff --git a/src/routes/Products/Products.tsx b/src/routes/Products/Products.tsx new file mode 100644 index 0000000..607cdc2 --- /dev/null +++ b/src/routes/Products/Products.tsx @@ -0,0 +1,13 @@ +import React from "react"; +import styles from "../../styles"; +import AppLogo from "../../Components/Icons/AppLogo/AppLogo"; + +export default function Products() { + return ( +
+ +

Ivy - Inventory Manager

+

Products Page

+
+ ); +}