import React from 'react';
import ReactDOM from 'react-dom';
import reportWebVitals from './reportWebVitals';

import './i18n';

import App from './App';

import 'bootstrap/dist/js/bootstrap.bundle.min';
import 'bootstrap/dist/css/bootstrap.min.css';
import './index.css'; // Main css for the project
import './custom.css'; // Custom Theme for Bootstrap

ReactDOM.render(
    <React.StrictMode>
        <React.Suspense fallback={(<div>Loading...</div>)}>
            <App />
        </React.Suspense>
    </React.StrictMode>,
    document.getElementById('root')
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
