File size: 567 Bytes
96a945a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { Routes, Route, Navigate } from 'react-router-dom';
import Welcome from './pages/Welcome';
import Tutorial from './pages/Tutorial';
import Trial from './pages/Trial';
import Done from './pages/Done';

export default function App() {
  return (
    <Routes>

      <Route path="/" element={<Welcome />} />

      <Route path="/tutorial" element={<Tutorial />} />

      <Route path="/trial" element={<Trial />} />

      <Route path="/done" element={<Done />} />

      <Route path="*" element={<Navigate to="/" replace />} />

    </Routes>
  );
}