-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
tche
authored and
tche
committed
Dec 26, 2024
1 parent
07a4a05
commit 2f94394
Showing
7 changed files
with
157 additions
and
80 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 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
45 changes: 45 additions & 0 deletions
45
src/components/Berachain/components/BerachainWidget/WidgetLoader/WidgetLoader.tsx
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import { Box, Skeleton, useTheme } from '@mui/material'; | ||
import { BerachainDepositInputBackground } from '../../BerachainWidgetWip/BerachainWidgetWip.style'; | ||
|
||
function BerachainWidgetLoader() { | ||
const theme = useTheme(); | ||
|
||
return ( | ||
<Box | ||
sx={{ | ||
padding: theme.spacing(3), | ||
width: '592px', | ||
borderRadius: '24px', | ||
backgroundColor: '#121214', | ||
}} | ||
> | ||
{/* tabs height: 38px, radius 16px*/} | ||
<Skeleton | ||
variant="rectangular" | ||
sx={{ width: 'auto', height: '38px', borderRadius: '16px' }} | ||
/> | ||
{/* info height: 512px, radius 16px*/} | ||
<Skeleton | ||
variant="rectangular" | ||
sx={{ | ||
marginTop: '16px', | ||
width: 'auto', | ||
height: '256px', | ||
borderRadius: '16px', | ||
}} | ||
/> | ||
{/* deposit height: 478px*/} | ||
<Skeleton | ||
variant="rectangular" | ||
sx={{ | ||
marginTop: '16px', | ||
width: 'auto', | ||
height: '216px', | ||
borderRadius: '16px', | ||
}} | ||
/> | ||
</Box> | ||
); | ||
} | ||
|
||
export default BerachainWidgetLoader; |