-
-
Notifications
You must be signed in to change notification settings - Fork 517
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch LoadingAnimation to use MUI style
- Loading branch information
1 parent
806972f
commit d20de9d
Showing
6 changed files
with
50 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,35 @@ | ||
import './LoadingAnimation.css'; | ||
import { SvgIcon, Typography } from '@mui/material'; | ||
import Stack from '@mui/material/Stack'; | ||
|
||
import VoyagerIcon from '../icons/logo-with-signals.svg'; | ||
|
||
export default function LoadingAnimation() { | ||
return ( | ||
<div role="status" className="loading-box"> | ||
<span className="loading-animation"> | ||
<VoyagerIcon /> | ||
<h1> Transmitting... </h1> | ||
</span> | ||
</div> | ||
<Stack | ||
role="status" | ||
alignItems="center" | ||
justifyContent="center" | ||
sx={{ | ||
position: 'absolute', | ||
top: 0, | ||
left: 0, | ||
background: 'rgba(0, 0, 0, 0.8)', | ||
zIndex: 10, | ||
|
||
color: 'white', | ||
height: '100%', | ||
width: '100%', | ||
}} | ||
> | ||
<SvgIcon | ||
inheritViewBox | ||
component={VoyagerIcon} | ||
color="secondary" | ||
sx={{ width: 180, height: 180 }} | ||
/> | ||
<Typography variant="h4" color="secondary" letterSpacing={4} fontWeight="medium"> | ||
Transmitting... | ||
</Typography> | ||
</Stack> | ||
); | ||
} |
Binary file modified
BIN
-1.04 KB
(100%)
tests/demo.spec.ts-snapshots/loading-animation-Demo-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.