|
|
|
@ -5,7 +5,7 @@ import { |
|
|
|
} from 'react' |
|
|
|
} from 'react' |
|
|
|
import ReactDOM from 'react-dom' |
|
|
|
import ReactDOM from 'react-dom' |
|
|
|
|
|
|
|
|
|
|
|
// import styled from 'styled-components'
|
|
|
|
import styled from 'styled-components' |
|
|
|
|
|
|
|
|
|
|
|
import { isIOS } from 'config/userAgent' |
|
|
|
import { isIOS } from 'config/userAgent' |
|
|
|
|
|
|
|
|
|
|
|
@ -15,23 +15,23 @@ export const App = process.env.REACT_APP_TYPE === 'auth-service' |
|
|
|
? lazy(() => import('features/AuthServiceApp')) |
|
|
|
? lazy(() => import('features/AuthServiceApp')) |
|
|
|
: lazy(() => import('features/App')) |
|
|
|
: lazy(() => import('features/App')) |
|
|
|
|
|
|
|
|
|
|
|
// const ScContent = styled.div`
|
|
|
|
const ScContent = styled.div` |
|
|
|
// display: flex;
|
|
|
|
display: flex; |
|
|
|
// align-items: center;
|
|
|
|
align-items: center; |
|
|
|
// justify-content: center;
|
|
|
|
justify-content: center; |
|
|
|
// font-size: 24px;
|
|
|
|
font-size: 24px; |
|
|
|
// color: #000000;
|
|
|
|
color: #000000; |
|
|
|
// flex-direction: column;
|
|
|
|
flex-direction: column; |
|
|
|
// `
|
|
|
|
` |
|
|
|
// временная заглушка пока бэкенд переезжает
|
|
|
|
// временная заглушка пока бэкенд переезжает
|
|
|
|
ReactDOM.render( |
|
|
|
ReactDOM.render( |
|
|
|
<StrictMode> |
|
|
|
<StrictMode> |
|
|
|
<Suspense fallback={null}> |
|
|
|
<Suspense fallback={null}> |
|
|
|
<App /> |
|
|
|
{/* <App /> */} |
|
|
|
{/* <ScContent> |
|
|
|
<ScContent> |
|
|
|
<p>The site is temporarily unavailable</p> |
|
|
|
<p>The site is temporarily unavailable</p> |
|
|
|
<p>El sitio está temporalmente fuera de servicio</p> |
|
|
|
<p>El sitio está temporalmente fuera de servicio</p> |
|
|
|
</ScContent> */} |
|
|
|
</ScContent> |
|
|
|
</Suspense> |
|
|
|
</Suspense> |
|
|
|
</StrictMode>, |
|
|
|
</StrictMode>, |
|
|
|
document.getElementById('root'), |
|
|
|
document.getElementById('root'), |
|
|
|
|