This repository has been archived by the owner on Mar 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 89
/
App.js
49 lines (47 loc) · 1.59 KB
/
App.js
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import { Provider } from 'react-redux';
import { Grid } from '@mui/material';
import { ThemeModeProvider } from 'features/ThemeModeProvider';
import store from 'app/store';
import InfoAlert from 'features/alert/InfoAlert.js';
import WarningAlert from 'features/alert/WarningAlert.js';
import Board from 'features/board/Board';
import ModeFenDialogs from 'features/mode/fen/FenDialogs';
import ModePlayDialogs from 'features/mode/play/PlayDialogs';
import ModeRavDialogs from 'features/mode/rav/RavDialogs';
import ModeSanDialogs from 'features/mode/san/SanDialogs';
import ModeStockfishDialogs from 'features/mode/stockfish/StockfishDialogs';
import Nav from 'features/nav/Nav';
import NavDialogs from 'features/nav/NavDialogs';
import Panel from 'features/panel/Panel';
import ProgressDialog from 'features/ProgressDialog';
import theme from 'styles/theme.js';
const App = () => {
return (
<Provider store={store}>
<ThemeModeProvider theme={theme}>
<Grid container>
<Nav />
<NavDialogs />
</Grid>
<Grid container sx={{ p: 2 }} spacing={2}>
<Grid item xs={12} md={5}>
<Board />
</Grid>
<Grid item xs={12} md={7}>
<Panel />
</Grid>
</Grid>
<ModeFenDialogs />
<ModePlayDialogs />
<ModeRavDialogs />
<ModeSanDialogs />
<ModeSanDialogs />
<ModeStockfishDialogs />
<ProgressDialog />
<InfoAlert />
<WarningAlert />
</ThemeModeProvider>
</Provider>
);
};
export default App;