Skip to content

Commit 3579261

Browse files
committed
Add starting page and route for JF rotations
1 parent c4c562c commit 3579261

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

src/App.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { BeamlineI24 } from "./routes/BeamlineI24";
66
import { FixedTarget } from "./routes/FixedTarget";
77
import { SerialNavBar } from "./components/SerialNavBar";
88
import { Extruder } from "./routes/Extruder";
9+
import { JfRotation } from "./routes/JungfrauRotation";
910

1011
function App() {
1112
const theme = useTheme();
@@ -31,6 +32,9 @@ function App() {
3132
<Route path="/extruder">
3233
<Extruder />
3334
</Route>
35+
<Route path="/jungfrau">
36+
<JfRotation />
37+
</Route>
3438
</Switch>
3539
<Footer
3640
logo={theme.logos?.short}

src/routes/JungfrauRotation.tsx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import { Box, Typography, useTheme } from "@mui/material";
2+
3+
export function JfRotation() {
4+
const theme = useTheme();
5+
return (
6+
<Box marginTop={2}>
7+
<Typography
8+
variant="h1"
9+
sx={{
10+
color: theme.palette.info.main,
11+
fontSize: 24,
12+
fontWeight: "fontWeightBold",
13+
}}
14+
>
15+
Jungfrau Rotation Scans Setup
16+
</Typography>
17+
</Box>
18+
);
19+
}

0 commit comments

Comments
 (0)