Skip to content

Commit

Permalink
feat(hardware): create hardware routes
Browse files Browse the repository at this point in the history
Part of #460 and #461
  • Loading branch information
Francisco2002 committed Nov 4, 2024
1 parent 978ea62 commit b56f518
Show file tree
Hide file tree
Showing 14 changed files with 301 additions and 101 deletions.
347 changes: 246 additions & 101 deletions dashboard/src/routeTree.gen.ts

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { createFileRoute } from '@tanstack/react-router';

export const Route = createFileRoute('/hardware/$hardware/boot/$bootId/')({
component: () => <div>Hello /hardware/$hardware/boot/$bootId/!</div>,
});
5 changes: 5 additions & 0 deletions dashboard/src/routes/hardware/$hardwareId/boot/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { createFileRoute } from '@tanstack/react-router';

export const Route = createFileRoute('/hardware/$hardware/boot/')({
component: () => <div>Hello /hardware/$hardware/boot/!</div>,
});
3 changes: 3 additions & 0 deletions dashboard/src/routes/hardware/$hardwareId/boot/route.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { createFileRoute } from '@tanstack/react-router';

export const Route = createFileRoute('/hardware/$hardware/boot')({});
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { createFileRoute } from '@tanstack/react-router';

export const Route = createFileRoute('/hardware/$hardware/build/$buildId/')({
component: () => <div>Hello /hardware/$hardware/build/$buildId/!</div>,
});
5 changes: 5 additions & 0 deletions dashboard/src/routes/hardware/$hardwareId/build/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { createFileRoute } from '@tanstack/react-router';

export const Route = createFileRoute('/hardware/$hardware/build/')({
component: () => <div>Hello /hardware/$hardware/build/!</div>,
});
3 changes: 3 additions & 0 deletions dashboard/src/routes/hardware/$hardwareId/build/route.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { createFileRoute } from '@tanstack/react-router';

export const Route = createFileRoute('/hardware/$hardware/build')({});
5 changes: 5 additions & 0 deletions dashboard/src/routes/hardware/$hardwareId/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { createFileRoute } from '@tanstack/react-router';

export const Route = createFileRoute('/hardware/$hardware/')({
component: () => <div>Hello /hardware/$hardware/!</div>,
});
3 changes: 3 additions & 0 deletions dashboard/src/routes/hardware/$hardwareId/route.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { createFileRoute } from '@tanstack/react-router';

export const Route = createFileRoute('/hardware/$hardware')({});
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { createFileRoute } from '@tanstack/react-router';

export const Route = createFileRoute('/hardware/$hardware/test/$testId/')({
component: () => <div>Hello /hardware/$hardware/test/$testId/!</div>,
});
5 changes: 5 additions & 0 deletions dashboard/src/routes/hardware/$hardwareId/test/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { createFileRoute } from '@tanstack/react-router';

export const Route = createFileRoute('/hardware/$hardware/test/')({
component: () => <div>Hello /hardware/$hardware/test/!</div>,
});
3 changes: 3 additions & 0 deletions dashboard/src/routes/hardware/$hardwareId/test/route.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { createFileRoute } from '@tanstack/react-router';

export const Route = createFileRoute('/hardware/$hardware/test')({});
5 changes: 5 additions & 0 deletions dashboard/src/routes/hardware/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { createFileRoute } from '@tanstack/react-router';

export const Route = createFileRoute('/hardware/')({
component: () => <div>Hello /hardware/!</div>,
});
3 changes: 3 additions & 0 deletions dashboard/src/routes/hardware/route.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { createFileRoute } from '@tanstack/react-router';

export const Route = createFileRoute('/hardware')({});

0 comments on commit b56f518

Please sign in to comment.