feat: add routing (#4)

This commit is contained in:
2024-10-27 16:07:03 +03:00
parent 855887079b
commit 693a7c5420
9 changed files with 98 additions and 6 deletions

17
src/routes.tsx Normal file
View File

@@ -0,0 +1,17 @@
import React from "react";
import { Routes, Route } from "react-router-dom";
import Arm from "./pages/arm";
import Order from "./pages/order-view";
import Landing from "./pages/landing";
const Routers = () => {
return (
<Routes>
<Route path="/dry-wash-pl" element={<Landing />}></Route>
<Route path="/dry-wash-pl/order" element={<Order />}></Route>
<Route path="/dry-wash-pl/arm" element={<Arm />}></Route>
</Routes>
);
};
export default Routers;