added the contract and contracts and all supporting files

This commit is contained in:
csawatzky 2025-04-16 17:06:54 -06:00
parent 07ccb42905
commit 832bb0f7e5
18 changed files with 2898 additions and 17 deletions

View file

@ -40,6 +40,8 @@ const Marketplace = lazy(() => import("userFeatures/UserFeatures"))
const Logs = lazy(() => import("pages/Logs"))
const Firmware = lazy(() => import("pages/Firmware"));
const Nfc = lazy(() => import("pages/Nfc"));
const Contracts = lazy(() => import("pages/Contracts"));
const Contract = lazy(() => import("pages/Contract"));
export const appendToUrl = (appendage: number | string) => {
const basePath = location.pathname.replace(/\/$/, "");
@ -317,6 +319,8 @@ export default function Router() {
<Route path="firmware" element={<Firmware />} />
)}
<Route path="nfc" element={<Nfc />} />
<Route path="contracts" element={<Contracts />} />
<Route path="contracts/:contractKey" element={<Contract />} />
{/* Map pages */}
<Route path="visualFarm" element={<FieldMap />} />