mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
parent
17ba0e63b0
commit
4848ef5f11
@ -1,23 +1,23 @@
|
||||
import React from 'react';
|
||||
|
||||
import { styled, Box } from '@material-ui/core';
|
||||
import { Box } from '@material-ui/core';
|
||||
import Logo from 'client/icons/logo';
|
||||
|
||||
const ScreenBox = styled(Box)({
|
||||
width: '100%',
|
||||
height: '100vh',
|
||||
backgroundColor: '#ffffff',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
position: 'fixed',
|
||||
zIndex: 10000
|
||||
});
|
||||
|
||||
const LoadingScreen = () => (
|
||||
<ScreenBox>
|
||||
<Box
|
||||
style={{
|
||||
width: '100%',
|
||||
height: '100vh',
|
||||
backgroundColor: '#ffffff',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
position: 'fixed',
|
||||
zIndex: 10000
|
||||
}}
|
||||
>
|
||||
<Logo width={360} height={360} spinner withText />
|
||||
</ScreenBox>
|
||||
</Box>
|
||||
);
|
||||
|
||||
export default LoadingScreen;
|
||||
|
Loading…
x
Reference in New Issue
Block a user