2022-08-31 13:30:20 +00:00
|
|
|
import { IonApp, setupIonicReact } from '@ionic/react';
|
2022-09-11 22:45:40 +00:00
|
|
|
import store from './store/index';
|
|
|
|
import { Provider } from 'react-redux';
|
2022-08-31 12:35:20 +00:00
|
|
|
|
|
|
|
/* Core CSS required for Ionic components to work properly */
|
|
|
|
import '@ionic/react/css/core.css';
|
|
|
|
|
|
|
|
/* Basic CSS for apps built with Ionic */
|
|
|
|
import '@ionic/react/css/normalize.css';
|
|
|
|
import '@ionic/react/css/structure.css';
|
|
|
|
import '@ionic/react/css/typography.css';
|
|
|
|
|
|
|
|
/* Optional CSS utils that can be commented out */
|
|
|
|
import '@ionic/react/css/padding.css';
|
|
|
|
import '@ionic/react/css/float-elements.css';
|
|
|
|
import '@ionic/react/css/text-alignment.css';
|
|
|
|
import '@ionic/react/css/text-transformation.css';
|
|
|
|
import '@ionic/react/css/flex-utils.css';
|
|
|
|
import '@ionic/react/css/display.css';
|
|
|
|
|
|
|
|
/* Theme variables */
|
|
|
|
import './theme/variables.css';
|
|
|
|
|
2022-09-12 13:10:12 +00:00
|
|
|
import Map from './components/map/map';
|
2022-09-12 13:31:02 +00:00
|
|
|
import Slippy from './components/slippy/sleepy';
|
2022-09-12 13:10:12 +00:00
|
|
|
import Layer from './components/slippy/layer';
|
|
|
|
import { Fragment } from 'react';
|
2022-08-31 20:03:27 +00:00
|
|
|
|
2022-08-31 12:35:20 +00:00
|
|
|
setupIonicReact();
|
|
|
|
|
|
|
|
const App: React.FC = () => (
|
|
|
|
<IonApp>
|
2022-09-11 22:45:40 +00:00
|
|
|
<Provider store={store}>
|
2022-09-12 13:10:12 +00:00
|
|
|
<Slippy />
|
|
|
|
<Layer>
|
|
|
|
<Map />
|
|
|
|
</Layer>
|
2022-09-11 22:45:40 +00:00
|
|
|
</Provider>
|
2022-09-04 17:28:20 +00:00
|
|
|
</IonApp>
|
2022-08-31 12:35:20 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
export default App;
|