-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathApp.jsx
27 lines (24 loc) · 926 Bytes
/
App.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import React from 'react';
import { HashRouter as Router, Route, Routes } from 'react-router-dom';
import ActionsGui from './views/ActionsGui';
import BrowserGui from './views/BrowserGui';
import NotFound from './views/NotFound';
import OnScreenGui from './views/OnScreenGui';
import WrappedOnTouchGui from './views/OnTouchGui';
function App() {
return (
<Router>
<Routes>
<Route path="/onscreen" element={<OnScreenGui />} />
<Route path="/remote" element={<BrowserGui />} />
<Route path="/ontouch" element={<WrappedOnTouchGui />} />
<Route path="/actions" element={<ActionsGui />} />
{/* Here, more GUI variations can be added. */}
{/* <Route path="/tablet" element={TabletGui} /> */}
<Route path="/" element={<BrowserGui />} />
<Route element={<NotFound />} />
</Routes>
</Router>
);
}
export default App;