mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 05:04:56 +09:00
1 parent
17ba0e63b0
commit
4848ef5f11
1 file changed
+14
-14
@@ -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;
|
||||
Reference in new issue
Block a user