-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GSW-648] fix: ui for for governance
- Loading branch information
1 parent
cc361d8
commit 19a2ed3
Showing
12 changed files
with
161 additions
and
44 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
32 changes: 32 additions & 0 deletions
32
packages/web/src/components/governance/proposal-detail/ProposalDetailSekeleton.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,32 @@ | ||
import { ProposalDetailWrapper } from "./ProposalDetail.styles"; | ||
import { SHAPE_TYPES, skeletonTokenDetail } from "@constants/skeleton.constant"; | ||
|
||
const ProposalDetailSkeleton = () => { | ||
return ( | ||
<ProposalDetailWrapper> | ||
<div className="header"> | ||
<div | ||
className="title" | ||
css={skeletonTokenDetail("60%", SHAPE_TYPES.ROUNDED_SQUARE)} | ||
/> | ||
<div | ||
className="status success" | ||
css={skeletonTokenDetail("7%", SHAPE_TYPES.ROUNDED_SQUARE)} | ||
/> | ||
</div> | ||
<div | ||
className="active-wrapper" | ||
css={skeletonTokenDetail("30%", SHAPE_TYPES.ROUNDED_SQUARE)} | ||
/> | ||
<div className="header"> | ||
<div css={skeletonTokenDetail("70%", SHAPE_TYPES.ROUNDED_SQUARE)} /> | ||
<div | ||
className="status success" | ||
css={skeletonTokenDetail("10%", SHAPE_TYPES.ROUNDED_SQUARE)} | ||
/> | ||
</div> | ||
</ProposalDetailWrapper> | ||
); | ||
}; | ||
|
||
export default ProposalDetailSkeleton; |
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
Oops, something went wrong.