Skip to content

Commit 092bbc6

Browse files
committed
Add route
1 parent aa55c66 commit 092bbc6

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/App.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { Switch, Route } from "react-router-dom";
55
import { BeamlineI24 } from "./routes/BeamlineI24";
66
import { FixedTarget } from "./routes/FixedTarget";
77
import { SerialNavBar } from "./components/SerialNavBar";
8+
import { Extruder } from "./routes/Extruder";
89

910
function App() {
1011
const theme = useTheme();
@@ -29,6 +30,9 @@ function App() {
2930
<Route path="/fixed-target">
3031
<FixedTarget />
3132
</Route>
33+
<Route path="/extruder">
34+
<Extruder />
35+
</Route>
3236
</Switch>
3337
<Footer
3438
logo={theme.logos?.short}

src/components/SerialNavBar.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ export function SerialNavBar() {
2424
<NavLink linkComponent={Link} to="/fixed-target">
2525
Fixed Target
2626
</NavLink>
27+
<NavLink linkComponent={Link} to="/extruder">
28+
Extruder
29+
</NavLink>
2730
</NavLinks>
2831
</Navbar>
2932
);

0 commit comments

Comments
 (0)