2022-12-02 14:03:29 +03:00
|
|
|
import React from 'react';
|
2022-12-02 14:39:15 +03:00
|
|
|
import Tasks from './pages/Tasks';
|
|
|
|
import History from './pages/History';
|
2022-12-05 00:59:30 +03:00
|
|
|
import Performances from './pages/Performances';
|
|
|
|
import AppLayout from './layout/AppLayout';
|
2022-12-02 14:39:15 +03:00
|
|
|
import { Routes, Route } from 'react-router-dom';
|
2022-12-01 17:58:08 +03:00
|
|
|
|
|
|
|
function App() {
|
|
|
|
return (
|
2022-12-05 00:59:30 +03:00
|
|
|
<AppLayout>
|
2022-12-02 14:39:15 +03:00
|
|
|
<Routes>
|
|
|
|
<Route path="/" element={<Tasks />} />
|
|
|
|
<Route path="/history" element={<History />} />
|
2022-12-05 00:59:30 +03:00
|
|
|
<Route path="/performances" element={<Performances />} />
|
2022-12-02 14:39:15 +03:00
|
|
|
</Routes>
|
2022-12-05 00:59:30 +03:00
|
|
|
</AppLayout>
|
2022-12-01 17:58:08 +03:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
export default App;
|